OPEN-SOURCE SCRIPT
GMS: % True Range

This just give the range based in % so it can be easily compared to the past. The default setting gives the % range high to low for the current session.
This is what I originally wanted as a 1 period ATR gives it in price points and ROC only does current close to previous close. With this you can select OHLC for the two prices you want to use as well as length.
I hope it helps!
Andre
This is what I originally wanted as a 1 period ATR gives it in price points and ROC only does current close to previous close. With this you can select OHLC for the two prices you want to use as well as length.
I hope it helps!
Andre
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。