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
等级
(787)
项目
1353
72%
仲裁
110
27% / 48%
逾期
339
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
等级
(1117)
项目
1419
62%
仲裁
21
57% / 10%
逾期
43
3%
工作中
7
开发者 7
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
8
开发者 8
等级
(555)
项目
922
48%
仲裁
300
59% / 25%
逾期
123
13%
已载入
9
开发者 9
等级
(501)
项目
752
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%
空闲
相似订单
Hello everybody I would like to modify an existing indicator. I want to create a Dashboard that will display alerts created by my personal indicator called TREND. It will have to display alerts created on several timeframes and for several currencies. Each currency will need to be able to modify its own TREND indicator settings. The TREND indicator settings will be accessible by double-clicking on the currency name
I want to convert my tradingview indicator to MT4. I need a developer who can get it completed under the course of 24-48hrs. And I need some who is more experience at this level. Thank you
I need a indicator that will be based on RSI combined with MACD and algorithm, when I plug the indicator it must be able to give me signal of buy or sell and entry point and take profit 1 2 3 and stop loss if is a buy it must be blue arrow if is a sellthe arrow must be red
Hello, I am searching for a reliable mt4 programmer who can have a look at my existing mt4 indicator, I'm curious of having a specialist in coding to check the entire code and highlight any errors or bugs that might be affecting this indicator from not having optimal performance, keep in mind that the algorithm code will be shared with you in comment section, The purpose of this job is just to modify this indicator
I want to build an indicator or EA that calculates the statistics on an instrument, and show the statistical distribution of the calculated sample statistics. The statistics will be based on Open high low close of a candle. I want the right to the EA and the source code I want to be able to change to different timeframes and get the statistics on those time frame. When i apply the indicator to intraday timeframe, i
Pvi 30 - 200 USD
pips volume indicator between 1 to 10k counting indicator. on only specified periods of open close low hi with selected time period m1 m5 m15 etc etc with level can customize by users. changes color after each 25 percent of pips count means u set 1000 pips it must first change its color after 25 percent than 50 than 75 first the final color should be the signal of buy sell user can select the levels colors. i want to
i need someone to do a reverse engineer and decompile the indicator with the help of file provided. there are some more projects in the pipeline. The indicator should be capable of analyzing real-time market data and generating accurate trading signals for different financial instruments listed on the
Indicator Functionality: Display 4 lights on the top right corner of the chart. Each light reflects a specific timeframe and EMA condition: Light 1 (1H timeframe): Red: Close price below both EMA 12 and EMA 16. Green: Close price above both EMA 12 and EMA 16. Light 2 (15M timeframe): Red: Close price below both EMA 12 and EMA 16. Green: Close price above both EMA 12 and EMA 16. Light 3 (1M timeframe): Red: Close
I need to correct/modify EA based on Martingale strategy which include no. of modules, manual lot size, Martingale factor, TP, SL, Cutt-off SL, Balance DD limit, Enable new orders, Reverse orders, Equity Rise, News filter, Time filter, Alert, Chart Panel etc,. MA crossover logic to be added. Details can be discussed on personal basis. Base source files shall be submitted by freelancer. Existing EA can be shared which
I have an Indicator that buffers values I can see, but those are not working with EA. I needed to be ready for those buffer values that would work with an EA. Thank you

项目信息

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