Need Code to store in arrays the values of ZZ Points and their FIBO retracement levels

MQL5 Indicators

Job finished

Execution time 3 days

Specification

I need a developer to write to create and deliver me the source code for a standard Zig Zag indicator which stores the last 10 Zig Zag High and 10 Zig Zag Lows into 2 arrays and calculates the FIBO ratios between the ZZ Points (and stores those values into arrays as well).

I need to be able to integrate this code as a function into an EA I am working on and which will function in MT4. For that, I need be able to to easily extract the values from this indicator/function.

Note: the code should be well explained, with commentaries inserted at every step to allow me to follow and verify the logic.


Phase 1 calculation and storing of ZZ High and Lows:

The information concerning the prices and the candles of the previous Zig Zags, as well as the current Extremum 0, should be stored.


The information should be stored in arrays like this:


Prices of the Zig Zag points:

ZigZagHighCandlesArray[Price1,Price2,Price3,etc.]

ZigZagLowCandlesArray[Price1,Price2,Price3,etc.]


Candles of the ZigZag points:

ZigZagHighPricesArray[CandleOfZigZagHigh1, CandleOfZigZagHigh2, CandleOfZigZagHigh3,etc.]

ZigZagLowPricesArray[CandleOfZigZagLow1, CandleOfZigZagLow2, CandleOfZigZagLow3,etc.]


Note: current candle is 0, the past candle is 1, etc. 

 

Current Extremum 0 (which is the one that repaints) will not be placed into these arrays (until Extremum0 becomes an actual ZZ Swing point and then the value goes into the array at position 0), but will be retained into a variable of its own.

The calculations should be done On Init for the past history and then once per candle/timeframe of my choice.


Notes:

Graphical display: I need to have an easy way in the code to choose to display the indicator on the chart or not, so that I can turn it off and just get the result of the calculations (by printing them in the journal).

I need to be able to modify in the code the values of the ZZ (depth,deviation, backstep), as well as the timeframes it applies to.

The values in the arrays will be printed in the journal in an easy-to-understand way at each new candle, so that I can verify.

 

Phase 2: Fibonacci retracements based on ZZ


In phase 2, I need the code to calculate the FIBO retracement levels between the ZZ High and ZZ Lows and store them into 2 arrays.

One array should store the values of FIBO retracement of which the final point of the retracement is a ZZ High, and the other array should store the FIBO retracement levels of which the final point of the retracement is a ZZ Low.

So the arrays should look like this:

RetracementsToZigZagHighAsFinalPoint[23,38,44,120,etc]  (the values inside are the % resulted from the calculation).

RetracementsToZigZagLowAsFinalPoint[12,140,66,120,etc]

The current retracement level between the Last ZigZags of which the final point is Extremum 0 should be stored into a separate variable of its own (until Extremum0 becomes an actual ZZ Swing point and then the value goes into the array at position 0).

The calculations should be done On Init for the past history and then once per candle/timeframe of my choice.

The values in the arrays will be printed in the journal in an easy-to-understand way at each new candle, so that I can verify.

Responded

1
Developer 1
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
2
Developer 2
Rating
(225)
Projects
284
42%
Arbitration
15
13% / 47%
Overdue
67
24%
Free
3
Developer 3
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
4
Developer 4
Rating
(45)
Projects
59
14%
Arbitration
31
26% / 52%
Overdue
35
59%
Free
5
Developer 5
Rating
(163)
Projects
193
48%
Arbitration
2
50% / 50%
Overdue
1
1%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(236)
Projects
440
26%
Arbitration
125
21% / 57%
Overdue
96
22%
Working
8
Developer 8
Rating
(7)
Projects
13
0%
Arbitration
5
20% / 60%
Overdue
0
Free
9
Developer 9
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
10
Developer 10
Rating
(563)
Projects
932
47%
Arbitration
301
59% / 25%
Overdue
124
13%
Working
11
Developer 11
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
12
Developer 12
Rating
(23)
Projects
34
15%
Arbitration
2
0% / 50%
Overdue
8
24%
Free
Similar orders
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Merge 2 ZickZack indicators to 1 indicator. Indicator 1 is a ZickZack Pointer. Indicator 2 is based on 3 level ZickZack semaphore. Indicator source codes will be provided to the selected developer
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing

Project information

Budget
80 - 140 USD
VAT (21%): 16.8 - 29.4 USD
Total: 96.8 - 169.4 USD
For the developer
72 - 126 USD
Deadline
from 1 to 8 day(s)