Break Out EA MT5

MQL5 Experts

Job finished

Execution time 14 hours
Feedback from employee
Thank you!
Feedback from customer
good job

Specification


 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

 


Responded

1
Developer 1
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
2
Developer 2
Rating
(258)
Projects
269
29%
Arbitration
1
100% / 0%
Overdue
3
1%
Working
Published: 2 codes
3
Developer 3
Rating
(43)
Projects
63
24%
Arbitration
10
30% / 50%
Overdue
10
16%
Free
4
Developer 4
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
5
Developer 5
Rating
(85)
Projects
174
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
6
Developer 6
Rating
(75)
Projects
111
50%
Arbitration
26
31% / 50%
Overdue
9
8%
Free
7
Developer 7
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Working
8
Developer 8
Rating
(32)
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
9
Developer 9
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
1
14%
Free
10
Developer 10
Rating
(2)
Projects
3
0%
Arbitration
1
0% / 0%
Overdue
2
67%
Free
11
Developer 11
Rating
(172)
Projects
184
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
12
Developer 12
Rating
(47)
Projects
61
54%
Arbitration
7
86% / 0%
Overdue
2
3%
Working
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(6)
Projects
11
27%
Arbitration
1
0% / 0%
Overdue
5
45%
Free
15
Developer 15
Rating
(1)
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
16
Developer 16
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
17
Developer 17
Rating
(3)
Projects
3
100%
Arbitration
0
Overdue
0
Working
Similar orders
EA REQUIREMENT — READ BEFORE ACCEPTING This is my 4th attempt to get this EA built correctly. Many developers have already failed to reproduce my TradingView results. Please read the complete requirement first. Do not accept the project if you are not confident that you can achieve the required accuracy. I do not want to waste your time or mine. I will provide my TradingView Pine Script, settings, and baseline trade
the bot will be used for xauusd scalp trading , want the bor follow the trading indicator will SL and open another opposite order where i can customize the SL margin and risk management
I am looking for an experienced MQL5 developer to build a robust XAUUSD scalping Expert Advisor for MetaTrader 5. The EA should focus on consistent risk management, controlled drawdown, high-quality trade filtering, precise entries and exits, configurable stop loss and take profit, spread and volatility protection, trading-session filters, and reliable execution. I need the strategy to be fully backtestable and
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
I will pay 10k (negotiable) for an EA for existing MT5 that generates a minimum of 5% or higher a month consistently Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Developer should be willing to demonstrate how efficient the robot is, Once you send me the demo, I will test the EA on a real-time account
I need an experienced MQL5/MT5 developer to review, correct, complete, and backtest an existing XAUUSD (Gold) news-trading Expert Advisor called LuxNewsEA. The EA is based on a documented trading strategy and I will provide the full strategy booklet, existing .mq5 source code, and the original video/interview explaining the strategy. The developer should first audit the strategy against the video, especially the
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period

Project information

Budget
30+ USD