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

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(393)
Progetti
547
40%
Arbitraggio
30
57% / 3%
In ritardo
57
10%
Gratuito
Pubblicati: 11 codici
2
Sviluppatore 2
Valutazioni
(9)
Progetti
13
8%
Arbitraggio
3
33% / 67%
In ritardo
1
8%
Gratuito
3
Sviluppatore 3
Valutazioni
(18)
Progetti
22
9%
Arbitraggio
6
33% / 50%
In ritardo
1
5%
In elaborazione
4
Sviluppatore 4
Valutazioni
(22)
Progetti
21
10%
Arbitraggio
4
25% / 75%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(51)
Progetti
69
35%
Arbitraggio
4
25% / 75%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(213)
Progetti
364
32%
Arbitraggio
34
41% / 29%
In ritardo
108
30%
Gratuito
Pubblicati: 1 codice
7
Sviluppatore 7
Valutazioni
(531)
Progetti
805
62%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
Pubblicati: 1 codice
8
Sviluppatore 8
Valutazioni
(30)
Progetti
37
54%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
9
Sviluppatore 9
Valutazioni
(265)
Progetti
596
35%
Arbitraggio
64
20% / 58%
In ritardo
147
25%
In elaborazione
Pubblicati: 1 articolo, 22 codici
10
Sviluppatore 10
Valutazioni
(22)
Progetti
29
3%
Arbitraggio
4
25% / 0%
In ritardo
3
10%
In elaborazione
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(309)
Progetti
555
35%
Arbitraggio
79
32% / 42%
In ritardo
201
36%
In elaborazione
13
Sviluppatore 13
Valutazioni
(12)
Progetti
16
13%
Arbitraggio
4
50% / 25%
In ritardo
4
25%
In elaborazione
14
Sviluppatore 14
Valutazioni
(6)
Progetti
4
0%
Arbitraggio
5
0% / 100%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(2)
Progetti
4
0%
Arbitraggio
2
0% / 0%
In ritardo
1
25%
In elaborazione
17
Sviluppatore 17
Valutazioni
(1278)
Progetti
1702
49%
Arbitraggio
52
71% / 12%
In ritardo
38
2%
In elaborazione
18
Sviluppatore 18
Valutazioni
(442)
Progetti
698
34%
Arbitraggio
33
70% / 9%
In ritardo
22
3%
In elaborazione
19
Sviluppatore 19
Valutazioni
(94)
Progetti
115
23%
Arbitraggio
21
29% / 52%
In ritardo
8
7%
In elaborazione
20
Sviluppatore 20
Valutazioni
(60)
Progetti
87
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
21
Sviluppatore 21
Valutazioni
(6)
Progetti
5
0%
Arbitraggio
2
50% / 50%
In ritardo
2
40%
Gratuito
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(64)
Progetti
83
28%
Arbitraggio
9
33% / 56%
In ritardo
9
11%
Gratuito
Pubblicati: 1 codice
24
Sviluppatore 24
Valutazioni
(3)
Progetti
7
57%
Arbitraggio
1
0% / 100%
In ritardo
1
14%
In elaborazione
25
Sviluppatore 25
Valutazioni
(79)
Progetti
137
51%
Arbitraggio
5
80% / 0%
In ritardo
6
4%
In elaborazione
26
Sviluppatore 26
Valutazioni
(375)
Progetti
481
23%
Arbitraggio
59
54% / 25%
In ritardo
55
11%
Caricato
27
Sviluppatore 27
Valutazioni
(32)
Progetti
32
63%
Arbitraggio
1
0% / 0%
In ritardo
1
3%
In elaborazione
Pubblicati: 5 codici
28
Sviluppatore 28
Valutazioni
(304)
Progetti
310
69%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
29
Sviluppatore 29
Valutazioni
(505)
Progetti
972
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
Caricato
Pubblicati: 1 articolo, 6 codici
30
Sviluppatore 30
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
In elaborazione
31
Sviluppatore 31
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
32
Sviluppatore 32
Valutazioni
(3)
Progetti
1
100%
Arbitraggio
3
0% / 100%
In ritardo
0
Gratuito
33
Sviluppatore 33
Valutazioni
(618)
Progetti
1428
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
Ordini simili
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
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
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
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
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
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy

Informazioni sul progetto

Budget
100 - 150 USD
Scadenze
da 1 a 5 giorno(i)