Order send error: 130 (for stoploss below 90)

 

I'm backtesting an EA



It generates order send error 130 if I use stoploss below 90




MarketInfo(Symbol(), MODE_STOPLEVEL) is shown to be 60.


Why is the limit 90?

 

I'm guessing this is occurring just on the Buys or just on the Sells?

If so it may relate to Spread, depending on how you are calculating SL

See here for the different treatments needed or post your code with the 'SRC' button

Good Luck

Brian

Reason: