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

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

MetaTrader Experts, Indicators, Scripts and Libraries

22191