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
(803)
Proyectos
1375
72%
Arbitraje
113
28% / 48%
Caducado
343
25%
Trabajando
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
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
6
Desarrollador 6
Evaluación
(1131)
Proyectos
1433
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
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
9
Desarrollador 9
Evaluación
(512)
Proyectos
773
63%
Arbitraje
33
27% / 45%
Caducado
23
3%
Trabaja
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
Trendline expert 40 - 200 USD
My project is to put my strategy on the VCrush indicator. I already have the indicator, I just need to add the entry methods, take and stop rules. There are 5 lines in total, when these lines are aligned, the robot makes the entry. Below are two images of what the buy and sell entries would look like with the lines aligned
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
J'aimerais développer mon propre indicateur sur Mt4 et Mt5. On commencerait avec une version de base qu'on améliorerait par la suite. C'est un indicateur basé sur plusieurs analyses et qui donnerait plusieurs indications. Je recherche quelqu'un qui puisse développer sur MT4 et Mt5, dans un premier temps j'aimerais le faire sur mt4 puis sur mt5. Si vous avez une expertise en pinescript c'est un plus car j'aimerais
SIM pL E MT5 INDICATOR WANTED BASED ON CUSTOM FIBONACCI LEVELS ON MAIN CHART SHOULD ANALYZE ON TIME FRAME SELECTED ON SETTING TAB ANALYSIS IS BASED ON HIGH AND LOW OF SELECTED TIMEFRAME LOOCKBACK CALCULATED IN BARS BOTTOM INDICATOR WINDOW WILL HAVE THE FOLLOWING INDICATORS RSI 2 MOVING AVARAGES LOADED ON RSI WINDOW ENVELO pS LOADED ON RSI WINDOW DETAILS OF INDICATORS WILL BE GIVEN TO SUCCESFUL A p p LICANT IMAGE OF
Hi, I am looking to purchase a pre-built trading strategy specifically tailored for trading AUXUSD. Before committing to the purchase, I require the following detailed information: 1. **Type of Trading**: - Clearly define the trading style this strategy is designed for (e.g., scalping, swing trading, day trading, position trading, etc.). - Provide an explanation of why this trading style is suitable for AUXUSD
Need a dashboard, which can monitor up to 30 selected pairs in selected time frames. It monitors AO, MACD and stochastic. In the cells of dashboard, if AO is positive in the relevant symbol/tf, it writes "UP". When one of AO is above 0 level AND Stochastic is in OS zone it writes "UPUP". When AO is above 0 and when stochastics is oversold minimum of two times,it will alert UPU2 if AO is negative below 0 in the
Fx Kidds 80 - 120 USD
Can l have a EA that can run 24/5 on gold and GBPUSD and stocks. Trilling stop loss. No expireing date. Must make 5% minimum in returns. It can take losses but it must not blow the account minimum deposit must be 35usd
Develop a robot for Mac M3 chip which can: 1) Auto copy - take and close trades 2) Minise risk 3) Scale profits 4) Ideally be able to trade in multiple markets or whichever market can bring plenty of trading opportunities. 5) Can be used on mobile (iPhone) and Mac. You can implement it on MT4 or MT5 - whichever will integrate with the robot better. You can use any programming language so long as it serves the
I am looking for an experienced MQL5 programmer to create a custom Expert Advisor (EA) or utility that connects my MT5 signal provider to Telegram. The primary objective is to forward signals from the MT5 platform to a designated Telegram channel. Requirements: The EA or utility should automatically send signals from MT5 to the Telegram channel/group. Support for customization, such as filtering signals based on
Hi here, i need an Expert who can create an Tradingview indicator that gives clear entry and exit signals kindly bid on this if you can do it I can send you a reference video

Información sobre el proyecto

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