OPEN-SOURCE SCRIPT

ATR SL

已更新
Hi traders,

As you know, ATR trailing stop is very popular indicator. So I decided to make my own one.

The logic is simple.

If the price is above the RMA(src,len), then put a SL at OPEN - ATR value of that time period
otherwise, put a SL at OPEN + ATR value of that time period.

Stay safe ^^
發行說明
You now can choose which MA you want for your trend direction. Also you can show the MA.

Both side SL is added in case of taking a position against the trend.
發行說明
Typo mistake
Average True Range (ATR)

開源腳本

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

想在圖表上使用此腳本?

免責聲明