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
評価
(781)
プロジェクト
1345
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%
類似した注文
Witam, w oparciu o stary kod wskaźnika mql4 potrzebuję nowego kodu mql4. Czego potrzebuję: - wskaźnik w nowej wersji kodu mql4 (OnInit i OnCalculate), - powinien pokazywać tylko jedną średnią ruchomą obliczoną w taki sam sposób jak w starym kodzie wskaźnika (bez kolorowania tła, świec, alertów itp.), - powinien zawierać dwa bufory (zielony, czerwony). W razie pytań proszę o kontakt na PW
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
Hi There I am looking for somebody to build me a simple martingale / Cost Averaging EA with the following features.... All martingale Calculation settings - 1) Normal martingale system giving the trader the option of setting initial trade size - following trades increased pip step - etc To be used as a cost averaging ea if the following trades pip step set as zero 2) Should have a trailing stop to lock in profits on
My request is as follows: Write an MT4 robot (EA MT4) that automatically adds indicators and updates values in the indicator's input and then runs that indicator Do not use chart templates Do not use auto click. Thank! I attach the input of the indicator I want to add
Higher time frame Add Zigzag with fib indicator - ( available free from internet ) When the price retrace is reach 50% of the leg switch to Lower time frame ( details of the leg will be provided ) Lower time frame Wait for Break to structure to opposite direction When the price break with a candle close in opposite direction, plot the trade signal We need entry line, SL Line, and TP line . Further details will be
Hi There - I have a basic martingale \ cost averaging ea which doesnt use any indicators coded for mt5. I have the source code for the ea I require a mt4 version of the same EA. Can you convert this for me - MT5 TO MT4
I would like to code an indicator that identifies highs and lows of a chart (using “Three candle formation ” i.e. the candle is higher/lower than candle before and after it). All together it will have 4 lines 2 for the highs and two for the lows. @ the highs/ low will have 2 types as well Solid line if that high / low breaks an opposite structure i.e. another low/high. and a broken line if it did not break any
Helllo!!! I have a tradingview indicator that I would like to do some modifications..Kindly bid this if you are available and all the necessary informations needed will be sent directly via the chat box..looking forward
Create a modified sessions indicator: Show session pips for high and low. Show breakout of the session high and low with arrow. Show pips price went beyond session high and low. Can you show average size of each session before a big move. I'm more interested in arrows of the breakout and stats for how many breakouts and how far the breakout went. Any other vital information or mod would be nice
Omega Bot 30 - 40 USD
Hello to everyone reading this, I have a strategy that's great and I want to turn it into a bot, the strategy is based on 3 moving averages on the main chart and Macd indicator, I want the bot to enter and exit trades(for example 3 Moving average crossover to the upside on m15 plus macd crossover to the upside(apply to specific settings) , signal buy and enter buy trades and exit only when the is a crossover to the

プロジェクト情報

予算
30+ USD
開発者用
27 USD
締め切り
最高 1 日