|
|
@@ -1,2 +1,82 @@
|
|
1
|
1
|
# val_fvg_mt5_ea
|
|
2
|
2
|
|
|
|
3
|
+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.
|
|
|
4
|
+
|
|
|
5
|
+---
|
|
|
6
|
+
|
|
|
7
|
+## 🧭 Value Areas from SequenceFVG
|
|
|
8
|
+
|
|
|
9
|
+The EA dynamically uses values from the **SequenceFVG** indicator:
|
|
|
10
|
+
|
|
|
11
|
+* **VAL (Value Area Low)**: Lower bound of the perceived value range.
|
|
|
12
|
+* **VAH (Value Area High)**: Upper bound of the perceived value range.
|
|
|
13
|
+* **Absolute Low**: Lowest price within the analyzed session or indicator-defined range.
|
|
|
14
|
+* **Absolute High**: Highest price within the analyzed session or indicator-defined range.
|
|
|
15
|
+
|
|
|
16
|
+---
|
|
|
17
|
+
|
|
|
18
|
+## 🔍 Entry Conditions
|
|
|
19
|
+
|
|
|
20
|
+### 🟩 Undervalued Zone (Buy-Only Area)
|
|
|
21
|
+
|
|
|
22
|
+**Condition:**
|
|
|
23
|
+Price closes below VAL and inside the undervalued range (VAL to Absolute Low).
|
|
|
24
|
+**Confirmation:**
|
|
|
25
|
+At least one Fair Value Gap (FVG) formed today overlaps the undervalued zone.
|
|
|
26
|
+**Action:**
|
|
|
27
|
+→ Enter **Long (Buy)** position.
|
|
|
28
|
+
|
|
|
29
|
+---
|
|
|
30
|
+
|
|
|
31
|
+### 🟥 Overvalued Zone (Sell-Only Area)
|
|
|
32
|
+
|
|
|
33
|
+**Condition:**
|
|
|
34
|
+Price closes above VAH and inside the overvalued range (VAH to Absolute High).
|
|
|
35
|
+**Confirmation:**
|
|
|
36
|
+At least one Fair Value Gap (FVG) formed today overlaps the overvalued zone.
|
|
|
37
|
+**Action:**
|
|
|
38
|
+→ Enter **Short (Sell)** position.
|
|
|
39
|
+
|
|
|
40
|
+---
|
|
|
41
|
+
|
|
|
42
|
+## 🎯 Take Profit (TP) Options
|
|
|
43
|
+
|
|
|
44
|
+1. **Zone-Based TP**
|
|
|
45
|
+
|
|
|
46
|
+ * Long trades: TP at **VAH**
|
|
|
47
|
+ * Short trades: TP at **VAL**
|
|
|
48
|
+
|
|
|
49
|
+2. **Risk-to-Reward TP**
|
|
|
50
|
+
|
|
|
51
|
+ * TP is calculated based on user-defined risk-to-reward ratio (e.g., 1:2, 1:3)
|
|
|
52
|
+
|
|
|
53
|
+---
|
|
|
54
|
+
|
|
|
55
|
+## 🛡️ Stop Loss (SL) Options
|
|
|
56
|
+
|
|
|
57
|
+1. **Zone-Based SL**
|
|
|
58
|
+
|
|
|
59
|
+ * Longs (Undervalued): SL at **Absolute Low**
|
|
|
60
|
+ * Shorts (Overvalued): SL at **Absolute High**
|
|
|
61
|
+
|
|
|
62
|
+2. **FVG-Based SL**
|
|
|
63
|
+
|
|
|
64
|
+ * Based on high/low of the third candle in the FVG formation, plus optional buffer.
|
|
|
65
|
+
|
|
|
66
|
+---
|
|
|
67
|
+
|
|
|
68
|
+## 📊 Lot Management
|
|
|
69
|
+
|
|
|
70
|
+* **Fixed Lot**: User defines a constant lot size.
|
|
|
71
|
+* **Risk-Based Lot**: EA calculates lot size based on account balance and stop-loss distance.
|
|
|
72
|
+
|
|
|
73
|
+---
|
|
|
74
|
+
|
|
|
75
|
+## ⚙️ Additional Features
|
|
|
76
|
+
|
|
|
77
|
+* **Time Filter**: Restricts trading to specific hours or sessions.
|
|
|
78
|
+* **Daily Trade Limit**: Choose between:
|
|
|
79
|
+
|
|
|
80
|
+ * Only **1 Buy and 1 Sell per day**
|
|
|
81
|
+ * Or only **1 Trade total per day**
|
|
|
82
|
+
|