hello…guys…!!!
i have created one ea,but when i did backtest.i ordersend error 130.
please solve my problem.i cant attach my ea here.
Hi,
It has to do with the value you are putting as a stoploss and/or take profit. You should be able to copy & paste the “ordersend” line of code so we can see…
Also make sure that you always use 0 values for SL and TP parameters of OrderSend if you use ECN broker. Send order with no limits first, and then modify it.
ERR_INVALID_STOPS 130 - Invalid stops.