EMA Crossover EA ATR Final
Automated Expert Advisor for MetaTrader 5 – EMA Crossover • RSI Filter • ATR-Based SL/TP • Trailing Stop • LINE Notify
EMA Crossover EA ATR Final is a turnkey Expert Advisor engineered to trade Forex pairs and Gold (XAUUSD) on MT5. It generates entry signals when a fast EMA crosses a slow EMA, confirms them with RSI, and automatically sets Stop Loss and Take Profit levels based on ATR. A built-in trailing stop locks in profits, and all trade executions (or failures) are pushed to your LINE app via LINE Notify.
EMA Crossover Strategy
Enter long when EMA-Fast crosses above EMA-Slow; enter short on the reverse.
RSI Signal Filter
Avoid false breakouts by requiring RSI to confirm overbought/oversold conditions.
ATR-Based SL/TP
Automate Stop Loss and Take Profit distances using configurable ATR multipliers.
Dynamic Trailing Stop
Move Stop Loss to secure gains as the trade moves in your favor.
Position Management
Close any existing trade in the same direction before opening a new one.
LINE Notify Integration
Receive real-time alerts for every order filled or any execution errors.
Fixed Magic Number
Distinguish EA trades from manual orders for safer operation.
| Category | Parameter | Default | Description |
|---|---|---|---|
| Trend Filter | EMA_Fast_Period | 9 | Period for the fast EMA. |
| EMA_Slow_Period | 21 | Period for the slow EMA. | |
| Momentum | RSI_Period | 14 | Period for the RSI indicator. |
| RSI_Overbought_Level | 55 | RSI threshold above which long entries may be filtered out. | |
| RSI_Oversold_Level | 45 | RSI threshold below which short entries may be filtered out. | |
| Volatility | ATR_Period | 14 | Period for the ATR indicator. |
| ATR_SL_Multiplier | 1.0 | Multiplier applied to ATR to calculate Stop Loss distance. | |
| ATR_TP_Multiplier | 2.0 | Multiplier applied to ATR to calculate Take Profit distance. | |
| Risk Control | LotSize | 0.02 | Fixed lot size per trade. |
| Order Settings | Slippage | 2 | Maximum slippage allowed (in pips). |
| TrailingStopDistance | 300 | Trailing stop distance (in pips). | |
| Notifications | LineNotifyToken | — | Your LINE Notify access token (paste your token here). |
Copy EA File
Place EMA_Crossover_EA_ATR_final.mq5 into your MQL5/Experts folder.
Copy Include Files
Ensure Trade.mqh , Logger.mqh (and any other required .mqh files) reside in MQL5/Include .
Restart MT5
Attach EA
Drag the EA onto your desired chart (recommended: XAUUSD, EURUSD, GBPUSD) on M5–H1 timeframes.
Configure Inputs
Adjust parameters to suit your risk tolerance and market conditions.
Enable AutoTrading
Click “AutoTrading” in MT5.
Backtest Thoroughly: Run at least 6 months of historical data before going live.
Avoid High-Impact News: Disable EA around major economic announcements.
Optimize Parameters: Fine-tune ATR multipliers and trailing distances for each symbol’s volatility.
Money Management: Ensure account size supports your chosen lot size and risk settings.
Monitor Notifications: Watch LINE alerts for execution failures or unexpected behavior.
Need help or bespoke adjustments? Contact the developer via the LINE ID or email provided in the source code.
If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: support@fx-market.pro.
Refund requests received more than 30 days after purchase will be rejected.