Nakitxu

ATR Daily Levels Band Nakitxu

Nakitxu Telah dikemas kini   
Average True Range

What Is the Average True Range (ATR)?
The average true range (ATR) is a technical analysis indicator, that measures market volatility by decomposing the entire range of an asset price for that period.

The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close.
The ATR is then a moving average, generally using 14 days, of the true ranges.

This script is an especial request of a TradingView user.
Shows 5 levels based on ATR daily, plotted in wherever timeframe you are using:

level 1: prv day ATR + prv day close
level 2: prv day ATR + prv day high
level 3: level 2 - prv day ATR
level 4: prv day close - prv day ATR
level 5: prv day low - prv day

Only show the levels if you are in a timeframe daily or lower than daily.
Nota Keluaran:
- Converted to Pine Script Version 5
- Added 2 fills (as requested by a user of the indicator), one between L1 level and daily open, other between L4 and daily open
Nota Keluaran:
- Changed the fills, to "halfway"
Nota Keluaran:
Added Level 6 plot: current day open

Hodl!
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

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.

Ingin menggunakan skrip ini pada carta?