Same consecutive candle colour recognition indicator

MQL5 Indicadores

Trabalho concluído

Tempo de execução 1 dia
Comentário do cliente
Excellent execution of request.
Comentário do desenvolvedor
Excellent customer!

Termos de Referência

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.

 


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(229)
Projetos
339
49%
Arbitragem
21
5% / 33%
Expirado
24
7%
Livre
2
Desenvolvedor 2
Classificação
(782)
Projetos
1346
72%
Arbitragem
109
28% / 49%
Expirado
340
25%
Ocupado
3
Desenvolvedor 3
Classificação
(173)
Projetos
201
49%
Arbitragem
18
11% / 44%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(769)
Projetos
1033
44%
Arbitragem
50
8% / 50%
Expirado
117
11%
Livre
5
Desenvolvedor 5
Classificação
(354)
Projetos
630
26%
Arbitragem
89
73% / 13%
Expirado
12
2%
Trabalhando
6
Desenvolvedor 6
Classificação
(1117)
Projetos
1419
62%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
7
Desenvolvedor 7
Classificação
(195)
Projetos
395
28%
Arbitragem
155
20% / 52%
Expirado
112
28%
Livre
8
Desenvolvedor 8
Classificação
(555)
Projetos
922
48%
Arbitragem
300
59% / 25%
Expirado
123
13%
Trabalhando
9
Desenvolvedor 9
Classificação
(499)
Projetos
750
63%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
10
Desenvolvedor 10
Classificação
(19)
Projetos
27
11%
Arbitragem
11
9% / 55%
Expirado
12
44%
Livre
11
Desenvolvedor 11
Classificação
(54)
Projetos
53
17%
Arbitragem
7
0% / 100%
Expirado
5
9%
Livre
12
Desenvolvedor 12
Classificação
(7)
Projetos
8
13%
Arbitragem
0
Expirado
1
13%
Livre
Pedidos semelhantes
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask.. Only
I need a trading indicator that will give 1 minute and 5 minute accurate signals for only EURUSD pair. the indicator is to be used for Binary options so it has to perform exceptionally
the idea of the bot is to trade based on trend. we are going to use 5 different sma( smoothed moving average). they are sma7,sma20, sma50, sma100 and sma200. the bot will look for only buy trades when all the smas are facing up. the bot will look for only sell trades when all the smas are facing down. when we are in a up trend, the bot will look to enter trades on bullish candles that create fvg. if there is an fvg
Hello there, all i need is to make an RSI indicator to give alerts when it reaches a certain levels, Level 99.9,98, 4 and 0.1. Kindly bid to this post now if this what you can complete
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
Hello , I want Machine Learning: Lorentzian Classification (TradingView) indicator to MQL5 indicator.Which is machine learning indicator . Same To Same. And same inputs in it. I want it As soon As possible
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
Crpyto Indicators 75 - 100 USD
2 Indicators: One for BTC/USD and one for ETH/USD Create indicators which plot the MVRV of Bitcoin and Ethereum as a line, standardized by a Z Score Essentially Zscore = ( MC - MCRealized ) / STD ( MC(number of bars ) Indicators should work on the daily timeframe at a minimum, and smaller ones if possible. Indicators should be able to work with future data as well, meaning it can download what's necessary to then

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
para 1 dias