Buy() operation failed [invalid stops]
drakorg: The exact parameters to the call were these: CTrade::OrderSend: instant buy 1.00 EURUSD at 1.12179 sl: 1.12071 tp: 1.12471 [invalid stops]
That is useless information as we don't know what the market was (Ask) at the time of the call.
Hi, I'm trying to put this order and I keep getting [invalid stops] error. To my understanding the order I'm putting is valid.
The exact parameters to the call were these:
CTrade::OrderSend: instant buy 1.00 EURUSD at 1.12179 sl: 1.12071 tp: 1.12471 [invalid stops]
However, a very similar call from another set of tests is accepted fine:
CTrade::OrderSend: instant buy 1.00 EURUSD at 1.11907 sl: 1.11644 tp: 1.12304 [done at 1.11907]
I must me failing to pass some upper or lower bounds limit check, but I fail to see which one.
Thanks.