OPEN-SOURCE SCRIPT

ATR Multiples Plotted

已更新
Inspired by @jeffsuntrading and @Fred6724's ATR% multiple from 50-MA.

There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.

The essence is the difference between price and the selected moving average, measured in ATRs.
版本注释
Added custom ATR Length
版本注释
Added optional 0-line
版本注释
Tidied and clarified some of the code.

--Currently working on an 'Adaptive Mode', which will calculate and plot the upper and lower values based on the selected average's historical turning points
版本注释
Added quick reference table to show the dollar value of your chosen Value High and it's upside percentage.

Comes in handy when scanning or evaluating Pre/Post-Market moves. See ATRx6 value and AMZN pre-market value of ~$170 on 02/02/2024 for example.
版本注释
Chart
版本注释
Added option to allow percentage based calculations, which is how Jeff Sun's indicator is calculated.

Some changes and clarification to the table, see the tooltips for guidance.
版本注释
Chart update
版本注释
Fixed typos in table
版本注释
Updated to Pine v6
Average True Range (ATR)Cyclesforecasting

开源脚本

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

想在图表上使用此脚本?

免责声明