OPEN-SOURCE SCRIPT

ATR Multiples Plotted

Mis à jour
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.
Notes de version
Added custom ATR Length
Notes de version
Added optional 0-line
Notes de version
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
Notes de version
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.
Notes de version
Chart
Notes de version
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.
Notes de version
Chart update
Notes de version
Fixed typos in table
Notes de version
Updated to Pine v6
Average True Range (ATR)Cyclesforecasting

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité