MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Freelancer services needed to perform 150+ jobs of traders
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2009.06.04 08:21
Donchian Channel Indicator

Donchian Channel Indicator - indicator for MetaTrader 4

| English Spanish Portuguese

Views:
28295
Rating:
Donchian.mq4 (1.88 KB)view

Author:

Code: me.
Idea: Richard Davoud Donchian --> http://en.wikipedia.org/wiki/Donchian_channel

Description:

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

Image:



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

Last comments | Go to discussion (3)
MQL4 Comments
mql4_comments | 7 Jun 2009 at 12:21

I like this!

MQL4 Comments
mql4_comments | 17 Aug 2009 at 14:31

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 "..do 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


me


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

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

MONIRUL789
MONIRUL789 | 5 Apr 2013 at 11:19
is any such indicator available for android trader mt4