EA-1190 · Breakout

Exp_Candles_XSmoothed

This EA trades breakouts from smoothed candle high/low channels. It uses a custom Candles_Smoothed indicator to generate smoothed high and low boundaries, then enters long when price closes above the smoothed high plus a breakout level, and enters short when price closes below the smoothed low minus a breakout level. Positions are closed on reverse signals and managed with fixed stop loss and take profit.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryBreakout
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsCandles_Smoothed, LWMA/EMA/SMA/JJMA/JurX/ParMA/T3/VIDYA/AMA
AuthorCopyright © 2012, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The core strategy concept is a breakout trading system based on smoothed candle high/low channels, using the Candles_Smoothed indicator to smooth price extremes and filter market noise. Entry conditions: a long position is opened when the close price breaks above the smoothed high plus a breakout level (dLevel), and a short position is opened when the close price breaks below the smoothed low minus dLevel. Exit conditions: reverse breakout signals trigger position closure (e.g., a long position is closed when the close falls below the smoothed low minus dLevel), and each trade has a fixed stop loss of 1000 points and take profit of 2000 points. Position sizing is controlled by the MM parameter where negative values represent fixed lot sizes and positive values represent a percentage of the deposit. Money management relies on the TradeAlgorithms.mqh library functions, supporting dynamic lot calculation based on account balance percentage. The strategy operates on higher timeframes like H4 and uses the IsNewBar mechanism to ensure signal calculation occurs only once per bar, preventing duplicate entries.

Strengths

  • Uses smoothing algorithms to filter price noise, reducing false breakout signals
  • Supports 9 smoothing methods for flexibility across different market conditions
  • Full open/close permission controls for both long and short directions
  • IsNewBar mechanism prevents redundant signal calculation on the same bar
  • Explicit stop loss and take profit parameters for defined risk management

Weaknesses

  • Breakout strategies prone to frequent false signals and consecutive losses in ranging markets
  • Fixed 1000-point SL and 2000-point TP may not suit all instruments and volatility environments
  • Lacks existing position checking, potentially leading to duplicate entries
  • No spread filter, which can be disadvantageous in high-spread conditions
  • The loop searching from SignalBar through all bars is inefficient and logically unclear

Possible improvements

  • Add position checking logic to avoid duplicate entries when same-direction positions already exist
  • Add spread filtering and volatility-adaptive stop loss/take profit mechanism

Risk assessment

Overall risk: Medium

  • Breakout strategy may trigger stop losses frequently in ranging markets leading to consecutive losses
  • Lack of position checking may cause duplicate same-direction entries, amplifying risk exposure
  • Fixed stop loss/take profit does not adapt to varying market volatility conditions

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM-0.1Deposit ratio or fixed lot; negative = fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price deviation in points (slippage tolerance)
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4Indicator timeframe
MA_SMethodMODE_LWMASmoothing method (SMA/EMA/SMMA/LWMA/JJMA etc.)
MA_Length30Smoothing depth/period
MA_Phase100Smoothing parameter (JJMA: -100 to +100, VIDIA: CMO period, AMA: slow avg period)
Level30Breakout level in points
SignalBar1Bar index for entry signal

Similar Breakout EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.