Help on Error 130

 

I got ordersend error 130.

I checked online and find error 130 means my stoploss (10 pips) or takeprofit (70 pips) is too close.

I then increase the stoploss and takeprofit to above 50 pips, but still got error 130.

Print("minSTOP= ",MarketInfo(Symbol(), MODE_STOPLEVEL)) output a value of 0.

Could anybody help me? Thanks a lot

 
zbleach:

I got ordersend error 130.

I checked online and find error 130 means my stoploss (10 pips) or takeprofit (70 pips) is too close.

I then increase the stoploss and takeprofit to above 50 pips, but still got error 130.

Print("minSTOP= ",MarketInfo(Symbol(), MODE_STOPLEVEL)) output a value of 0.

Could anybody help me? Thanks a lot


ECN account ??

That case send order with tp & sl both 0 then if triggered modify order

a lot of postings topics here with this same problem almost all ECN accounts

 
Try useing this for real and you'ld find lots of references about ecn