Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4515
Rating:
(13)
Published:
2018.10.25 18:35
DNC.mq5 (10.41 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22191

DNC_Bandwidth DNC_Bandwidth

DNC Band Width indicator

DNC_Percentage DNC_Percentage

DNC Percentage indicator

CCI_OBOS_Crossover CCI_OBOS_Crossover

CCI OBOS Crossover indicator

OBOS OBOS

OBOS indicator