error 130 New comment rfbudhwani 2012.08.28 17:04 I am getting error 130 can someone help here is what i am doing get the signal from email and opening trades on mt4 its working smooth on alpari uk demo account but getting error on hotforex current price 1.2560 where SL=1.2460 output of StrToDouble(SL) is 1.246 int ticket_num = OrderSend (PAIR,OP_BUY,1,MarketInfo(PAIR,MODE_ASK),3,StrToDouble(SL),0,"test",12345,0,Blue); and its giving error 130 thanx in advance Error 130 - invalid stop. Why? Open a position error? Please can someone help with error 130. Simon Gniadkowski 2012.08.28 17:47 #1 rfbudhwani: I am getting error 130 can someone help here is what i am doing get the signal from email and opening trades on mt4 its working smooth on alpari uk demo account but getting error on hotforex Hotforex is probably an ECN Broker, lost of info here: ECN [Deleted] 2016.02.05 05:52 #2 I am having the same issue with error 130 , is it the strtodouble that creates the issue? Because when I hardcode the prices on ordersend it works just fine. Please help William Roeder 2016.02.05 15:44 #3 Slippage parameter, 0.3 pips may be too small. On EURNOK/USDMXN/USDZAR the spread can be more than 300 pips! I use 2*(Ask-Bid)/Point. New comment
I am getting error 130 can someone help
here is what i am doing get the signal from email
and opening trades on mt4
its working smooth on alpari uk demo account but getting error on hotforex
current price 1.2560
where SL=1.2460
output of StrToDouble(SL) is 1.246
int ticket_num = OrderSend (PAIR,OP_BUY,1,MarketInfo(PAIR,MODE_ASK),3,StrToDouble(SL),0,"test",12345,0,Blue);
and its giving error 130
thanx in advance