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
(815)
Proyectos
1395
72%
Arbitraje
115
29% / 47%
Caducado
345
25%
Trabajando
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
Hi, Expert should be Brazilian. I need the scalping ea for xauusd, usdjpy, AUDUSD, eurusd, gbpusd, nzdusd, uascad and usdchf with any strategy. But don't use buy limit in down trend and sell limit in sell trend. I need the profit with 0.5 usd minimum per trade
Hello, I am looking for an experience MQL5 coder who can help me automate my trading strategy. Since this is an advanced coding so I would appreciate if only an experienced coder reaches out. I have attached a word doc of strategy, if you think you can build it then do let me know. Thanks, Sadaquat
Grid hedging ea 30+ USD
I Need A Hedging Ea With Daily 2% of returns. I might think that ea work consistently. hedging Is The only Way To Make A Profit. That ea work in 1:200 Leverage and lot size is starting from 0.01
Project Description: I am looking for an experienced MQL5 developer to program an advanced trading robot for MetaTrader 5. This robot should integrate multiple modules for trend management, entry optimization, and risk management. It must also include an interactive dashboard and an automatic order suspension system based on volatility and economic news releases. The project requires expertise with ATR, ADX
Project Description: Mini Trading Platform - Integration with Interactive Brokers Overview: The idea is to develop a mini trading platform that serves as an intermediary between investors and Interactive Brokers . Each user will have a dedicated account within the platform, where they can access their personal investment portfolio. The platform will execute buy and sell orders automatically via Interactive Brokers
1. The idea of the trading system is as follows : markets entries are performed when the liquidity is grabbed or when a supply or demand is being touched. 2. Trend? There's no trend specified because this EA is based on liquidity and supply and demand. 3. Trading Signals : Buy Signal: EnterBuyMarket when price closes above the 5 period EMA (This EMA must be a parameter) after the liquidity has been grabbed or when a
Looking for a programmer that can adapt a range of technical indicators from Tradingview to work simultaneously for MT5. All the indicators must trigger simultaneously for a trade entry execution to be automatically entered. Considerations include the lot sizes, scaling in and out of the trade, entering and exiting the trade, setting of TP AND SL in relation to multiples (variable field) of ATR. Variable fields
my ea has no compile error but when i try to upload in mql it give me some Validation errors Modify my EA to comply with MQL5 EA Marketplace i have some Validation completed with errors in my mt5 code fix it so i can upload to my mql5 market but ,, dont change my settings
I am wanting this pinescript converted to ninjascript. Can you do it and what will it cost me? I am pretty sure it will end up being 2 indicators on the ninja side. I want it renamed to ProEdgeX for now. Will change the name later. AND I need the buy/sell signals plotted. I will want this automated at some point. I want to convert the pinescript to Ninjatrader indicator. We will discuss automation later
Apply only if you understand market structure and understand English. Pls i don’t need translators because you will end up misunderstanding my explanation while translating English to your language I don’t need time wasters like my last experience I waited for a programmer for two weeks yet he no nothing because of language issues etc I need ea that set buy limit and sell limit oders using my market structure

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)