- Stop level or take profit level in window order
- Stop Loss & Take Profit on OrderSend.
- Experts: Trading Simulator 2
One TP/SL can be set on server per ticket.
OrderClose() can be used to close part of a position as you see fit.
I want to implement position sizing. Is it possible to set multiple TP/SL levels for one order? Or I have to use OrderSend() in my own management?
Yes, absolutely. "Stop loss" and "Take profit" are not an order type, they are a concept which implements stop and limit orders. In practice, a SL is a stop order and a TP is a limit order. You can place multiple stop orders and multiple limit orders respectively. In order to reconcile the position you will then need to use "CloseBy" (on hedging accounts).
Yes, absolutely. "Stop loss" and "Take profit" are not an order type, they are a concept which implements stop and limit orders. In practice, a SL is a stop order and a TP is a limit order. You can place multiple stop orders and multiple limit orders respectively. In order to reconcile the position you will then need to use "CloseBy" (on hedging accounts).
10 years old topic ?
Ugh... it was on the front page... Someone was blasting the forum and mods must have deleted the duplicates.
Ugh... it was on the front page... Someone was blasting the forum and mods must have deleted the duplicates.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use