Old grid EA, need help to fix errors when compiling

 

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
 

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
 
I only wanted to backtest this EA to take a look on his strategy, now this is working. Thank you very much !
 
Please share your results.
 
Some 50 warnings removed,still 40 exist - :)
Files:
Grid_x7v2.mq4  135 kb
 

If you update the file please change the version number 

Grid_x7v3.mq4 

 

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 ;)

 

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 ?

 
Please explain us some input parameters
 
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.

 

Hmm that needs some work indeed.

Thanks for the update.

Reason: