TradingView
HPotter
Sep 16, 2014 4:33 AM

Average True Range Trailing Stops Strategy 

E-mini S&P 500 FuturesCME

Description

Average True Range Trailing Stops Strategy, by Sylvain Vervoort
The related article is copyrighted material from Stocks & Commodities Jun 2009
Comments
Weflyatnight
was looking for this one, perfect, adjusted the settings but love the visibility in the chart
n2forex
Is this a repaint indicator?
KRSCBOE
Is there any way to modify the code, so the actual AT stop signal changes to either red or green, but the bars do not?..Thx!
HPotter
vacalo69
@HPotter i added the 2 lines you said above 'barcolor' but it doesnt alert when ATR line flips on the other side - what shall i change please? Thanks! :)

alertcondition(pos != pos and pos == 1, title='ENTER LONG', message="ENTER LONG")
alertcondition(pos != pos and pos == -1, title='ENTER SHORT', message="ENTER SHORT")
AlfaCharts
Hi! Thanks for your work. How could I simulate the strategy to see the performance?
AlfaCharts
@HPotter, Many thanks
HPotter
@coingab, You are welcome
Millberry
Thank you so very, very much.
More