Calculation of scores of support / resistance based on 3 instances of ZZ and FIBO levels

MQL4 Asesores Expertos

Tarea técnica

I need the code for an EA that creates a system to estimate the strength of the resistance/support points based on 3 instances of the ZZ Swing points and their FIBO retracement levels.

See also the ZIP archive attached!!

Important note: the code needs to be very well commented, at every step, so that it is easy to follow and verify. This code is for MT4.

The code needs to be structured, creating and using functions for operating repetitive commands in order to keep the minimize the lines of code.

 

Phase 1:importing the ZZ points and the FIBO levels

The developer does not need to create ZZ and FIBO levels, as these are already calculated by an indicator which I already own and which I will provide to the developer.

The EA needs to use 3 instances of this indicator, which is based on ZZ Fast Indicator + FIBO retracement levels (with 3 different values of the deviation channel).

The default channel deviation levels of the 3 instances of ZZ Fast we will use will be:

Channel deviation 0.1 applied on H1 timeframe

Channel deviation 0.5 applied on H4 timeframe

Channel deviation 1.5 applied on D1 timeframe

The levels of the channel deviation will be editable from the code and the EA’s properties (so they need to be set up as input variables).

 

Phase 2: calculating the strength of resistance/support points which are in the proximity

The strength of the support/resistance will be calculated according to the scheme in the attached Excel spreadsheet (inside the ZIP archive). This spreadsheet provides the scores to be attributed in each type of situation.

 

Phase 3:establishing the perimeters of resistance/support and displaying the score based on current price

We will have 3 variables called “SurroundingPerimeterSize” (this is the prefix), one for each instance of the ZZ, that will store the distances around the points of resistance that will form the areas of resistance/support. These should be input variables, so that I can change their values in the EA’s properties.

For example:

ZZ Fast Channel depth: 0.1      Surrounding perimeter size for ZZ1: 10pips

ZZ Fast Channel depth: 0.5       Surrounding perimeter size for ZZ2: 25pips

ZZ Fast Channel depth: 1.5       Surrounding perimeter size for ZZ3: 100pips

 

The code will store in a variable and should display on the chart (and print in the journal) the current scores of resistance/support strength (based on the current price).

Examples:

        The score will be 0 if the current price is outside of any resistance/support perimeters.

        The score will be 5 if the current price is at less than 10 pips (see Excel) from the closest ZZ1 Point with Channel depth of 0.1.

        The score will be 12 if the current price is at less than 25 pips (see Excel) from the point where FIBO retracement of the ZZ2 with channel deviation of 0.5 (which is placed on H4) will be 38%

        The score will be 40 if the current price is at less than 40 pips (see Excel) from the point where FIBO retracement of the ZZ3 with channel deviation of 1.5 (which is placed on D1) will be 50%.

Etc.

There will be 3 scores stored in 3 separate variables:

-          one for Support Score

-          one for Resistance Score

-          one for the net score SupportScore-ResistanceScore

These scores need to be updated on every tick when displaying on the chart and on every candle when printing in the journal (so that we don’t overload the journal).

 

Phase 4: calculating, storing and displaying the current distances to the nearest resistance and support points

The code should use 6 variables (3 for support and 3 for resistance) in which to calculate the distances to the nearest support and resistance points for each of the 3 instances of the ZZ. These should be input variables, so that I can change their values in the EA’s properties.

This information should be displayed on the chart and printed in the journal. For example:

“Distance to the nearest resistance on ZZ Depth 0.1 is 35 pips”

“Distance to the nearest support on ZZ Depth 0.5 is 75 pips”

“Distance to the nearest resistance on ZZ Depth 1.5 is 150 pips”

Etc.

 

These distances need to be updated on every tick when displaying on the chart and on every candle when printing in the journal (so that we don’t overload the journal).

 See also the ZIP archive attached!!

 

 


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(832)
Proyectos
1418
72%
Arbitraje
116
28% / 47%
Caducado
350
25%
Trabaja
2
Desarrollador 2
Evaluación
(69)
Proyectos
93
34%
Arbitraje
10
40% / 30%
Caducado
5
5%
Libre
3
Desarrollador 3
Evaluación
(7)
Proyectos
13
0%
Arbitraje
5
20% / 60%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
Solicitudes similares
I need to purchase a Bot with it's source code that is based on combined SMC+wyckoff theory+ price actions+ macroeconomics+market sessions strategies the bot must be plug and play it must have powerful news filters and equity protection work on all kind of assets with it's parameters and which is favourable for propfirm trading accounts Provide a proof a backetesting video at least for past few months
Ea converter 30 - 80 USD
I want an EA that could work on a mobile an laptop at the same time... So i need a programmer who already has one to sell me an i need a demo before pachase
I previously requested this EA, but it was not delivered. I had to file for arbitration, and I do not want to waste time again. I need a serious and experienced developer who can provide a working demo within 1 day before full delivery. EA Logic: Range Definition: The EA creates a range based on the highest high and lowest low within a set time (e.g., 00:00 - 02:00). Once the range is set, the EA waits for a
Hi, I am looking to purchase an existing EA that is working profitably on live account.Please comment with the basic information of the ea and the past real account history ( at least 1 year) .Please only respond if you have an existing working EA that is working, im not developing a new ea. The EA have to be in scalping mode. Im looking to buy the EA together with the source code
Hi, im looking to purchase an existing EA that is working profitably on live account. Please only respond if you have an existing working EA that is working, im not developing a new ea. The EA have to be in scalping mode and best if it trade on Gold, if not currency pairs is fine too. Im looking to buy the EA together with the source code
Guys this EA suppose to trade base on retirement or pullback but and take trade after the price crosses fast moving average and wait for bullish or bearish confirmation to take a trade please help me.fix this and and this who is selected must be able I need to change two or three things like news filter and time filter also the EA must display time frame or the pair I'm trading horizontal from 5M to 4 hours at the
Pivot Points E. A. 30 - 100 USD
I need one small E. A with these few numbers of inputs. 1. Starting Date ( Working days for EA ) 2. Working Till Date 3. Daily Starting Time Of EA 4. Daily End Time Of EA. 5. Pivot Point Auto Detection. True / False ( If we set it true, EA will put current candle opening price automatically, if we set it false, we will put value manually). This pivot point will be only for reference. Not for trade. 6. Pivot Point
Inputs: ---------- Trading Days : Daily, Monday, Tuesday ,Wednesday, Thursday, Friday.(Optional) Start Time : End Time : On/ Off End Time : Stop loss : Lot size : Take profit : on / off Take profit : Total take profit : on / off Total take profit : Stop Loss : Daily Trading
Boss bot 30+ USD
Best bot this is the best bot profitable platform and signals and analytics to the platform of trading and earn profits from the company platform to earn profits from your investment platform and earn profit from your investment
Building a new EA 50 - 100 USD
Hello, We have generated MQL5 code for an EA from chat GBT, we now need it built into an expert advisor. Code is attached, Rob. 🚀 Neu bei XMLM – Der automatisierte Trading-Bot für XAUUSD (Gold) im M1-Chart! 🚀 Erlebe die Power automatisierten Handels mit unserem neuesten Expert Advisor, der speziell für schnelle, präzise und profitable Trades entwickelt wurde. Der XMLM-Trading-Bot kombiniert drei bewährte

Información sobre el proyecto

Presupuesto
60 - 120 USD
IVA (21%): 12.6 - 25.2 USD
Total: 72.6 - 145.2 USD
Para el ejecutor
54 - 108 USD
Plazo límite de ejecución
de 3 a 8 día(s)