Generic EA 2 (GEA2)

MQL4 Experts

Job finished

Execution time 22 days

Specification

EA Operation

Upon EA starting (the EA attached to a graph), a series of Processes are launched with a certain pips gap between them. Meaning, Process 1 is launched immediately, Process 2 is launched after the price made a PipsGap movement to either direction (upwards or downwards), Process 3 will be launched after the price made another PipsGap movement to either direction, and so on and so forth. After the first trade in a Process is initiated, there may be a sequence of follow-up trades within this Process. So a Process is the series of trades from the first one until the Process is closed due to Process Take Profit, or Process Stop Loss.

 Each Process is described by an [Process Type n] sub section in the EA parameters which details the Process parameters. There should be up to 32 sub sections for up to 32 Process Types.

Among these parameters are Process TP and Process SL measured in US Dollars, OrderType, which may be Buy or Sell and more (the full list of the trade parameters appears in the next paragraph

 Each Process Type sub section will include also a switch parameter called Active. This parameter may be Yes or No to determine if this Process Type n is currently active or not. As a result, the number of active Trade Types in a certain run of the EA equals to the number of Process Types  where Active=Yes.

The first trade in a Process is opened in a price level which we’ll call L1.

For Process Type 1, L1 is the price level when the EA starts. For the follow-up Processes, L1 is dependent on the price distance between each 2 consecutive Processes as dictated by The PipsGap parameter which appears among the parameters of each Process Type n.

For each Process the behavior is as follows:

As mentioned, the first trade is opened at price level L1. (The Trade Type and volume for this 1st trade are described in the Process Type parameters). There is another price level L2 that is D (Distance) pips from L1 in the losing direction from the trade that was opened in L1 (if the trade in L1 is Buy then L2 is bellow L1, if the trade in L1 is Sell then L2 is D pips above L1).

If the price movement for the trade in L1 goes in the winning direction, and the accumulated profit during this Process hits ProcessTakeProfit, than this Process is closed. Now, if ProcessAutoRestart=1 then another process from this Process Type is immediately launched and a new L1 is set.

If the price movement for the trade in L1 goes in the losing direction and hits L2, then a new trade is opened in this price level. This trade is opposite to the trade in L1 (if the trade in L1 was Buy than in L2 it will be Sell). The volume of this 2nd trade is provided in VT2 (Volume Trade 2) parameter, which is among the Trade Type parameters.

Now, the same logic continues. If the price movement for the L2 trade goes in the winning direction, and the accumulated profit for this Process hits ProcessTakeProfit, then the Process is closed (and a new one is immediately opened should ProcessAutuRestart=1.). If the price movement for L2 trade goes in the losing direction and hits L1, then a new trade is opened at L1, in the same direction like the previous L1 trade, and with a volume equals to VT3. This VT3 trade is added to the previous trade/s in this L1 level

 If during the Process, the accumulated loss of this Process hits ProcessStopLoss, than this process is closed (and a new one is immediately opened should ProcessAutuRestart=1.)

 From this point and on, the Process continues in the same logic, until it’s closed.

There are 2 more parameters called GlobalTP and GlobalSL. If from the moment process Type 1 (Process 1) was initiated, the accumulated profit (or loss) of all the currently active processes hits GlobalTP (or GlobalSL), then all processes are closed immediately. Should GlobalAutoRestart=1, then the EA restarts from Process Type 1 and on.

 

To rephrase: a series of trades that were “born” from a certain Initial Trade is called a Process.

A process is finished in one of the following 2 instances:

1.     The accumulated profit/loss of this process (starting VT1, VT2, etc.), reaches a ProcessTP or ProcessSL.

2.     The accumulated profit/loss of all processes that are currently active reaches GlobalTP or GlobalSL. In this case all trades in the EA are terminated immediately.

 For this calculation closed processes that belong to this run of the EA and were finished because of ProcessTP/SL need also to be taken into account.

This is actually how the EA is finished. Now, the EA will be re-initiated if GlobalAutoRestart=1.

 

There are 2 AutoRestart parameters, one in the Process level, and one in the EA general level. If ProcessAutoRestart=1 in the Process Type parameters, then after a Process is terminated due to ProcessTP or ProcessSL, another Process will be immediately launched with the same parameters.

 If GlobalAutoRestart=1 in the General parameters in the EA level, then EA will be re-launched and all Process Types will be initiated (much like in the EA start)

 

General parameters

 

Will appear in a separate General sub section within the EA parameters.

1.     GlobalTP – as described above. Measured in US Dollars.

2.     GlobalSL – as described above. Measured in US Dollars.

3.     GlobalAutoRestart – 1 or 0 as described above

 

 

Process Type parameters

As mentioned, there will be up to 32 identical sub sections to include the various Process Types and their related parameters.

These parameters, for each Process Type, will appear in a separate sub-section that will include:

1.     A Process Type header with a serial number, all within brackets. For the 1st Trade Type it will look like this:  [Process Type 1]

2.     Active – a switch parameter than can have the values Yes or No. If Yes, this Process Type is active in the coming run of the EA.

3.     OrderType (Buy/Sell) of the first trade in the Process

4.     VV (Volume Vector) in lots (starting 0.01 lot). It will look like this

VV= VT1, VT2, VT3, VT4 …VTN (there will be numbers instead of letters of course...). It means that the first trade, to be opened in L1 will have a volume VT1, the second trade to be opened in L2 will have the volume VT2, the 3rd trade to be opened in L1 will have the volume VT3, and so on and so Forth.

 The number of VTs is not limited, but if the Process reached the last value in the VV, VTN, and the process hasn’t been closed yet, it starts all over again from VT1.

5.     ProcessTP – Process take profit. Measured in US Dollars.

6.     ProcessSL – Process stop loss. Measured in US Dollars.

7.      D – price distance between L1 and L2 (in pips)

8.      ProcessAutoRestart – 1 or 0 as described above. If 1, the process will be re-initiated immediately after the previous Process for this Trade Type was closed due to SL/TP.

9.     PipsGap – a price movement in pips that the price should move in either direction, so the next Process Type will be opened

  

 

Comments

1.     GlobalSL/TP overrides ProcessSL/TP. Meaning should EA reached the conditions described to hit GlobalSL or GlobalTP, the whole EA will be closed (and immediately re-initiated if GlobalAutoRestart=1), regardless of the individual status of the currently active Processes).

2.     The EA should create a detailed log to enable us to accurately track and check its operation.

3.     If any questions, please don’t hesitate to ask.

4.     Thanks in advance for your reasonable bid and professional and fast delivery.

 

Responded

1
Developer 1
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
2
Developer 2
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
Published: 4 codes
3
Developer 3
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
4
Developer 4
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
5
Developer 5
Rating
(187)
Projects
367
56%
Arbitration
45
22% / 56%
Overdue
188
51%
Free
Published: 1 article, 6 codes
6
Developer 6
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
7
Developer 7
Rating
(30)
Projects
93
49%
Arbitration
18
56% / 17%
Overdue
38
41%
Free
Similar orders
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
JOB SPECIFICATION: Fully Automated ES/MES 5-Minute NY Opening Range Breakout EA 1. Project objective I am looking for an experienced trading algo developer to build a fully automated trading bot (EA) based on my specific 5-minute New York Opening Range Breakout strategy. The EA must identify setups, confirm breakouts, identify retests, confirm continuation, execute trades, calculate position size, place stop-loss and

Project information

Budget
100 - 300 USD
Deadline
from 4 to 10 day(s)