Candle EA MQ5 is the full, editable MQL5 source code of a trend-following forex EA that trades candlestick price action. It reads candle structure to identify the dominant trend, confirms each signal with an indicator filter and skips weaker setups. There is no martingale and no hedging.

With the .mq5 file, you can study the candle detection logic, adjust filters and risk settings in MetaEditor, and compile your own version of this candlestick EA for MetaTrader 5.

Strategy & Trading Logic

Candlestick Price Action: Detects candle-based signals to read trend direction and momentum.

Indicator Confirmation: Every candle signal is confirmed by an indicator filter before a trade opens.

Trend Following: Trades with the dominant trend and filters out weak or counter-trend setups.

Major Forex Pairs: Built for EURUSD, GBPUSD, AUDUSD and USDCAD.

Swing Timeframes: Runs on M30, H1 and H4 charts.

Risk Management & Protection

Stop Loss & Take Profit: Fixed SL and TP on every trade.

Breakeven & Trailing Stop: Moves the stop to breakeven, with an optional trailing stop to protect profits.

Flexible Lot Sizing: Manual lots or automatic sizing based on risk per trade.

Spread Filter: Blocks entries when the spread exceeds your maximum.

No Martingale, No Hedging: Clean single-direction logic with controlled exposure.

Small Account Friendly: Works from a 100 USD account with 1:50 leverage.

Own the full code behind a disciplined candlestick strategy. Get the Candle EA MQ5 source code, tailor it to your pairs and risk profile, and test it on demo before trading live.