İş Gereklilikleri
This robot will trade on two different pairs, with the same settings. However, there must be mechanism for me to modify the conditions for each pair.
-
Risk Per Trade : 1 or 0.5 % (customizable)
-
Max Loss Limits: 8 % (customizable)
-
Leverage: 1:100 (customizable)
-
Daily Loss Caps: 2 % (customizable)
-
Max Open Trades: 2 (customizable)
-
Time Frame: 5 Minute
-
Pair: EUR/USD + GBP/USD
-
Mandatory Close: 30 Minute before New York open (Time range be customizable)
-
Platform: MT5
-
Organized Code: Split logic (signals, risk, orders) into blocks.
-
Handle Errors: Plan for internet drops, broker errors, timeouts.
-
Speed: Code efficiently.
-
Clear Code: Comment and structure for easy fixes later.
-
Track Trades: Correctly open/close/modify orders.
Strategy Rules
Step 1: Identify Tokyo range (Range time should be customizable) (Range should be visible in chart)
Tokyo _HIGH = Highest price of this period
Tokyo _LOW = Lowest price of this period
Requirement: Range must be 25-40 pips ( PIP Range should be customizable)
Step 2: London Breakout Trigger
Entry Condition:
if price > Tokyo _HIGH + 5 pip: enter_long
if price < Tokyo_LOW - 5 pip: enter_short
(This 5 PIP Breakout trigger should be customizable)
Confirmation Filters:
- Volume ≥ 2x Tokyo session average (Volume should be customizable)
- 5-min candle closes beyond range (implement ON/OFF Button)
- No major news in next 30 Minute or 1 hours (News time should be customizable)
Exit Rules 1:
ATR based Stop Loss
ATR based trailing stop
(ATR range should be customizable)
(Implement ON/OFF Button)
Exit Rules 2:
ATR based Stop Loss
Partial Close: 50% at 10 PIP (PIP should be customizable)
Trail Remainder: ATR Based trailing stop
(Implement ON/OFF Button)
- Mandatory Close: 30 Minute before New York session open (Time range be customizable)