OPEN-SOURCE SCRIPT

Moving Stop Loss (Most) by ceyhun

Updated
ATR is an indicator that has been removed and replaced with a moving average.Bar colors and infopanel have been added.

//Barcolor
Green = ExMov > Most and close > Most and low > Most
Blue = ExMov > Most and close > Most and low < Most
Red = Most > ExMov and close < Most and high < Most
Yellow = Most > ExMov and close < Most and high > Most
//It gives White color where there is deterioration.

//InfoPanel
Buy Price = Blue draws the circles at the purchase price.
Profit Long>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
Sell Price = Red draws the circles at the purchase price.
Profit Short>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.

==Atr Original Code==
CDC ATR Trailing Stop V2.1 (2013)
tr.tradingview.com/v/91lUzwPN/

==Most Code==
MOST by Anıl ÖZEKŞİ
tr.tradingview.com/v/28ZcW4nv/



Barcolor
snapshot


snapshot
Barcolor
snapshot
Release Notes
added minval and maxval to length and percent
Release Notes
defval and minval added
Release Notes
bugs fixed
Release Notes
info panel fix
Release Notes
fix
Release Notes
bugs fix
Release Notes
fix
Moving Average Type
Panel : Support-Resistance Distance
Release Notes
v5 fix
Release Notes
period fix
Release Notes
fix
atrtrailingstopBreadth IndicatorsCDCceyhunlossMOSTmovingMoving AveragesmovingstoplossstopstoplossTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer