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
Оценка
(803)
Проекты
1375
72%
Арбитраж
113
28% / 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
Оценка
(1131)
Проекты
1433
62%
Арбитраж
21
57% / 10%
Просрочено
43
3%
Свободен
7
Разработчик 7
Оценка
(195)
Проекты
395
28%
Арбитраж
155
20% / 52%
Просрочено
112
28%
Свободен
8
Разработчик 8
Оценка
(563)
Проекты
932
47%
Арбитраж
302
59% / 25%
Просрочено
124
13%
Занят
9
Разработчик 9
Оценка
(512)
Проекты
773
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%
Свободен
Похожие заказы
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
Hi here, i need an Expert who can create an Tradingview indicator that gives clear entry and exit signals kindly bid on this if you can do it I can send you a reference video

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

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