Same consecutive candle colour recognition indicator

MQL5 指标

工作已完成

执行时间1 一天
客户反馈
Excellent execution of request.
员工反馈
Excellent customer!

指定

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.

 


附加的文件:

反馈

1
开发者 1
等级
(229)
项目
339
49%
仲裁
21
5% / 33%
逾期
24
7%
空闲
2
开发者 2
等级
(807)
项目
1382
72%
仲裁
113
29% / 48%
逾期
343
25%
空闲
3
开发者 3
等级
(173)
项目
201
49%
仲裁
18
11% / 44%
逾期
1
0%
空闲
4
开发者 4
等级
(769)
项目
1033
44%
仲裁
50
8% / 50%
逾期
117
11%
空闲
5
开发者 5
等级
(356)
项目
632
26%
仲裁
89
73% / 13%
逾期
12
2%
空闲
6
开发者 6
等级
(1134)
项目
1436
62%
仲裁
21
57% / 10%
逾期
43
3%
空闲
7
开发者 7
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
8
开发者 8
等级
(564)
项目
933
47%
仲裁
302
59% / 25%
逾期
125
13%
已载入
9
开发者 9
等级
(514)
项目
776
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
10
开发者 10
等级
(19)
项目
27
11%
仲裁
11
9% / 55%
逾期
12
44%
空闲
11
开发者 11
等级
(54)
项目
53
17%
仲裁
7
0% / 100%
逾期
5
9%
空闲
12
开发者 12
等级
(7)
项目
8
13%
仲裁
0
逾期
1
13%
空闲
相似订单
Fair Value Gap Scanner 30 - 100 USD
Hi, Greetings. Can somebody revert with an offer to code a FVG Scanner across Forex Pairs / Time Frame Selection / Alert please in order to support a Trading Strategy where entries are considered with the market direction confluence such as a Half Trend / Semafor Indicator. Look forward to hear back. Kind Regards. Anton
I am looking for an experienced expert to develop an Expert Advisor based on my idea. We can discuss the details in private messages. Please apply only if you are available now, as I need this project completed within one day
Project Description : I need an experienced programmer to convert the TradingView indicator "CURRENCY STRANGHT CHART by boitoki" into a MetaTrader 5 (MT5) format. The indicator should function identically to the original and be fully compatible for integration into an Expert Advisor (EA) on MT5. Requirements : Convert "TTD Middle Right Normal" from TradingView to a .mq5 file for MT5. Ensure all indicator features and
Project Description : I need an experienced programmer to convert the TradingView indicator "RSI BARS" into a MetaTrader 5 (MT5) format. The indicator should function identically to the original and be fully compatible for integration into an Expert Advisor (EA) on MT5. Requirements : Convert "TTD Middle Right Normal" from TradingView to a .mq5 file for MT5. Ensure all indicator features and visual signals are
Project Description : I need an experienced programmer to convert the TradingView indicator "TTD Middle Right Normal" into a MetaTrader 5 (MT5) format. The indicator should function identically to the original and be fully compatible for integration into an Expert Advisor (EA) on MT5. Requirements : Convert "TTD Middle Right Normal" from TradingView to a .mq5 file for MT5. Ensure all indicator features and visual
I want to create an indi to push notification when the candlestick chart forms 3 peaks or 3 bottoms forming a straight line: - 1,2,3 are 3 points in a straight line or NEARLY straight For example: Straight: NEARLY straight : means the peak/bottom of candle number 3 is NEAR the straight line connecting 1 and 2. Candle number 3 may or may not have crossed the straight line, as long as the peak/bottom of candle number 3
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer needs to know a lot about coding market structure indicators and be proficient in Pine Script. excited to collaborate with a gifted developer
I have list of free indicators in tradingview and i would like to convert them into an mt4 ea, But the EA will have and work based on the indicators features The list of the are listed as follows :> 1. Market Structure Break And Order block. By EmreKb 2. Rainbow Adaptive RSI by LuxAlgo 3. Multiple MA (21,50,100) 4. SuperTrend My budget for this 80$ max
good day i have an indicator but need the source for this reason The indicator only work on a single Time frame open trade, and close with only a single TF i will like the indicator work on multiple time frame just like other installed indicator My coder said the reason it cannot work like other indicator installed is because it has no buffer First confirm if you have the source code because its a popular indicator
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer must be skilled in Pine Script and have a solid understanding of how to code market structure indicators. Looking forward to working with a talented developer

项目信息

预算
30+ USD
开发人员
27 USD
截止日期
 1 天