Error 129 Invalid Price - How?
Is it possible you're trying to close a short position at the Bid price?
Or is it possible that OrdersSuite is normalizing the price to 4 digits when you need 5 or something like that?
CB
Is it possible you're trying to close a short position at the Bid price?
Or is it possible that OrdersSuite is normalizing the price to 4 digits when you need 5 or something like that?
CB
You agree to website policy and terms of use
I wrote an EA to place orders from an email signal service and subsequently manage the orders afterwards. However any attempts to partially close orders and take profit at predefined levels have so far been impossible. Iam using the OrdersSuite.mqh file available here which includes all error processing for orders.
iSlippage is set to 100 as I have a 5 digit broker. Is this correct? Within the orders suite no modifications are made to the passed slippage value before the order request is sent.
I always recieve Error 129 Invalid Price, the function attempts 10x at this price before declaring a severe error and closing all my positions. Yet the price the positions are then closed at are well within the slippage limit.
What am I doing wrong here?