OPEN-SOURCE SCRIPT

ADR - Average Daily Range [@treypeng] [v2]


This is an intraday indicator.

Average Daily Range provides an upper and lower level around the daily open. It is calculated by taking an EMA/SMA average of a given number of previous days' True Range.

It can be useful for helping guide support and resistance, for taking profits and for placing stops.

It's a similar idea to the ATR indicator, but calculated on a daily timeframe only.

Settings:

Length: number of days to take an average from
Offset: Set this to 0 to include today's range. Set to 1 to exclude today. Set to 2 to exclude today and yesterday.....and so on.

The other settings should be self explanatory :)


ADRATRAverage True Range (ATR)intradaySupport and Resistancetruerange

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明