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
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.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
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Deposit percentage or lot size; negative value = fixed lots |
MMMode | LOT | Money management mode: fixed lots or margin percentage |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price deviation in points (slippage tolerance) |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H6 | Indicator timeframe |
SignalBar | 1 | Bar index for signal retrieval |
MAPeriod1 | 7 | First moving average period |
MAType1 | MODE_EMA | First moving average type |
MAPrice1 | PRICE_CLOSE | Applied price of the 1st moving average |
MAPeriod2 | 21 | Period of the 2nd moving average |
MAType2 | MODE_SMA | Type of the 2nd moving average |
MAPrice2 | PRICE_CLOSE | Applied price of the 2nd moving average |
BBPeriod | 15 | Bollinger Bands period |
BBDeviation | 1 | Bollinger Bands standard deviation multiplier |
BBShift | 1 | Bollinger Bands shift |
Shift | 0 | Indicator shift relative to current bar |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.