ZigZag Averaging EA

MQL4 Indicadores Experts Forex Ações

Trabalho concluído

Tempo de execução 6 dias
Comentário do desenvolvedor
Great customer !!! Thanks for the job
Comentário do 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!

Termos de Referência

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.


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(130)
Projetos
184
32%
Arbitragem
18
28% / 67%
Expirado
27
15%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
3
Desenvolvedor 3
Classificação
(4)
Projetos
4
0%
Arbitragem
1
0% / 100%
Expirado
1
25%
Livre
4
Desenvolvedor 4
Classificação
(5)
Projetos
7
29%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(319)
Projetos
570
35%
Arbitragem
83
30% / 45%
Expirado
206
36%
Trabalhando
6
Desenvolvedor 6
Classificação
(258)
Projetos
396
28%
Arbitragem
70
19% / 49%
Expirado
121
31%
Trabalhando
7
Desenvolvedor 7
Classificação
(17)
Projetos
24
33%
Arbitragem
5
20% / 40%
Expirado
8
33%
Livre
8
Desenvolvedor 8
Classificação
(619)
Projetos
722
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
9
Desenvolvedor 9
Classificação
(221)
Projetos
369
66%
Arbitragem
10
50% / 0%
Expirado
46
12%
Livre
10
Desenvolvedor 10
Classificação
(20)
Projetos
29
55%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(333)
Projetos
543
66%
Arbitragem
53
21% / 40%
Expirado
169
31%
Livre
Publicou: 1 código
12
Desenvolvedor 12
Classificação
(7)
Projetos
13
0%
Arbitragem
5
20% / 60%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
14
Desenvolvedor 14
Classificação
(36)
Projetos
50
28%
Arbitragem
2
0% / 100%
Expirado
6
12%
Livre
15
Desenvolvedor 15
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Publicou: 342 artigos, 1 código
16
Desenvolvedor 16
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
17
Desenvolvedor 17
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
60 - 90 USD