DNC – indicator MetaTrader 5

DNC indicator – Donchian channel.

The indicator has three input parameters:

  • Period – calculation period
  • Analyze current bar – consider the value of the current bar in calculations (Yes/No)
  • Show middle line – display the channel middle line (Yes/No)

Calculation:

TopΒ Β Β  = Max(High, Period) Bottom = Min(Low, Period) Middle = (Top + Bottom) / 2


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

πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks
Alternative:   Indicator Strength - indicator MetaTrader 4