EA-12711 · Trend Following

Exp_ForexProfitBoost_2nb

This EA uses a custom indicator ForexProfitBoost_2nb, which combines two moving averages with Bollinger Bands, to generate buy and sell signals. It opens and closes positions based on the intersection of upper and lower indicator buffer signals, with configurable money management and stop-loss/take-profit levels. The EA operates on a new bar basis and supports independent control of buy/sell opening and closing.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, H6
IndicatorsEMA, SMA, Bollinger Bands
AuthorCopyright © 2015, 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 strategy concept is based on a combination indicator ForexProfitBoost_2nb that merges two moving averages with Bollinger Bands, classifying it as a trend-following system. Entry conditions: a buy signal is generated when the upper buffer (Up) shows a non-empty value and the lower buffer (Dn) previous value is also non-empty; a sell signal is generated when the lower buffer (Dn) shows a non-empty value and the upper buffer (Up) previous value is also non-empty. Exit conditions include fixed stop-loss and take-profit (default 1000 and 2000 points respectively), as well as reverse signal-triggered closing (BUY_Close and SELL_Close logic). Position sizing is controlled by the MM parameter, supporting both fixed lot size and margin-based percentage modes (LOT and MARGIN). Money management leverages the TradeAlgorithms.mqh library functions for unified handling of opening and closing positions. The strategy only calculates signals on new bar formation rather than every tick, improving computational efficiency.

Strengths

  • Uses new bar mechanism to avoid per-tick recalculation, improving execution efficiency
  • Buy/sell opening and closing logic is independently controllable, offering high flexibility
  • Combines dual moving averages with Bollinger Bands for multi-dimensional trend confirmation, reducing false signals
  • Includes stop-loss and take-profit settings, providing basic risk control
  • Recount mechanism automatically retries on signal calculation failure, enhancing robustness

Weaknesses

  • Default stop-loss of 1000 points and take-profit of 2000 points are excessively large, resulting in poor risk-reward ratio for most currency pairs
  • No spread filter, potentially leading to unfavorable entries in high-spread environments
  • No position check logic, possibly opening duplicate positions in the same direction
  • Depends on the custom indicator ForexProfitBoost_2nb, which if unavailable prevents the EA from running and is hard to debug
  • Bollinger Band deviation set to only 1 standard deviation may generate too many signals leading to overtrading

Possible improvements

  • Add position check logic to avoid duplicate entries in the same direction
  • Add spread filter and session filter to prevent entries during unfavorable trading periods
  • Increase default Bollinger Band deviation to 2 to reduce the frequency of false signals

Risk assessment

Overall risk: Medium

  • Lack of position check may cause duplicate entries in the same direction, resulting in excessive exposure
  • Default stop-loss and take-profit points are very large, resulting in high risk per trade
  • No spread filter mechanism, high-spread environments may lead to unfavorable fills

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.3

Parameters

ParameterDefaultDescription
MM0.1Deposit percentage or lot size; negative value = fixed lots
MMModeLOTMoney management mode: fixed lots or margin percentage
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price deviation in points (slippage tolerance)
BuyPosOpentrueAllow buy position opening
SellPosOpentrueAllow sell position opening
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H6Indicator timeframe
SignalBar1Bar index for signal retrieval
MAPeriod17First moving average period
MAType1MODE_EMAFirst moving average type
MAPrice1PRICE_CLOSEApplied price of the 1st moving average
MAPeriod221Period of the 2nd moving average
MAType2MODE_SMAType of the 2nd moving average
MAPrice2PRICE_CLOSEApplied price of the 2nd moving average
BBPeriod15Bollinger Bands period
BBDeviation1Bollinger Bands standard deviation multiplier
BBShift1Bollinger Bands shift
Shift0Indicator shift relative to current bar

Similar Trend Following 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.