Forum on trading, automated trading systems and testing trading strategies
MQL4 Error Code Listing
Alexander, 2009.09.14 05:22
You are probably using the wrong price for the operation!
Remember that Buy orders open at the Ask price and close at the Bid price, while Sell Orders open at the Bid price but close at the Ask price.
If that does not solve your problem, then post the code for analysis.
Thankx, I got it right.
Your are perfectly correct sir. That was the problem i had. Thank you!