Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | DNC_Bandwidth

DNC Band Width oscillator displays the Donchian channel width in a separate window.

The indicator has three input parameters:

  • Period - calculation period
  • Analyze current bar - consider the value of the current bar in calculations (Yes/No)
  • Data in points - display the indicator data in points (Yes/No)

Calculation:

Width = Top - Bottom

where:

Top    = Max(High, Period) Bottom = Min(Low, Period)

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. DNC Band Width

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. DNC Band Width and Donchian channel

22192