Same consecutive candle colour recognition indicator

MQL5 Indicadores

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Cliente
Excellent execution of request.
Comentario del Ejecutor
Excellent customer!

Tarea técnica

I need an indicator that will recognize if a specified number of consecutive candles are the same color and give me an alert if they are.

There will only be one input which will be the number of consecutive candles to monitor. Therefore, if I specify three candles, as soon as the last three completed candles are the same color. I should get an alert. The same is true for 4, 5, 6 etc candles as specified in the input.

To code this, you should use indexing from the current candle to make sure get the closing prices for the specified number of candles.

For example, if I specify 5 candles. the current open candle has an index of [0], the code should therefore check if the closing prices for candles of the indexes below are as per the condition below for a bullish alert:

[4] > [3] and [3] > [2] and [2] > [1] and [1] > [0]. 


the reverse is true for a bearish alert if 5 candles have been specified:

[4] < [3] and [3] < [2] and [2] < [1] and [1] < [0].

Also, an arrow should be printed if the candle in index [0], the current open candle closes whilst the condition is true. This arrow should be printed underneath the candle [0] which has just closed to become candle [1]

this computation should always be calculated from the current open candle.

I also need the indicator to print the total number of point moved by the consecutive candles from the opening of the first candle to the close of the last candle. this should be printed of the top right corner of the chart, this should be the most recent computation.

The indicator should work the same way for candles in every timeframe.

 


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(229)
Proyectos
339
49%
Arbitraje
21
5% / 33%
Caducado
24
7%
Libre
2
Desarrollador 2
Evaluación
(782)
Proyectos
1346
72%
Arbitraje
109
28% / 49%
Caducado
340
25%
Ocupado
3
Desarrollador 3
Evaluación
(173)
Proyectos
201
49%
Arbitraje
18
11% / 44%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
5
Desarrollador 5
Evaluación
(354)
Proyectos
630
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Trabaja
6
Desarrollador 6
Evaluación
(1117)
Proyectos
1419
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
7
Desarrollador 7
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
8
Desarrollador 8
Evaluación
(555)
Proyectos
922
48%
Arbitraje
300
59% / 25%
Caducado
123
13%
Trabaja
9
Desarrollador 9
Evaluación
(499)
Proyectos
749
63%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
10
Desarrollador 10
Evaluación
(19)
Proyectos
27
11%
Arbitraje
11
9% / 55%
Caducado
12
44%
Libre
11
Desarrollador 11
Evaluación
(54)
Proyectos
53
17%
Arbitraje
7
0% / 100%
Caducado
5
9%
Libre
12
Desarrollador 12
Evaluación
(7)
Proyectos
8
13%
Arbitraje
0
Caducado
1
13%
Libre
Solicitudes similares
I need you to convert this tradingview indicator (PineScript) to MT5. The indicator need to work in any time frame and as the proposed script. It need to plot the ATR bands (as you can see in the attached image) and work as the proposed routine of ATR bands, when price close above or below the bands, the bars will change color (as you can see in the script and the image attached). Instead of sending alerts of buying
"Seeking an adept developer to help realize my custom NT8 strategy. Your expertise is integral to achieving success in this project. Are you interested in teaming up for a productive collaboration? Let's discuss the details together. Thank you!"
NinjaTrader 8 indicator that plots open prices of higher time frame bars. Time frames to choose from in the properties: 15sec, 30sec, 1min, 5min, 15min, 30min, 1hr, 4hr, 1day, 1week, 1month, 1 year (or any time based periods if that would make the development easier). Ability to customize lines is needed (style, color, thickness, etc.). Also, ability to extend certain lines all the way to the right by clicking on
"Looking for a proficient developer to bring my custom NT8 strategy to life. Your expertise is pivotal for the project's success. Interested in joining forces for a fruitful collaboration? Let's delve into the specifics together. Appreciate it!"
"Seeking a skilled developer to code my custom NT8 strategy. Your expertise is crucial for this project's success. If interested, let's discuss further details and ensure a mutually beneficial collaboration. Thank you!"
I need to convert a trading view indicator to mt4. the code was copied from here: Find it here ABC Finder by Melodicfish tv search on goo gl. It is a ABC Pattern finding tool. You can adjust the "Bars Back" setting to include more or less bars in the pattern. I usually have it set to 10 or 15 these settings seem to work well on most assets. The scripts allows you to set up a trade box automatically and has a call out
Looking for a tradingview expert to quickly code a 8 lined description for me (alert based) Apply if you are a proven expert in tradingview and have time to deliver this project under 2_3 days. I'll provide the file to the expert
Hi, I need an Indicator for my EA based on the VWAP and Standard deviation bands. Best if you have it already ready / working. It can look like this: https://ninjatrader.com/futures/blogs/what-is-volume-weighted-average-price-vwap/ https://www.sr-analyst.com/page_studydetail.php?prod=TV0015 It would need to have 2 modes: 1- Anchored one (in between some given hours) - reseting each day. 2- Continous
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Firstly Indicator (1) or the first part \\ Draw a red line at the top of the zero candle _ M1 \\ Draw a blue line at the bottom of the zero _ M1 candle \\ Draw a red line at the top of the zero _ M2 candle \\ Draw a blue line at the bottom of the zero _ M2 candle \\ Draw a red line at the top of the zero candle _ M3 \\ Draw a blue line at the bottom of the zero _ M3 candle \\ Draw a red line at the top of the zero

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 1 día(s)