val_fvg_mt5_ea
This Expert Advisor (EA) is built around the SequenceFVG indicator to identify high-probability trade zones based on value areas and fair value gaps (FVGs). The strategy uses two key zones—Undervalued and Overvalued—to determine directional bias and entry conditions.
🧭 Value Areas from SequenceFVG
The EA dynamically uses values from the SequenceFVG indicator:
- VAL (Value Area Low): Lower bound of the perceived value range.
- VAH (Value Area High): Upper bound of the perceived value range.
- Absolute Low: Lowest price within the analyzed session or indicator-defined range.
- Absolute High: Highest price within the analyzed session or indicator-defined range.
🔍 Entry Conditions
🟩 Undervalued Zone (Buy-Only Area)
Condition:
Price closes below VAL and inside the undervalued range (VAL to Absolute Low).
Confirmation:
At least one Fair Value Gap (FVG) formed today overlaps the undervalued zone.
Action:
→ Enter Long (Buy) position.
🟥 Overvalued Zone (Sell-Only Area)
Condition:
Price closes above VAH and inside the overvalued range (VAH to Absolute High).
Confirmation:
At least one Fair Value Gap (FVG) formed today overlaps the overvalued zone.
Action:
→ Enter Short (Sell) position.
🎯 Take Profit (TP) Options
Zone-Based TP
- Long trades: TP at VAH
- Short trades: TP at VAL
Risk-to-Reward TP
- TP is calculated based on user-defined risk-to-reward ratio (e.g., 1:2, 1:3)
🛡️ Stop Loss (SL) Options
Zone-Based SL
- Longs (Undervalued): SL at Absolute Low
- Shorts (Overvalued): SL at Absolute High
FVG-Based SL
- Based on high/low of the third candle in the FVG formation, plus optional buffer.
📊 Lot Management
- Fixed Lot: User defines a constant lot size.
- Risk-Based Lot: EA calculates lot size based on account balance and stop-loss distance.
⚙️ Additional Features