OPEN-SOURCE SCRIPT

Low-ATR Indicator

已更新
We often want to use a stop loss at a certain low - N*ATR,
But it is too troublesome to manually calculate a certain day low - ATR.

This indicator simply calculates it for you, by marking the value of day low - ATR.

By default the hardcoded ATR value is 0, which means "Uses the ATR at that day with configured look back period".

If you want to use a specific ATR value, e.g.
1) You want to set the stop loss using today's ATR but another day's day low (Very often)
2) You want to set the stop loss in another timeframe - N*ATR

You can type in the value of ATR into the "hardcoded ATR" field.
(Actually this should be the most used way)
版本注释
Fixed hardcoded atr was not adjusting to atr multiplier.
Average True Range (ATR)Pivot PointsVolatility Stop

开源脚本

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

想在图表上使用此脚本?

免责声明