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
(803)
Projects
1375
72%
Arbitration
113
28% / 48%
Overdue
343
25%
Loaded
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
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
6
Developer 6
Rating
(1131)
Projects
1433
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
(563)
Projects
932
47%
Arbitration
302
59% / 25%
Overdue
124
13%
Busy
9
Developer 9
Rating
(512)
Projects
773
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Working
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
As I said in the description, I want an indicator for Tradingview and MT5 that works exactly like the Ninja Trader supply and demand indicator called Ncatrsd. It should be able to mark the zones in MT5 and Tradingview exactly like it does in Ninja Trader. I leave the indicator file attached
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

Project information

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