Create Fractal Indicator with Swing Points and Market Strcuture ATR

MQL4 Indicatori

Lavoro terminato

Tempo di esecuzione 19 giorni
Feedback del dipendente
Very nice person
Feedback del cliente
Developer coding skills are exceptionally great, he was able to code what we want efficiently and did it perfectly without delay!

Specifiche

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. 


Con risposta

1
Sviluppatore 1
Valutazioni
(43)
Progetti
49
29%
Arbitraggio
4
25% / 25%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(44)
Progetti
53
38%
Arbitraggio
8
13% / 38%
In ritardo
8
15%
In elaborazione
Ordini simili
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
MT5 Indicator SMC 30 - 100 USD
Hello, I would like to clarify something before we proceed. I already have a base code prepared for the indicator. However, the code is not the final version and it still requires professional refinement, debugging, and optimization. Because of this, I am specifically looking for a highly experienced developer who can understand the full logic and structure of the system and improve it properly. Before I send you the
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
SMC Price Action Pro 30 - 100 USD
Hello, I have a source code for an MT5 indicator that is open-source and belongs to me. However, it still requires professional improvements and some corrections. At the moment the indicator does not work as expected and there are several issues in the logic and performance that need to be fixed. Because of this, I am looking for a highly experienced MT5 developer who is comfortable working with existing code
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
Salary ₹25,000 – ₹75,000 per month (based on capability, not years) Performance bonuses based on execution quality & system edge Project-based incentives for high-impact deliveries Annual bonus for consistent performers Perks & Benefits 4 months leave/year (designed for deep work cycles) 15 casual leaves Work on real trading engines, not basic bots Qualification 2–5+ years in MQL5 / MT5 development (preferred) Must
I am looking for an experienced MQL5 developer to create a custom technical indicator for MetaTrader 5. The indicator should combine Supertrend logic with Support/Resistance pullback levels to generate high-probability entry signals. 1. Core Logic The indicator must follow a two-step confirmation process: Trend Identification: Use the Supertrend indicator to determine the primary trend. Entry Signal (The
Hello, I am looking for a highly experienced developer to build a professional Smart Money Concepts indicator for TradingView using Pine Script . ⚠️ Platform Requirement This indicator must be developed in: Pine Script (TradingView) Compatible with the latest Pine Script version (v5 or newer) ❌ NOT for MT4 / MT5 ❌ NOT MQL5 ❌ NOT any other platform ⚠️ Important I do NOT want basic or noisy signals. I only want

Informazioni sul progetto

Budget
80+ USD