SD - Average Daily Range - Daily Weekly Monthly YearlyAverage Daily Range ('ADR') Indicator for TradingView
This script is based on the "Best 'ADR' Indicator for MT4" described at www.fxdayjob.com
Inputs:
Number of 'ADR' Back - Set the number of calendar days back to plot historical 'ADR'. The default value is 7.
Non-trading days are not taken into account.
A value of 7, for example, would display only 5 'ADR' for a 24x5 market.
Number of 'AWR' Back - Set the number of calendar weeks back to plot historical 'AWR'. The default value is 0.
Number of 'AMR' Back - Set the number of calendar months back to plot historical 'AMR'. The default value is 0.
Number of 'AYR' Back - Set the number of calendar years back to plot historical 'AYR'. The default value is 0.
'ADR' Length parameter - Set the length parameter of 'ADR'. The default value is 1.
'WDR' Length parameter - Set the length parameter of 'AWR'. The default value is 1.
'MDR' Length parameter - Set the length parameter of 'AMR'. The default value is 1.
'YDR' Length parameter - Set the length parameter of 'AYR'. The default value is 1.
See also:
- www.fxdayjob.com
- pivotboss.com
- www.jarrattdavis.com
ADR
Average Daily Range - without open barBasic ADR-indicator that is showing the daily range on lower timeframes as well, without using the current open daily bar for calculation.
Also plots as line in a separate indicator window. Updates displayed value when hovering over the candles on the chart to see historical Numbers.
[RS]ADR channel V0EXPERIMENTAL: needs validation if calculation is correct for the ADR. granted it has more use with optional timeframe.