I have learn mql4 programming for several months now . Pretty much i get idea how the basic stuff work but thing where never enough for me .
Today i want to share my work and and i name it EA20.1 . This ea work base on martingale system and mainly purpose this ea where made is for educational and learning .
EA 20.1 work fine during the backtesting ( no errors ) but time consuming (its take an hour or 2 finish a year data backtesting ) .
If u guys wonder why i put function inside OnTick and not outside , cause i found out ea work better if the func. where inside ( just my findings , if there is issues pls light me).
i did some investigate myself and found out , not using "dailyprofittarget" but using conventional TP/SL take time less backtesting .
I still try to work around with my problem to make this ea less take time backtesting without changing it original concept .
I wonder if there is tips i can improve my code ?
Today i want to share my work and and i name it EA20.1 . This ea work base on martingale system and mainly purpose this ea where made is for educational and learning .
EA 20.1 work fine during the backtesting ( no errors ) but time consuming (its take an hour or 2 finish a year data backtesting ) .
If u guys wonder why i put function inside OnTick and not outside , cause i found out ea work better if the func. where inside ( just my findings , if there is issues pls light me).
i did some investigate myself and found out , not using "dailyprofittarget" but using conventional TP/SL take time less backtesting .
I still try to work around with my problem to make this ea less take time backtesting without changing it original concept .
I wonder if there is tips i can improve my code ?
Attached File(s)
EA20.1 .ex4
12 KB
|
198 downloads