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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明