Skip links

Max price distance

FCC_EA 1.0Updated 2 min read

A signal is often confirmed on a candle close. After a big candle, price can already be far from the line or level that gave the signal, and entering there means a worse entry and a stop that is further away in practice. Max Price Distance Filter (in points, FILTERS SETTINGS) skips such a late entry. 0 = off.

How it works

  1. When a signal comes, FCC_EA measures the distance from the current price to the level that gave the signal.
  2. More than Max Price Distance Filter points: the trade is not opened yet.
  3. On the next candle of the Signal Timeframe it checks once more. Price back within the distance: the trade opens. Still too far: the signal is dropped.

Example, BUY signal from an EMA cross at 1.10000, Max Price Distance Filter = 300 on EURUSD:

Price when checkedResult
1.10200 at the signalopens (200 points away)
1.10450 at the signalwaits for the next candle
1.10250 on the next candleopens
1.10500 on the next candledropped

The level for each method

MethodDistance measured from
EMA Signalsthe slow EMA that was crossed
SMMA Signalsthe band edge that gave the signal
TMA Signals, crossesthe TMA line
TMA Signals, TMA-Bands reversalthe size of the signal candle (open to close) instead of a level
VWAP Signalsthe VWAP line or band that was touched or crossed
Range Breakoutthe range high or low that was broken
Liquidity Sweepthe swept level (with the IFVG trigger: the edge of the box)
Pivotsthe pivot level, see below

Pivots

With Pivots there is no retry. A pivot level only gives a signal while price is within Max Price Distance Filter of it (counted from the level moved by Level Offset). Once price has run further, that level stops triggering, so a level that price left far behind does not keep firing.

After a closed market

If a signal could not open because the market was closed, FCC_EA tries again on the first candle after the market opens. With Max Price Distance on, that reopen is allowed only if price has not gapped against the signal (for a BUY: not below the price at the first attempt) and is still within the distance. A weekend gap the wrong way therefore cancels the old signal.

Choosing a value

Points depend on the symbol (see Different broker? Points and server time). A starting point is a share of your stop loss: with Stop Loss = 1000, a value of 200 to 300 keeps a late entry from eating a large part of the stop. Check the effect in the Strategy Tester before using it live.

In the log

Max Price Distance Filter: BUY blocked - price 450 pts from the signal level (limit 300), retry next candle
Max Price Distance Filter: BUY retry - price within the limit, opening

When the retry is too far too, the line ends with still out of range. Cancelling pending retry.

All settings for this feature Filters settings → General settings → Reclaim settings →

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.