Break Out EA MT5

MQL5 Experts

Spécifications


 Name: One Shot Gold

Platform: MetaTrader 5 (MQL5) Main Symbol: XAUUSD (Gold) – but adaptable to other pairs Strategy: Place Buy Stop / Sell Stop pending orders at or near the top/bottom detected within the last 50 candles (updated default), combined with smart news filter and virtual stops.

1. Detection & Pending Order Placement Logic

  • Automatically detect Swing High (top) and Swing Low (bottom) within the last 50 (Customize) candles (using Fractals, ZigZag, or highest/lowest price within the period).
  • Sell Stop: Placed below the most recent Swing Low (with an optional offset, e.g., -3 to -10 pips to avoid fake breakouts).
  • Buy Stop: Placed above the most recent Swing High (with optional offset, e.g., +3 to +10 pips).
  • Support OCO (One Cancels the Other): When one pending order is triggered, the other is automatically deleted.
  • Pending Order Expiration: Auto-delete after X hours (default 24 hours or 0 = no expiration).
  • Signal Confirmation (to reduce false entries):
    • Confirming candle close (bullish candle for Buy Stop, bearish for Sell Stop).
    • Optional: Multi-timeframe confirmation (H1 signal must align with H4/D1).
    • Optional: Momentum filter (e.g., RSI >50 for Buy Stop, <50 for Sell Stop).

2. Risk & Position Management

  • Automatically calculate lot size based on % risk per trade and SL in pips. Formula: Lot = (Account Balance × Risk%) / (SL_pips × PipValue per lot)
  • Maximum simultaneous orders/pendings: Default 1–2 per symbol.
  • Maximum daily loss (%): Stop all trading if loss exceeds the limit (e.g., 3–5%).
  • Maximum weekly loss (optional).

3. Order Management (SL / TP / Trailing)

  • SL: 40 pips (calculated from the actual entry price after pending activation).
  • TP: 200 pips (from actual entry price).
  • Trailing Stop: 30 pips (starts after +30 pips profit, moves in steps).
  • Advanced options:
    • Trailing based on ATR (e.g., 1.5 × ATR(14)).
    • Break-even: Move SL to entry or +X pips after Y pips in profit.
  • Automatically adjust for broker digits (2/3/4/5 digits).

4. News Filter (Fully integrated in MQL5 code – no DLL)

  • Enable / Disable completely.
  • MinutesBeforeNews: Allow placing pending orders X minutes before news.
  • MinutesAfterNews: Avoid placing new orders or cancel pending X minutes after news.
  • Filter by news impact: Weak / Medium / Strong / Optional (selectable per level).
  • Currency filter: Only block news relevant to XAU or USD (for XAUUSD).
  • Spread protection during news window: Skip if spread > X pips.
  • Option: Completely skip high-impact / strong news.

5. Hide SL/TP/Trailing (Prevent broker stop hunting)

  • Virtual mode (EA manages closing internally – no real SL/TP sent to broker).
  • Draw colored lines on chart for monitoring:
    • Red: Virtual Stop Loss
    • Green: Virtual Take Profit
    • Yellow/Orange: Virtual Trailing Stop
  • Input to enable/disable hiding and drawing lines.

6. Execution Protection

  • Max slippage allowed (points): e.g., 3.0–5.0.
  • Max spread allowed (points): e.g., 2.5–4.0 for XAUUSD.
  • Check spread + slippage right before placing pending order.
  • Skip order if limits exceeded.

7. Additional Features

  • Unique Magic Number + Comment (e.g., "ReversalStop_XAU").
  • Detailed logging: To file and chart comments (reason for pending, upcoming news…).
  • Alerts & Notifications: Push notification / Email / Telegram when:
    • Pending order placed
    • Pending triggered → position opened
    • Order closed (profit/loss)
    • News approaching
    • Daily loss limit reached
  • Time filter: Only place pending orders during high-liquidity sessions (London + New York).

8. Main Input Parameters (Updated)

Group

Parameter

Description

Default

General

MagicNumber

Magic number

202509

MaxSpread

Maximum spread (points)

10

MaxSlippage

Maximum slippage (points)

30

Risk

RiskPercent

Risk % per trade

