Skip links

Hedge Mode Settings

FCC_EA 1.0Updated 3 min read

Available in FCC_EA Trading Panel Pro

Hedge mode replaces the stop loss with a recovery sequence. When price reaches the hedge zone against your position, FCC_EA opens an opposite position with a larger lot. If price turns again, it opens the next one on the other side. The whole group of positions (the basket) is then closed together, as soon as it is back at breakeven or at your basket profit target, or at the hard stop in money.

These settings are in the HEDGE MODE SETTINGS group on the EA's Inputs tab. Values in points are broker points (the smallest price step of the symbol).

FCC Trading Panel has this group too, on the panel's Inputs tab. The chips under each setting show where it works: FCC_EA, Panel Pro and Panel Free. Panel Free: fixed means Free has no such input and uses a fixed value.

How a hedge cycle works

  1. A signal opens the first position, for example BUY 0.10 at 1.10000. It has a normal take profit but no stop loss.
  2. FCC_EA places an opposite stop order at the hedge zone: entry − Hedge Zone Distance points for a BUY, entry + Hedge Zone Distance for a SELL.
  3. If price reaches the zone, that order fills and the cycle becomes active. From now on the basket is managed as one: the take profit is removed from every position, and grid, pyramid, breakeven, trailing and partial close stop working for this slot.
  4. The next opposite order waits at the first entry price. Price bouncing between the entry and the zone fills one order after another, up to Max Hedge Cycles hedge orders.
  5. The basket closes when one of its exits is reached (below). The hard stop Hedge Hard SL is always watched, also before the cycle starts.

Lots, with Hedge Lot Multiplier = 2

Each hedge order is sized so that the new side is Hedge Lot Multiplier times the other side.

StepOrderLotOpen: buys / sellsNet
First positionBUY at entry0.100.10 / 00.10 buy
Hedge 1 at the zoneSELL0.200.10 / 0.200.10 sell
Hedge 2 at the entryBUY0.300.40 / 0.200.20 buy
Hedge 3 at the zoneSELL0.600.40 / 0.800.40 sell

The position grows quickly with every cycle. Keep Max Hedge Cycles low and set Hedge Hard SL to an amount you accept to lose on one basket.

Basket exits

Checked on every price change while the cycle is active:

  • Hard stop (Hedge Hard SL): floating loss of the basket reaches this amount.
  • Basket take profit (Hedge Take Profit): floating profit reaches this amount.
  • Partial close at breakeven (Hedge Partial Close at BE): once per basket, when the result first reaches $0.
  • Breakeven protection (Hedge BE Protection): see the setting.
  • Trailing (Hedge Trailing Buffer): see the setting.
  • If none of Hedge Take Profit, Hedge Trailing Buffer and Hedge BE Protection is set, the basket closes as soon as its result is $0 or better.

The floating result includes swap, not commission.

Breakeven or profit

With Hedge Take Profit, Hedge Trailing Buffer and Hedge BE Protection all at 0 (the defaults) the basket closes at $0: the aim is to get out of a losing trade without a loss. Any of the three lets a recovered basket run for profit instead. With Hedge Take Profit alone a basket that touched $0 and turned back is no longer closed at $0: it runs to the target or the hard stop, so pair it with Hedge Trailing Buffer to keep a give-back exit.

Physical or virtual hedge orders

With SL/Hedge Zone Timeout = 0 (Manage Position), the hedge orders are real stop orders at the broker and fill the moment price reaches them. With SL/Hedge Zone Timeout above 0, there is no order at the broker: FCC_EA watches the level, waits the timeout and then opens the hedge at market, which filters short spikes but fills later and at a worse price.

Failed-break reset

Optional. A hedge order fills, but price immediately turns back into the zone (a false break). With the reset on, FCC_EA undoes only that last step: it closes the just-opened position near its entry price, cancels the next order and places the previous order again on the same level. The cycle count goes back by one. It works best with physical orders (SL/Hedge Zone Timeout = 0); with virtual orders the undo happens later and further from breakeven.

