OPEN-SOURCE SCRIPT
Mis à jour

ATR Multiples Plotted

2683
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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.