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

MQL5 Göstergeler

İş tamamlandı

Tamamlanma süresi: 3 gün

İş Gereklilikleri

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(119)
Projeler
127
41%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(225)
Projeler
284
42%
Arabuluculuk
15
13% / 47%
Süresi dolmuş
67
24%
Serbest
3
Geliştirici 3
Derecelendirme
(62)
Projeler
140
46%
Arabuluculuk
19
42% / 16%
Süresi dolmuş
32
23%
Serbest
4
Geliştirici 4
Derecelendirme
(45)
Projeler
59
14%
Arabuluculuk
31
26% / 52%
Süresi dolmuş
35
59%
Serbest
5
Geliştirici 5
Derecelendirme
(163)
Projeler
193
48%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
1
1%
Serbest
6
Geliştirici 6
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(236)
Projeler
440
26%
Arabuluculuk
125
21% / 57%
Süresi dolmuş
96
22%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(7)
Projeler
13
0%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(195)
Projeler
395
28%
Arabuluculuk
155
20% / 52%
Süresi dolmuş
112
28%
Serbest
10
Geliştirici 10
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
302
59% / 25%
Süresi dolmuş
124
13%
Yüklendi
11
Geliştirici 11
Derecelendirme
(66)
Projeler
143
34%
Arabuluculuk
10
10% / 60%
Süresi dolmuş
26
18%
Serbest
12
Geliştirici 12
Derecelendirme
(23)
Projeler
34
15%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
8
24%
Serbest
Benzer siparişler
Looking for an experienced developer to modify my existing TDI strategy , want to add filter for Buy and Sell Signals, Arrows are displayed on chart and what only to leave high accurate arrows Source code to be provided
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well

Proje bilgisi

Bütçe
80 - 140 USD
KDV (21%): 16.8 - 29.4 USD
Toplam: 96.8 - 169.4 USD
Geliştirici için
72 - 126 USD
Son teslim tarihi
from 1 to 8 gün