SettingValuesWhat it does
Use Hedge Mode?FCC_EAPanel ProPanel Free: fixedtrue / falsefalse: positions use the normal stop loss.true: no stop loss; the hedge zone and the basket exits below are used instead.
Hedge Zone Distance (points)FCC_EAPanel ProPanel Free: fixedPointsDistance from the first entry to the level where the first hedge order is placed. The orders then alternate between this level and the first entry price. The Trading Panel SL field can set a different zone for positions opened from the panel.Trading Panel: the default zone; the panel's SL field sets the zone of each new trade.
Hedge Lot MultiplierFCC_EAPanel ProPanel Free: fixedNumber (multiplier)Each hedge order makes its side this many times the other side (see the table above). 2.0 means the net position doubles every cycle.
Max Hedge CyclesFCC_EAPanel ProPanel Free: fixedWhole numberHow many hedge orders can fill in one basket. After the last one no further order is placed and the basket waits for an exit or the hard stop.
Hedge Hard SL (max loss in $)FCC_EAPanel ProPanel Free: fixedAmount in account currencyFloating loss of the basket, in account currency, at which all its positions are closed. Watched all the time, also before the first hedge order fills. A fixed amount: adjust it to your lot size. 0 = no hard stop (not recommended).
Hedge Take Profit ($, 0=close at breakeven)FCC_EAPanel ProPanel Free: fixedAmount in account currency, 0 = close at breakevenProfit target of the whole basket in money. Above 0 the basket no longer closes at breakeven: it waits for this target, the trailing or breakeven protection exit, or the hard stop. At 0 the basket closes as soon as its result is $0 or better (unless trailing or breakeven protection is set).
Hedge Trailing Buffer ($ above basket breakeven, 0=disabled)FCC_EAPanel ProPanel Free: fixedAmount in account currency, 0 = disabledLocks in basket profit. Once the basket result reaches $0 or better, FCC_EA remembers its highest result and closes the basket when it falls this amount below that high. With a small high, the close can be slightly below $0 (at most this amount).
Hedge BE Protection (points above BE, 0=disabled)FCC_EAPanel ProPanel Free: fixedPoints, 0 = disabledWhen the basket first reaches $0, FCC_EA remembers the price. Once price has moved this many points further in the basket's net direction, the protection is armed, and the basket is closed if price comes back to the remembered price. Until it is armed, nothing closes the basket at breakeven.
Hedge Partial Close at BEFCC_EAPanel ProPanel Free: fixedOff25%50%75%Closes this share of every basket position once, when the basket first reaches $0 or better.Off: no partial close.25% / 50% / 75%: the share that is closed.Useful only with an exit that lets the rest run (take profit, trailing or breakeven protection) - with none of them the rest closes at breakeven at the same moment.
Failed-Break Reset ModeFCC_EAOffBar close back in zoneRatio advance then returnUndo a hedge step when price breaks the hedge level and turns straight back.Off: a filled hedge order stays.Bar close back in zone: undo when a candle of the confirm timeframe closes back on the side the break came from.Ratio advance then return: undo when price first ran clearly beyond the level (see the ratio below) and then came back through it.
Failed-Break Confirm Timeframe (bar close mode)FCC_EATimeframe: Current chart, M1 … MN1Bar close mode only: the timeframe whose candle close confirms a failed break. Current chart = the chart's timeframe.
Failed-Break Arm Ratio x Hedge Zone (ratio mode)FCC_EANumber (multiplier)Ratio mode only: how far beyond the level price must run (as a share of Hedge Zone Distance) before a return through the level counts as a failed break. 0.3 with a 1000-point zone = 300 points.
Failed-Break Max Undos per Cycle (0=unlimited)FCC_EAWhole number, 0 = unlimitedHow many times the same cycle step can be undone. 0 = no limit.
Build it, test it, change it.

Backtest this setup free in the Strategy Tester, and adjust it whenever the market changes; every feature is in every plan. Backtest results depend on your broker's data and don't guarantee future results.

Can't find an answer?

Check the FAQ or write to us. We reply within one business day.