Support and resistance indicator based on x-bars fractals

MQL5 Indicateurs

Spécifications

Inputs being:

  1. Number of bars to the left of fractal
  2. Number of bars to the right of fractal
  3. Number of bars we look back from the current bar (e.g., 30)
  4. Number of most recent up (or down) fractals we take into account (e.g., 3) in those number of bars (third input)
  5. Most recent fractals' distance from each other, can be either fixed percentage difference between them or automatic based on another indicator (stdDev or other)
  6. Draw resistance at highest fractal value OR at high of candle associated with highest fractal value in most recent fractals taken into account (same applies for supports, in reverse)

Let's say we have these inputs:

  • 2
  • 2
  • 30
  • 3
  • Fixed 0.05%
  • Highest fractal value

This means that if in the last 30 bars, the last 3 or more down fractals (with settings 2 left, 2 right) are no more than 0.05% apart from each other, we draw a resistance at fractal value.

Support or resistance needs to be finite when one or more of these conditions are met:

  • A new support is formed due to new criteria met; then the old one does not continue but stays historically drawn at the moment it was valid (same goes for resistance, of course).
  • Prices went too far from the support or resistance. This criterion is important because we aim to find weak support and resistance, those being tested again and again in a short amount of time, showing potential explosive move incoming either from breakout or failed breakout. We have to define what and how to implement the "too far" criteria.

They need to be displayed in colored dotted lines, discreet but present.

It will be used in various EAs for catching turning points in the market so it needs to be a non-repainting, robust, and reliable indicator.


*Note:

For input number 5, I am open to suggestions for a way to automatically (via indicator or other) get the appropriate distance from fractals in order for the supports and resistances to be accurate.

The x-bar fractals indicator is provided to you for easier programming.

Dossiers :

Répondu

1
Développeur 1
Évaluation
(37)
Projets
49
37%
Arbitrage
0
En retard
0
Gratuit
2
Développeur 2
Évaluation
(8)
Projets
18
17%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(1)
Projets
3
0%
Arbitrage
3
33% / 0%
En retard
0
Travail
4
Développeur 4
Évaluation
(3)
Projets
5
0%
Arbitrage
0
En retard
1
20%
Gratuit
5
Développeur 5
Évaluation
(42)
Projets
62
8%
Arbitrage
12
58% / 42%
En retard
1
2%
Gratuit
6
Développeur 6
Évaluation
(6)
Projets
10
10%
Arbitrage
8
0% / 88%
En retard
1
10%
Gratuit
Commandes similaires
I have a robot that opens and closes trades based on some indicators. I need an adjustment for that robot to open less trades at a time. What it does is when some requierements met it opens trades every single candlestick which makes it hard to work in range graphics. the change should make it open 5 trades at max and open additional ones when it closes one
Preciso de um indicador "Mostra Luco" ou "Show Profit", idêntico ao da imagem. A diferença é que preciso para Metatrader 5, enquanto oque possuo é para Metatrader 4. Caso precise do arquivo MT4 como base posso fornecer, mas creio que seja código fechado // I need a "Show Profit" indicator, identical to the one in the image. The difference is that I need it for MetaTrader 5, while the one I currently have is for
Pls the filter rsi 14 a above level 50 and moving average above 50 apply on higher time frame than the bot current time frame. PLS CHECK THE FILE BEFORE EVEN CHAT ME . PLS DONT CHAT ME IF YOU DONT check the screenshot file
Pls I want the programmer that do 100% programming and not a programmer that is a forex trader but 100% a programmer Pls check the file on how to modify the multiplier of the bot
Hello...its my first project on mql5 community, I have a complex heavy indicator which is made by another coder before the issue with the code is if i open a chart and run the indicator, then after a while i open new chart the same as before and run indicator with the same settings on new chart , the the recent signals on new chart is diffrent from the chart which was opened before!!! the strategy of this indicator
1-matrix_simple_5 is an EA but it does not work. I want it to be made working and also translated into mt5 form. 2- aycem_volume_change_2, aycem_price_change_2 and aycem_count_change_2 indicators do not work efficiently. I want them to be corrected and also rewritten in mt5 language. 3-It is important to preserve the main structures and defined functions during reorganization
i need an expert who has experience and can help me with my project, I want to extract a hidden source code (pine script) from an Tradingview Indicator. and i need it to be done as soon as possible, If you are an expert on this field kindly comments
I'm looking for someone who can translate me few indicators to MT4 from tradingview. I'll share more details in private to discuss further. This isn't a one time job, if everything goes great, I have other projects
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I'm looking for an experienced programmer who can extract hidden Pine Script source code from a TradingView indicator. This indicator is essential to my trading strategy, and I need the code to customize it further. If you have a strong background in Pine Script and understand TradingView’s architecture, let’s work together to unlock this code

Informations sur le projet

Budget
30 - 60 USD

Client

Commandes passées1
Nombre d'arbitrages0