Download MetaTrader 5

Zero divide in 'eatrader.mq5' on b328 ??

To add comments, please log in or register
Take active part in the life of the community. Improve your rating!
Johnny
140
Johnny 2010.09.15 12:26 

First,

I am running only version eatrader.ex5 on this pc without mq5 source, how can the log show as Zero divide in 'eatrader.mq5' ?? Second my ea was working fine on previous build, and the backtest is ok too. but on this built when i run it in live mode..what is the problem here ? then expert is auto removed.

2010.09.15 04:19:02     eatrader (EURUSD,H4)    Zero divide in 'eatrader.mq5' (157,52)
2010.09.15 04:18:24     eatrader (EURUSD,H4)    Zero divide in 'eatrader.mq5' (156,52)
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:24     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request
2010.09.15 04:18:20     eatrader (EURUSD,H4)    CTrade::PositionOpen::OrderCheck: Invalid stop(s) request

and this eatrader.ex5 recompile on b238 version.

Alexey Da
Moderator
6606
Alexey Da 2010.09.15 12:31  
yster:

First,

I am running only version ex5 on this pc without mq5 source, how can the log show as Zero divide in 'eatrader.mq5' ?? Second my ea was working fine on previous build, and the backtest is ok too. but on this built when i run it in live mode..what is the problem here ? then expert is auto removed.


Which build do you use now? Which build your expert was compiled?

Could attach your file?

Johnny
140
Johnny 2010.09.15 12:35  

ok, and this is test on my another ea..

2010.09.15 04:33:55     Core 1  2010.02.24 17:31:26   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:25   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:24   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:23   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:23   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:22   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:21   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:20   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:19   CTrade::OrderModify::OrderCheck: Invalid stop(s) request
2010.09.15 04:33:55     Core 1  2010.02.24 17:31:18   CTrade::OrderModify::OrderCheck: Invalid stop(s) request

Johnny
140
Johnny 2010.09.15 12:37  
Im using built 238 ( lastest ), expert compiled on b238. Look like this is bugs..all my ea has this error
CTrade::OrderModify::OrderCheck: Invalid stop(s) request
it show on backtest Journal log too
Johnny
140
Johnny 2010.09.15 12:41  

This test on another ea..

2010.09.15 04:40:01     Core 1  2010.02.01 08:25:41   CTrade::OrderModify::OrderCheck: The request for no change
2010.09.15 04:40:01     Core 1  2010.02.01 08:25:40   CTrade::OrderModify::OrderCheck: The request for no change
2010.09.15 04:40:01     Core 1  2010.02.01 08:25:39   CTrade::OrderModify::OrderCheck: The request for no change

Something wrong with OrderCheck...

Johnny
140
Johnny 2010.09.15 19:54  
guys, can you please fix this bug..the error above cuz my ea auto removed from the charts..i am about  to submit my ea to atc2010..now the error prevent me to continute..

Alexey Da
Moderator
6606
Alexey Da 2010.09.17 10:15  

Please, send code.

It is too hard to guess what is  wrong.

To add comments, please log in or register