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 codes
3
開発者 3
評価
(328)
プロジェクト
510
19%
仲裁
33
45% / 30%
期限切れ
34
7%
取り込み中
4
開発者 4
評価
(156)
プロジェクト
194
58%
仲裁
10
80% / 0%
期限切れ
0
仕事中
パブリッシュした人: 1 code
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 codes
13
開発者 13
評価
(77)
プロジェクト
243
74%
仲裁
7
100% / 0%
期限切れ
1
0%
パブリッシュした人: 1 article
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 code
18
開発者 18
評価
(52)
プロジェクト
67
43%
仲裁
8
0% / 100%
期限切れ
3
4%
類似した注文
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
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU

プロジェクト情報

予算
30 - 45 USD
締め切り
最高 5 日