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.
Similar orders
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine