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
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
6
Developer 6
Rating
(258)
Projects
396
28%
Arbitration
69
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
(611)
Projects
711
33%
Arbitration
45
49% / 42%
Overdue
14
2%
Working
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: 330 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
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
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
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
Ниже представлено готовое, технически выверенное Техническое задание (ТЗ) . Вы можете полностью скопировать этот текст и разместить его на бирже фриланса (например, MQL5.com в разделе «Фриланс» или на Smart-Lab). Данное ТЗ написано на профессиональном языке, понятном разработчикам торговых систем для терминала QUIK (на языке Lua) . ТЕХНИЧЕСКОЕ ЗАДАНИЕ (ТЗ) Разработка мультивалютного торгового робота для терминала
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
Hello, I am reopening this project with a fully updated and clarified specification. I am looking for a high‑level MQL5 developer who can deliver a clean, stable, and professional Phase 1 version of my: Institutional‑Grade Multi‑Currency MT5 EA (A2SR + SMC + Smart Recovery + Smart Grid + Liquidity + Volatility + Safety Filters) This EA is not a simple indicator conversion or a basic strategy. It is a structured

Project information

Budget
60 - 90 USD