Khotbot Parameters
A detailed explanation of each parameter in the bot to enhance understanding and enable effective application across different strategies.

Take Profit Price
It is the price at which the bot will take profit. The Take Profit Price is calculated based on the Take Profit Ratio (TP ratio) that has been set.
How to calculate:
-
Spot: Take Profit Price = Entry Price × (1 + TP ratio%)
-
Long: Take Profit Price = Entry Price × (1 + TP ratio%)
-
Short: Take Profit Price = Entry Price × (1 − TP ratio%)

Pullback
It refers to the lowest price (in a Long position) and the highest price (in a Short position).
Once the Pullback Boundary Price is determined, it will be used to calculate the Pullback Active Price.
-
Long: Pullback Active Price is the price at which the bot places a buy order when the price reverses — specifically, after it hits the lowest point and then rebounds to touch the preset Pullback Ratio.
-
Short: Pullback Active Price is the price at which the bot places a buy order when the price reverses — specifically, after it hits the highest point and then pulls back to touch the preset Pullback Ratio.

Take Profit Retracement
It is used to extend the profit-taking range.
The Take Profit Retracement Price (TPR Price) is calculated to help determine the appropriate Take Profit Ratio.
How to calculate:
-
The TPR Price is calculated based on the TPR Boundary Price.
-
If the TPR Ratio is set to 0, the bot will take profit immediately when the price reaches the TP Ratio.

TPR Boundary Price
It refers to the highest price (in the case of Spot or Long positions) and the lowest price (in the case of Short positions). Once the TPR Boundary Price is determined, it will be used to calculate the TPR Active Price.
How to calculate:
-
Spot: TPR Active Price is the price at which the bot executes a sell order when the price peaks and then pulls back to touch the preset TPR Ratio.
-
Long: TPR Active Price is the price at which the bot executes a sell order when the price peaks and then pulls back to touch the preset TPR Ratio.
-
Short: TPR Active Price is the price at which the bot executes a sell order when the price hits the lowest point and then rises back up to touch the preset TPR Ratio.

Covering Spreads
It refers to the price gap between each order where the bot will perform layered buying.
The Next Order Price (the price at which the bot will place the next order) is calculated as follows:
How to calculate:
-
Spot: Next Order Price = Average Price × (1 − Covering Spread Ratio%)
-
Long: Next Order Price = Average Price × (1 − Covering Spread Ratio%)
-
Short: Next Order Price = Average Price × (1 + Covering Spread Ratio%)

Pullback Boundary Price
It refers to the lowest price (in the case of a Long position) and the highest price (in the case of a Short position). Once the Pullback Boundary Price is determined, it is used to calculate the Pullback Active Price.
How to calculate:
-
Spot: Pullback Active Price is the price at which the bot places a buy order when the price hits the lowest point and then rebounds to touch the preset Pullback Ratio.
-
Long: Pullback Active Price is the price at which the bot places a buy order when the price hits the lowest point and then rebounds to touch the preset Pullback Ratio.
-
Short: Pullback Active Price is the price at which the bot places a buy order when the price hits the highest point and then pulls back down to touch the preset Pullback Ratio.

Covering Multiple
It refers to the multiplier applied to the initial order size.
For example, if you set:
-
Initial Margin: 10 USDT
-
Order Quantity: 5
-
Covering Multiples: 2, 4, 8, 16, 32
Initial Order: 10 USDT
-
1st Order (Covering multiple = 2): 10 × 2 = 20 USDT
-
2nd Order (Covering multiple = 4): 10 × 4 = 40 USDT
-
3rd Order (Covering multiple = 8): 10 × 8 = 80 USDT
-
4th Order (Covering multiple = 16): 10 × 16 = 160 USDT
-
5th Order (Covering multiple = 32): 10 × 32 = 320 USDT
Total Margin Used = 10 + 20 + 40 + 80 + 160 + 320 = 630 USDT
.png)