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

MQL4 专家

指定

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!!

 

 


附加的文件:

反馈

1
开发者 1
等级
(782)
项目
1346
72%
仲裁
109
28% / 49%
逾期
340
25%
繁忙
2
开发者 2
等级
(69)
项目
93
34%
仲裁
10
40% / 30%
逾期
5
5%
空闲
3
开发者 3
等级
(7)
项目
13
0%
仲裁
5
20% / 60%
逾期
0
空闲
4
开发者 4
等级
(277)
项目
334
55%
仲裁
14
36% / 29%
逾期
1
0%
空闲
相似订单
Please I need a profitable EA with any of the following criteria; Hedge Trading Hedging trades is permitted however, hedging separate accounts against each other (known as Wash Trading) is not permitted and is a direct violation of the OnlyFunds’ Terms and Conditions. Wash trading is illegal and considered to be fraudulent, as it undermines the integrity of financial markets. Swing Trading Swing trading is
I have an EA that has a nasty drawdown but otherwise is quite profitable. I am looking for a developer who can improve the drawdown by closing or hedging the older open orders. You'll need to supply a demo showing that you've solved this problem rather than just claiming that you can fix it
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the indicator is based upon some trend following rules and the indicator should be able to send out all types of alerts.i will need demonstration...thank you
Looking for a developer of profitable EA tested for over 2 or more years time history of profits with investors read me only access as proof of usage. MT4 or MT5
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I am in search of a skilled robot developer to craft a Martingale with Hedge strategy algorithm. The ideal candidate will possess deep expertise in algorithmic trading, proficiency in programming languages, and a keen understanding of financial markets. The role entails designing and implementing an automated system capable of effectively executing the Martingale strategy while integrating a hedge mechanism to manage
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask.. Only
MA Crossover EA 30+ USD
I need someone to create an MA crossover EA. This program should be able to trade the crosses. We would be using the MA indicators to make decisions about buying and selling stocks or other assets. The MA crossover would help me invest my money more effectively by automatically executing trades based on these indicators. If you can create this program, please let me know as I am interested in working with you

项目信息

预算
60 - 120 USD
VAT (21%): 12.6 - 25.2 USD
总计: 72.6 - 145.2 USD
开发人员
54 - 108 USD
截止日期
 3  8 天