Breakout EA. complete strategy explained in details

MQL4 Experts

Job finished

Execution time 1 day
Feedback from employee
Highly valued client . Highly recommended . Would like to work with again . A++++++++++++++
Feedback from customer
smooth as butter. he's professional and added more options to my EA to improve it. you really want to hire him as your developer. highly recommend of course.

Specification

this EA will use a simple breakout strategy with reverse entries.

the EA should be coded manually. no EA generators are allowed.

Q: what are the reverse entries ?

A: these will be pending Stop orders. these pending stop orders will be put in some price levels if the main entry failed. it will be explained in details later.

first, i will explain the inputs (parameters) in order. then the entry rules. each parameter will be explained in details.





Public Parameters (can be edited by the user)

Auto_MM (Boolean)

1: True (will use auto money management according to the risk ratio and type. explained below)

1: False (will use the manual lot parameters for the main entry and the reverse entry. this will also be explained)


Risk_Ratio (Number):

the EA will risk a given % of the Equity or Balance for every trade.


Risk_Type: (Drop down list)

1: Equity (the EA will risk a given % of the Equity for every trade.)

2: Balance (the EA will risk a given % of the Balance for every trade.)


Reverse_Multiply_Factor: (number)

this will be the multiply factor for the reverse lot size. for example, if the multiply factor is 2.0 and the lot size for the main entry was (0.10) then the reverse lot size will be (0.20).


Main_Lot (number):

this will be used when AutoMM is False.


Reverse_Lot (number):

this will be used when the Reverse_Multiply_Factor is set to 0


Starting_Hour (number):

this is when the EA will start to check for the entry rules. the entry rules will be explained in details later.

for example, if set to 10, then the EA will start looking for the entry rules if the previous hour is 10.


Signal_Timeout (number):

if set to 10 for example and no signals were found after 10 candles, the EA will wait for another day.


Main_Take_Profit (Number):


this will be the take profit for the main entry.


Main_Stop_Loss (Number):

this will be the stop loss for the main entry.


Reverse_Take_Profit (Number):

this will be the take profit for the reverse entry.


Reverse_Stop_Loss (Number):

this will be the stop loss for the reverse entry.


Reverse_Shift (number):

this will move the pending order x pips away from price level specified (reverse orders will be explained in details below)

for example, if set to 10: the pending buy order will move 10 pips up and the pending sell order will move 10 pips down if the main order hit SL (reverse orders will be explained in details below)


Gap_Killer (True/False)

if set to true, the EA will close any buy order if the price is above the TP or below the SL and will close any sell order if the price is below the TP or above the SL.


Use_Double_Reverse (True/False)

when set to True, the EA will allow the 2 reverse orders to be executed together

when set to false, the other reverse order will get cancelled if one is triggered


Main_Break_Even (number)

applies break even for main orders


Reverse_Break_Even (number)

applies break even for reverse orders


Magic_Number (number)

magic number




Hidden Parameters (cannot be edited by the user. embedded into the code)

Account_Number (number):


the EA will work only if the running account number matched the account number specified inside the code.

Comment (Text):

will show comment on order




Main Entry Rules:

if the previous bar time = Starting_Hour then

the EA will wait for the price to close above the Starting_Hour candle high or below the Starting_Hour candle low.

buy entry: when the price closes above the Starting_Hour candle high

sell entry: when the price closes below the Starting_Hour candle low

example:


example 1

in the example above.

number 1: is the Starting_Hour candle (assuming we selected 10 o'clock)

number 2: the price closed blow the Starting_Hour low

number 3: order opened and hit the TP


Reverse Pending orders
the Reverse Pending orders will be placed once the main order hit the SL.
and will not be placed at allof the main order hit the TP.

Reverse Pending orders price level:
the reverse pending orders will be placed as such:
if the main order hit the SL:
1 pending buyorder will be put x pips abovethe SL if the main order has been closed. (x pips =
Reverse_Shift input from the parameters)
1 pending sellorder will be put x pips belowthe SL if the main order has been closed. (x pips = Reverse_Shift input from the parameters)


example:


these 2 red lines represents the reverse order placement according to our Reverse_Shift

reverse orders takes the SL price level as its base point and move the pending buy order x pips above it and the pending sell order x pips below it (according to Reverse_Shift)

if one reverse order hit TP, the other will be cancelled

if one reverse order hit SL, it will NOT cancel the other reverse order

Responded

1
Developer 1
Rating
(365)
Projects
507
40%
Arbitration
159
17% / 74%
Overdue
99
20%
Loaded
2
Developer 2
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
3
Developer 3
Rating
(168)
Projects
200
48%
Arbitration
3
33% / 33%
Overdue
2
1%
Free
4
Developer 4
Rating
(65)
Projects
87
39%
Arbitration
3
0% / 33%
Overdue
29
33%
Free
5
Developer 5
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
Similar orders
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it

Project information

Budget
30 - 40 USD
Deadline
from 3 to 14 day(s)