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

Source code library - Expert Advisors, Indicators and Scripts

Post Your News in Blogs and Become Famous!
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

2008.11.06 07:52
Search patterns

Search patterns - indicator for MetaTrader 4

| English Spanish Portuguese Russian

Views:
15452
Rating:
votes: 4

The indicator searches for the patterns, displays the end of the D and C points on the screen.

Input Parameters:

extern bool FuturePattern =false; /* true - searches for the patterns, i.e. you can try to play on the moving
before the end of the pattern, for the "advanced" pattern users ;) */
extern bool ExtSave=false; /* if true, then the drawings will be saved on the chart */
extern int ExtDepth=0; /* parameter for ZZ,if 0, then the search for the patterns will be performed, otherwise the pattern (if there is)
with the specified Depth parameter will be drawn */
extern int ExtPoint=5; /* the number of zigzag points, if you specify more than 5, then the patterns will be displayed on the history */
extern int minDepth=3; /* parameter for pattern searching */
extern int maxDepth=50;/* parameter for pattern searching */
extern double ExtDopusk=0.05; /* the parameters of the pattern will differ from each other not more than by the ExtDopusk value */
extern double TimeDopusk=0.2; /* the parameters of the pattern by the time will differ from each other not more than by the ExtDopusk value */
extern bool Gartley=true; /* true - searches for Gartley patterns, false - doesn't */
extern bool Pattern_50=true; /* true - searches for 5-0 pattern, false - doesn't */
extern bool ABCD=true; /* true - searches for AB=CD pattern, false - doesn't */
extern bool WolfWaves=false; /* true - searches for WW pattern, false - doesn't */
extern bool SweetZoneStart=true; /* true - shows the SweetZone of the WW processing beginning the 5 point should be within, false - doesn't */
extern bool SweetZoneEnd=true; /* true - shows the SweetZone of the WW the 6 point should be within, false - doesn't */
extern color SZScolor=Blue; /* color for the SweetZoneStart */
extern color SZEcolor=DarkGreen; /* color for the SweetZoneEnd */
extern color ExtColorGartley=MidnightBlue; /* color for the Gartley patterns */
extern color ExtColorRet=Lime; /* color of the retracements line */

Search patterns

Last comments | Go to discussion (7)
Arshed Qureshi
arshadfx | 22 Jun 2010 at 10:55
piece of art, Thanks
Erich Pribitzer
seizu1 | 14 Nov 2010 at 18:03

great work!!!! many thx!!!

eravo12
eravo12 | 4 Apr 2012 at 01:13
Wonderful!
inecon
inecon | 30 Jun 2013 at 13:20

..!!!! perfect index . Sigharitiria , poli oraia doulia .

Sushil Trader
sushil1 | 4 Jul 2014 at 18:37
Great efforts with mastery of Skills with talent.!! nice work...