1.0

MaxDailyLossPct

Max daily loss (%)

4.0

MaxOrders

Max simultaneous orders/pendings

2

Entry

SwingCandles

Number of candles to detect top/bottom

50

OffsetPips

Offset distance for pending (pips)

5.0

UseMTFConfirmation

Use multi-timeframe confirmation

true

Pending

PendingExpirationHours

Cancel pending after X hours (0 = no expiration)

24

UseOCO

One Cancels the Other

true

SL/TP/Trailing

SLPips

Stop Loss (pips)

40

TPPips

Take Profit (pips)

200

TrailingPips

Trailing Stop (pips)

30

UseBreakEven

Enable break-even

true

BreakEvenAfterPips

Move SL after X pips profit

50

News

UseNewsFilter

Enable news filter

true

MinutesBeforeNews

Minutes before news

15

MinutesAfterNews

Minutes after news

30

MaxNewsImportance

Max allowed news impact (1=low, 2=med, 3=high)

2

Visual / Hide

UseVirtualStops

Enable virtual SL/TP/Trailing

true

DrawLines

Draw colored lines on chart

true

 


Répondu

1
Développeur 1
Évaluation
(15)
Projets
19
16%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(249)
Projets
255
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
3
Développeur 3
Évaluation
(42)
Projets
61
21%
Arbitrage
7
29% / 29%
En retard
10
16%
Chargé
4
Développeur 4
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
5
Développeur 5
Évaluation
(85)
Projets
166
43%
Arbitrage
3
67% / 0%
En retard
5
3%
Travail
Publié : 1 code
6
Développeur 6
Évaluation
(72)
Projets
101
51%
Arbitrage
24
21% / 54%
En retard
8
8%
Chargé
7
Développeur 7
Évaluation
(168)
Projets
199
48%
Arbitrage
3
33% / 33%
En retard
2
1%
Gratuit
8
Développeur 8
Évaluation
(11)
Projets
12
17%
Arbitrage
0
En retard
2
17%
Gratuit
9
Développeur 9
Évaluation
(3)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
1
25%
Travail
10
Développeur 10
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
1
100%
Travail
11
Développeur 11
Évaluation
(124)
Projets
132
36%
Arbitrage
3
33% / 33%
En retard
2
2%
Travail
12
Développeur 12
Évaluation
(42)
Projets
52
50%
Arbitrage
6
83% / 0%
En retard
0
Travail
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(1)
Projets
2
0%
Arbitrage
0
En retard
1
50%
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
Commandes similaires
hello every one i have a sample strategy i need a expert for automatical trade on vps pls let me know if every one can summer of expert : mixed 2 EMA and hicenashi + money managment i will need test befor pay
Looking for an experienced developer to build an AI-driven trading system for MetaTrader 5. The bot should be able to: Analyze market structure (accumulation, manipulation, distribution) and 45-min pullback zones (25%, 50%, 70%) for trade decisions Integrate with Bookmap via API for real-time order flow, liquidity, and footprint data
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
Hello, I am seeking assistance in setting up a trade copier or bridge to facilitate the copying of trades from MetaTrader 5 to the Tradovate platform. I am looking for someone who can help automate my trading process, allowing trades generated by my Expert Advisor in MT5 to be copied to different accounts on Tradovate using their API.Something like in the attached image
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
Looking for an experienced developer to build an AI-driven trading system for MetaTrader 5. Have to finalize the trading logic (market structure, pullback zones, sessions, order-flow confirmation), then build the AI framework to learn from live trade results
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
hello great developer Project Description (What to Post) Develop a TradingView-to-Binance Spot trading bot that executes trades automatically based on Buy and Sell signals from a TradingView indicator. Bot Logic & Requirements: Exchange: Binance Spot Signal Source: TradingView alerts (webhook) Indicator: TonyUX EMA Scalper Order Size: Percentage of available account balance Trade Logic: On Buy signal → open a Buy
hi every one i need to get the source code from this ea for modification in meta trader 4 or meta trader 5. because i need to put in settings the number of open trades , as this is now opening unlimited trades

Informations sur le projet

Budget
30+ USD

Client

(34)
Commandes passées37
Nombre d'arbitrages0