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%
空闲
相似订单
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
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

项目信息

预算
30 - 45 USD
截止日期
 5 天