Secwenta
Secwenta is a trend-following Expert Advisor that opens trades when a configurable number of consecutive bullish or bearish bars appear, assuming that consecutive same-direction candles indicate trend continuation. It maintains a maximum of one open position at a time, operates only on new bar formation, and uses the WPR Custom indicator. BUY open signals simultaneously act as SELL close signals and vice versa, with optional direction-only trading modes.
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
- Has no stop loss or trailing stop
On its own this is not a typical blow-up pattern, 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
Strategy concept: A trend-following strategy based on consecutive same-direction candles, with the core logic that when a specified number of consecutive bullish or bearish bars appear, the trend is expected to continue and the EA enters in that direction. Entry conditions: Open a long position when Number of bull bars consecutive bullish candles appear, open a short position when Number of bear bars consecutive bearish candles appear. Exit conditions: A BUY open signal simultaneously serves as a SELL close signal and vice versa; when trading only one direction, an opposite-direction single bar can serve as the close signal. Position sizing: Always maintains a maximum of one open position, compatible with both netting and hedging accounts. Money management: Position size controlled via lot size parameter, but there is no explicit stop loss, take profit, or percentage-based money management mechanism. The EA also integrates the WPR Custom indicator as an auxiliary signal filter.
Strengths
- The strategy logic is extremely simple and clear, easy to understand and tune, suitable for beginners
- Operates only on new bar formation, avoiding overtrading and excessive resource consumption from tick-by-tick processing
- Always maintains a maximum of one open position, keeping risk exposure controlled, and is compatible with both netting and hedging account types
- Supports buy-only or sell-only modes, providing high flexibility to adapt to different market views
- The BUY open signal also serving as SELL close signal design gives the strategy a natural reversal mechanism
Weaknesses
- Lacks explicit stop loss and take profit mechanisms, potentially facing large losses in volatile markets
- Relies solely on consecutive candle count for trend detection, the signal is too simplistic and prone to frequent false breakouts in ranging markets
- Does not account for spread, slippage, or transaction cost filtering, profits may be eroded by trading costs especially on short timeframes
- Position sizing relies only on fixed lots, with no dynamic sizing based on account equity or volatility
- The specific WPR indicator filtering rules are unclear; it may serve only as a visual display rather than a strict entry filter
Possible improvements
- Add stop loss and take profit parameters, ideally ATR-based dynamic SL/TP to adapt to varying market volatility conditions
- Add a trend filter (e.g., moving average direction, ADX) to avoid frequent opening in ranging/choppy markets
- Incorporate spread filtering and trading session filtering to reduce high-cost trades and false signals during low-liquidity periods
Risk assessment
Overall risk: Medium
- No stop loss mechanism, single trade loss can expand indefinitely
- Consecutive candle signals frequently fail in ranging markets, potentially leading to repeated stop-outs or sustained floating losses
- Fixed lot sizing without dynamic adjustment based on account equity poses over-leveraging risk
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Number of bull bars | 2 | Consecutive bullish bar count threshold to trigger buy signal |
Number of bear bars | 2 | Consecutive bearish bar count threshold to trigger sell signal |
Lots | 0.1 | Lot size per trade |
Allow BUY | true | Allow buytrading |
Allow SELL | true | Allow selltrading |
WPR Period | 14 | Williams Percent Range indicator period |
Timeframe | H1 | Timeframe used for trading |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.