MT4 EA Developer (Smart GUI & Auto Position Engine)

Trabajo finalizado

Plazo de ejecución 45 días
Comentario del Cliente
Thank you very much for the professional handling — I am fully satisfied
Comentario del Ejecutor
Thanks for the project. Looking forward to the next one!

Tarea técnica

I am looking for an MT4 developer to create an Expert Advisor with a fixed, on-chart control panel.

1. Interface / placement
The EA should display a panel of about 150 x 450 pixels with 21 rows. This panel must stay docked in the top-right corner of the chart at all times. If the chart window is moved or resized, the panel has to reposition itself automatically to the same corner. Chart objects (candles, price) must stay behind the panel. I can provide a screenshot of the intended layout.

2. Basic trading idea (“box”)
When the EA is started, it should draw two horizontal lines around the current price: one line for a buy entry (above) and one line for a sell entry (below). The distance between those two lines is not fixed — it is set in the EA / GUI. Both lines must be movable together in the chart: if the user drags the lines, they move in parallel so the gap between them stays unchanged. I call this pair of lines the “box”.

If the current market price is inside this box, the user can “arm” it. As soon as the box is armed, the EA places a buy stop and a sell stop. Then it waits for the breakout.

  • If price breaks upward and reaches the buy entry line, the buy stop becomes a buy position.

  • If price breaks downward and reaches the sell entry line, the sell stop becomes a sell position.
    If the breakout happens with slippage, the EA should still open the order immediately once a price beyond the trigger is detected.

After a buy is triggered, the opposite pending order (the sell stop) stays active until the price actually reaches the sell entry. When that happens, the EA must remove the old pending and place the counterpart again so that a re-entry on the other side is possible.

3. Position size logic (very important)
The lot size is not a fixed number. It is calculated from three inputs that the user enters in the GUI:

  • line distance (later: row 5),

  • Size (%) (later: row 8),

  • Target (%) (later: row 10).

The goal: after a certain market move (for example 60 points on Dow Jones), the profit of the open position should equal the chosen percentage.

Examples (same logic, different numbers):

  • Example 1:

    • Size (%) = 0.100

    • Target (%) = 0.100

    • Distance between lines = 60 points

    • Market = Dow Jones
      → the EA must choose a lot size so that a move of 60 points equals +0.1% on the account.

  • Example 2:

    • Size (%) = 0.050

    • Target (%) = 0.100

    • Distance = 60 points
      → here the size is half of the first example, so to get the same 0.1% result, the EA must either let price move further (120 points) or adapt the lot so that this condition is met. In your logic: after 120 points you still want +0.1%.

  • Example 3:

    • Size (%) = 0.050

    • Target (%) = 0.200

    • Distance = 60 points
      → to reach 0.2% with this size, the EA must calculate the position so that after 240 points the result is 0.2%.

  • Example 4 (different distance):

    • Size (%) = 0.100

    • Target (%) = 0.100

    • Distance = 30 points
      → now the same 0.1% should be reached already after 30 points, so the EA must increase the lot accordingly.

4. Alternating market / sequence of trades
The EA has to handle the case where price does not continue in one direction but jumps from one box edge to the other.

Assume: first trade is long, using the parameters from the first example above (size 0.100, target 0.100, 60 points distance, Dow).

  • Price then drops 60 points and hits the sell entry. The first trade is now down −0.1%.

  • The EA must open a second trade (short) with such a lot that, after the next 60-point move down, this second trade not only covers the −0.1% from the first long, but still gives +0.1% overall.

If price then goes back up again and hits the buy entry, the EA opens the third trade (long). After another 60 points up, trades 1 and 3 together must compensate the loss from trade 2 and again produce +0.1%.
If price turns again, a 4th trade is opened, so the set becomes:

  1. long

  2. short

  3. long

  4. short

The 4th trade’s lot has to be chosen so that, after the standard distance, the losses from the two longs can be balanced together with the existing short so that the target % is reached again.

Calculated example series (0.1% target, 60 points, Dow):

  1. long 1.10 lot

  2. short 3.30 lot

  3. long 6.70 lot

  4. short 13.70 lot

  5. long 27.90 lot

  6. short 56.80 lot

Opening a 6th trade would already hit margin limits. I also estimated the cumulative drawdown after each step (−0.1%, −0.31%, −0.72%, −1.58%, −3.32%). At around −3.32% the 5th long would be active, price would approach the sell entry again, but a 6th position could no longer be opened because of margin/equity.

The EA should be able to display this sequence in advance.

5. “VIEW” function
In the GUI there should be a button (3rd row) that opens a small popup at the top right of the chart. This popup shows three lines:

  • first line: trade number 1, 2, 3, …

  • second line: calculated lot for each step

  • third line: max loss % after opening that trade
    This is just to preview the sequence before trading.

