OPEN-SOURCE SCRIPT

Minimum Average True Range

I use ATR a lot when designing trading strategies, this way the strategy adjusts to the instrument in most cases instead of me plugging in special numbers.

However, ATR itself could get spiked by some violent moves. For this I have created MinATR which I am publishing here.

It is effectively ATR + minimum ATR over the last "Min Length" bars. (this is a parameter which I have defaulted to 50).

So use this the same way you use ATR, but it will also show the min ATR over the last "Min Length" periods.
ATRAverage True Range (ATR)sizing

開源腳本

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

想在圖表上使用此腳本?


I'm a passionate software engineer and a trader. I love making trading tools. Follow me if you want to be kept up to date.
更多:

免責聲明