Error 130 on microlots - page 3

 

hi guys i have an ea that i have been using for a while now and never had any issues with it but lately i tried using this ea on the spjun10 contract but i always get error 130 even though my stop is more then 50 pips away from the price. here is the error :

2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:last error: 130:invalid stops
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:failed trade: OP_BUY SPJUN10@1169.75000000 tp@1194.75000000 sl@1119.75000000 slippage:100
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:failed to execute OP_BUY/OP_SELL, after 0 retries
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:non-retryable error: 130:invalid stops
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4: attempted OP_BUY 0.10000000 lots @1169.75000000 sl:1119.75000000 tp:1194.75000000 slippage:100


can anyone help me i have tried multiple stops and take profit and the only way i got it to trade was to put no sl and tp just a trailing stop.

any insight would help.

 
ness148 wrote >>

hi guys i have an ea that i have been using for a while now and never had any issues with it but lately i tried using this ea on the spjun10 contract but i always get error 130 even though my stop is more then 50 pips away from the price. here is the error :

2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:last error: 130:invalid stops
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:failed trade: OP_BUY SPJUN10@1169.75000000 tp@1194.75000000 sl@1119.75000000 slippage:100
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:failed to execute OP_BUY/OP_SELL, after 0 retries
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4:non-retryable error: 130:invalid stops
2010.05.04 17:25:52 LibOrderReliable_V1_1_4_test SPJUN10,M5: OrderSendReliableMKT v1_1_4: attempted OP_BUY 0.10000000 lots @1169.75000000 sl:1119.75000000 tp:1194.75000000 slippage:100


can anyone help me i have tried multiple stops and take profit and the only way i got it to trade was to put no sl and tp just a trailing stop.

any insight would help.


Hi, I recommend reading the following thread for insight into an answer to your question: https://www.mql5.com/en/forum/125562