For which Order ? what was the TP ? what was the SL ? what was Bid, Ask ? you need to add all these variables to your error reporting and when you Print() them make sure you use DoubleToStr(variable, Digits) to get the correct number of digits.
RaptorUK:
For which Order ? what was the TP ? what was the SL ? what was Bid, Ask ? you need to add all these variables to your error reporting and when you Print() them make sure you use DoubleToStr(variable, Digits) to get the correct number of digits.
I got rid of the problem. My mistake was about displacement of { and } of 'if' operator. I put them in right place and it did work.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
No order took palce and result is zero.
It places plenty of orders . . .
and the OrderModify() fails
2013.09.04 10:48:40 2007.06.07 10:00 farrokhfa EURUSD,H1: OrderModify() error - invalid stops
2013.09.04 10:48:40 2007.06.07 10:00 farrokhfa EURUSD,H1: OrderModify error 130
It places plenty of orders . . .
and the OrderModify() fails
for me it is:
2013.09.04 14:03:30 2013.09.03 23:30 Farrokh GBPUSD,M30: OrderSend() error - invalid stops
2013.09.04 14:03:30 2013.09.03 23:30 Farrokh GBPUSD,M30: OrderSend error 130
for me it is:
2013.09.04 14:03:30 2013.09.03 23:30 Farrokh GBPUSD,M30: OrderSend() error - invalid stops
2013.09.04 14:03:30 2013.09.03 23:30 Farrokh GBPUSD,M30: OrderSend error 130
For which Order ? what was the TP ? what was the SL ? what was Bid, Ask ? you need to add all these variables to your error reporting and when you Print() them make sure you use DoubleToStr(variable, Digits) to get the correct number of digits.
I got rid of the problem. My mistake was about displacement of { and } of 'if' operator. I put them in right place and it did work.
Thank you very much...
I got rid of the problem. My mistake was about displacement of { and } of 'if' operator. I put them in right place and it did work.
Thank you very much...