Create Fractal Indicator with Swing Points and Market Strcuture ATR

MQL4 Indicadores

Trabajo finalizado

Plazo de ejecución 19 días
Comentario del Ejecutor
Very nice person
Comentario del Cliente
Developer coding skills are exceptionally great, he was able to code what we want efficiently and did it perfectly without delay!

Tarea técnica

Indicator features
- Must be able to adjust lookback (max bars) in the settings to reduce lag

- Calculated on every candle close instead of every tick

 

Indicator Input settings

- Maxbars (Bars to look back into history)  [Code this input at the start of Step 1]

- Show Fractals on Chart (Enable/Disable)  [Code this input at the start of Step 1]

- Fractals (Number of bars to start counting from left and right)  [Code this input at the start of Step 1]

- Show Swing Lines on Chart (Enable/Disable)  [Code this input at the start of Step 2]

- ATR Period- ATR Multiplier (To multiply the ATR based on candle close between the previous swing points and the new swing points)  [Code this input at the start of Step 4]

- Show Market Break of Structure on Chart (Enable/Disable)  [Code this input at the start of Step 5]


Indicator description


Step 1: Create a fractal indicator from scratch

An up fractal occurs when there is a low point with one HIGHER or EQUAL low candles on each side of it.

A down fractal occurs when there is a high point with one LOWER or EQUAL low candles on each side of it.

The reason for the need to create the simple fractal indicator from scratch is because the default fractals indicator doesn’t account for candles besides with EQUAL highs and lows.


As you can see in the above example, there should be a fractal where I placed the red arrow based on our custom fractal indicator, because the candle in front has the same high.

In the event of a case of equal highs, I want the fractal to be drawn on the first candle instead of the next one or third one (in rare cases).



Step 2: Code line connecting all the fractal points subsequent fractal points

In the illustration, I made the bodies grey so that the line is more visible.


This part should be straightforward because it's just a line connecting the current fractal to the next one. However, there will be special instances whereby a special candle would contain both an up fractal

and a down fractal. Such as those highlighted below.

For these special candles connect the current line to the up fractal if the “previous fractal was a down fractal” and connect the current line to the down fractal if the “previous fractal was an up fractal”.



Step 3: Disregard series of subsequent same-direction fractals 


A series of same-direction fractals are highlighted above in the blue box.

In the event of 1 or more subsequent candles of the same direction, I want the line drawn to the lowest of a series of down fractals and the highest to the series of up fractals.

The finished result should look something like this below.


This scenario is also special whereby a series of down fractals is followed by a special single candle that contains both an up and a down fractal.

In such instances, I want the line drawn this way. The down fractal of that special candle with an up and down fractal, is not considered in the series of subsequent same-direction fractals.




Step 4: ATR Based Swings


Alright so for this step I would like for each swing leg to be the minimum current ATR of the current timeframe x ATR Multiplier (inside indicator settings).

So based on the current line already drawn, I want each swing leg to have a minimum length based on the ATR. 




Step 5: Break Of Structure


So every time a break of structure happens a single candle must break and close above or below the previous swing point.




Step 6: Create a MT5 MQL5 version of it after completing a MT4 MQL4.


In Summary
I want the code to be fresh from the start, do not use any existing indicator to start, and after completion of each step, please send me the Indicator so I could check if everything is done correctly, so as to avoid

any errors. Once I checked every step is correct, we can proceed to the subsequent steps. 


Throughout the project, if there is any doubts, I can explain to you again. 


Han respondido

1
Desarrollador 1
Evaluación
(39)
Proyectos
44
30%
Arbitraje
4
25% / 25%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(36)
Proyectos
44
32%
Arbitraje
6
17% / 33%
Caducado
8
18%
Trabaja
Solicitudes similares
Looking for an experienced developer to modify my existing TDI strategy , want to add filter for Buy and Sell Signals, Arrows are displayed on chart and what only to leave high accurate arrows Source code to be provided
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well

Información sobre el proyecto

Presupuesto
80+ USD
Para el ejecutor
72 USD