Nakitxu

ATR Daily Levels Band Nakitxu

Nakitxu 已更新   
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.
版本注释:
- 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
版本注释:
- Changed the fills, to "halfway"
版本注释:
Added Level 6 plot: current day open

Hodl!
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?