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

Job finished

Execution time 1 day
Feedback from employee
Great client and friendly .. thanks for the order .. I hope we work again soon :)
Feedback from customer
very easy to communicate. kudos to this guy :))

Specification

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

Responded

1
Developer 1
Rating
(394)
Projects
555
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
2
Developer 2
Rating
(14)
Projects
20
20%
Arbitration
3
33% / 67%
Overdue
3
15%
Working
3
Developer 3
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
4
Developer 4
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
5
Developer 5
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
6
Developer 6
Rating
(217)
Projects
369
33%
Arbitration
34
41% / 29%
Overdue
108
29%
Free
Published: 1 code
7
Developer 7
Rating
(549)
Projects
838
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
8
Developer 8
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
9
Developer 9
Rating
(268)
Projects
602
34%
Arbitration
65
20% / 57%
Overdue
147
24%
Working
Published: 1 article, 22 codes
10
Developer 10
Rating
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Working
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
13
Developer 13
Rating
(22)
Projects
29
34%
Arbitration
4
50% / 25%
Overdue
5
17%
Working
14
Developer 14
Rating
(6)
Projects
4
0%
Arbitration
5
0% / 100%
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(2)
Projects
7
0%
Arbitration
3
0% / 33%
Overdue
1
14%
Working
17
Developer 17
Rating
(1304)
Projects
1732
49%
Arbitration
55
67% / 16%
Overdue
38
2%
Free
18
Developer 18
Rating
(454)
Projects
720
34%
Arbitration
35
71% / 9%
Overdue
22
3%
Free
19
Developer 19
Rating
(106)
Projects
129
25%
Arbitration
24
29% / 54%
Overdue
8
6%
Free
20
Developer 20
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
21
Developer 21
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
24
Developer 24
Rating
(4)
Projects
10
50%
Arbitration
1
0% / 100%
Overdue
2
20%
Free
25
Developer 25
Rating
(81)
Projects
142
53%
Arbitration
5
80% / 0%
Overdue
6
4%
Free
26
Developer 26
Rating
(389)
Projects
501
23%
Arbitration
60
55% / 25%
Overdue
59
12%
Loaded
27
Developer 27
Rating
(44)
Projects
51
59%
Arbitration
2
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
28
Developer 28
Rating
(318)
Projects
323
71%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
29
Developer 29
Rating
(510)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
30
Developer 30
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
31
Developer 31
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
32
Developer 32
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
33
Developer 33
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
Similar orders
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
I have developed a custom semi-automated MT5 trading workflow for personal use. I am available to discuss its technical implementation, automation features, and overall workflow with developers or traders interested in similar solutions. The project includes MT5 automation, Telegram communication, trade execution tools, and configurable risk management components. If you are working on a similar project or looking
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm

Project information

Budget
100 - 150 USD
Deadline
from 1 to 5 day(s)