Developing MT5 EA which uses two sets of Moving Averages

MQL5 专家

指定

Hi

I need an EA that uses two sets of moving averages to execute trades.

One set of moving average will have two moving averages (FAST and SLOW moving averages) and the second sets as well. The moving averages of one set will share the same method but the two sets can use different methods among them.

The EA is to execute trades as follows:

Ø    Open a Long trade when the fast moving average of first set crosses above the slow moving average of the same set as long as the number of bars is not more than certain number after cross-over (See point A in the sketch).

Ø  The EA is to open only one trade in the same direction (i.e. No more than one Long or short trade at any given point in time).

 Ø  Close the long trade when the fast moving average of the second set crosses below the slow moving average of the second set (See point C in the sketch).

 Ø  Open a short trade when the fast moving average of the first set crosses below the slow moving average of the same set as long as the number of bars is not more than a certain number after cross-over (See point B in the sketch).

 Ø  The Short trade will close when the fast moving average of the second set crosses above the slow moving average of the same set (see point D in the sketch).

Note: Given that fast moving average of set 1 may cross down the slow moving average of the same set before the fast moving average of set 2 crosses down the moving average of set 2; this may prompt opening a short trade whilst the long trade is still open. We will therefore permit opening a short trade before the long trade may have closed and vice versa.

We will need to plot the moving average in different color with the moving average of 

the first set ploted as solid lines and moving averages of the second set plotted as Dash lines. Lets use Green for Fast moving average and Red for Slow moving averages.

Moving Average Indication

附加的文件:

反馈

