Development on my two EAs needed

MQL5 Experts

Termos de Referência


I have two EAs and these EAs works nearly as i want, but i need some developments and fixing.

The first one “pending order EA”: on this EA I write as input manually before running EA

  1. a price range,

  2. number of pieces that the range will be divided

  3. loss for each trade

  4. total profit

  5. stoploss as x pips below/above the range

    Then the EA places pending orders on the divided levels. It calculates the lot sizes automatically according to “loss for each trade” and “stoploss; x pips below/above the range” inputs. And takes profit when “total profit” reach the amount written as input.

The second one “overandunder EA”:

This EA finds a high (point D) according to zigzag parameters, then looks x bars back for a horizontally closest lower zigzag high (point B) then marks the lowest point between these points as point C, then if price breaks point C after point D; EA marks the next zigzag low as point E and if price goes again near 40 pips (5 digit platform) to point B it marks that level as point F.

Then EA measures the legs between these points and compare the legs according to their length and duration. If the pattern is compatible with the leg inputs, EA divide the range into number of pieces according to input. Then calculated piece levels becomes our trade entry levels. EA starts to open trades at the test of first high level (point B). Then continue to open trades at the divided piece levels as price moves in the range.

EA puts stoploss x pips above/below of the range, then calculates the lot size according to “loss for each trade” input. In other words, we write x pips stoploss and loss for each trade as input manually before running the EA, then EA finds entry point and calculates the lot size according to these datas.

There are two options for taking profit which should be chosen before running EA. “Total profit” or “take profit level”. Total profit is, as the name suggests, If i write 200 dollars to the total profit section on the input screen, EA should close the trades when total profit becomes 200 dollars on a pattern. But this code closes every trade when total profit becomes 200 dollars. This is not pattern based. First we should fix this. The second option for taking profit is “take profit level”. EA calculates the length as in pips between E and F points and takes profit when price comes to the defined percentage of EF leg.

What I need is EA to open opposite trades when these trades hits stoploss. On the first example above, if price hits stoploss, i want EA to open BUY trades. And that buy trades’ conditions are explained below:

If my first trades are sell according to pattern and if they hit stoploss, i want to be a buyer automatically, right on time of stop or at retest of range. if my first trade is buy and if it stops i want to be a seller automatically, a) right on time of stop or b) at retest of range.


For pending order EA;

We need to add an option like this;

If the trades stops, EA will open trades on the opposite direction instantly or at the retest of the range.

And that trades will have rangeentry, take profit and stoploss inputs as follows;

Entry: We will again divide the range so we will have number of pieces. (Input: “number of pieces2”)

Range options; 1- same range of first orders (if I want opposite trades to be opened on the retest of the range), 2-larger range: the range between stoploss point of first orders and the far point of the first range (if I want opposite trades to be opened instantly by hitting stoploss of first trades.)

In the first option EA will wait for retesting of the first defined range and open opposite trades in the same zone. In the second option EA will open opposite trades instantly and will continue to open opposite trades until the far point of the first zone.

Take profit options2;

 total profit2: x times of the previous stoploss amount: (If it opens 4 trades and stoploss for each trade was 25 dollars, there will be 100 dollars loss in total and if i write 2 in the totalprofit2 input than total profit2 will be calculated as 200 dollars on the opposite trades. EA will close opposite trades when total profit becomes 200 dollars on a pattern.)

take profit level2: “x times of the stoploss range” For example, if stoploss is 15 pips far from entry point and if we write “take profit level2” as 2 times of stoploss range, than our tp level is 30 pips from entry point. and if one of the trades on a pattern takes profit than other trades in that pattern should be canceled or closed.

Stoploss point2 :  A) X pips beyond the far point of the range or B) x pips beyond E point or C) x pips beyond C point

So in the overandender EA there will be 3 options for stoploss point2 input. In the pending order EA we will have only “X pips beyond the far point of the range” for stoploss point2 input.

Loss for each trade2: x times of the first trades’ loss for each trade. (If loss for each trade was 25 dollars in the first trades and if i write 2 on the “Loss for each trade2” input than loss for each opposite trade will be 50 dollars. Lot sizes will be calculated automatically according to stoploss point2 and loss for eachtrade2

So we should write inputs for opposite trades as follows:

1-Range Option: Same range or Larger Range

2-Take profit condition: Totalprofit or take profit level

     2-a) Total Profit2: x times of the previous total stoploss amount

     2-b) Take profit level2: x times of the stoploss range

3-Stoploss point2:

    3-a)Stoploss: X pips beyond far point of the range

    3-b)stoploss x pips beyond E point (only for overandunderEA )

    3-c)stoploss x pips beyond C point (only for overandunderEA )

4-Loss for each trade2: x times of the first trades’ loss for each trade.

5-number of pieces2

Also, our overandunder EA in the totalprofit option closes all trades in all patterns when defined total profit amount occurs. But this should be pattern based. ıt should look for total profit of trades for each pattern independently. 

Respondido

1
Desenvolvedor 1
Classificação
(35)
Projetos
73
51%
Arbitragem
12
33% / 33%
Expirado
14
19%
Livre
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(145)
Projetos
169
50%
Arbitragem
22
14% / 55%
Expirado
22
13%
Livre
4
Desenvolvedor 4
Classificação
(361)
Projetos
644
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(94)
Projetos
148
59%
Arbitragem
16
38% / 13%
Expirado
25
17%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(1930)
Projetos
3551
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Livre
7
Desenvolvedor 7
Classificação
(45)
Projetos
59
42%
Arbitragem
5
0% / 60%
Expirado
12
20%
Livre
8
Desenvolvedor 8
Classificação
(3)
Projetos
2
0%
Arbitragem
7
0% / 86%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(29)
Projetos
49
22%
Arbitragem
14
29% / 21%
Expirado
13
27%
Livre
Pedidos semelhantes
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
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de

Informações sobre o projeto

Orçamento
150+ USD