OPEN-SOURCE SCRIPT

ATR for Trailing Stop

An ATR (Average True Range) can be used to position a trailing stop


In this script, the true range of today is calculated based on the low of yesterday in order to be more stable.
It only goes up, as a trailing stop should do.
It only goes down when the trailing stop is reached by the price.
ATRAverage True Range (ATR)stoptrailing

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明