Fixing Fib levels and trendlines

MQL5 Indicators Experts

Specification

I am seeking assistance with an MT5 indicator that I am currently using. The indicator is a multi-timeframe (MTF) zigzag with Fibonacci levels. When I load the indicator multiple times on the same chart—using both current and different higher timeframes (HTF)—the trendlines and Fibonacci levels do not always display as expected.

To test the indicator, I have a set file configured with settings for four instances of the indicator, each with a different colour scheme (I will share the set file for your convenience). When I load the set file on the H4 timeframe, I expect to see four distinct sets of Fibonacci levels and trendlines. Similarly, on the D1 timeframe, I expect three sets, as the lower timeframe is overshadowed by the higher one. On the W1 timeframe, there should be two sets, and on the MN1 timeframe, only one set should be visible.

In certain cases, where the zigzag points are closely located, the indicator works as intended. However, this is not consistent. I have added some debug code to troubleshoot the issue. From what I can observe, the indicator recalculates multiple times. Although it seems to calculate correctly at first, subsequent recalculations cause the zigzag pivots to reset to zero. The indicator appears to be performing unnecessary calculations for zigzag points that are irrelevant, which could potentially be excluded. The focus should only be on enough calculations to draw the Fibonacci levels and trendlines for the four timeframes.

Its important to test it on multiple currency pairs as on some duse to zig zag point it might work and then on others not. I need it to work on all pair at all times. This is a requirement.

Here’s how the indicator should ideally function:


  • H4 timeframe: Four sets of Fibonacci levels and trendlines (In the sample clearly just two)
  • D1 timeframe: Three sets of Fibonacci levels and trendlines
  • W1 timeframe: Two sets of Fibonacci levels and trendlines
  • MN1 timeframe: One set of Fibonacci levels and trendlines

I believe all objects have unique IDs, but it would be helpful if you could verify that the uniqueness is maintained throughout the code. The indicator currently contains approximately 2,200 lines of code. I do not want to lose any of the existing inputs, features, or outputs, as it works for me in its current state—particularly the zigzag functionality, which is exactly as I had requested. However, I would appreciate your help in resolving the aforementioned issues.

I wish for it to work flaulessly please



Responded

1
Developer 1
Rating
(542)
Projects
821
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
2
Developer 2
Rating
(265)
Projects
280
55%
Arbitration
0
Overdue
5
2%
Free
3
Developer 3
Rating
(74)
Projects
84
64%
Arbitration
5
100% / 0%
Overdue
9
11%
Free
4
Developer 4
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
5
Developer 5
Rating
(43)
Projects
62
23%
Arbitration
8
25% / 38%
Overdue
10
16%
Working
6
Developer 6
Rating
(4)
Projects
3
0%
Arbitration
3
33% / 67%
Overdue
1
33%
Free
7
Developer 7
Rating
(1)
Projects
2
0%
Arbitration
2
50% / 50%
Overdue
0
Free
8
Developer 8
Rating
(571)
Projects
663
32%
Arbitration
42
45% / 45%
Overdue
12
2%
Loaded
Similar orders
I need a professional MT5 custom indicator that builds and displays a full Kagi chart , along with continuation-based alert signals . Part 1: Kagi Chart Construction The indicator must: Construct a proper Kagi chart structure Support: Reversal by fixed price Reversal by percentage Maintain correct: Yang (bullish thick line) Yin (bearish thin line) Shoulder (local high) Waist (local low) Draw: Yang lines (thick
Hi, I’m looking for an experienced developer to build an MT5 indicator based on the strategy outlined below. The indicator should: Identify and display entry points Plot TP1, TP2, TP3 , and Stop Loss (SL) using ATR-based calculations Run on my MT5 desktop platform Send real-time trade signals/alerts to my Telegram account If Telegram integration is not feasible, please suggest alternative methods (e.g. push
This robot is going to help me to assist my parents about their needs, it also going help me build a house and purchase my own car. Additionally, it is going to play an essential role upon my life as I will not struggle with the foods and transport for taking the trips
I am looking for a serious marketer with experience in promoting trading tools or Expert Advisors for MetaTrader 5. The product is an automated MT5 trading EA focused on Gold trading, with risk-management tools and trading filters designed to improve trade quality. For credibility, I will provide: An Investor Account for a live/demo account where the EA has been running for a while Backtest reports for the EA Clear
Gold Precision Pro 30 - 100 USD
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
Modify an existing EA 30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I am looking to get this Indicator but i don't know which indicator is it , if anyone know about it let me know , images are attached , this is used for Binary Pairs
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it

Project information

Budget
100 - 120 USD
Deadline
to 3 day(s)