FVG EA Pro β€” User Guide

Last updated: 2025-01-01

πŸ“– Overview

FVG EA PRO is highly configurable β€” you can build any strategy based on market structure and Fair Value Gaps as entry criteria. Using a basic strategy like the ones explained below is already very profitable. For traders who want to configure their own strategies, the vast number of parameters allows you to fit almost any approach inside.


πŸ”§ Installation

Follow the standard MQL5 product installation guide. If you received the EA directly from Trade't, refer to the Trade't EA installation guide instead.


πŸ’‘ Strategy Examples

Scalper Strategy

Trade scalp or intraday positions by triggering trades within a specific kill zone window. An advanced trailing stop helps book profit when the trade moves in your favour. In the example below, USTEC is traded in the Silver Bullet window of the New York Open β€” the EA trades with the daily trend and opens a trade on each FVG.

Scalper Strategy backtest example

Swing Trade Strategy

Switch to a higher timeframe and trade with the trend for multi-day swing trades. In the example below, EURUSD is traded on the H1 timeframe using the daily trend as bias, with FVGs as entries.

Swing Trade Strategy backtest example


βš™οΈ A. General

ParameterDescription
Magic NumberUnique identifier for this EA's orders. Use a different number for each EA running on the same account.
Trade CommentUsed as a comment on trade orders, and to identify logs in the Experts and Journal tabs.
Price Action FrequencyDefines whether price action checks (Breakeven, Partial TP, Trailing Stop) run on every tick or on each new 1-minute candle.
Activate EA PanelEnables the on-chart panel showing daily stats, current trend, structure, and basic controls (close trades, delete orders).
Hide Unnecessary LogsReduces log output to the minimum needed.

πŸ• B. Trading Window

ParameterDescription
Trade only in defined kill zoneWhen false, the EA trades all day. When true, trading is restricted to the kill zone hours below.
Kill Zone Start Hour (0–23)Hour when the kill zone begins.
Kill Zone Start Minute (0–59)Minute when the kill zone begins.
Kill Zone End Hour (0–23)Hour when the kill zone ends.
Kill Zone End Minute (0–59)Minute when the kill zone ends.
Kill Zone ColorColour of the kill zone shading on the chart.

πŸ“Š C. Trade Settings

ParameterDescription
Allow BuyWhen true, buy trades are taken when criteria are met.
Allow SellWhen true, sell trades are taken when criteria are met.
Limit Orders on FVGOpens orders as limit orders, usually at the extremity or middle of the FVG.
Stop Orders After FVGOpens orders as stop orders on the high/low of the candle following the FVG.
Trade at Market PriceUseful for low-timeframe or high-spread instruments (e.g. BTC) where limit/stop orders may fail. Enables market-price entries.
Recalculate Trade on Market PriceRecalculates SL, TP, and risk based on the actual market price received.
Order expiry in minutes (0 = disabled)Sets an expiration time for pending orders. Set to 0 to keep orders indefinitely.
Max trades per session/dayMaximum number of trades to open per session or day. Considers active positions, pending orders, and trades already closed during the session.
Max Simultaneous open tradesLimits the number of trades open at the same time β€” useful for drawdown control.
Rotate Orders on new FVGWhen max trades are reached and a new FVG appears, the most distant pending order is deleted and replaced with one on the new FVG.
Don't open new trade if previous in lossWhen true, no new trades are opened if a previous trade is still in loss.

🎯 D. Entry Settings

ParameterDescription
Enter OnWhere to place the entry relative to the FVG: Extremity FVG (edge), Middle FVG (midpoint), Beginning FVG (near side), MSS price within FVG Candle High/Low (confluence of FVG candle and MSS/BOS), or MSS price within FVG High/Low (Breaker Block confluence).
Apply Price Shift to EntriesShifts the entry price away from or closer to the FVG by the pip value below.
Shift value in pipDistance in pips to shift entry from the FVG. Use negative values to shift away.
Use Current Timeframe Market StructureTracks BOS and MSS on the current timeframe β€” only buys in bullish structure, only sells in bearish structure.
MS DepthZigZag depth for market structure analysis (also affects Swing High/Low SL placement).
MSS + BOS confirmationWhen true, trades only start after a confirmed BOS.
Don't Trade Over ExtensionPrevents trading when the trend has broken structure too many times.
Over Extension Break CountNumber of structure breaks before declaring overextension.
Use Higher Timeframe Market StructureDon't use filter, Trade with the trend (ideal for swing or post-NY open), or Trade Counter trend (useful for pre-London / London session).
HT MS TimeframeThe higher timeframe used for structure analysis.
HT MS DepthZigZag depth for higher timeframe market structure.
Use Trend FilterSMA-based bias filter: Don't use filter, Trade with the trend, or Trade Counter trend.
Trend TimeframeThe higher timeframe from which bias is read.
Trend LoopbackNumber of candles used to confirm the current trend direction.