1
开发者 1
等级
(380)
项目
490
23%
仲裁
59
54% / 25%
逾期
56
11%
已载入
2
开发者 2
等级
(19)
项目
23
9%
仲裁
6
33% / 50%
逾期
1
4%
已载入
3
开发者 3
等级
(630)
项目
994
47%
仲裁
33
36% / 36%
逾期
98
10%
空闲
发布者: 6 代码
4
开发者 4
等级
(2)
项目
2
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
5
开发者 5
等级
(566)
项目
655
33%
仲裁
41
41% / 46%
逾期
11
2%
繁忙
6
开发者 6
等级
(60)
项目
87
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(2317)
项目
2918
63%
仲裁
123
44% / 25%
逾期
429
15%
已载入
9
开发者 9
等级
项目
0
0%
仲裁
0
逾期
0
空闲
10
开发者 10
等级
(10)
项目
15
13%
仲裁
3
33% / 67%
逾期
2
13%
工作中
11
开发者 11
等级
(19)
项目
24
21%
仲裁
0
逾期
2
8%
空闲
12
开发者 12
等级
(190)
项目
246
20%
仲裁
22
50% / 18%
逾期
0
工作中
13
开发者 13
等级
(39)
项目
50
18%
仲裁
6
33% / 50%
逾期
0
空闲
14
开发者 14
等级
(16)
项目
20
0%
仲裁
10
0% / 80%
逾期
6
30%
空闲
15
开发者 15
等级
(20)
项目
22
14%
仲裁
6
17% / 67%
逾期
1
5%
工作中
发布者: 3 代码
16
开发者 16
等级
(8)
项目
9
0%
仲裁
2
0% / 50%
逾期
1
11%
工作中
17
开发者 17
等级
(618)
项目
1428
59%
仲裁
31
81% / 0%
逾期
10
1%
空闲
18
开发者 18
等级
(636)
项目
857
48%
仲裁
29
38% / 17%
逾期
63
7%
工作中
19
开发者 19
等级
(3)
项目
1
0%
仲裁
5
0% / 100%
逾期
0
空闲
20
开发者 20
等级
(312)
项目
559
35%
仲裁
80
31% / 43%
逾期
203
36%
工作中
21
开发者 21
等级
(34)
项目
35
60%
仲裁
1
100% / 0%
逾期
1
3%
已载入
发布者: 5 代码
22
开发者 22
等级
项目
0
0%
仲裁
0
逾期
0
空闲
23
开发者 23
等级
(6)
项目
5
0%
仲裁
2
50% / 50%
逾期
2
40%
空闲
24
开发者 24
等级
项目
0
0%
仲裁
0
逾期
0
空闲
25
开发者 25
等级
项目
0
0%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
(2656)
项目
3374
68%
仲裁
77
48% / 14%
逾期
342
10%
工作中
发布者: 1 代码
27
开发者 27
等级
(30)
项目
37
54%
仲裁
2
50% / 50%
逾期
3
8%
空闲
28
开发者 28
等级
(87)
项目
247
80%
仲裁
9
22% / 56%
逾期
35
14%
已载入
发布者: 3 文章, 26 代码
29
开发者 29
等级
(13)
项目
20
40%
仲裁
1
0% / 100%
逾期
1
5%
空闲
30
开发者 30
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
31
开发者 31
等级
(541)
项目
818
62%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码
32
开发者 32
等级
(442)
项目
570
37%
仲裁
106
39% / 33%
逾期
17
3%
空闲
33
开发者 33
等级
(297)
项目
476
40%
仲裁
105
40% / 24%
逾期
81
17%
已载入
发布者: 2 代码
34
开发者 34
等级
(16)
项目
18
28%
仲裁
0
逾期
3
17%
空闲
相似订单
Hello traders, I am currently looking for a professional and experienced trading coach/mentor and would like to connect with individuals who offer structured coaching services. Before proceeding, I would appreciate clarity on the following: Your primary trading strategy (scalping, intraday, swing, or long-term investing) Markets you specialize in (Forex, crypto, indices, stocks, etc.) Availability of verified track
Hello traders, I am currently looking for a professional and experienced trading coach/mentor and would like to connect with individuals who offer structured coaching services. Before proceeding, I would appreciate clarity on the following: Your primary trading strategy (scalping, intraday, swing, or long-term investing) Markets you specialize in (Forex, crypto, indices, stocks, etc.) Availability of verified track
أحتاج إلى مبرمج محترف لبرمجة اكسبيرت تداول آلي لمنصة MetaTrader 5 يعمل على زوج الذهب XAUUSD فريم الدقيقة. الاستراتيجية المطلوبة: الدخول شراء عند تقاطع المتوسط المتحرك 10 مع 50 صعوداً + مؤشر RSI فوق مستوى 50. الدخول بيع عند التقاطع هبوطاً + مؤشر RSI تحت مستوى 50. إدارة رأس المال: اللوت 0.01 لكل 1000 دولار، وقف خسارة 100 نقطة، هدف ربح 200 نقطة، مع تريلنق ستوب يبدأ بعد 50 نقطة ربح. المطلوب: تسليم الكود مفتوح المصدر مع
Looking for experience profitable manual traders that will be willing to trade my live mt5 account for profit share. Requirements Must have at least 6 months of profitable months. Min 10 percent monthly Send me investor credentials for mt5 or mt4 account. Can be trading Any instruments. Must reply with mt5 credentials or will disregard
XAUUSD_Strategy_EA 80 - 120 USD
I need an MT5 Expert Advisor for XAUUSD. Strategy: BUY conditions: Price above EMA 50 RSI above 50 Recent high breakout Retest confirmation candle bullish SELL conditions: Price below EMA 50 RSI below 50 Recent low breakout Retest confirmation candle bearish Risk management: Risk per trade 1% Stop loss = recent swing high/low Take profit = Risk Reward 1:2 Extra features: Trailing stop option Breakeven option Max 4
more detailed requirements 1 Expert in MQL5, who can build with supertrend formula which can calculate the target time. For instance:When there is buy and sell in supertrend ,our target is of 20 points, that method should calculate the target with time
Hello i am looking for a profitable gold MT5 indicator that shows entry zones. Send trial when applying. Also provide screenshots. The indicator should give buy/sell entry points with SL and TP
Am looking for good programmer to help me to convert two Ex4 file into EA. The first indicator provide 9 tools signal and the second indicator is Candle stick strategy. Kindly see the attached file for proper explanation about the BOT. Below is discription 🔹 PART 1: Candle Structure Strategy (Daily / Weekly / Monthly) ✅ Core Idea You are trading alignment of higher timeframe direction with lower timeframe
Project Overview: I am looking for a professional MQL5 developer to build a high-performance Expert Advisor (EA) for MT5. The project requires high-level technical skills in integrating external indicators and managing complex trade exits. General Requirements: 1. Integration with external indicators via Buffers (iCustom). 2. Implementation of an advanced 5-Tier Trailing system based on Money/Points. 3. Custom Visual
Ihy 30 - 500 USD
Hello, I am looking for access to MT5 trading accounts connected to the market, either demo or live, for the purpose of monitoring and verifying trading performance. Investor (read-only) password access is sufficient, as I only need to log in through MetaTrader 5 to review trade history, risk management, and consistency of results over time. Kindly provide the necessary login details for any available accounts that

项目信息

预算
30+ USD
截止日期
 5 天

客户

所下订单3
仲裁计数0