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

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(393)
Proyectos
547
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Trabaja
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(9)
Proyectos
13
8%
Arbitraje
3
33% / 67%
Caducado
1
8%
Libre
3
Desarrollador 3
Evaluación
(18)
Proyectos
22
9%
Arbitraje
6
33% / 50%
Caducado
1
5%
Trabaja
4
Desarrollador 4
Evaluación
(22)
Proyectos
21
10%
Arbitraje
4
25% / 75%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(51)
Proyectos
69
35%
Arbitraje
4
25% / 75%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(213)
Proyectos
364
32%
Arbitraje
34
41% / 29%
Caducado
108
30%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(531)
Proyectos
805
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(30)
Proyectos
37
54%
Arbitraje
2
50% / 50%
Caducado
3
8%
Libre
9
Desarrollador 9
Evaluación
(265)
Proyectos
596
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
10
Desarrollador 10
Evaluación
(22)
Proyectos
29
3%
Arbitraje
4
25% / 0%
Caducado
3
10%
Trabaja
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(309)
Proyectos
555
35%
Arbitraje
79
32% / 42%
Caducado
201
36%
Trabaja
13
Desarrollador 13
Evaluación
(12)
Proyectos
16
13%
Arbitraje
4
50% / 25%
Caducado
4
25%
Trabaja
14
Desarrollador 14
Evaluación
(6)
Proyectos
4
0%
Arbitraje
5
0% / 100%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(2)
Proyectos
4
0%
Arbitraje
2
0% / 0%
Caducado
1
25%
Trabaja
17
Desarrollador 17
Evaluación
(1278)
Proyectos
1702
49%
Arbitraje
52
71% / 12%
Caducado
38
2%
Trabaja
18
Desarrollador 18
Evaluación
(442)
Proyectos
698
34%
Arbitraje
33
70% / 9%
Caducado
22
3%
Trabaja
19
Desarrollador 19
Evaluación
(94)
Proyectos
115
23%
Arbitraje
21
29% / 52%
Caducado
8
7%
Trabaja
20
Desarrollador 20
Evaluación
(60)
Proyectos
87
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
21
Desarrollador 21
Evaluación
(6)
Proyectos
5
0%
Arbitraje
2
50% / 50%
Caducado
2
40%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
24
Desarrollador 24
Evaluación
(3)
Proyectos
7
57%
Arbitraje
1
0% / 100%
Caducado
1
14%
Trabaja
25
Desarrollador 25
Evaluación
(79)
Proyectos
137
51%
Arbitraje
5
80% / 0%
Caducado
6
4%
Trabaja
26
Desarrollador 26
Evaluación
(375)
Proyectos
481
23%
Arbitraje
59
54% / 25%
Caducado
55
11%
Trabajando
27
Desarrollador 27
Evaluación
(32)
Proyectos
32
63%
Arbitraje
1
0% / 0%
Caducado
1
3%
Trabaja
Ha publicado: 5 ejemplos
28
Desarrollador 28
Evaluación
(304)
Proyectos
310
69%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
29
Desarrollador 29
Evaluación
(505)
Proyectos
972
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Trabajando
Ha publicado: 1 artículo, 6 ejemplos
30
Desarrollador 30
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Trabaja
31
Desarrollador 31
Evaluación
(270)
Proyectos
552
49%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
32
Desarrollador 32
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(618)
Proyectos
1428
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
Solicitudes similares
We are looking for a professional developer or trader who already has a proven profitable EA or strategy based mainly on price action logic. Important requirements: No Martingale No Grid No Micro-scalping Avoid heavy indicator-based strategies Strategy should be based mainly on price behavior / market structure We are not looking for aggressive systems that promise unrealistic returns. Our focus is on stable
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
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
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
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

Información sobre el proyecto

Presupuesto
100 - 150 USD
Plazo límite de ejecución
de 1 a 5 día(s)