Hello Friends,
Please I need someone to help modify my old age straddle script. I left trading since 2008, I tried to start trading back last month, I have a trading straddle script (EA) I used to use then. I tried to use now, I found out that it wont trigger trade at the time I set it to. It was a good script(EA) for me.
I need some to help modify it to trade at anytime I set it to for any news at anytime I want it to trade. When I tried to compile it on meta editor there are 12 warnings it was given me:
These are the errors"
'Wealth.mq4' Wealth.mq4 1 1
return value of 'OrderSelect' should be checked Wealth.mq4 72 7
return value of 'OrderModify' should be checked Wealth.mq4 92 19
return value of 'OrderModify' should be checked Wealth.mq4 108 19
return value of 'OrderSelect' should be checked Wealth.mq4 198 7
return value of 'OrderDelete' should be checked Wealth.mq4 203 13
return value of 'OrderSend' should be checked Wealth.mq4 238 13
return value of 'OrderSend' should be checked Wealth.mq4 264 13
return value of 'OrderSend' should be checked Wealth.mq4 290 13
return value of 'OrderSend' should be checked Wealth.mq4 316 13
not all control paths return a value Wealth.mq4 338 1
return value of 'OrderSelect' should be checked Wealth.mq4 346 7
not all control paths return a value Wealth.mq4 405 1
0 error(s), 12 warning(s) 1 13
I attached the script with this thread.
Thank you in advance
Please I need someone to help modify my old age straddle script. I left trading since 2008, I tried to start trading back last month, I have a trading straddle script (EA) I used to use then. I tried to use now, I found out that it wont trigger trade at the time I set it to. It was a good script(EA) for me.
I need some to help modify it to trade at anytime I set it to for any news at anytime I want it to trade. When I tried to compile it on meta editor there are 12 warnings it was given me:
These are the errors"
'Wealth.mq4' Wealth.mq4 1 1
return value of 'OrderSelect' should be checked Wealth.mq4 72 7
return value of 'OrderModify' should be checked Wealth.mq4 92 19
return value of 'OrderModify' should be checked Wealth.mq4 108 19
return value of 'OrderSelect' should be checked Wealth.mq4 198 7
return value of 'OrderDelete' should be checked Wealth.mq4 203 13
return value of 'OrderSend' should be checked Wealth.mq4 238 13
return value of 'OrderSend' should be checked Wealth.mq4 264 13
return value of 'OrderSend' should be checked Wealth.mq4 290 13
return value of 'OrderSend' should be checked Wealth.mq4 316 13
not all control paths return a value Wealth.mq4 338 1
return value of 'OrderSelect' should be checked Wealth.mq4 346 7
not all control paths return a value Wealth.mq4 405 1
0 error(s), 12 warning(s) 1 13
I attached the script with this thread.
Thank you in advance
Attached File(s)
Wealth.mq4
13 KB
|
453 downloads