MQL4 - automated forex trading   /  

Code Base

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

Code Base  Indicators  Donchian Channel Indicator To post a new code, please log in or register

Download MetaTrader 5 and visit Code Base
and Trade on the Go!
and Trade on the Go!
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

and Trade on the Go!

Donchian Channel Indicator
Author: schnappi (2009.06.04 10:21)
Downloaded: 25101
 Donchian.mq4 (1.9 Kb) View


Code: me.
Idea: Richard Davoud Donchian -->


The upper line shows the highest high of n bars.
The lower line shows the lowest low of n bars.


Tested, yes. But not excessively. Use at your own risk. Feel free to modify or do whatever with it.

3 comments  To post a new comment, please log in or register
is any such indicator available for android trader mt4
05.04.2013 13:19 monirul

Yes, vip simple yet ... interesting so let playtime commence as first glance is solid+simple and therefore I look for some regular employment for it :/

Per " whatever with it."

  1. (L21) extern int eiBarsBack=500; //tia.1/17aug09
  2. (L58) limit = MathMin(limit,eiBarsBack); //tia.1/17aug09
  3. (L63) IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)); //tia.2/17aug09

Actually, even 500 is excessive imho but what the heck!

Thank You schnappi


ps. thanks also Wiki link - am now wondering what other links you have :/

pps. is bio showing a chant? If so tell all!

17.08.2009 16:31 fbj

I like this!

07.06.2009 14:21 twizt