ZigZag Averaging EA

MQL4 Indicators Experts Forex Stocks

Job finished

Execution time 6 days
Feedback from employee
Great customer !!! Thanks for the job
Feedback from customer
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!

Specification

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.


Files:

Responded

1
Developer 1
Rating
(130)
Projects
184
32%
Arbitration
18
28% / 67%
Overdue
27
15%
Free
Published: 1 code
2
Developer 2
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
3
Developer 3
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
4
Developer 4
Rating
(5)
Projects
7
29%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(319)
Projects
570
35%
Arbitration
83
30% / 45%
Overdue
206
36%
Working
6
Developer 6
Rating
(258)
Projects
396
28%
Arbitration
70
19% / 49%
Overdue
121
31%
Working
7
Developer 7
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
8
Developer 8
Rating
(619)
Projects
722
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
9
Developer 9
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
10
Developer 10
Rating
(20)
Projects
29
55%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(333)
Projects
543
66%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code
12
Developer 12
Rating
(7)
Projects
13
0%
Arbitration
5
20% / 60%
Overdue
0
Free
13
Developer 13
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
14
Developer 14
Rating
(36)
Projects
50
28%
Arbitration
2
0% / 100%
Overdue
6
12%
Free
15
Developer 15
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 342 articles, 1 code
16
Developer 16
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
17
Developer 17
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
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
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also
Account size 50$ to 100$ or 5000USC to 10000USC ( Account $ Size may not matter ) Max Leverage 1000-2000 Min Lot 0.01 [ if averaging possible ] Averaging + Shift TP Faster Required if Trend Direction is Clear Account Protection Maxx Profit Max Loss Key Based Activation News Filter Need Expert to handle this to avoid false entry [ Developer can suggest extra additional filters inputs here ] as i mentioned I have no
Build a Forex Multi-Basket Trading Bot for OANDA (Python v20 REST API Only) MANDATORY DEVELOPER REQUIREMENTS (PLEASE READ BEFORE APPLYING): Do not apply for this project unless you meet the following strict professional criteria: 1. Deep Mathematical & Quantitative Background: You must thoroughly understand statistical distributions, rolling standard deviations (σ), calculating matrix medians, and dynamic Z-score
I need an AI based mt5 EA which self learns and improves on its previous mistakes. The EA must be able to utilize numerous trade set ups like; 1. CRT, 2. liquidity sweep reversal at selected higher timeframe where a candle sweeps previous candle high and closes lower or sweeps previous candle low and closes higher, 3. SMC where it trades on OB, CHoCH, BOS. 4. Support and resistance. It should trade any currency pair

Project information

Budget
60 - 90 USD