NatTrade Candlestick Patterns EA
- Experts
- Version: 1.0
- Activations: 5
Copy the English section into the product page (MQL5 Market requires English as the main language). The Arabic section is a translation for your own use. The BACKTEST RESULTS section must be filled only with results you ran yourself and that anyone can reproduce.
k rules. It is built for traders who want transparent logic, full control and a built-in trade log, not a black box.
PATTERNS DETECTED Hammer, Hanging Man, Inverted Hammer, Shooting Star, Morning Star, Evening Star, Bullish/Bearish Engulfing, Bullish/Bearish Marubozu. Each pattern can be switched on or off.
HOW IT TRADES
- A pattern is detected on a closed candle.
- Optional context filters check it: swing high/low location, trend, RSI, volume.
- The EA waits for a confirmation candle that breaks the pattern's high/low before entering. It does not enter on the pattern candle itself.
- Only one trade per candle and one position per direction, so several patterns on the same candle never stack risk.
- Stop loss is based on the pattern's extreme plus a buffer (ATR-based or fixed pips), or a fixed-pip stop.
TRADE MANAGEMENT
- Staggered profit targets (default 0.5R to 3R, up to 10) with partial closes; the stop moves to entry, then follows the previous target.
- Alternative fixed-pip ladder mode.
- Optional time exit and reversal-signal exit.
- A safety take-profit at the final target is also placed at the broker.
RISK PROTECTION Risk-percent or fixed lot sizing, margin check before every order, maximum lot cap, maximum daily loss with optional "close all", maximum daily trades, spread filter relative to ATR, trading session filter, and an economic-calendar news filter (live trading only).
SYMBOLS Designed to adapt automatically to Forex majors and crosses (including JPY pairs), Gold (XAUUSD), Silver, Bitcoin (BTCUSD), Ethereum and index CFDs. The pip size is detected per symbol and can be overridden manually. The timeframe is selectable. My own tests so far were on H1; test any other symbol or timeframe yourself before using it.
CONTROL PANEL AND TOOLS Dashboard with pause and close-all buttons, manual buy/sell, live setting edits, pattern markers on the chart, trade-level boxes and target lines, daily/weekly time lines, psychological levels, and push/email/sound alerts. A CSV log records every trade with its pattern, profit, pips and exit reason, so you can measure which patterns work on your own symbol. The EA restores its state after a restart.
BROKER AND ACCOUNT REQUIREMENTS
- MetaTrader 5 with Algo Trading enabled. No DLL and no WebRequest needed.
- A hedging account is recommended (partial closes and independent positions). Netting accounts work with one position per symbol.
- Market execution with fair spreads (ECN/raw accounts are preferred) and a reasonable stop level and freeze level.
- At least 1500 bars of history on the traded timeframe.
- Minimum lot 0.01 (or smaller than the partial-close size) so the staggered targets can split the position.
- Economic calendar available in your terminal if you use the news filter.
- A VPS is recommended for continuous operation.
RISK WARNING Trading carries a high risk of loss. Backtests and demo results do not guarantee future profit. This EA is a tool, not a promise of returns. Test on a demo account and with your own broker before using real money.
