error 130

Back to topics list To post a new topic, please log in or register
avatar
12
rfbudhwani 2012.08.28 19: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


 
avatar
14167
RaptorUK 2012.08.28 19: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

 
avatar
1
blessed_108 2016.02.05 06: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
avatar
12985
WHRoeder 2016.02.05 16: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.
Back to topics list  

To add comments, please log in or register