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

MQL5 Indicatori

Lavoro terminato

Tempo di esecuzione 3 giorni

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(119)
Progetti
127
41%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(225)
Progetti
284
42%
Arbitraggio
15
13% / 47%
In ritardo
67
24%
Gratuito
3
Sviluppatore 3
Valutazioni
(62)
Progetti
140
46%
Arbitraggio
19
42% / 16%
In ritardo
32
23%
Gratuito
4
Sviluppatore 4
Valutazioni
(45)
Progetti
59
14%
Arbitraggio
31
26% / 52%
In ritardo
35
59%
Gratuito
5
Sviluppatore 5
Valutazioni
(163)
Progetti
193
48%
Arbitraggio
2
50% / 50%
In ritardo
1
1%
Gratuito
6
Sviluppatore 6
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(236)
Progetti
440
26%
Arbitraggio
125
21% / 57%
In ritardo
96
22%
In elaborazione
8
Sviluppatore 8
Valutazioni
(7)
Progetti
13
0%
Arbitraggio
5
20% / 60%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
10
Sviluppatore 10
Valutazioni
(563)
Progetti
932
47%
Arbitraggio
301
59% / 25%
In ritardo
124
13%
In elaborazione
11
Sviluppatore 11
Valutazioni
(66)
Progetti
143
34%
Arbitraggio
10
10% / 60%
In ritardo
26
18%
Gratuito
12
Sviluppatore 12
Valutazioni
(23)
Progetti
34
15%
Arbitraggio
2
0% / 50%
In ritardo
8
24%
Gratuito
Ordini simili
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
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

Informazioni sul progetto

Budget
80 - 140 USD
IVA (21%): 16.8 - 29.4 USD
Totale: 96.8 - 169.4 USD
Per lo sviluppatore
72 - 126 USD
Scadenze
da 1 a 8 giorno(i)