πŸ”² E. FVG Settings

ParameterDescription
Minimum size in pip of FVG to ConsiderFilters out very small FVGs. Set to 0 to consider all FVGs.
FVG Maximum size in pip (0 = disabled)Filters out very large FVGs. Set to 0 to apply no upper limit.
Use 3 candles in a row FVGOnly considers FVGs formed by three consecutive bullish or bearish candles.
Ignore the first X FVGSkips the first X FVGs after the kill zone opens β€” useful to avoid the very first candle of a session.

πŸšͺ F. Position Exit Settings

ParameterDescription
Close positions at a certain timeWhen true, all open trades are closed at the defined time.
Hour to Close Positions (0–23)Hour at which all positions are closed.
Minute to Close Positions (0–59)Minute at which all positions are closed.
Close Opposite position on opposite structure breakWhen true, all buy trades are closed after X bearish structure breaks, and vice versa.
Number of Breaks before closureMSS + BOS count required before positions are closed.
Close Opposite position on HT MSSWhen true, buy trades are closed if a bearish higher timeframe MSS occurs.

πŸ—‘οΈ G. Order Exit Settings

ParameterDescription
Delete Orders at a certain timeWhen true, all pending orders are deleted at the defined time.
Hour to Delete Orders (0–23)Hour at which pending orders are deleted.
Minute to Close Orders (0–59)Minute at which pending orders are deleted.
Delete Opposite Order on MSSBuy pending orders are deleted on a bearish MSS, and vice versa.
Delete Opposite Order on HT MSSBuy orders are deleted after X bearish higher timeframe structure breaks, and vice versa.
Number of Breaks before closureMSS + BOS count required before orders are cancelled.
Cancel Order ifCancels a pending order when: price moves X pips away, price reaches the order's TP, or price reaches X Γ— RR from the order price.
X Pip/RRThe pip or RR multiplier value used by the Cancel Order condition.

πŸ’° H. Volume

ParameterDescription
Volume typeFixed (fixed lot), Risk From Balance (% of balance), Risk From Equity (% of equity), Risk From Free Margin (% of free margin), or Risk in Money (fixed money amount with auto lot calculation).
Volume value or Percentage valueThe fixed lot size or risk percentage, depending on Volume type.
Reduce Lot size in case no Money (0 = disabled)If margin is insufficient, reduces the lot by this percentage. E.g. set to 25: a 1 lot trade becomes 0.25 lots.
For security max volume per trade (0 = disabled)Hard cap on lot size per trade. Set to 0 to disable.

πŸ›‘οΈ I. Stop Loss

ParameterDescription
SL TypeNo SL (not recommended), Candle Extremity (SL at FVG entry candle extremity), Swing High/Low (SL at nearest swing based on MS Depth), Fixed in PIP, or ATR Based SL (dynamic, volatility-adjusted).
SL in points valueFixed SL distance in pips (used when SL Type = Fixed in PIP).
Shift SL in pipShifts SL further for Candle Extremity and Swing High/Low modes.
"X" Candle back (2 = FVG Candle)Which candle back to use for the SL. The EA automatically takes the most extreme high/low across candles 2 to X.
ATR MultiplierSL = entry Β± (ATR Γ— multiplier). E.g. 3 = SL is 3Γ— ATR from entry.
ATR TimeframeTimeframe from which ATR is read.
ATR PeriodATR lookback period.
SL FilterSkips trades where the calculated SL exceeds a maximum or is below a minimum pip value. Active for Swing High/Low and Candle Extremity modes only.

🎯 J. Take Profit

ParameterDescription
TP TypeNo TP (use with trailing stop), "X" Risk to Reward (TP = SL Γ— RR), or Fixed to "X" PIP.
TP "X" ValueThe RR ratio or fixed pip distance, depending on TP Type.

βš–οΈ K. Break Even

ParameterDescription
Breakeven Trigger TypeNo BE, After "X" Risk to Reward (BE triggers at profit = SL Γ— RR), or After "X" PIP.
Break Even Trigger "X" ValueThe RR multiplier or pip distance that triggers BE.
Buffer to cover commission in pipMoves SL slightly above entry to cover trade commission.

πŸ“ L. Partial Take Profit

TP1

ParameterDescription
TP1 TypeNo Partial TP1, After "X" Risk to Reward, or After "X" PIP.
TP1 Trigger "X" ValueRR multiplier or pip distance at which TP1 fires.
TP1 Percentage from Running tradePercentage of the position closed at TP1. E.g. 50 closes half.

TP2

ParameterDescription
TP2 TypeNo Partial TP2, After "X" Risk to Reward, or After "X" PIP.
TP2 Trigger "X" ValueRR multiplier or pip distance at which TP2 fires.
TP2 Percentage from Running tradePercentage of the remaining position closed at TP2.

