error 130

 

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

 
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
 
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
 
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.
Reason: