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
Оценка
(782)
Проекты
1346
72%
Арбитраж
109
28% / 49%
Просрочено
340
25%
Загружен
3
Разработчик 3
Оценка
(173)
Проекты
201
49%
Арбитраж
18
11% / 44%
Просрочено
1
0%
Свободен
4
Разработчик 4
Оценка
(769)
Проекты
1033
44%
Арбитраж
50
8% / 50%
Просрочено
117
11%
Свободен
5
Разработчик 5
Оценка
(354)
Проекты
629
26%
Арбитраж
89
72% / 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
Оценка
(499)
Проекты
749
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%
Свободен
Похожие заказы
I am searching for an indicator that can effectively identify market structure components such as order blocks, which may or may not include a retest, and fair value gaps. This indicator should offer customizable options where I can specify the size of the order block and fair value gap in pips. Additionally, it should be able to highlight order blocks and fair value gaps that have been filled. I would also like the
Hello, I am seeking a skilled and experienced MQL4 developer to assist in creating a Metatrader 4 Expert Advisor (EA) that communicates with a WebSocket server to receive trade signals. i need a EA like ( www.mtsocketapi.com ) The project will involve the following key tasks: Develop a DLL or bridge application : The chosen developer will need to create a DLL or bridge application that can manage WebSocket
Hello, I am searching for the best and profitable SCALPING robot for only 2 pairs. If you have a profitable robot for either GOLD ( XAU/USD ) OR EURUSD OR BOTH In order to complete project I ask kindly that you send me demo version with license expiry of 1-2 days so I can test it in live market conditions. This is a requirement in order to move forward with project. Please no matingale, no hedging robots. Robot
Need to add push notifications to an existing mt4 indictor. I need it to push via text and sound through my phone once the push goes through the MT4 trading platform
Good day publishers so i am in need of a developer who is going to vonvert my 3 indicators into a robot ...this indicators has two mac D indictor with a two colors each (red & green) an d is have n arrow that pops up ..... Requirements .....1. so i want the robot to take trade when arrow pops and then the two mac ds should be in green coulor ( it must not take sells only for buy trade)....2. I want the robot to
We are looking for an experienced MQL5 developer to create an indicator plugin for the forex market that utilizes AI to predict market trends. The plugin should be installable on the MetaTrader 5 platform and capable of displaying trend predictions on a chart. The indicator will be used in marketing, so it must be visually appealing and effective in demonstrating trading patterns. Experience with AI and machine
Hi, I need a price change velocity measuring indicator / oscilatior. It should measure like 10 last bars to set a norm and then when the price goes over the norm it should measure by how much (2x, 5x, 10x...) Based on that I could set the levels for each particular symbol that would triger some changes in the levels of the sell and buy orders for the EA I have. It could be similar to ATR, but it should measure the
Hello, On the following website ( https://www.fibogroup.com/products/account-types/swap-history/ ) you can obtain (for free) historical data for every day for the swap value for a given currency/commodity. What i nees is an indicator/script/... which when applied in mt4 download the corresponding historical data for x days (to be determined) and draw it in a window under the main chart (on mt4)
Trend killer 30 - 200 USD
I Will thanks for allowing me to create and that's good for me and u thanks u very muchand I Will make a good job to work and no to scheme people
Hello, based on the old mql4 indicator code, I need a new mql4 code. What I need: - code in the new mql4 version (OnInit and OnCalculate), - two buffers (green, red), - removal of arrows from the code If you have any questions, please contact me by PM Edit: Work in progress, thank you all for your interest

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD
Сроки выполнения
до 1 дн.