Profit Settings

Target Distance — the distance between the IN-order's entry price and the level where the bot sets a trigger. Once the price reaches the Target Distance, the bot places a stop-profit order at the Min. Stop Profit distance.
Min. Stop Profit
This is the minimum distance from the trigger point at which the bot locks in profit.
When the price reaches the Target Distance, the bot sets a stop-profit order at the specified Min. Stop Profitdistance.
If the price then pulls back by that distance, the bot closes the IN-order, fixing the profit.
If Min. Stop Profit is left empty, it defaults to zero and is not used in the bot's logic.
Target Distance & Min. Stop Profit
Max. Stop Profit
If an IN-order is triggered and not yet closed, and a new IN-order is added, the bot combines orders and tracks a trailing stop on the combined position.
The Max. Stop Profit sets the maximum distance the combined stop can trail behind the price.
Once the price moves beyond this distance, the stop begins trailing the price upward.
Each subsequent IN-order will then be closed with increasing profit.
If Max. Stop Profit is left empty, it defaults to zero and is not used.
Profit per Deal Calculation
An approximate profit per trade will be shown after entering all values:
Profit per deal = Order Size × (Exit Price – Entry Price) – ((Order Size × Entry Price × Taker Fee) + (Order Size × Exit Price × Taker Fee))
Where:
Entry Price = current price
Exit Price = current price + (Target Distance – Min. Stop Profit)
Note: When IN-orders are combined into a single Out Stop, some orders may be closed at a loss. However, due to averaging, the overall closing price will still be higher than the average entry.
Possible “Failed” Status
In case of significant price movement, the profit per trade could turn negative. If this happens, the bot may enter a “Failed” status. To resolve this, you should revise and adjust the Target Distance and Min. Stop Profit values according to new market conditions.
Out by Average Price
This is a position-closing mode that allows the bot to lock in profit relative to the average entry price of all open IN-orders.
Instead of closing each order individually, the bot sets a single trigger at the distance defined by Target Distancefrom the average entry price.
Available for all bot types and can be enabled or disabled at any time.
Example: The bot is buying SOL in steps of $10 below $100, with a 5% target:
1st order: 1 SOL $100
2nd order: 1 SOL $90
3rd order: 1 SOL $80
4th order: 1 SOL $70
Average entry price: $85 Exit price: $89.25 (which is 5% above the average)
Important: When the trigger at Target Distance from average price is reached, the bot will stop opening IN-orders until the Out Stop is closed.
Why use Out by Average Price?
You want the bot to close positions only above the average entry.
You aim to optimize averaging for a better exit point.
You're implementing a strategy similar to Futures Martingale, but with enhanced control and flexibility.
Last updated