Old grid EA, need help to fix errors when compiling

To add comments, please log in or register
Mykiou
353
Mykiou  

Hello,

do someone can help me to fix the code of this Grid EA please ? Its cannot be compiled due to errors.

Files:
Grid_x7.mq4 134 kb
Marco vd Heijden
Moderator
12737
Marco vd Heijden  

Got rid of the errors.

Still needs some work  if you want to get rid of the many warnings as well.

Files:
Grid_x7v2.mq4 134 kb
Mykiou
353
Mykiou  
I only wanted to backtest this EA to take a look on his strategy, now this is working. Thank you very much !
Marco vd Heijden
Moderator
12737
Marco vd Heijden  
Please share your results.
mntiwana
4557
mntiwana  
Some 50 warnings removed,still 40 exist - :)
Files:
Grid_x7v2.mq4 135 kb
Marco vd Heijden
Moderator
12737
Marco vd Heijden  

If you update the file please change the version number 

Grid_x7v3.mq4 

Mykiou
353
Mykiou  

Hummm ... This is apparently not only a grid EA, but also a averaging / hedging system. Very complex.

Too many options / possibilties to post a backtest now. But if i find an interesting .set, i will post whit results ;)

Marco vd Heijden
Moderator
12737
Marco vd Heijden  

Any result will do look at the time your fellow members have spend to make it work for you.

It's not that you ask us to fix something and then just discard it ?

Lam Tran
151
Lam Tran  
Please explain us some input parameters
Mykiou
353
Mykiou  
Marco vd Heijden:

Any result will do look at the time your fellow members have spend to make it work for you.

It's not that you ask us to fix something and then just discard it ?

Relax. Why posting a bad result now ?


EUR/USD | M5 | Balance 20.000 | Fixed lots 0.05 | Spread 15 | 2014-02-03 to 2014-04-03

Maybe a good candidate to a rebate strategy.


Test


Let me the time to play whit the settings. There are a lot. As i already said, i will post if i found a good .set


@ Lam Tran : This is not my EA. But you can see a description of settings, on the comments in the source code.

Marco vd Heijden
Moderator
12737
Marco vd Heijden  

Hmm that needs some work indeed.

Thanks for the update.

To add comments, please log in or register