Delay in placing a new safety order is a parameter that defines the time interval between placing safety orders after the previous one has been filled.
This function is used to control the timing of order placement in a grid strategy and helps prevent multiple safety orders from being placed simultaneously during sharp price movements.
The function is active only if the following conditions are met:
Partial grid order placement is enabled
The number of simultaneously placed orders is set to 1
How it works
After a safety order is filled, the bot:
records the fill event
recalculates the average position price
updates the Take Profit order
starts the delay timer
places the next safety order after the specified time has passed
Each subsequent safety order is placed strictly after the timer completes, regardless of how fast the price changes.
The delay value is set in minutes.
The delay value is applied equally to all safety orders.
Effects of using delay
Using a delay leads to the following effects:
safety orders are placed at different time intervals
reduced probability of multiple orders being filled within a single candle
the actual price distance between orders becomes dynamic
part of the funds remains unused until the next order is placed
Practical use cases
This function is commonly used in the following scenarios:
trading under high volatility conditions
working with futures instruments
strategies with a large number of safety orders
situations where it is important to keep free balance available to support the position