MQL4 - automated forex trading   /  

Forum

Send Error 0

Back to topics list To post a new topic, please log in or register

avatar
8
smoginator 2008.09.19 03:39 

Can anyone tell me why Send Error 0 is sometimes produced? The Error Codes section of Help indicate it means no error, so why does it show up?


Thanks,

Deane


article

Reporting the Sixth Week (3-9 November)

The sixth week did not produce many changes in the top ten of Participants


avatar
2462
phy 2008.09.19 04:30 
Show up where?

avatar
8
smoginator 2008.09.19 06:25 
phy wrote >>
Show up where?

It shows up in the Experts log.




avatar
747
fbj 2008.09.19 12:59 

just ideas

why not look trade pool for order u think u send?

sendorder gives back tic# or -1 if error - wat u get?

last error gives 0 and no error is meaning - not this good?

u look in trade tab?

maybe use print to see wat sending,recving?

just ideas


avatar
1235
BarrowBoy 2008.09.19 18:15 
smoginator wrote >>

Can anyone tell me why Send Error 0 is sometimes produced? The Error Codes section of Help indicate it means no error, so why does it show up?

Thanks,

Deane

One usual cause is where you OrderModify (for example to move a trailing stop) but actually send unchanged values

FWIW

-BB-


avatar
8
smoginator 2008.09.19 18:22 
BarrowBoy wrote >>

One usual cause is where you OrderModify (for example to move a trailing stop) but actually send unchanged values

FWIW

-BB-

That is good to know but in this case it is an entry order, not a modify. Eventually, the order goes through. What I don't understand is why is an error generated when the error number means no error? If there was no error, what is up with an error returning?



avatar
747
fbj 2008.09.19 18:37 

i find in editor help-

If unchanged values are passed as the function parameters, the error 1 (ERR_NO_RESULT) will be generated.

"Can anyone tell me why Send Error 0 is sometimes produced?"

oh me... why not i look hard at execution errors for error 0

it says "Trade operation succeeded."

my fault, not make good first post - not think nuff :(

yes... word 'error' in this time not mean 'error' but 'success' :)

Back to topics list  

To add comments, please log in or register