Download MetaTrader 5
To add comments, please log in or register
Register at MQL5.community and leave your comments!
rfbudhwani
45
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

Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2012.08.28 17:47  
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
Liata
3
Liata 2016.02.05 05:52  
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
whroeder1
13641
whroeder1 2016.02.05 15:44  
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.
/
To add comments, please log in or register