6. GUI layout (21 rows)

  1. current symbol + timeframe (e.g. DJ30.c M15)

  2. three buttons: SAVE, LOCK, VIEW

    • SAVE: store current size/target settings into one of 4 slots (row 6); MT4 should show “SET X saved!” after success; only allowed when no trades or box pending

    • LOCK: disables rows 18, 19, 21 to avoid accidental clicks, should auto-lock when box is armed

    • VIEW: opens the trade sequence popup

  3. toggle “BOX Lines OFF/ON” → creates both entry lines around current price; distance comes from row 5; lines movable together

  4. label “Line Distance”

  5. input for the distance between buy/sell entry

  6. 4 buttons = 4 presets for position settings

  7. two labels: “Size (%)” and “Real (%)”

  8. two fields: left = editable size with 3 decimals, right = actual size according to broker’s lot step

  9. two fields: left = “Target (%)”, right = “Lot”

  10. two fields: left = desired TP in %, right = lot size of first trade (EA must read broker limits)

  11. double row: show number of open trades and current total P/L in money and in %

  12. label “Alternative TP”

  13. left = alternative TP value (3 decimals), right = button to activate/deactivate it; TP line in chart should move

  14. label “Break Even (%)”

  15. left = BE value (3 decimals), right = on/off; only active when in profit; when profit shrinks to that level, close all

  16. label “Max-Loss (%)”

  17. left = global SL for all positions, right = on/off

  18. button “Auto Entry OFF/ON” → activates the trading logic for automatic entries

  19. button “Auto Exit OFF/ON” → allows the EA to close trades automatically at TP/BE/Alt TP/SL

  20. two buttons “Auto” and “Custom” → automatic TP vs manually draggable TP

  21. button “Close ALL” → closes all open positions

7. Extra stop-loss option
Besides % stop, there should be a distance-based exit: the user can define a factor of the box distance. Example:

  • box = 60 pts, factor = 2 → close all wrong-way positions after 120 pts

  • box = 60 pts, factor = 3.5 → close after 210 pts

  • box = 30 pts, factor = 1 → close after 30 pts
    This level must be shown in the chart as a dashed, draggable line (e.g. drag while holding AltGr).

8. Multiple charts
The EA must support several instances on different charts. Magic Number in the inputs is required to separate them.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(250)
Proyectos
313
28%
Arbitraje
33
27% / 64%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(139)
Proyectos
148
41%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
3
Desarrollador 3
Evaluación
(5)
Proyectos
4
25%
Arbitraje
1
0% / 100%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(160)
Proyectos
285
35%
Arbitraje
18
22% / 61%
Caducado
42
15%
Trabajando
5
Desarrollador 5
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(22)
Proyectos
29
3%
Arbitraje
4
25% / 0%
Caducado
3
10%
Trabaja
9
Desarrollador 9
Evaluación
(626)
Proyectos
984
47%
Arbitraje
33
36% / 33%
Caducado
97
10%
Trabaja
Ha publicado: 6 ejemplos
10
Desarrollador 10
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(7)
Proyectos
9
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
Ha publicado: 1 artículo
13
Desarrollador 13
Evaluación
(4)
Proyectos
7
0%
Arbitraje
3
33% / 67%
Caducado
3
43%
Trabaja
14
Desarrollador 14
Evaluación
(171)
Proyectos
195
42%
Arbitraje
13
8% / 54%
Caducado
9
5%
Libre
Ha publicado: 3 ejemplos
15
Desarrollador 15
Evaluación
(308)
Proyectos
553
35%
Arbitraje
79
32% / 42%
Caducado
200
36%
Trabajando
16
Desarrollador 16
Evaluación
(168)
Proyectos
199
48%
Arbitraje
3
33% / 33%
Caducado
2
1%
Trabaja
17
Desarrollador 17
Evaluación
(504)
Proyectos
971
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Trabaja
Ha publicado: 1 artículo, 6 ejemplos
18
Desarrollador 18
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
19
Desarrollador 19
Evaluación
(270)
Proyectos
552
49%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
20
Desarrollador 20
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(17)
Proyectos
23
39%
Arbitraje
6
33% / 50%
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(10)
Proyectos
15
13%
Arbitraje
6
0% / 67%
Caducado
2
13%
Libre
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 15%
Caducado
32
22%
Trabaja
Solicitudes similares
1. Idea systemu handlowego jest następująca : wejścia na rynek odbywają się, gdy główna linia MACD i linia sygnałowa przecinają się zgodnie z aktualnym kierunkiem trendu . 2. Trend jest określany na podstawie wykładniczej średniej kroczącej z określonym okresem (InpMATrendPeriod). Jeśli bieżąca wartość EMA jest większa od poprzedniej, trend uznaje się za rosnący (ema_current > ema_previous). Alternatywnie, jeśli
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Modification of EA and Addition of New Trade Logic and Features Currently, the EA is opening trades correctly but in addition, there are times when it is opening the trades wrongly. The EA is based on an indicator (only the .ex5 file is available). A new trigger logic also needs to be added, along with new closing conditions. This project must NOT use any DLL and must be submitted in 1 day (max 2 days) The EA will be
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds

Información sobre el proyecto

Presupuesto
50 - 200 USD
Plazo límite de ejecución
de 1 a 20 día(s)