Same consecutive candle colour recognition indicator

MQL5 Indicateurs

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Excellent execution of request.
Commentaires de l'employé
Excellent customer!

Spécifications

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.

 


Dossiers :

Répondu

1
Développeur 1
Évaluation
(229)
Projets
339
49%
Arbitrage
21
5% / 33%
En retard
24
7%
Gratuit
2
Développeur 2
Évaluation
(849)
Projets
1454
72%
Arbitrage
122
29% / 48%
En retard
356
24%
Travail
Publié : 3 articles
3
Développeur 3
Évaluation
(173)
Projets
201
49%
Arbitrage
18
11% / 44%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
5
Développeur 5
Évaluation
(361)
Projets
644
26%
Arbitrage
92
72% / 14%
En retard
12
2%
Travail
Publié : 1 code
6
Développeur 6
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
7
Développeur 7
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
8
Développeur 8
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
9
Développeur 9
Évaluation
(538)
Projets
814
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
Publié : 1 code
10
Développeur 10
Évaluation
(19)
Projets
27
11%
Arbitrage
11
9% / 55%
En retard
12
44%
Gratuit
11
Développeur 11
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
12
Développeur 12
Évaluation
(7)
Projets
8
13%
Arbitrage
0
En retard
1
13%
Gratuit
Commandes similaires
The Advisor should stop trading if the spread exceeds a selected value. Source code is unavailable. Decompilation may be necessary or any other suggested working solution may be acceptable. Testing should be thorough with proven demonstrable results
Convert Time Range Breakout Indicator to Strategy (Pine Script) I have an existing Time Range Breakout indicator on TradingView. I need a developer to convert it into a fully functional strategy with proper trade execution logic. Strategy Logic: Time Range: Define a specific time range (e.g., 03:00 – 04:30) During this time, the indicator marks the High and Low range Entry Conditions Buy when price touches the range
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
Core Requirements: Platform: MetaTrader 5 (MT5). Symbol: XAUUSD (Gold). Timeframes: M1 and M5 (user selectable). Trading Style: Scalping with controlled risk (not aggressive or high-risk strategies) -> adjustable, even better. Execution: Fast execution, optimized for gold market conditions. Frequence = adjustable, but there should be 10-20 trades per day. Strategy Logic: Use a reliable and conservative strategy
Eu preciso disso. A linha central do TMA (17,5,1.5) será a principal referência. Outra linha de média móvel (AVG) de 3 períodos decrescentes 2. As ordens serão as seguintes: abaixo, somente compra de TMA; acima, somente venda de TMA. O sinal de entrada será o seguinte: se o preço estiver acima da Média Móvel Tarifária (TMA), será apenas para venda; quando o preço se mantiver abaixo da Média Móvel Tarifária (AVG)
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Hello! I want to buy two indicators: A Support and Resistence Indicator and a Trendline Indicator. Support and Resistence Indicators needs to automatically draws Support and Resistance lines based on High and Low Candle in every time-frame (If possible time-frame needs to be in inputs and choose by me what time-frame i want indicator to draw lines) Trendline Indicator needs to automatically draws Trendline Channels

Informations sur le projet

Budget
30+ USD
Délais
à 1 jour(s)