stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Can't compile this EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3725
Page 1 of 1
Author:  fxcba [ Sat Jul 12, 2014 1:22 pm ]
Post subject:  Can't compile this EA

Hello
I downloaded this EA from code base, but when compiling I get some errors, I hope someone can help whith it. EA works fine on an older Empty4 version.
These are the errors
1- return value of 'OrderSelect' should be checked Breakout-04.mq4 77 7
2- return value of 'OrderModify' should be checked Breakout-04.mq4 88 22
3- 'void' function returns a value Breakout-04.mq4 89 22
4- return value of 'OrderModify' should be checked Breakout-04.mq4 102 22
5- 'void' function returns a value Breakout-04.mq4 103 22
6- 'void' function returns a value Breakout-04.mq4 114 61
7- 'void' function returns a value Breakout-04.mq4 115 59
8- return value of 'OrderModify' should be checked Breakout-04.mq4 136 10
9- return value of 'OrderModify' should be checked Breakout-04.mq4 147 10

I also wrote to the author but never got an answer.
Thank you in advance
Regards
Ric
Author:  milanese [ Sat Jul 12, 2014 1:28 pm ]
Post subject:  Can't compile this EA

fxcba ยป Sat Jul 12, 2014 1:22 pm wrote:Hello
I downloaded this EA from code base, but when compiling I get some errors, I hope someone can help whith it. EA works fine on an older Empty4 version.
These are the errors
1- return value of 'OrderSelect' should be checked Breakout-04.mq4 77 7
2- return value of 'OrderModify' should be checked Breakout-04.mq4 88 22
3- 'void' function returns a value Breakout-04.mq4 89 22
4- return value of 'OrderModify' should be checked Breakout-04.mq4 102 22
5- 'void' function returns a value Breakout-04.mq4 103 22
6- 'void' function returns a value Breakout-04.mq4 114 61
7- 'void' function returns a value Breakout-04.mq4 115 59
8- return value of 'OrderModify' should be checked Breakout-04.mq4 136 10
9- return value of 'OrderModify' should be checked Breakout-04.mq4 147 10

I also wrote to the author but never got an answer.
Thank you in advance
Regards
Ric
Attached the modified version for the 6xx builds...
Breakout-04_6xx.mq4
Cheers :)

Tommaso
Author:  fxcba [ Sat Jul 12, 2014 3:08 pm ]
Post subject:  Can't compile this EA

Thank you very much my friend, :good:
Author:  Nufty [ Tue May 09, 2017 12:43 am ]
Post subject:  Can't compile this EA

Dont want to bump an old thread - just wanted to say thanks however, as I pulled an old EA I wrote in 2013 out of the closet and couldnt get it to compile, and looking a these changes helped me.
:yahoo:


Thanks Tommaso

Nufty
All times are UTC Page 1 of 1