Same consecutive candle colour recognition indicator

MQL5 Indicateurs

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Excellent execution of request.
Commentaires de l'employé
Excellent customer!

Spécifications

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.

 


Dossiers :

Répondu

1
Développeur 1
Évaluation
(229)
Projets
339
49%
Arbitrage
21
5% / 33%
En retard
24
7%
Gratuit
2
Développeur 2
Évaluation
(786)
Projets
1352
72%
Arbitrage
109
28% / 49%
En retard
339
25%
Chargé
3
Développeur 3
Évaluation
(173)
Projets
201
49%
Arbitrage
18
11% / 44%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(769)
Projets
1033
44%
Arbitrage
50
8% / 50%
En retard
117
11%
Gratuit
5
Développeur 5
Évaluation
(356)
Projets
632
26%
Arbitrage
89
73% / 13%
En retard
12
2%
Gratuit
6
Développeur 6
Évaluation
(1117)
Projets
1419
62%
Arbitrage
21
57% / 10%
En retard
43
3%
Travail
7
Développeur 7
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
8
Développeur 8
Évaluation
(555)
Projets
922
48%
Arbitrage
300
59% / 25%
En retard
123
13%
Chargé
9
Développeur 9
Évaluation
(501)
Projets
752
63%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
10
Développeur 10
Évaluation
(19)
Projets
27
11%
Arbitrage
11
9% / 55%
En retard
12
44%
Gratuit
11
Développeur 11
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
12
Développeur 12
Évaluation
(7)
Projets
8
13%
Arbitrage
0
En retard
1
13%
Gratuit
Commandes similaires
I need help with the function iMAOnArrayMQL4 from the link https://www.mql5.com/en/articles/81 but exactly when I use MODE_EMA because when I use SMA it works with any array but when I use the exponential it is not graphed in the chart In the attached photo of the chart it is what it looks like when it is with MODE_EMA, as I mentioned when you use MODE_SMA it works So what I basically need is a function like
I have an indicator that gives buy and sell signals and has a panel that shows the statistics. I would like to add three lines as profit virtual and a stoploss line that could be modified in pips and that would be reflected in the statistics
Pappa sefume 30 - 300 USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Modify of my mql5 ea. 30 - 100 USD
Hello. I need to modify my current ea on MT5. At the moment current strategy is based on breakout asian Session box and retest of this box, then ea placing trade. I need to add another function that ea will wait for breakout asian box and wait for pullback and then place trade. Pullback option need to be Set up on how many pips is pullback valid. More info in photo. Also few other small modification. One photo is
Hello here I am in need of an NT8 developer which can create a custom strategy for NT8 Kindly bid on this if you are an Expert in Ninjatrader Thank you
hello i need an indicator that send an alert for MT4 when my conditions on multi timeframe are met (support and resistance) i will consider the best price/quality ratio i will more discuss on message, if you can also provide general draft/image it will very appreciated
Hello, I am a trader but I find it difficult to have a profitable EA because I don't have a profiting strategy for developer to develop on, so I need a professional developer that also have experience in trading or also trade to quote a profitable strategy for me and also code the strategy to an automated EA base on my requirement such as trading pairs etc. please apply if you are capable in handling this project for
I'm only seeking experienced developers who have successfully completed projects similar to this. I require someone to develop a copy-trading system that can execute trades on clients' mt4/mt5 upon my posting on platforms like Telegram or spreadsheets . Additionally, I need a feature for tracking and recording the trading signals that I send. I'll provide further details and examples during our discussion
I need a professional or expert who is a trader and also know about coding that can quote a profitable strategy and code the strategy for me in MT4 with my specification, If you are capable of doing this I will be glad to share my requirement with you to get started
Integration of Supply and Demand Zones from CSV: Develop functionality to read supply and demand zone data from a .CSV file. Define the structure of the CSV file for storing zone data (e.g., price levels, zone type). Implement a mechanism to parse the CSV file and extract relevant zone information. Dynamic Zone Detection: Integrate algorithms to dynamically identify supply and demand zones based on historical price

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD
Délais
à 1 jour(s)