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

MQL5 Эксперты

Работа завершена

Время выполнения 6 часов
Отзыв от заказчика
Job well done. Developer available to address all issues that arose during demonstration. Great professionalism as well. Thanks for the service.

Техническое задание

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


Файлы:

Откликнулись

1
Разработчик 1
Оценка
(22)
Проекты
21
10%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(278)
Проекты
373
72%
Арбитраж
19
32% / 47%
Просрочено
14
4%
Свободен
Опубликовал: 14 примеров
3
Разработчик 3
Оценка
(328)
Проекты
510
19%
Арбитраж
33
45% / 30%
Просрочено
34
7%
Загружен
4
Разработчик 4
Оценка
(156)
Проекты
194
58%
Арбитраж
10
80% / 0%
Просрочено
0
Работает
Опубликовал: 1 пример
5
Разработчик 5
Оценка
(11)
Проекты
15
20%
Арбитраж
6
0% / 100%
Просрочено
3
20%
Свободен
6
Разработчик 6
Оценка
(253)
Проекты
316
29%
Арбитраж
34
26% / 65%
Просрочено
10
3%
Свободен
7
Разработчик 7
Оценка
(560)
Проекты
648
33%
Арбитраж
41
41% / 46%
Просрочено
11
2%
Занят
8
Разработчик 8
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
9
Разработчик 9
Оценка
(45)
Проекты
46
24%
Арбитраж
34
9% / 85%
Просрочено
10
22%
Свободен
10
Разработчик 10
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(2)
Проекты
2
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(171)
Проекты
195
42%
Арбитраж
13
8% / 54%
Просрочено
9
5%
Свободен
Опубликовал: 3 примера
13
Разработчик 13
Оценка
(77)
Проекты
243
74%
Арбитраж
7
100% / 0%
Просрочено
1
0%
Свободен
Опубликовал: 1 статью
14
Разработчик 14
Оценка
(102)
Проекты
105
60%
Арбитраж
0
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(72)
Проекты
80
10%
Арбитраж
38
8% / 58%
Просрочено
6
8%
Свободен
16
Разработчик 16
Оценка
(2)
Проекты
2
50%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(538)
Проекты
814
62%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
Опубликовал: 1 пример
18
Разработчик 18
Оценка
(52)
Проекты
67
43%
Арбитраж
8
0% / 100%
Просрочено
3
4%
Свободен
Похожие заказы
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
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

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

Бюджет
30 - 45 USD
Сроки выполнения
до 5 дн.