Same consecutive candle colour recognition indicator

MQL5 Indicators

Job finished

Execution time 1 day
Feedback from customer
Excellent execution of request.
Feedback from employee
Excellent customer!

Specification

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.

 


Files:

Responded

1
Developer 1
Rating
(229)
Projects
339
49%
Arbitration
21
5% / 33%
Overdue
24
7%
Free
2
Developer 2
Rating
(782)
Projects
1346
72%
Arbitration
109
28% / 49%
Overdue
340
25%
Busy
3
Developer 3
Rating
(173)
Projects
201
49%
Arbitration
18
11% / 44%
Overdue
1
0%
Free
4
Developer 4
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
5
Developer 5
Rating
(354)
Projects
629
26%
Arbitration
89
72% / 13%
Overdue
12
2%
Working
6
Developer 6
Rating
(1117)
Projects
1419
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
7
Developer 7
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
8
Developer 8
Rating
(555)
Projects
922
48%
Arbitration
300
59% / 25%
Overdue
123
13%
Working
9
Developer 9
Rating
(499)
Projects
749
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
10
Developer 10
Rating
(19)
Projects
27
11%
Arbitration
11
9% / 55%
Overdue
12
44%
Free
11
Developer 11
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
12
Developer 12
Rating
(7)
Projects
8
13%
Arbitration
0
Overdue
1
13%
Free
Similar orders
"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
Description of the work to be done: Two tradingview scripts (3rd Wave and Zigzag) from the creator Lonesometheblue will need to be converted to a single EA for mt4. This EA must consist of the indicator that implements these two tradingview and also be capable of placing the orders that the indicator alerts you to. Description of the indicator: The mt4 indicator must have the same configurable parameters as that of

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 1 day(s)