feat: ORB-native SL modes added (boundary stays default), All session start times are now configurable, Optional breakout volume filter (default OFF)

This commit is contained in:
Naji El Chemaly
2026-06-11 12:18:03 +03:00
parent 392b7769e4
commit 338eead522
2 changed files with 107 additions and 26 deletions
+15 -3
View File
@@ -58,9 +58,13 @@ All sessions are **disabled by default** — enable the ones you want to trade:
|---------|-----------|-----------------|
| Daily Open | 22:00 | Asian range setup |
| Tokyo | 00:00 | Low volume, range-bound |
| London | 07:00 | High volatility ✓ |
| London | 08:00 | High volatility ✓ (8AM GMT) |
| NY | 12:00 | High volatility ✓ |
| NY ORB (Stock open) | 13:30 | Strong momentum ✓ |
| NY ORB (Stock open) | 13:30 | Strong momentum ✓ (9:30 EDT) |
All session start times are **UTC-based** and individually configurable via the
`Inp<Session>Hour` / `Inp<Session>Min` inputs. The EA converts them to broker
server time internally.
---
@@ -85,6 +89,11 @@ All sessions are **disabled by default** — enable the ones you want to trade:
| `InpUseLondonSession` | `false` | Enable London session |
| `InpUseNYSession` | `false` | Enable NY session |
| `InpUseNYOrbSession` | `false` | Enable NY ORB session (13:30 UTC) |
| `InpDailyOpenHour` / `InpDailyOpenMin` | `22` / `0` | Daily Open start (UTC) |
| `InpTokyoHour` / `InpTokyoMin` | `0` / `0` | Tokyo start (UTC) |
| `InpLondonHour` / `InpLondonMin` | `8` / `0` | London start (UTC = 8AM GMT) |
| `InpNYHour` / `InpNYMin` | `12` / `0` | NY start (UTC) |
| `InpNYOrbHour` / `InpNYOrbMin` | `13` / `30` | NY ORB start (UTC = 9:30 EDT) |
### Order Block Settings
| Parameter | Default | Description |
@@ -100,6 +109,9 @@ All sessions are **disabled by default** — enable the ones you want to trade:
|-----------|---------|-------------|
| `InpEntryMode` | `Market` | Market order on retest close, or Limit at ORB level |
| `InpUseStrictFilter` | `true` | Strict N-bar breakout filter (recommended) |
| `InpUseBreakoutVolFilter` | `false` | Require a volume spike on the breakout bar (fakeout filter) |
| `InpBreakoutVolMult` | `1.5` | Breakout bar volume must be ≥ this × average volume |
| `InpBreakoutVolAvgBars` | `20` | Number of bars used for the volume average |
### Session Level Ladder Settings
| Parameter | Default | Description |
@@ -132,7 +144,7 @@ All sessions are **disabled by default** — enable the ones you want to trade:
### Stop Loss
| Parameter | Default | Description |
|-----------|---------|-------------|
| `InpSLMode` | `OB Boundary` | SL placement: OB Boundary / Fixed Pips / ATR-based |
| `InpSLMode` | `OB Boundary` | SL placement: OB Boundary / Fixed Pips / ATR-based / ORB Opposite Boundary (buy=ORL, sell=ORH) / ORB Range Midpoint |
| `InpSLPips` | `20.0` | SL in pips (Fixed mode) |
| `InpATRMultiplier` | `1.5` | ATR multiplier for SL (ATR mode) |
| `InpATRPeriod` | `14` | ATR period |