ZigZag Averaging EA

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Ejecutor
Great customer !!! Thanks for the job
Comentario del Cliente
Excellent EA developer. He understands concepts quickly, writes efficient code, and works patiently with the customer to improve the final product. Would hire him again!

Tarea técnica

I need an Expert Advisor (EA) that uses the "ZigZag" indicator included with Metatrader 4. First, the EA calculates the high and lows in the range, and calculates the distances between them, drawing the "zigzag" lines.

Zig lines are those going up, from left to right. Zag lines go down from left to right.

The EA calculate the vertical length of the zig lines, from left to right, and divides them by a specified number input by the user, to get the average zig length. For example, say the third zig vertical distance is 200 points long, the second is 150 points, and the first line is 160 points long.  say the averaging number is 3. So the total vertical length of the 3 most recent zig lines is 510 points, and the average length is 170 points.

Then the EA places a sell limit order the average length above the current price, so 170 points in this example.
The Stop Loss (SL) and Take profit levels are input  by the user.

The EA does the same for the zag (down) lines, except the order placed is a buy limit placed below the current price.


If the limit orders are not opened before the next zig or zag line forms, the current limit order is deleted, and replaced by a new order, after the average has been calculated again. If the new line is a zig (up) line, a new sell limit is placed. If the new line is a zag (down) line, a buy limit is placed.

I have images  visualizing how the EA works. The first attached image is a example of a buy trade, and the second image is a sell example.

I require the MQL4 code, with comments to explain main functions. Forex trading experience is an asset.

The base pay will be $60 USD. $30 Bonus will be given for doing a good job.

I have more EAs to be made, so I'm looking for a skilled and reliable coder, with more opportunities possible later.

Thanks.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
3
Desarrollador 3
Evaluación
(4)
Proyectos
4
0%
Arbitraje
1
0% / 100%
Caducado
1
25%
Libre
4
Desarrollador 4
Evaluación
(5)
Proyectos
7
29%
Arbitraje
1
0% / 100%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(319)
Proyectos
570
35%
Arbitraje
83
30% / 45%
Caducado
206
36%
Trabaja
6
Desarrollador 6
Evaluación
(258)
Proyectos
396
28%
Arbitraje
70
19% / 49%
Caducado
121
31%
Trabaja
7
Desarrollador 7
Evaluación
(17)
Proyectos
24
33%
Arbitraje
5
20% / 40%
Caducado
8
33%
Libre
8
Desarrollador 8
Evaluación
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
9
Desarrollador 9
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
10
Desarrollador 10
Evaluación
(20)
Proyectos
29
55%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(333)
Proyectos
543
66%
Arbitraje
53
21% / 40%
Caducado
169
31%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(7)
Proyectos
13
0%
Arbitraje
5
20% / 60%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
14
Desarrollador 14
Evaluación
(36)
Proyectos
50
28%
Arbitraje
2
0% / 100%
Caducado
6
12%
Libre
15
Desarrollador 15
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
Ha publicado: 342 artículos, 1 ejemplo
16
Desarrollador 16
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
17
Desarrollador 17
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
hello i need help building a ea bot for mt5 and i have started on claude but i will need someone if a incredible experience to make my ideas come to live. please contact so we can schedule a quick call and i can share anything that concerns you for the task
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Información sobre el proyecto

Presupuesto
60 - 90 USD