Safety orders (DCA): how the grid supports a deal

Safety orders (DCA): how the grid supports a deal
Firedrake Team
Product Guides & Tutorials
3 min.

One of Firedrake’s risk management tools is the automated placement of safety orders (DCA) to average the position during unfavorable price movements.

You set them up in Bot Settings, a reusable profile that defines how a futures trade is opened and managed after entry. The same profile can then be used in Trade Strategies and in Trade Web-Hooks.

The safety-order grid

The Safety Orders Grid defines how the trade is supported if price moves against the original entry. Use it when you want a structured averaging approach instead of a single entry order. A profile can include:

  • the number of safety orders, from 0 to 50;
  • the spacing between them, an SO step from 0.01 to 50%;
  • grid scaling logic, with a martingale from 1 to 3;
  • the overall capital distribution structure within the trade.

These settings affect how flexible or aggressive the trade becomes after the first entry. With 0 safety orders, a deal is opened with a single entry order, and you can still add safety orders to such a deal manually on the Active Bots page.

Secondary grids

You can add additional safety-order grids with their own parameters instead of relying on a single grid structure. They are useful when you want different order density at different stages of price movement, or a more customized structure for handling deeper pullbacks.

The stop loss and the grid

The stop loss is placed from the first order price and does not follow the average price. Every safety order that fills adds to the position before price reaches the stop.

An example from the documentation: a LONG deal with a 10 USDT first order and a 15% stop loss loses about 1.50 USDT at the stop without a grid. With 5 safety orders, a 2% step and martingale 1.5, all five fill before the stop and the loss is about 17.37 USDT. The same 15% stop costs almost 12 times more.

Under the stop-loss field, the If the stop loss fires block shows this estimate for your own settings: the position at the stop, the average price, the stop’s distance from the average and the approximate loss. The estimate does not include fees or slippage.

If the stop loss is closer than the last safety order, it closes the deal before the whole grid fills. The form then shows a warning, and the profile list shows a Stop loss inside the grid badge. It is a warning, not a block.

Take profit as the deal averages

In Advanced Configurations, TP / TSL steps let the bot ask for a larger take profit as it averages and start the trailing stop later. The stop loss does not move, so the deal’s risk does not grow. Steps from Bot Settings apply to new deals only.

Every field is described in Bot Settings. Firedrake is a tool for automation, not a guarantee of profit.