πŸ”„ M. Trailing Stop Loss

ParameterDescription
Trail Stop TypeNo Trailing Stop, Standard Trailing Stop (moves with every new high/low), Step Trailing Stop (moves in steps; first step is to BE), or Candle Trailing Stop (trails on the high/low of the last N candles).
Trigger TypeAfter "X" PIP β€” trail starts at X pips profit. After "X" time the risk β€” trail starts at X Γ— SL profit.
Trigger "X" ValuePip or RR value for TSL trigger.
Distance/Step Typeas "Y" PIP (fixed step), as "Y" time the risk (step = Y Γ— SL), or as "Y" candles (trail on the low/high of last Y candles).
Distance/Step "Y" ValueValue for the trailing distance or step.

πŸ“… N. Day Filter

ParameterDescription
Use Day ControlEnables day filtering to prevent trading on specific weekdays.
Trade Monday–SundayToggle each weekday on or off individually.

πŸ“° O. News Filter

ParameterDescription
Avoid NewsWhen true, the EA avoids opening new positions and manages open trades during news windows.
CurrenciesComma-separated currencies to watch, e.g. USD,EUR,GBP,JPY.
Specific news keywordsComma-separated keywords matching news titles from investing.com. E.g. CPI,PMI. Partial matches are supported β€” be specific.
Don't trade all day on specific newsWhen true, the entire day is skipped if a matching news event is found.
Consider high-impact eventsWhen true, all high-impact events from investing.com are filtered automatically.
Stop trading before news in minutesMinutes before a news event to stop opening new trades.
Start trading after news in minutesMinutes after a news event to resume trading.
Take action before newsWhen true, the EA takes a configured action on existing trades before the news window.
Action before X minutesMinutes before news to begin taking action.
Action on Open TradesKeep current trades running, Close all trades, Close only winning trades, Set Trade to Break Even, or Delete all orders.
You must whitelist the following URL in MT5 to allow the EA to fetch the news calendar. In MT5: Tools β†’ Options β†’ Expert Advisors β†’ Allow WebRequest for listed URL and add: https://sslecal2.investing.com/

How to allow web requests in MetaTrader 5

How to Backtest News

FVG EA Pro supports backtesting news strategies using a Backtest.csv file.

  1. In MT5, go to File β†’ Open Data Folder
  2. Navigate back to the Terminal folder
  3. Open the Common Files subfolder (e.g. C:\Users\<YourUser>\AppData\Roaming\MetaQuotes\Terminal\Common\Files)
  4. Copy Backtest.csv into that folder
  5. Restart the Strategy Tester so the EA picks up the new news feed
⬇ Download Backtest.csv β€” updated at the end of each month, contains data from 2020 onwards.

πŸ“‰ P. Daily DrawDown and Profit Limiter

Especially useful for prop firm challenges. Once a threshold is reached, FVG EA Pro stops opening new orders and closes all active ones. The reference resets each new day.
ParameterDescription
Use DD and Profit LimiterActivates daily drawdown and profit limit controls.
Consider the entire AccountWhen true, DD/profit calculation includes all account trades, not just FVG EA Pro's.
Daily Drawdown Calculation OptionsReference for DD: From Initial Deposit, From Account Balance, From Account Equity, From Higher Equity or Balance, or From Risk In Money.
DD Initial Deposit Or Risk In MoneyThe deposit or money amount used when the corresponding option is selected.
Max Daily DD %Maximum allowed daily drawdown as a percentage of the reference value.
Daily Profit Calculation OptionsSame options as DD above.
Profit Initial Deposit Or Risk In MoneyThe deposit or money amount used for profit limit calculation.
Max Daily Profit %Maximum allowed daily profit. Once hit, the EA stops and closes all trades for the day.
Refresh Period in SecondsHow often the EA checks DD and profit thresholds.

πŸ”’ Q. Auto Close Settings

ParameterDescription
Auto Close Trades FrequencyFrequency at which all trades are auto-closed (daily, weekly, etc.). No new trades are opened until the next period.
Closing HourThe hour at which trades are auto-closed.
Closing MinuteThe minute at which trades are auto-closed.

πŸŽ₯ Video Tutorials

Watch the FVG EA Pro playlist on YouTube


πŸ“‹ Disclaimer

The products and software provided by Trade't are tested in certain market conditions and technical environments. Trade't is not responsible for any loss, error, or misuse of the provided software. Users are invited to do their own testing in a demo environment before using any tools in a live setting with real money β€” this decision is their sole responsibility and at their own risk.

Past performance is no indication or guarantee of future performance. Trading forex involves a significant risk of loss. Always do your due diligence before making any investment decision.

FVG EA Pro

$249 Β· Lifetime updates included

Buy on MQL5 β†—