TradingView
HPotter
16 Th09 2014 04:32

Average True Range Trailing Stops, by Sylvain Vervoort 

E-mini S&P 500 FuturesCME

Mô tả

Average True Range Trailing Stops, by Sylvain Vervoort
The related article is copyrighted material from Stocks & Commodities Jun 2009

Phát hành các Ghi chú

Move to v4
Bình luận
koshcoin
@HPotter, Thanks for this script! Could you also help to convert this to //@version=4? For some reason Pine Editor returns "Syntax error at input 'end of line without line continuation" while using it in a strategy under version=4. If no version is mentioned, it works great!
HPotter
@koshcoin, I will do it. Wait.
HPotter
@koshcoin, Done.
koshcoin
@HPotter, ":" really?! Thanks, man!
ChartArt
Even the weekly trend chart has turned against Bitcoin:

HPotter
it happened from nz(xATRTrailingStop[1], 0) Formula use previos value and can not get it. This function return 0.
ChartArt
I have no problem with the beginning of the weird ATR trailing stop, because the end of the chart is what interests me.
FluidicFX
You mean where the red line passes thru and above the price. I was frowning at that too.
ChartArt
yes, exactly
UnknownUnicorn1412320
Great. Thanks for updating.
Thêm nữa