ICT Fair Value Gap EA
- 专家
-
Dobril Karakanchev
★★★ THE GOLD HEIST: watch Giza Gold EA trade in public, every trade ★★★
https://thegoldheist.com/?src=bio - 版本: 1.0
- 激活: 5
Price came back into the gap while you were at work. This EA was there.
ICT Fair Value Gap EA trades the return to a fair value gap: it finds every gap as it forms, waits for price to come back into it, and takes that entry - buys in a bullish gap, sells in a bearish one, one trade per gap. Gaps that get filled are dropped. Stop loss, take profit, risk per trade and trading hours are yours to set.
It is the same gap engine, candle for candle, as my free indicator ICT Fair Value Gap FVG Honest Stats. The gaps this EA waits at are the boxes you already see on your chart.
The entry
- A fair value gap is three candles where the first and the third do not overlap: the low of the third above the high of the first is a bullish gap, the other way round a bearish one
- Gaps smaller than 0.1 x ATR(14) are ignored, so the EA skips noise - an input, and 0 takes every gap
- Bullish gap: when price comes back down into it, that is a buy. Bearish gap: when price comes back up into it, that is a sell
- By default the return candle must also close back outside the gap, on the side it came from - the rejection, not just the touch. Switch it off and the touch alone is the entry
- A gap that price trades right through is filled: it is dropped and nothing is traded
- A gap waits 100 candles for price to come back, then it is dropped - an input
- One trade per gap
Your stop loss, three ways
- Beyond the far side of the gap, plus a buffer you choose. This is the default: if price fills the gap, the idea is wrong
- Beyond the low of the return candle for a buy, the high for a sell, plus the buffer - a tighter stop
- A fixed number of pips
The EA keeps the stop at the broker's minimum distance on its own. If the broker takes stops only after the fill, it opens first and sets the stop straight after - and if the stop is refused even then, it closes that trade at once instead of leaving it open without one.
Your take profit, four ways
- At the high price has made since the gap formed for a buy, the low for a sell. This is the default; a signal whose target is nearer than 1 x the stop loss is skipped - an input
- A multiple of the stop loss, so 2.0 means twice what you risk
- A fixed number of pips
- None, if you manage the exit yourself
Your risk
- Risk a percentage of the balance: the EA works out the lot size from your own stop loss, so a wide stop gets a small lot and a tight stop a bigger one. This is the default
- Or a fixed lot size, if that is how you trade
- A stop loss is never nearer than half an ATR(14) - an input - so a stop that lands a few points from the entry cannot turn 1% of risk into an enormous lot
- The lot is rounded to the broker's step and never goes below its minimum or above its maximum; if the risk works out smaller than the smallest lot the broker allows, the EA says so in the log and skips the trade instead of risking more than you told it
- The free margin is checked before an order is sent
Your hours
- Leave the hours off and the EA takes every signal
- Or give it a window of the day, and a signal outside the window is simply not taken
- Maximum open buys and maximum open sells, each on its own, so you can run it long only, short only, or one of each
- A spread limit, so a wide spread does not become your entry
It matches your chart
The boxes of an indicator are chart objects and an EA cannot read them, so the engine is built into the EA instead of reading an indicator file. Nothing to install next to it, and because the signal is computed from candles the EA runs in the Strategy Tester like any other expert - most ICT indicator robots cannot be tested at all. Keep the smallest gap equal to the one on your chart and the EA works with the same boxes you see.
Works on everything you trade
- MetaTrader 5 and MetaTrader 4, same engine
- Any symbol: gold, indices, forex, crypto
- Any timeframe: the EA trades the gaps of the chart you put it on
- The engine reads closed candles only, so a signal never changes after the candle has closed
- Four and five digit brokers, market execution and instant execution
Getting started
- Drop the EA on a chart, switch AutoTrading on
- Set the risk per trade, the stop loss style and the take profit style you already use
- Leave the smallest gap alone if you use my indicator with its defaults; change it on both if you use your own
- Watch the Experts tab: the EA prints how many gaps are waiting for price, every signal it finds and the reason whenever it does not take one
Honest about what it is
- This is your entry rule, automated. It is not a strategy I sell you - the setup is ICT's, the settings are yours, and the result depends on the market, the symbol and the settings you choose
- A gap is known only when its third candle has closed, and a return only when the return candle has closed, so a signal never appears earlier. Nothing is repainted and nothing is traded in hindsight
- Test your settings in the Strategy Tester on your symbol before you put money behind them
- Past behaviour does not guarantee future behaviour
Inputs
- Signal: smallest gap in ATR(14), candles a gap waits for price, close-back-outside only, candles of history read at start
- Hours: on or off, from hour and minute, to hour and minute
- Size: fixed lot or risk % of balance, the lot, the risk %
- Stop loss: far side of the gap, return candle or fixed pips, the pips, the buffer, the smallest stop in ATR(14)
- Take profit: none, fixed pips, multiple of the stop, or the high/low made since the gap, with its smallest reward-to-risk
- Orders: maximum buys, maximum sells, maximum spread, slippage, magic number, comment
Support: if something doesn't work as expected, send me a private message first. I answer every message and fix problems quickly.
