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.
Pedidos semelhantes
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","