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

MQL5 Indicadores

Trabalho concluído

Tempo de execução 3 dias

Termos de Referência

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.

Respondido

1
Desenvolvedor 1
Classificação
(119)
Projetos
127
41%
Arbitragem
3
33% / 67%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(225)
Projetos
284
42%
Arbitragem
15
13% / 47%
Expirado
67
24%
Livre
3
Desenvolvedor 3
Classificação
(62)
Projetos
140
46%
Arbitragem
19
42% / 16%
Expirado
32
23%
Livre
4
Desenvolvedor 4
Classificação
(45)
Projetos
59
14%
Arbitragem
31
26% / 52%
Expirado
35
59%
Livre
5
Desenvolvedor 5
Classificação
(163)
Projetos
193
48%
Arbitragem
2
50% / 50%
Expirado
1
1%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(236)
Projetos
440
26%
Arbitragem
125
21% / 57%
Expirado
96
22%
Trabalhando
8
Desenvolvedor 8
Classificação
(7)
Projetos
13
0%
Arbitragem
5
20% / 60%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(195)
Projetos
395
28%
Arbitragem
155
20% / 52%
Expirado
112
28%
Livre
10
Desenvolvedor 10
Classificação
(564)
Projetos
933
47%
Arbitragem
302
59% / 25%
Expirado
125
13%
Carregado
11
Desenvolvedor 11
Classificação
(66)
Projetos
143
34%
Arbitragem
10
10% / 60%
Expirado
26
18%
Livre
12
Desenvolvedor 12
Classificação
(24)
Projetos
34
15%
Arbitragem
2
0% / 50%
Expirado
8
24%
Livre
Pedidos semelhantes
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
I need an EA edited to make TWO main changes to conditions for how it enters trades. The EA code is written with clean code and is well commented. Will provide more info on changes in a doc in the chat
BUY AND SELL 30+ USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP

Informações sobre o projeto

Orçamento
80 - 140 USD
IVA (21%): 16.8 - 29.4 USD
Total: 96.8 - 169.4 USD
Desenvolvedor
72 - 126 USD
Prazo
de 1 para 8 dias