MT5 Expert Advisor – SMA Trend + Stochastic Reentry + ADX Filter

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

Expert Advisor Specification (Updated Version)
Platform: MetaTrader 5
Pair: XAUUSD
Strategy: Trend Following Scalping

1. Timeframe Settings
EA must allow user to choose timeframe for trend detection.
Input parameter:
Trend_Timeframe (ENUM_TIMEFRAME)
Examples:
M5
M10
M15
M30
H1
Default: M10
Entry timeframe = chart timeframe
Example: If EA attached on M3 chart → entry signals use M3.

2. Indicators
Trend Indicator
Simple Moving Average (SMA)
Periods:
SMA 20
SMA 50
SMA 100
Trend Conditions
BUY TREND
SMA20 > SMA50 > SMA100
SELL TREND
SMA20 < SMA50 < SMA100
These SMA calculations must use Trend_Timeframe.

3. Trend Strength Filter
Indicator: ADX
Settings: Period = 14
Conditions:
BUY allowed when
ADX > 20
+DI > -DI
SELL allowed when
ADX > 20
-DI > +DI
ADX must also use Trend_Timeframe.
Purpose: Avoid weak trend and sideways market.

4. Entry Indicator
Stochastic Oscillator
Settings:
%K = 5
%D = 3
Slowing = 3
Levels
Oversold = 20
Overbought = 80
Re-entry zones
BUY zone = 50 – 60
SELL zone = 40 – 50
Stochastic must use chart timeframe.

5. First Entry Rules
Wait for candle closed
BUY Entry
Conditions:
Trend = BUY
(SMA20 > SMA50 > SMA100)
ADX filter valid
ADX > 20 and +DI > -DI
Stochastic condition
Previous value below 20
Cross upward above 20
EA opens BUY trade
SELL Entry
Conditions:
Trend = SELL
(SMA20 < SMA50 < SMA100)
ADX filter valid
ADX > 20 and -DI > +DI
Stochastic condition
Previous value above 80
Cross downward below 80
EA opens SELL trade

6. Re-entry System
BUY Re-entry
Conditions:
Trend still BUY
Stochastic retraces into 50 – 60 zone
Stochastic crosses upward again
EA opens additional BUY trade
SELL Re-entry
Conditions:
Trend still SELL
Stochastic retraces into 40 – 50 zone
Stochastic crosses downward again
EA opens additional SELL trade

7. Trade Settings
Inputs:
Lot Size
(default 0.01)
Multiplier
(default 1.1)
Take Profit
(default 300 – 500 points for gold)
Stop Loss
(optional)
Minimum distance between trades
(default 500 points)

8. Hedging
EA must allow BUY and SELL positions at the same time.
If trend changes, EA can open opposite direction trades.

9. Trading Filters
Spread Filter
Example: Max spread allowed
Trading Time
Start Hour
End Hour

10. Safety Rules
EA must include:
Magic Number
Works in Strategy Tester
Compatible with live trading

11. Files Required
Programmer must deliver:
EX5 file
MQ5 source code

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

