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)
- Only open trades during specific trading hours (input: start hour and end hour)
- 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.
- Code must compile in MetaTrader 5 with no errors.
- Comment the code clearly so beginners can understand it.
Yanıtlandı
Arabuluculuk
37
27%
/
65%
Yayınlandı: 10 kod
Arabuluculuk
62
58%
/
24%
Arabuluculuk
24
13%
/
58%
Arabuluculuk
24
58%
/
17%
Arabuluculuk
25
28%
/
56%
Arabuluculuk
27
11%
/
70%
Arabuluculuk
28
61%
/
14%
Arabuluculuk
125
44%
/
26%
Arabuluculuk
33
27%
/
45%
Yayınlandı: 1 kod
Arabuluculuk
105
40%
/
24%
Yayınlandı: 2 kod
Yayınlandı: 9 makale, 35 kod
Arabuluculuk
57
40%
/
37%
Arabuluculuk
29
38%
/
17%
Arabuluculuk
78
49%
/
14%
Yayınlandı: 1 kod
Arabuluculuk
10
40%
/
10%
Arabuluculuk
13
69%
/
15%
Arabuluculuk
36
25%
/
56%
Yayınlandı: 10 kod
Benzer siparişler
Hello, I'm looking for a developer who can build an automated trading bot (Expert Advisor) for MetaTrader 5 (MT5). I want a smart trading robot that can scan the markets, identify high-probability trading opportunities, and automatically execute trades. Strategies and indicators I'd like included: RSI (75 overbought / 25 oversold). MACD crossover with strong momentum. 9/21 EMA crossover. 20/50 SMA crossover. Smart
I am looking for an experienced MQL5 developer to create a simple, well-organized Expert Advisor for MetaTrader 5. Requirements: - Provide complete and editable MQL5 source code. - Explain the EA's functionality and logic clearly. - Include configurable settings. - Include appropriate risk-control features. - Provide clear installation and testing instructions. - Ensure the code is clean and properly documented. I
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5