Create Fractal Indicator with Swing Points and Market Strcuture ATR

MQL4 Индикаторы

Работа завершена

Время выполнения 19 дней
Отзыв от исполнителя
Very nice person
Отзыв от заказчика
Developer coding skills are exceptionally great, he was able to code what we want efficiently and did it perfectly without delay!

Техническое задание

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. 


Откликнулись

1
Разработчик 1
Оценка
(37)
Проекты
42
29%
Арбитраж
4
25% / 25%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(36)
Проекты
44
32%
Арбитраж
6
17% / 33%
Просрочено
8
18%
Работает
Похожие заказы
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Merge 2 ZickZack indicators to 1 indicator. Indicator 1 is a ZickZack Pointer. Indicator 2 is based on 3 level ZickZack semaphore. Indicator source codes will be provided to the selected developer
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should

Информация о проекте

Бюджет
80+ USD
Исполнителю
72 USD