Fixing Fib levels and trendlines

MQL5 Индикаторы Эксперты

Техническое задание

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



Откликнулись

1
Разработчик 1
Оценка
(513)
Проекты
776
63%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
2
Разработчик 2
Оценка
(180)
Проекты
195
46%
Арбитраж
0
Просрочено
5
3%
Свободен
Похожие заказы
I have created a Timeframe Panel indicator in mql5. The indicator scans for all open charts on the platform and it creates a panel that contains all the open symbols and next to it it contains all the timeframes for each symbol. When i attach the indicator to 4-5 charts then it makes many times the chart to freeze and the price feed of the chart stops. I want an experienced mql5 to make the indicator not to freeze
Here’s a rephrased version with more than 30 words: "Hello, I'm new here and looking for assistance in coding my trading strategies on TradingView. I need someone experienced with Pine Script to help me create scripts for my strategies. Please let me know if you're able to assist with this project. Thank you!" 4o
Please I am new here I need someone to help me code my strategies on tradingviews. I need pine script for my tradingview. Please let know if you can help me on this project. thanks
My strategy I’m looking to turn into code. Trading Instrument - Crude Oil Futures (CL) Chart and Timeframe - 30-second chart Entry Setup 1. Time Focus on the first 30-second candle after 11:00: 00 AM New York time. (11:00: 00 candle) 2. Candle Size Limit : Skip the trade if the first candle is greater than 10 points. 3. Entry Orders - Place stop orders at the high and low of the first 30-second candle after
I need to create an EA based on my own strategy that actually is a little bit different from most of the usual EA. This because it use an indicator but the power of the system is just because it can shows target price by designing trendline on the price chart in a unusual way. A friend of mine tried to create it on MT4 platform but, in the end, he realized that this platform has big limits when the program lines
I've a EA with follow logic. strategy is simple using ema, supertrend and "head and shoulder" indicators. simply put when price closes below ema and the supertrend is red then we enter short .strategy must recognize that there was a previous cycle of long trend with a head and shoulder pattern of long before we enter the short. the opposite is for long entries. max long trades: ex: 3-If long trades are made 3 times
1. ............ PLEASE READ FULLY................................. I'll ONLY RESPOND TO PEOPLE WHO READ MY MESSAGE FULLY... SO A HUMBLE REQUEST 2. PLEASE DO NOT BID, IF YOU'VE ARBITRAGE OF MORE THAN 5% OR YOU'VE NOT DONE ANY PROJECTS BEFORE. 3. PLEASE DO NOT BID, WITHOUT READING, AND ONLY, IF YOU CAN COMMUNICATE ACTIVELY AND FINISH THE PROJECT IN 2 DAYS OR EARLY. Need an indicator for mt5, that can run on multiple
Hello, Looking for someone experienced to create indicators. 1. Will be a MA step indicator, visually it has to look like bands, so each band will be an MA. Like picture below. 2. Reversal Indicator with overall trend indicator using perhaps SMA, lets discuss, should look like this 3. Volume Oscillator. SMA to calculate momentum of the market, has upper and lower threshold values
REQUEST: Need to change the calculation to only historical bars, from [Last bar -1]. 1. No calculation OnTicks 2. No calculation of the Last Current Bar 3. The chart values in real time must be exactly the same refreshing the indicator. 4. Must be very fast in EA as the calculation will be only OnBar. 5. Last bar values must be ZERO (or copying same value of the previous bar). MORE INFO: It use several native
Hey there! I’m looking for a talented NinjaTrader programmer to partner with on some exciting projects. If you have a knack for NinjaScript and a passion for trading tech, let’s team up! What You Can Expect: A friendly collaboration on diverse projects Fair pay—50/50 split on all earnings An opportunity to dive deep into innovative trading strategies What I’m Hoping You Bring: Experience with NinjaTrader and

Информация о проекте

Бюджет
100 - 120 USD
Сроки выполнения
до 3 дн.

Заказчик

(12)
Размещено заказов21
Количество арбитражей0