Scalperfxmt5
- Uzmanlar
- Sürüm: 2.31
- Etkinleştirmeler: 5
1. Overview
Gold OB FVG EA Pro is an automated trading system for MetaTrader 5 (MT5), developed using concepts from ICT (Inner Circle Trader) and Smart Money trading methodologies. Its primary objective is to identify potential market reversal and continuation opportunities through market structure analysis, Break of Structure (BOS), Order Blocks (OB), and Fair Value Gaps (FVG).
The Expert Advisor analyses price movements, identifies potential institutional trading zones, and automatically places pending Buy Limit or Sell Limit orders when its predefined conditions are met.
The system incorporates configurable risk management, dynamic position sizing, ATR-based stop-loss calculations, progressive break-even functionality, and trailing stop mechanisms to provide greater flexibility in different market conditions.
2. Trading Strategy and Market Analysis
Break of Structure (BOS)
The EA identifies potential changes in market direction by analysing previous swing highs and swing lows.
A bullish Break of Structure is detected when the price moves above an identified swing high. Conversely, a bearish Break of Structure is detected when the price moves below an identified swing low.
The number of candles used to identify swing points can be configured through the SwingBars parameter.
Order Block Detection
When the Order Block option is enabled, the EA searches for potential institutional price zones associated with bullish or bearish market movements.
For bullish setups, the system searches for a previous bearish candle associated with the upward structural movement.
For bearish setups, it searches for a previous bullish candle associated with the downward structural movement.
These zones are used as potential entry references for pending orders.
Fair Value Gap (FVG)
The EA also incorporates Fair Value Gap detection to identify potential price inefficiencies.
A bullish FVG is identified when the low of a candle is above the high of the candle two positions ahead in the historical sequence.
A bearish FVG is identified when the high of a candle is below the low of the candle two positions ahead in the historical sequence.
When a valid zone is identified, the EA uses its price boundaries to determine a potential retracement entry.
Both Order Block and FVG detection can be independently enabled or disabled.
3. Automated Order Execution
The EA automatically determines the order direction based on the detected market structure.
-
Bullish setup: Buy Limit pending order.
-
Bearish setup: Sell Limit pending order.
Before submitting an order, the system checks the available market prices, calculates the stop-loss and take-profit levels, determines the appropriate trading volume, and verifies several symbol trading restrictions.
The EA also checks whether an existing pending order of the same direction is already present for the configured symbol and Magic Number.
Pending orders can automatically expire after a configurable number of hours.
4. Advanced Risk Management and Position Sizing
Gold OB FVG EA Pro offers four position-sizing modes:
Fixed Lot: Uses a predefined trading volume.
Percentage Risk: Calculates the trading volume according to a configurable percentage of the selected account capital.
Lot per $1,000: Calculates position size proportionally to the available capital, using one lot per $100,000 of account capital.
Lot per $500: Calculates position size proportionally to the available capital, using one lot per $50,000 of account capital.
The user can select the capital reference used for risk calculations:
-
Account Balance.
-
Account Equity.
-
Free Margin.
An optional maximum lot restriction is also available.
The EA incorporates volume validation based on the broker's minimum volume, maximum volume, volume step, and symbol volume limit.
Invalid trading volumes are rejected rather than automatically increased to the broker's minimum volume.
5. ATR-Based Stop Loss
The Expert Advisor supports Average True Range (ATR)-based stop-loss calculations.
When enabled, the initial stop-loss distance is determined by multiplying the ATR value by a configurable multiplier.
This allows the stop-loss distance to adapt to market volatility rather than relying exclusively on a fixed number of points.
The ATR period and multiplier can be adjusted according to the trading instrument and timeframe.
6. Risk-to-Reward Management
The EA calculates take-profit levels using a configurable Risk-to-Reward ratio.
For example:
-
1:1 Risk-to-Reward.
-
1:2 Risk-to-Reward.
-
1:3 Risk-to-Reward.
A 1:2 configuration means the intended take-profit distance is twice the initial stop-loss distance.
7. Progressive Break-Even
The system includes an optional progressive break-even mechanism.
Once a position reaches the configured profit threshold, the EA can move the stop-loss to the original entry price.
It can subsequently advance the stop-loss to progressively higher protected-profit levels as the trade moves in the intended direction.
The activation threshold and progression step are configurable.
8. Intelligent Trailing Stop
The Expert Advisor includes an optional trailing stop mechanism designed to protect accumulated profits as the market moves favourably.
Two trailing distance calculation methods are available:
ATR Trailing: Uses the Average True Range multiplied by a configurable factor to determine the trailing distance.
Fixed Points Trailing: Uses a predefined distance in points.
The trailing stop becomes active only after the position reaches the configured profit threshold, expressed as a multiple of the initial risk.
9. Broker Compatibility and Execution Diagnostics
The EA includes a symbol diagnostics module that reports important trading specifications during initialization.
These include:
-
Minimum and maximum trading volume.
-
Volume step and volume limit.
-
Minimum stop distance.
-
Freeze level.
-
Symbol digits and point size.
-
Tick value and tick size.
-
Trading mode.
It also includes execution diagnostics to help identify order submission errors, invalid volumes, rejected pending orders, and stop-loss modification failures.
The system checks broker stop-level and freeze-level restrictions when managing positions.
10. Configurable Parameters
The Expert Advisor provides configurable settings for:
-
Swing detection sensitivity.
-
Order Block activation.
-
Fair Value Gap activation.
-
Position-sizing methodology.
-
Capital reference for risk calculations.
-
Maximum trading volume.
-
ATR stop-loss period and multiplier.
-
Pending order expiration.
-
Slippage.
-
Magic Number.
-
Risk-to-Reward ratio.
-
Break-even activation and progression.
-
Trailing stop activation.
-
ATR or fixed-point trailing distance.
11. Important Risk Disclosure
Gold OB FVG EA Pro is an algorithmic trading tool designed to automate predefined technical trading rules.
It does not guarantee profits, eliminate trading risk, or ensure that every identified Order Block or Fair Value Gap will produce a successful trade.
Trading results may vary depending on the financial instrument, broker execution conditions, spread, commissions, slippage, market volatility, and selected parameters.
Users should conduct comprehensive backtesting and forward testing on a demo account before considering live deployment.
The EA does not guarantee compliance with the rules of any particular proprietary trading firm. Users are responsible for configuring their own risk parameters and ensuring compliance with their broker's and account provider's trading conditions.
