Hi Kiwi
I think you should use a BUYSTOP or SELLSTOP because these are set ahead of the price. So if you want to sell when a buy stoploss is hit you should have placed a SELLSTOP order.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello
How would you use a limit order as your stoploss.
StopLoss = OrderSend(Symbol(), OP_BUYLIMIT, Lots, Ask, Slippage, StopLossLevel, TakeProfitLevel, "Buy(#" + MagicNumber + ")", MagicNumber, 0, DodgerBlue < 0);
Or how would you code it.
Any help would be great