DNC_Bandwidth – indicator MetaTrader 5

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)

Fig. 1. DNC Band Width


Fig. 2. DNC Band Width and Donchian channel


https://www.mql5.com/ru/code/22192

πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks