MT5 EA Modification Needed – Replace Current Entry Logic With Breakout Strategy(USDJPY M15) & Add Prop-Firm Risk Controls

仕事が完了した

実行時間5 日
依頼者からのフィードバック
ok
開発者からのフィードバック
Great client to work with. Clear requirements specification, fast communication, and provided detailed technical feedback during testing. Would gladly work together again.

指定

Hello, 

Please read the full specification before applying.

This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor.  The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features. So I  need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy and implementing strict prop-firm safety protections.


The EA must behave exactly as specified below.

(If the final EA does not match the logic described, I will request revisions until it does.)


The following systems are already built and must remain unchanged:

• Dashboard
• Risk management system
• Spread protection
• Slippage protection
• Drawdown protection
• Trade cooldown logic
• Equity monitoring

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 In The Inputs Tab,The Value For All The Parameters Must Be Adjustable !

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SYMBOL AND TIMEFRAME

Symbol: USDJPY
Timeframe: M15 only


TRADING SESSION

Trades may only open between:

06:30 – 12:00 London time

No new trades outside this window.

Open trades may remain active until TP or SL is hit.


MAXIMUM SIGNALS

Maximum 2 trade signals per day.

Only one signal can be active at a time.

Each signal opens two positions.


ENTRY LOGIC (BREAK OF STRUCTURE)

The EA must detect breakout of recent price structure.

Parameter:

Lookback candles (default = 5)

BUY SIGNAL

  1. Find the highest high of the previous X candles.

  2. If the last CLOSED candle breaks above that level → BUY signal.

SELL SIGNAL

  1. Find the lowest low of the previous X candles.

  2. If the last CLOSED candle breaks below that level → SELL signal.

Trades are opened using market orders.

Important:

Breakout must be based on CLOSED candles only (no repainting).


BREAKOUT STRENGTH FILTER

To reduce false breakouts, the breakout candle must satisfy this condition:

Candle body size ≥ X % of ATR(14)

Default value:

30%

If the candle body is smaller than this threshold, the signal must be ignored.


STOP LOSS LOGIC

Stop loss must be dynamic.

BUY trade
SL = Low of previous candle

SELL trade
SL = High of previous candle

Minimum stop loss distance = 10 pips.

If the previous candle distance is smaller than 10 pips, SL must default to 10 pips.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

TAKE PROFIT STRUCTURE

Position 1

TP = 1 × SL distance

Position 2

TP = 2 × SL distance

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

POSITION STRUCTURE

Each signal opens TWO positions.

Risk per position configurable.

Default risk: 0.5% equity per position.

Total risk per signal by default = 1%.


---------------------------------------------------------------------------------------------------------------------------------------------------------------------

BREAK EVEN / PROFIT LOCK

When price reaches 1R (distance equal to SL):

Position 1 closes automatically.

Position 2 Stop Loss must move to +1R (locking profit).

Position 2 remains open targeting TP = 2R.


SPREAD FILTER

Trades must only open when spread is below configurable threshold.

Default:

Max spread = 1.5 pips (USDJPY)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SLIPPAGE  FILTER

Trades must only open when slippage is below configurable threshold.

Default:

Max spread = 2 pips (USDJPY)


NEWS FILTER

EA must include a working economic news filter.

Block trading before and after high-impact news.

Default values:

Stop trading 30 minutes before high impact news
Resume trading 30 minutes after

Must use reliable news source such as Forex Factory or built-in economic calendar.


PROP FIRM SAFETY CONTROLS

The EA must include protection settings suitable for prop firm rules.

Parameters:

Max daily drawdown %
Max total drawdown %
Max trades per day
Max signals per day
Equity protection stop

If limits are reached, trading must stop automatically.


TRADE RANDOMIZER

Include optional execution randomization to reduce identical trading patterns.

Parameters:

Entry delay randomization (0–3 seconds)
SL/TP slight randomization (0–2 points)
Trade open timing variance

This feature must be optional and configurable.


RISK MANAGEMENT

Risk per position must be adjustable( 0.5% per position per equity  by default ).

Examples:

0.3%
0.5%
0.7%
1%

Lot size must automatically calculate based on stop loss distance and account equity.


INPUT PARAMETERS REQUIRED(all needs to be fully adjustable )

Lookback candles (default 5)
ATR breakout filter %
ATR period
Minimum stop loss pips
Risk per position

Risk per position calculation( equity  by default )
Max daily signals
Trading session start/end
Spread limit

Slippage limit

News filter on/off
News block time
Trade randomizer on/off
Daily drawdown limit
Total drawdown limit


BACKTEST REQUIREMENTS

EA must run correctly in MT5 Strategy Tester.

We only run backtest on (Every tick based on the real ticks)

Developer must verify:

Real tick backtesting compatibility
Correct lot sizing
Correct break-even behavior
No trade duplication
No repainting logic

Visual backtest mode must show trades clearly on chart.


Important , 3 Critical Coding Mistakes in Breakout EAs (You Must Avoid)

1. Using the Current Candle Instead of the Closed Candle

This is the #1 mistake in breakout EAs.

