Job finished


Specification
📄 Opening Range Breakout (ORB) Expert Advisor Specification
🕰️ 1. Opening Range Definition
-
The EA must define the Opening Range (ORB) as the high and low of the first 15-minute candle after a session open.
-
This range should be:
-
Drawn/marked visually across all timeframes as a horizontal zone or range (e.g., shaded box or two lines: High/Low).
-
Markings must update each day/session.
-
✅ 2. Entry Conditions
-
Trigger condition: A trade is only entered if a full 5-minute candle closes above (for long) or below (for short) the 15-minute ORB range.
-
Trade Type:
-
Buy: When a 5-minute candle closes above the ORB high.
-
Sell: When a 5-minute candle closes below the ORB low.
-
📉 3. Stop Loss (SL) Logic
-
Stop Loss should be placed at the opposite side of the ORB range from the breakout direction:
-
Long → SL = ORB Low
-
Short → SL = ORB High
-
📈 4. Take Profit (TP) and Trailing Logic
-
Risk-to-Reward: Fixed at 1:3 (R:R).
-
Trailing Stop Features:
-
At 1:1 R:R → move SL to Break-Even.
-
At 1:2 R:R → move SL to lock in profit at 1:1 level.
-
At 1:3 R:R → close full position (TP hit).
-
⏰ 5. Filters
a. Days & Hours to Trade
-
Add inputs to specify allowed trading days (e.g., Mon–Fri toggle).
-
Add inputs for trading window per day, e.g.:
-
Start Time: 09:00
-
End Time: 17:00
-
b. Sessions Filter
-
Allow selection of which session(s) to trade:
-
London
-
New York
-
Asian
-
Sydney
-
-
EA should only activate and mark the ORB during the selected session(s).
⚙️ 6. Other Settings (Optional but Recommended)
-
Lot Size input: Manual input or percentage risk per trade.
-
Max Daily Trades: Input to limit trades per day.
-
Spread Filter: Optional max spread to avoid high-cost trades.
-
Magic Number: For identifying trades made by this EA.