sherwind

SD - Average Daily Range - Daily Weekly Monthly Yearly

sherwind アップデート済   
Average Daily Range ('ADR') Indicator for TradingView

This script is based on the "Best 'ADR' Indicator for MT4" described at www.fxdayjob.com/bes...t-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:

- www.fxdayjob.com/best-adr-indicator-mt4
- pivotboss.com/2012/0...t-real-time-targets/
- www.jarrattdavis.com...erage-daily-range-2/
リリースノート:
Fix the incorrect ADR math which manifests when length parameter > 1. Thanks to @PierreAbdulahad for spotting and reporting it!
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?