Ladder smart orders allow you to place several orders in the form of a ladder at once, as well as take profits with a ladder and stop losses for them, with the possibility of individual settings.

Smart orders provide the user with the following list of functions when creating and editing orders:
When creating:
- ladder buying with average an entry price
- Ladder of sell targets with partial closing on each target
- ladder buying with average an entry price
- Ladder of sell targets with partial closing on each target
- Ladder of sell targets with the «target trailing» function (with moving a stop-loss when achieving a target)
- trailing the last target at a given distance
- classic stop loss or candle closing
- trailing stop loss
- transfer of the stop-loss level to breakeven when the specified percentage is reached
- setting the method for calculating take profit and stop loss when changing average entry prices (fixed price level or percentage distance)
- setting the conditions of sale (determines the order of purchases and sales in the presence of ladders)
When editing:
- monitoring the execution process, displaying the average entry price and current profit
- adding buy orders or cancel of the unfulfilled orders
- adding sales targets or deleting/editing waiting targets
- switching take profit parameters on/off: trailing ladder and trailing distance
- switching stop loss parameters on/off: trailing and breakeven
- changing trailing distance value for the stop loss if it is already activated
- switching stop-loss type: classic and candle closing
- closing all orders by market (cancels unfulfilled orders and sells all purchased volume)
- cancellation function: cancels all unfulfilled orders
- changing the Calculation method parameter
- changing the settings for the sales conditions
Creating orders
Suppose you decide to buy an asset with several orders at different prices in order to enter a position at an average (better) price, and then exit the trade in parts (by placing several take profits).
Consider creating a smart order using the example of a limit order on a futures exchange for the BTC/USDT pair with two buy orders (LONG) and three take profits.
1. Open the required trading pair in the trade section (BTC/USDT) and select the order type: in this example, you need to select the order type — limit, and click on the «+ smart order» button.



Under the placed orders, a block with the final data count is displayed:
- Amount — the sum of all coins in each order
- Total — the total amount in stablecoin
- Avg price — weighted average of all buy orders (takes into account the price and volume of each order)

4. Set the leverage (if it is a futures exchange).
This indicator is displayed only for futures exchanges and shows the current leverage, as well as information on the order: Cost (amount of funds excluding credit) and Max. (the maximum number of coins that can be bought with the specified leverage and taking into account the user’s available balance).

When the Take Profit option is switched on, by default, 1 target is displayed with preset settings: TP 2% and volume 100%.

In this example, two take profits are set with a volume distribution of 60 and 40 percent.

6. If desired, set two additional parameters — trailing targets and trailing distance.
Trailing targets (with ladders) — this option is displayed when adding multiple targets and when each new target is reached, it moves the Stop Loss to the level of the previous target. If the Stop Loss was not activated when creating the order, it will be automatically activated when the first target is reached and moved to the breakeven level.
Trailing distance — allows you to automatically pull up the take profit at a given distance in case of a price increase.

Trailing distance works differently depending on whether target trailing is enabled or not:
• If Target Trailing is enabled, trailing activates after the last target is reached and pulls the entire volume until the maximum price level is reached.
• If Target Trailing is off, a partial sell-off occurs as soon as each target is reached. When the last target is reached, trailing activates and pulls it to the maximum.
7. Select TP calculation method — price or TP%:

• TP %: Floating target position while maintaining the set distance in %. When the average entry price changes, the sliders will change their position, and the % value will not change.
8. Set your stop-loss level
After activating the stop loss, you need to select the stop loss mode (normal or close by candle) and set the stop loss level. At the same time, in the stop loss settings, you can set only one price level, upon the occurrence of which the entire 100% purchased volume will be sold.

• Normal — instant closing of the deal in case of crossing the price level
• Closing by candlestick — Executed only if the SL value is lower than or equal to the value of the closing price (Close) of the selected candle in the specified timeframe. When closing a candle, the Close parameter of this candle is checked, if it is greater than the set SL parameter, then monitoring continues, if it is less or equal, then the deal is closed.

• The Trailing parameter allows you to pull the stop loss up in case of price growth. It activates when the distance between the current price and the stop loss level increases.
• Parameter of replacing to break even (to break-even when +), which allows you to move the stop-loss level to the level of the average entry price when the profit is reached by the specified %.
For example, if the Entry price is 100, stop loss is 90 and break even condition is 5%, this means that when the price reaches 105, the stop loss will be moved to 100.
Parameter of replacing to breakeven can work together with trailing, in which case the trailing activates immediately when the price rises and pulls the stop loss, when the profit reaches the specified percentage, it will move to the buy level, and trailing will continue to work from this level.
Both the Trailing and Break-even can work with a candle stop loss. In this case, the SL level is rearranged in accordance with the trailing. When the price level is crossed, the candle is expected to close (the close value of the candle is checked: if the current price is below or equal to the stop-loss position, then the deal is closed).
11. Select the SL Calculation Method option:

- Price: The static position of targets at a given price level. When the average entry price changes, the SL sliders will not change their position, but the value of % of the average price will change.
- SL %: Floating position of targets while maintaining the set distance in %. when the average entry price changes, the sliders will change their position, and the % value will not change.
12. Select the Closing Conditions option:

• Close after 100% entry: in this case orders to reduce the position (take profit or stop loss) will start to be executed after all entry orders are filled.
• Close orders partly: in this case, orders to reduce the position will be executed after the execution of at least one entry order.
13. Optionally, set the Cancel smart order if the price is at SL or TP level before opening an order, which will cancel your purchases (for LONG, and vice versa) if the stop loss or take profit levels come before your order.


The steps described above are similar for other types of orders (market and stop limit) and for the situation with a short position (SHORT).
Editing orders
Suppose you have placed a smart order with two buy orders, three take profits and a stop loss and decide to change the parameters of this smart order.
- Open the order editing panel. To do this, you can click on the gear icon in the corner of the chart, where the information opened and executed orders is located. You can also go through My Orders panel by clicking on the gear icon.

2. Cancel or close all orders. The upper part of the panel contains summary information about the order with a button for canceling (if none of the orders has yet been filled) or closing the deal.

3. Close individual orders by clicking on the cross next to the order or add new ones by clicking on the +Add order button.
At the same time, a new order cannot be added if the sale condition is “100% purchased” and there are already completed targets.
Consider the example shown in the picture. One of the orders has been fulfilled and let’s say you want to change the level of the second order. In this case, it is necessary to remove the existing unexecuted order by clicking on the cross.

In the window that appears, click on the Confirm button.

Then click on the Add Order button.

Enter the required parameters for this new order and click on the Save button if you do not need to add other changes to the smart order, or to continue editing the rest of the parameters. In this case, the average price of the order, marked with a dotted purple line on the chart, will be shifted in accordance with the new parameters of the second order.


5. You can also edit stop loss. In this section, just like with take profit, you can change any parameters that were available before the order was placed.

6. After all the necessary changes have been made, click on the Save button.

The editing function for other types of orders works similarly.