An Expert Advisor for a simple Hedging strategy

MQL5 Experts

Job finished

Execution time 5 days
Feedback from customer
Taher delivers exceptional quality work, excels in problem-solving, and communicates effectively. He meets deadlines reliably, adapts quickly to changes, and maintains clean code. Highly recommended!

Specification

Overview:
We are seeking an experienced developer to create an Expert Advisor (EA) for a simple hedging strategy in the forex market.

The EA will utilize MACD, 200 EMA, and support and resistance levels to determine entry signals.

It will manage orders, including placing stop orders and adjusting lot sizes based on predefined conditions.



Responsibilities:

  1. Develop EA Logic:

    • Implement the first order based on MACD signals, 200 EMA trend direction, and support/resistance levels.

    • Include parameters for customizable take profit and stop loss.

  2. Order Management:

    • Automatically place a stop order upon initiating the first order.

    • Set entry price, take profit, and stop loss for the first order.

    • Note: The stop loss is saved as a variable for use in activating stop orders but will not be set when placing orders. It serves as a signal for activating stop orders.

    • Double the lot size for the second stop order, and use the first order's stop loss as the entry price.

    • Implement a third order with settings mirroring the first order if the first order’s entry price is hit again after the second stop order activation.

  3. Indicator Integration:

    • Utilize the MACD indicator for buy/sell signals.

    • Ensure the EA checks the 200 EMA for trend direction.

    • Incorporate support and resistance levels to determine entry points.

  4. User Inputs:

    • Provide input parameters for take profit (default 10 pips), stop loss (default 5 pips), and lot size (default 0.01).

  5. Order Execution and Closure Logic:

    • Ensure proper logic for closing orders upon hitting take profit or activating subsequent stop orders.

    • Implement a function to reset variables and close all positions when a take profit level is reached.

  6. Magic Number Utilization:

    • Use a magic number to track orders and ensure only one set of orders is placed at a time.

    • Include logic to check for existing orders with the magic number before placing new ones.

Detailed EA Specifications:

  1. First Order:

    • Entry Price: Determined by MACD, 200 EMA, and support/resistance.

    • Take Profit: 10 pips (user adjustable).

    • Stop Loss: 5 pips (user adjustable, stored for use in stop order, no actual stop loss set when placing the order).

    • Lot Size: 0.01 (user adjustable).

  2. Second Stop Order:

    • Entry Price: First order’s stop loss.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Stop Loss: First order’s entry price (no actual stop loss set).

    • Lot Size: Double the first order’s lot size.

  3. Third Stop Order:

    • Entry Price: First order’s entry price after second stop order activation.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Lot Size: Same as the first order (no stop loss).





EA Logic Flow:

  1. Entry:

    • Place the first order based on MACD, 200 EMA, and support/resistance.

    • Immediately place the second stop order.

  2. Take Profit and Stop Loss Handling:

    • If the first order hits, take profit, close all orders.

    • If the first order hits stop loss, activate the second stop order.

    • If the second stop order hits its take profit, close all orders.

    • If the second stop order’s stop loss (first order’s entry price) is hit, place the third order.

  3. Order Closure:

    • Close all orders when any take profit level is reached.

  4. Magic Number Check:

    • Ensure no additional orders are placed if an order with the same magic number exists.

    • Reset variables and close positions when required.

Deliverables:

  1. Fully functional EA with the described hedging strategy.

  2. Well-documented code for maintainability.

  3. User guide for setting parameters and understanding the EA's operations.

Requirements:

  1. Proven experience in developing Expert Advisors for MetaTrader (MT4/MT5).

  2. Strong understanding of forex trading strategies and technical indicators.

  3. Proficiency in MQL4/MQL5 programming languages.

  4. Ability to meet deadlines and provide support for initial setup and testing.




Files:

Responded

1
Developer 1
Rating
(15)
Projects
24
0%
Arbitration
0
Overdue
0
Working
2
Developer 2
Rating
(76)
Projects
85
34%
Arbitration
2
0% / 0%
Overdue
1
1%
Working
3
Developer 3
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Working
4
Developer 4
Rating
(198)
Projects
319
16%
Arbitration
21
38% / 33%
Overdue
16
5%
Busy
5
Developer 5
Rating
(24)
Projects
31
16%
Arbitration
7
29% / 43%
Overdue
4
13%
Working
6
Developer 6
Rating
(11)
Projects
11
0%
Arbitration
4
25% / 50%
Overdue
2
18%
Free
7
Developer 7
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Working
10
Developer 10
Rating
(42)
Projects
88
14%
Arbitration
30
30% / 53%
Overdue
36
41%
Working
11
Developer 11
Rating
(9)
Projects
8
38%
Arbitration
2
0% / 100%
Overdue
2
25%
Working
12
Developer 12
Rating
(61)
Projects
186
73%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(478)
Projects
507
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
15
Developer 15
Rating
(71)
Projects
80
10%
Arbitration
35
9% / 54%
Overdue
6
8%
Working
Similar orders
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &

Project information

Budget
30 - 150 USD
For the developer
27 - 135 USD