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
(833)
Proyectos
1419
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
Spiderjoker 30+ USD
Developing Ea robot for market prediction before 3 hour your results will be positive.working hard to bring trading experience in better way to gain profit like profitional trader on finacial market
looking to convert my TradingView Pine Script to Quantower with full accuracy and clean code structure. I need a specialize in strategy and indicator conversions, making sure the logic, visuals, and performance remain fully intact during the transition
Strategy Specification for BTCUSD Platform MT4 Input Variables Variable Name Format Description Trade_Time hh:mm Time to place pending orders Start_Time hh:mm Start of range detection window End_Time hh:mm End of range detection window Gap_Divider int Divides the range (Gap) to calculate Buffer Risk_Per_Trade double Risk per trade in USD TP_Factor double Multiplier for Take Profit distance SL_Factor double
I am looking for anyone with a copier from mt4 or mt5 when my existing ea is on it. i keep my main ea on mt4 and it gets copier to my accounts on mt5 then i need the copier to copy from there and put it on discord
I am searching for a skilled and ambitious programmer who is not just looking for another paid task, but for a business partnership based on trust, shared vision, and long-term goals . I bring over 13 years of experience in Forex and Futures trading , deep knowledge of trading psychology, technical analysis (especially Volume Spread Analysis), and chart pattern recognition. I’ve walked the path – with all its wins
Hi there! I'm looking for a trade copier for cTrader. It should support basic actions like Open Position , Close Position , and Modify Position . I also need options for fixed lot size and auto lot sizing based on account balance or equity. Additionally, I'd like to have the ability to use a percentage of the master account's lot size—for example, if the master opens a 0.50 lot trade, the slave should open 0.25 lots
Sure! Here's a professional and engaging description you can use: Description: Want to trade a funded prop firm account without paying for challenges? I'm offering a unique deal — you will create a fully customized Expert Advisor (EA) tailored to my trading strategy, risk management style, and trading goals. In exchange, I'll provide you access to a funded prop firm account (once passed), and we both win! What I
Hi, I have a code to adjust in MT5. I will send you the original code, and you'll have to translate it to Forex with the instructions. so that from MT5 I can then connect it to a funding account, for example
Good day. I am looking for a developer who has experience with developing automated trading systems in the programming language here for MT5 and also for Tradingview. In Tradingview it works differently than in MT5, via aletry/webhooks and the like = this needs to be automated as seamlessly as possible to signals from the strategy. I have one of my own strategies that I want to use in both platforms and I honestly
Trading robot name: FX Terminator *General Settings* >Broker : AccuMarket-Live 1. *Trading Instruments*: - XAU/USD (Gold) - US30 (US Dow Jones 30) - USTECH (US NASDAQ 100) - GER30 (German DAX 30) - GBP/USD (British Pound/US Dollar) - EUR/USD (Euro/US Dollar) - XAU/USD MICRO -US30 MICRO -USTECH MICRO 2. *Timeframe*: 30-minute chart (or 1-hour chart) 3. *Account Type*: Standard account (1:500 leverage)

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)