What causes error on my EA? - page 2

 
justlink #:

I know that why i MTRquest.deviation parameter.

and i use <Trade.mqh> now. this is my code:

the Retcode return correctly and show 10009 in alert too. so the position open. But the ResultDeal always return 0. how can i get the ticket value?


Before I answer your question, there is one thing I need to confirm, do you really know what is the value from (SYMBOL_SPREAD * _Point)?