OPEN-SOURCE SCRIPT

Chonky ATR Levels 2.0

228
Show ATR based high/low projections.

Choose a custom ATR calculation in the indicator's settings.
The default is a 20day RMA based ATR.


----------How projections are calculated----------

To project the ATR High, the ATR value is added to the low of the current candle that matches the ATR's timeframe.

To project the ATR Low, the ATR value is subtracted from the high of the current candle that matches the ATR's timeframe.

Example:
If a 20day RMA ATR is used:
- the ATR High will be the current day's low + the ATR value.
- the ATR Low will be the current day's high - the ATR value.

*However*, if the price action exceeds either ATR projection, the opposite ATR level will be fixed to the extreme of the period.
See the AUDUSD screenshot above for an example.
The ATR Low was exceeded, so the ATR High projection is capped at the high of day.
If the ATR High is exceeded, the ATR Low would be capped at the low of day.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.