Many developers check the current forming candle (bar 0).

Example of WRONG logic:

if(Close[0] > highestHigh) OpenBuy();

Problem:

The candle has not closed yet.

Price may:

  • temporarily break the level

  • then fall back below before the candle closes

This creates fake breakout entries.

Backtests may still look good because tester behavior differs slightly from live execution.

Correct logic

Breakout must be confirmed with the last closed candle.

Correct code:

if(Close[1] > highestHigh) OpenBuy();

Where:

Close[1] = last closed candle Close[0] = currently forming candle

Your EA must never trigger entries using candle 0.


2. Including the Breakout Candle in the Lookback Range

Another common coding mistake is calculating the highest high or lowest low including the breakout candle itself.

Example of WRONG logic:

highestHigh = iHigh(_Symbol, PERIOD_M15, iHighest(_Symbol, PERIOD_M15, MODE_HIGH, 5, 0));

The problem:

The lookback starts at candle 0, which is the breakout candle.

So the EA compares the candle to its own high, which breaks the logic.

This causes:

  • missed signals

  • inconsistent breakout detection

  • backtests that behave differently from live trading


Correct implementation

The lookback must exclude the current candle.

Correct code:

highestHigh = iHigh(_Symbol, PERIOD_M15, iHighest(_Symbol, PERIOD_M15, MODE_HIGH, 5, 1));

Important detail:

Start index = 1

This ensures the EA looks only at previous completed candles.


3. Multiple Entries Triggered From One Breakout

Many poorly coded EAs trigger multiple trades from the same breakout candle.

Example problem:

If the EA checks signals every tick, it might execute multiple entries while the candle remains above the breakout level.

Example:

Price breaks level → EA buys
Next tick → still above level → EA buys again
Next tick → buys again

Result:

You get many trades from a single breakout.

This destroys risk control.


Correct solution

The EA must ensure only one signal per breakout candle.

Typical solution:

Store the time of the last signal.

Example logic:

static datetime lastSignalTime; if(Time[1] != lastSignalTime) { if(Close[1] > highestHigh) { OpenBuy(); lastSignalTime = Time[1]; } }

This guarantees:

  • one signal per candle

  • no duplicate entries

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

My Fixed Budget Is $60 For This Job So If You Come Up With Any Higher Number(Budget) Of Your Wish Then I Just Reject You Simple!

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

DELIVERABLES

  1. Full MT5 EA source code (.mq5)

  2. Compiled file (.ex5)

  3. Clean and readable code

  4. Instructions for installation

  5. At least one revision round if small adjustments are needed

The EA must execute trades exactly as described.

Only experienced MT5 developers please.


応答済み

1
開発者 1
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
2
開発者 2
評価
(2)
プロジェクト
2
50%
仲裁
1
0% / 100%
期限切れ
0
3
開発者 3
評価
(28)
プロジェクト
30
37%
仲裁
0
期限切れ
3
10%
仕事中
4
開発者 4
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
5
開発者 5
評価
(73)
プロジェクト
257
53%
仲裁
16
50% / 38%
期限切れ
83
32%
6
開発者 6
評価
(2)
プロジェクト
7
0%
仲裁
3
0% / 33%
期限切れ
1
14%
仕事中
7
開発者 7
評価
(6)
プロジェクト
5
0%
仲裁
4
25% / 75%
期限切れ
2
40%
8
開発者 8
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 0%
期限切れ
0
仕事中
9
開発者 9
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
10
開発者 10
評価
(3)
プロジェクト
1
0%
仲裁
5
0% / 100%
期限切れ
0
11
開発者 11
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
12
開発者 12
評価
(3)
プロジェクト
3
0%
仲裁
0
期限切れ
0
13
開発者 13
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
14
開発者 14
評価
(1)
プロジェクト
1
0%
仲裁
3
0% / 100%
期限切れ
1
100%
15
開発者 15
評価
(40)
プロジェクト
44
59%
仲裁
2
100% / 0%
期限切れ
1
2%
仕事中
パブリッシュした人: 5 codes
16
開発者 16
評価
(3)
プロジェクト
1
100%
仲裁
3
0% / 100%
期限切れ
0
17
開発者 17
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
18
開発者 18
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
19
開発者 19
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
20
開発者 20
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
類似した注文
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Platform: MT5 (MQL5) OVERVIEW: I need a custom MT5 indicator that generates only high-probability A+ buy and sell signals. The indicator should combine market structure, support/resistance, liquidity sweeps, candlestick confirmations, session filtering, and Fibonacci retracement logic. FEATURES REQUIRED: SUPPORT & RESISTANCE Automatically detect and draw support and resistance levels. Levels should update
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
i want a developer to build me a robot according to mt style i want an engine which is going to trade gold with small accounts, i want it to be perfect or any developer who has that existing robot we can negoiate the price
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
Automate my trading 100 - 300 USD
i want a trading bot that take trade auto and make 5% profit daily and stop with in 24 hours not more then that at least the bot give me more then 2% not less then that like a ai agent if it make any loss that agent have to take care of it i need only 5 % profit

プロジェクト情報

予算
60+ USD