# Safety order condition

DCA bots supports two ways to add positions. It can reduce the cost of holding positions by devition safety order and make more profit by tendency safety order. Each way including two type of safety order condition,[% from base order]and [% from previous order]

## % from base order

The deviation percentage or tendency percentage compared with base order. All the safety orders are calculated based on the base order. For example:

• If there is a long-deviation bot,the everage price of base order is 100usd ,the deviation safety order is 2% from base order, safety orders step scale is 1, then the first safety order is 100 - 2% * 1 * 100 = 98 usd ,the second safety order is 100 - 2% * 1 * 2 * 100 = 96 usd...,And so on
• If there is a long-tendency bot, the everage price of base order is 100usd ,the deviation safety order is 2% from base order, safety orders step scale is 1, then the first safety order is 100 + 2% * 1 * 100 = 102 usd ,the second safety order is 100 + 2% * 1 * 2 * 100 = 104 usd...,And so on

deviation-% from base order

tendency -% from base order

## % from previous order

The deviation percentage or tendency percentage compared with the deal price of the previous order. If the first safety order is calculated based on the base order, the second safety order is calculated based on the first safety order...and so on. For example:

• If there is a long-deviation bot,the everage price of base order is 100usd ,the deviation safety order is 2% from previous order, safety orders step scale is 1, then the first safety order is 100 - 2% * 1 * 100 = 98 usd ,the second safety order is 98 - 2% * 1 * 2 * 100 = 96.04 usd...,And so on
•  If there is a long-tendency bot,the everage price of base order is 100usd ,the deviation safety order is 2% from previous order, safety orders step scale is 1, then the first safety order is 100 + 2% * 1 * 100 = 102 usd ,the second safety order is 102 + 2% * 1 * 2 * 102 = 104.04 usd...,And so on

deviation-% from previous order

tendency-% from previous order

## How to chose

Generally speaking, when the change in asset prices is relatively stable, the difference between the two ways of safety order order is not large. The specific method depends on your preference. However, when the asset price of the transaction is relatively severe (there will be more than 50%of the severe fluctuations or the price changes in more than 50%in the short cycle, such as LUNA or margin tokens)it will be more suitable for [%of the previous order].

In addition，when you set the bot parameters，you can check the order at the bottom of the [Create DCA bot- advanced] to ensure that the execution of the order meets your transaction expectations

Create DCA bot- advanced-Overview of each orders step