Key Features for the EA
1. Timeframe: M5 (5-minute) or M15 (15-minute)
2. Currency Pairs: EUR/USD, GBP/USD, USD/JPY (low spread pairs)
3. Trading Sessions: London and New York sessions for optimal volatility
4. Entry Strategy: Combination of indicators for precision
5. Exit Strategy: TP/SL and trailing stop mechanism
6. Risk Management: Fixed lot size or percentage of equity
Entry Strategy (Conditions for Opening Trades)
Indicators
• Exponential Moving Average (EMA) 50 – Trend filter
• Exponential Moving Average (EMA) 200 – Trend confirmation
• Relative Strength Index (RSI) – Entry signal confirmation
• Average True Range (ATR) – Dynamic stop loss calculation
Buy Entry Conditions
1. EMA 50 > EMA 200 (bullish trend confirmation)
2. RSI crosses above 30 from below (oversold recovery)
3. Candle closes bullish above EMA 50
4. ATR value determines the optimal stop loss distance
5. Open a buy order when all conditions align
Sell Entry Conditions
1. EMA 50 < EMA 200 (bearish trend confirmation)
2. RSI crosses below 70 from above (overbought reversal)
3. Candle closes bearish below EMA 50
4. ATR value determines the optimal stop loss distance
5. Open a sell order when all conditions align
Exit Strategy (Conditions for Closing Trades)
• Take Profit (TP): 1.5x ATR value
• Stop Loss (SL): ATR value
• Trailing Stop: 0.5x ATR to lock in profits
• Break-even Rule: Move SL to entry after gaining 10 pips
Risk Management Strategy
• Lot Size: 1-2% of account balance per trade
• Max Drawdown Limit: 10-15% of total equity
• Max Open Trades: 3 trades at a time to minimize exposure
Additional Features for Optimization
1. News Filter: Avoid trading during high-impact news events.
2. Time Filter: Enable trades only during optimal market hours (London/NY sessions).
3. Spread Filter: Avoid entries when spreads exceed a set threshold.
4. Dynamic Lot Sizing: Automatically adjust lot size based on equity growth.
Coding Best Practices for MT5
• Use MQL5’s Object-Oriented Programming (OOP) structure for better performance.
• Implement Error Handling to prevent trade execution issues.
• Use OnTick() for fast decision-making during price updates.
• Optimize using MT5 Strategy Tester with historical data before live trading.
Commandes similaires
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the