TradingView
sherwind
19. Nov. 2017 02:17

SD - Average Daily Range - Daily Weekly Monthly Yearly 

Bitcoin / United States DollarCoinbase

Beschreibung

Average Daily Range ('ADR') Indicator for TradingView

This script is based on the "Best 'ADR' Indicator for MT4" described at fxdayjob.com/best-adr-indicator-mt4.

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:

- fxdayjob.com/best-adr-indicator-mt4
- pivotboss.com/2012/07/05/find-the-best-real-time-targets/
- jarrattdavis.com/average-daily-range-2/

Versionshinweise

Fix the incorrect ADR math which manifests when length parameter > 1. Thanks to @PierreAbdulahad for spotting and reporting it!
Kommentare
HIZAM999
Repainted Don't use this indicater
Beto_Gauer
@HIZAM999, yeah when you replay the indicator, it does not match what it painted in the past. In the past it's perfect and catches the turning points, when you replay those segments, the indicator paints completely different lines.
VERBLEAD
Hey! Loving the indicator. I have a problem though. It only works on the mobile version. When I try to use it on my desktop the ADR lines do not show up. Would you know what could be wrong?
tanveero125421
Great
ajithrnaipl
Hi can u gie me the ADR calculation by maths ..which is very helpful for me
shailrathore60
how to add both 5day and 10day ADR?
GoldenRatioTA
What would the the correct settings be to obtain a 15-day ADR? Many thanks!
sherwind
@MRZSKV - For ADR(15), ADR length parameter should be set to 15. Try this new version here: tradingview.com/script/nwhFiLvy-Average-Daily-Range-High-Low/
GoldenRatioTA
@sherwind, thank you!
Mehr