P&L Trailing

P&L Trailing is a feature that allows the bot to pull the average entry price closer to the market by closing distant losing triggers.

Start Distance — the initial distance from the farthest trigger at which P&L trailing is activated. Once the price moves beyond this distance, the bot begins collecting profit to initiate trailing.

Profit — the percentage of profit retained from each closed order to accumulate toward closing losing (distant) triggers. This helps the bot manage risk and lock in gains more efficiently.


How It Works:

  • As the bot accumulates enough profit, it can begin closing the farthest unprofitable IN-orders.

  • When a losing trigger is closed, the accumulated profit is used to cover the loss, and that profit is deducted from the “Profit to Trailing” pool.

You can track the accumulated profit for trailing in the summary stats under "Profit to Trailing".

P&L Trailing


Activation Behavior:

  • If the price has already moved beyond the Start Distance from the farthest trigger when P&L Trailing is enabled, the bot starts accumulating profit immediately.

  • If P&L Trailing is enabled beforehand, the bot starts accumulating only once the price deviates from the farthest trigger by the Start Distance.

This tool is especially useful for volatile markets where distant orders risk accumulating losses, and it allows the bot to continuously optimize positioning and secure gains even in challenging conditions.

Last updated