MQL5 EA Function to Calculate number of bars and the highest price between 2 points

MQL5 Experts

Tâche terminée

Temps d'exécution 6 heures
Commentaires du client
Job well done. Developer available to address all issues that arose during demonstration. Great professionalism as well. Thanks for the service.

Spécifications

EMA Crossing

Any one to assist with the function at a minimum fee (See the attached pics)

Point A- Fast EMA crosses Slow EMA

Point B- The highest price before the Ask price retreats back to Slow EMA.

Point C-Ask price touches/crosses below Slow EMA.

What is required is a function that will

  • 1   Calculate the number of bars between Point A and Point C,
  • 2.   After calculating the number of bars, compares  if # of Bars > 3 and # of Bars < 25.
  • 3   If point 2 above is satisfied, then get the highest price between point C and point A i.e. point B
  • 4   Calculate the difference between Ask Price and the Highest Price B.

All these have to happen only if Fast EMA is greater than Slow EMA. You can use Fast EMA at 21 and Slow EMA at 50 but it should allow for different time setting. The function is to be integrated into a code that is being developed. I am still at a learning stage and battling with this function and need to get over it and get it done.

Please let me know how much you will charge and how long it will take. I will need test results to be sure if it is working.

Regards


Dossiers :

Répondu

1
Développeur 1
Évaluation
(22)
Projets
21
10%
Arbitrage
4
25% / 75%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(278)
Projets
373
72%
Arbitrage
19
32% / 47%
En retard
14
4%
Gratuit
Publié : 14 codes
3
Développeur 3
Évaluation
(328)
Projets
510
19%
Arbitrage
33
45% / 30%
En retard
34
7%
Chargé
4
Développeur 4
Évaluation
(156)
Projets
194
58%
Arbitrage
10
80% / 0%
En retard
0
Travail
Publié : 1 code
5
Développeur 5
Évaluation
(11)
Projets
15
20%
Arbitrage
6
0% / 100%
En retard
3
20%
Gratuit
6
Développeur 6
Évaluation
(253)
Projets
316
29%
Arbitrage
34
26% / 65%
En retard
10
3%
Gratuit
7
Développeur 7
Évaluation
(560)
Projets
648
33%
Arbitrage
41
41% / 46%
En retard
11
2%
Occupé
8
Développeur 8
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
9
Développeur 9
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
10
Développeur 10
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
13
Développeur 13
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
14
Développeur 14
Évaluation
(102)
Projets
105
60%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(72)
Projets
80
10%
Arbitrage
38
8% / 58%
En retard
6
8%
Gratuit
16
Développeur 16
Évaluation
(2)
Projets
2
50%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(538)
Projets
814
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
Publié : 1 code
18
Développeur 18
Évaluation
(52)
Projets
67
43%
Arbitrage
8
0% / 100%
En retard
3
4%
Gratuit
Commandes similaires
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence 30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel

Informations sur le projet

Budget
30 - 45 USD
Délais
à 5 jour(s)