1
Разработчик 1
Оценка
(393)
Проекты
547
40%
Арбитраж
30
57% / 3%
Просрочено
57
10%
Свободен
Опубликовал: 11 примеров
2
Разработчик 2
Оценка
(9)
Проекты
13
8%
Арбитраж
3
33% / 67%
Просрочено
1
8%
Свободен
3
Разработчик 3
Оценка
(18)
Проекты
22
9%
Арбитраж
6
33% / 50%
Просрочено
1
5%
Работает
4
Разработчик 4
Оценка
(22)
Проекты
21
10%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(51)
Проекты
69
35%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(213)
Проекты
364
32%
Арбитраж
34
41% / 29%
Просрочено
108
30%
Свободен
Опубликовал: 1 пример
7
Разработчик 7
Оценка
(531)
Проекты
805
62%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
Опубликовал: 1 пример
8
Разработчик 8
Оценка
(30)
Проекты
37
54%
Арбитраж
2
50% / 50%
Просрочено
3
8%
Свободен
9
Разработчик 9
Оценка
(265)
Проекты
596
35%
Арбитраж
64
20% / 58%
Просрочено
147
25%
Работает
Опубликовал: 1 статью, 22 примера
10
Разработчик 10
Оценка
(22)
Проекты
29
3%
Арбитраж
4
25% / 0%
Просрочено
3
10%
Работает
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(309)
Проекты
555
35%
Арбитраж
79
32% / 42%
Просрочено
201
36%
Работает
13
Разработчик 13
Оценка
(12)
Проекты
16
13%
Арбитраж
4
50% / 25%
Просрочено
4
25%
Работает
14
Разработчик 14
Оценка
(6)
Проекты
4
0%
Арбитраж
5
0% / 100%
Просрочено
0
Свободен
15
Разработчик 15
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
(2)
Проекты
4
0%
Арбитраж
2
0% / 0%
Просрочено
1
25%
Работает
17
Разработчик 17
Оценка
(1278)
Проекты
1702
49%
Арбитраж
52
71% / 12%
Просрочено
38
2%
Работает
18
Разработчик 18
Оценка
(442)
Проекты
698
34%
Арбитраж
33
70% / 9%
Просрочено
22
3%
Работает
19
Разработчик 19
Оценка
(94)
Проекты
115
23%
Арбитраж
21
29% / 52%
Просрочено
8
7%
Работает
20
Разработчик 20
Оценка
(60)
Проекты
87
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
21
Разработчик 21
Оценка
(6)
Проекты
5
0%
Арбитраж
2
50% / 50%
Просрочено
2
40%
Свободен
22
Разработчик 22
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
23
Разработчик 23
Оценка
(64)
Проекты
83
28%
Арбитраж
9
33% / 56%
Просрочено
9
11%
Свободен
Опубликовал: 1 пример
24
Разработчик 24
Оценка
(3)
Проекты
7
57%
Арбитраж
1
0% / 100%
Просрочено
1
14%
Работает
25
Разработчик 25
Оценка
(79)
Проекты
137
51%
Арбитраж
5
80% / 0%
Просрочено
6
4%
Работает
26
Разработчик 26
Оценка
(375)
Проекты
481
23%
Арбитраж
59
54% / 25%
Просрочено
55
11%
Загружен
27
Разработчик 27
Оценка
(32)
Проекты
32
63%
Арбитраж
1
0% / 0%
Просрочено
1
3%
Работает
Опубликовал: 5 примеров
28
Разработчик 28
Оценка
(304)
Проекты
310
69%
Арбитраж
2
100% / 0%
Просрочено
0
Свободен
Опубликовал: 1 пример
29
Разработчик 29
Оценка
(505)
Проекты
972
74%
Арбитраж
27
19% / 67%
Просрочено
100
10%
Загружен
Опубликовал: 1 статью, 6 примеров
30
Разработчик 30
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Работает
31
Разработчик 31
Оценка
(270)
Проекты
552
49%
Арбитраж
57
40% / 37%
Просрочено
227
41%
Работает
32
Разработчик 32
Оценка
(3)
Проекты
1
100%
Арбитраж
3
0% / 100%
Просрочено
0
Свободен
33
Разработчик 33
Оценка
(618)
Проекты
1428
59%
Арбитраж
31
81% / 0%
Просрочено
10
1%
Свободен
Похожие заказы
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Articles How to create Requirements Specification for ordering an indicator 76 MetaQuotes 51 380 Table of Contents How can algo trading make a trader's live easier? Supplement text with images and videos Useful programs for creating Requirements Specification Formulating the Requirements Specification as an algorithm Requirements Specification Examples What can I specify in the Requirements Specification? Indicator
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
I need a custom MT5 expert advisor (EA) designed to mirror trades between two different broker accounts (Master and Slave) running on the same local PC. My primary objective is Synchronous Execution to avoid being exposed to the market due to price mismatches. Core Requirements: Symbol-Agnostic: The EA must automatically copy trades for any symbol I trade (Forex, Gold, Indices, etc.) without needing to hardcode
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
Hi, I need a custom MT5 indicator based on a multi-timeframe fractal break reversal. 1️⃣ The indicator should use two timeframes: Higher Timeframe (HTF) Lower Timeframe (LTF) (Timeframes should be adjustable in inputs, e.g., HTF = H1 and LTF = M5) 2️⃣ Use standard fractals to detect fractal highs and fractal lows. 3️⃣ Primary signal (HTF): When a Lower High fractal is formed and price breaks that Lower High in one

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

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