PineScript has gone a long way, from very simple and little-capable scripting language to a robust coding platform with reliable execution endpoints. However, this one small intuitivity glitch is still there and is likely to stay, because it is traditionally justified and quite intuitive for significant group of traders. I'm sharing this workaround in response to...
Quite recently I came upon a concept of Trailing Take Profit and I couldn't find a PineScript which implements it for the fastest possible execution, so here it is :) Everybody knows Trailing StopLoss - an invisible mechanism follows the price and exits the trade once the price retreats too much from its recent most extended favourable value. Trailing TakeProfit...
Hello All This is non-repainting Supertrend Multi Time Frame script, I got so many request on Supertrend with Multi Time Frame. This is for all of them ..I am making it open for all so you can change its coding according to your need. How the Basic Indicator works SuperTrend is one of the most common ATR based trailing stop indicators. In this version...
Software part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector...
Software part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector...
Software part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector...
"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING . The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected....
This script is a crossing of eleven different MA, with alerts and SL and TP. The simplest is what works best... SMA --> Simple EMA --> Exponential WMA --> Weighted VWMA --> Volume Weighted SMMA --> Smoothed DEMA --> Double Exponential TEMA --> Triple Exponential HMA --> Hull TMA --> Triangular SSMA --> SuperSmoother filter ZEMA --> Zero Lag Exponential Using...
// // Author : Jacques CRETINON // Last Version : V1.0 11-22-2016 // // Risk disclaimer : Do not use this script in production environment. We assume no liability or responsibility for any damage to you, your computer, or your other property, due to the use of this script. // // Purpose of this script : // 1- use same pine code for strategy or study script (with...
Hello Traders and coders, Here is a fundamental version of a moving average cross trading strategy that works on 1H and 4H timeframes. It's very simple and would be well paired with proper technical analysis and risk management. I am looking to use this to alert me of potential setups. I could not get the alertcondition function to work properly. If anyone can...