Şartname

1. Use two EMAs: 20 and 50.

  •   If EMA 20 is above EMA 50 → uptrend (look for buys)
  •   If EMA 20 is below EMA 50 → downtrend (look for sells)

2. Wait for a pullback into the area between the two EMAs.

- For buys: price must touch or move between EMA 20 and EMA 50

during the last few candles.

- For stils: same idea, but in a downtrend.

3. Entry signal:

  •   Buy: a bullish engulfing candle in an uptrend after the pullback
  •   Sell: a bearish engulfing candle in a downtrend after the pullback
  •   Enter at the close of the engulfing candle.

4. Stop Loss:

  •   Option A: use recent swing high/low
  •   Option B: use ATR-based stop loss
  •   Make this an input (0 = swing SL, 1 = ATR SL)

5. Take Profit:

- Based on risk-reward ratio (for example 1:2)

6. Risk settings:

  •   Option for fixed lot size
  •   Option for risk percentage (auto-calculated lot size)
  1.   Only open trades during specific trading hours (input: start hour and end hour)
  2.   Only allow one open trade at a time per symbol.

**INPUTS TO INCLUDE**

  •   FastEMA (default 20)
  •   SlowEMA (default 50)
  •   PullbackBars (default 5)
  •   SL_Mode (0 = swing, 1 = ATR)
  •   ATR_Period (14)
  •   ATR_Multiplier (1.5)
  •   RiskReward (2.0)
  •   UseFixedLot (true/false)
  •   FixedLotSize (0.10)
  •   RiskPercent (1%)
  •   MagicNumber
  •   TradeStartHour / TradeEndHour
  •   DebugMode (true/false)

1. First, briefly restate the logic in simple terms.

Then provide the full MQL5 EA code.

  1.   Code must compile in MetaTrader 5 with no errors.
  2.   Comment the code clearly so beginners can understand it.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(264)
Projeler
330
29%
Arabuluculuk
36
25% / 64%
Süresi dolmuş
10
3%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(387)
Projeler
499
23%
Arabuluculuk
60
55% / 25%
Süresi dolmuş
59
12%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(4)
Projeler
4
25%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 makale
6
Geliştirici 6
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
33%
Serbest
7
Geliştirici 7
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 1 kod
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(55)
Projeler
92
24%
Arabuluculuk
8
75% / 13%
Süresi dolmuş
44
48%
Serbest
14
Geliştirici 14
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(14)
Projeler
27
41%
Arabuluculuk
3
0% / 67%
Süresi dolmuş
6
22%
Çalışıyor
17
Geliştirici 17
Derecelendirme
(9)
Projeler
10
50%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
(14)
Projeler
18
22%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
4
22%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(181)
Projeler
288
65%
Arabuluculuk
3
100% / 0%
Süresi dolmuş
65
23%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
21
Geliştirici 21
Derecelendirme
(3)
Projeler
2
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(365)
Projeler
441
55%
Arabuluculuk
22
50% / 14%
Süresi dolmuş
30
7%
Yüklendi
23
Geliştirici 23
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
(106)
Projeler
129
25%
Arabuluculuk
23
30% / 52%
Süresi dolmuş
8
6%
Serbest
26
Geliştirici 26
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Geliştirici 27
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
28
Geliştirici 28
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
29
Geliştirici 29
Derecelendirme
(61)
Projeler
83
45%
Arabuluculuk
27
11% / 70%
Süresi dolmuş
8
10%
Serbest
30
Geliştirici 30
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
31
Geliştirici 31
Derecelendirme
(202)
Projeler
263
22%
Arabuluculuk
23
52% / 17%
Süresi dolmuş
0
Yüklendi
32
Geliştirici 32
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
33
Geliştirici 33
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
34
Geliştirici 34
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
35
Geliştirici 35
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
36
Geliştirici 36
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
37
Geliştirici 37
Derecelendirme
(81)
Projeler
92
32%
Arabuluculuk
9
22% / 56%
Süresi dolmuş
5
5%
Çalışıyor
38
Geliştirici 38
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
39
Geliştirici 39
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
40
Geliştirici 40
Derecelendirme
(2333)
Projeler
2936
63%
Arabuluculuk
124
44% / 26%
Süresi dolmuş
429
15%
Çalışıyor
41
Geliştirici 41
Derecelendirme
(28)
Projeler
34
35%
Arabuluculuk
0
Süresi dolmuş
2
6%
Serbest
42
Geliştirici 42
Derecelendirme
(53)
Projeler
68
59%
Arabuluculuk
4
75% / 25%
Süresi dolmuş
1
1%
Yüklendi
43
Geliştirici 43
Derecelendirme
(14)
Projeler
17
18%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
3
18%
Serbest
44
Geliştirici 44
Derecelendirme
(548)
Projeler
833
62%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Serbest
Yayınlandı: 1 kod
45
Geliştirici 45
Derecelendirme
(298)
Projeler
478
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
82
17%
Yüklendi
Yayınlandı: 2 kod
46
Geliştirici 46
Derecelendirme
(3)
Projeler
4
0%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
25%
Serbest
47
Geliştirici 47
Derecelendirme
(12)
Projeler
15
33%
Arabuluculuk
5
40% / 20%
Süresi dolmuş
1
7%
Çalışıyor
Yayınlandı: 6 makale, 34 kod
48
Geliştirici 48
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
49
Geliştirici 49
Derecelendirme
(258)
Projeler
266
29%
Arabuluculuk
0
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
50
Geliştirici 50
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
51
Geliştirici 51
Derecelendirme
(644)
Projeler
871
48%
Arabuluculuk
29
38% / 17%
Süresi dolmuş
63
7%
Çalışıyor
52
Geliştirici 52
Derecelendirme
(31)
Projeler
33
42%
Arabuluculuk
0
Süresi dolmuş
3
9%
Serbest
53
Geliştirici 53
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
54
Geliştirici 54
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
55
Geliştirici 55
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
56
Geliştirici 56
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Ниже представлено готовое, технически выверенное Техническое задание (ТЗ) . Вы можете полностью скопировать этот текст и разместить его на бирже фриланса (например, MQL5.com в разделе «Фриланс» или на Smart-Lab). Данное ТЗ написано на профессиональном языке, понятном разработчикам торговых систем для терминала QUIK (на языке Lua) . ТЕХНИЧЕСКОЕ ЗАДАНИЕ (ТЗ) Разработка мультивалютного торгового робота для терминала
Bot 30 - 80 USD
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5 based on a Price Action strategy. The bot needs to automatically identify specific candlestick formations and market structure levels, execute trades, and manage risk using a dynamic trailing stop.The EA should monitor the chart for the following price action setup:Market Structure / Trend Filter:The bot
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades
English Description (For Developers): I need a custom Expert Advisor (EA) for MT5 to trade ONLY ETHUSD based on trend-following and counter-trendline breakout-retest with an M1 execution filter and strict risk management. Trading Logic: 1. Trend Filter: Price must be below 200 EMA on both H1 and M15 timeframes for Short (Sell) trades. (Opposite for Long/Buy trades). 2. Setup: On the M15 chart, after a strong move in
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization

Proje bilgisi

Bütçe
30 - 20000 USD
Son teslim tarihi
from 1 to 30 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0