Exp_SilverTrend
This EA trades based on the SilverTrend_Signal custom indicator, opening buy positions on upward signals and sell positions on downward signals. It supports configurable money management modes, stop loss/take profit, and optional position closing on reverse signals. The strategy is a signal-based breakout system that enters on new bar formations when the indicator produces non-empty values.
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 core strategy uses the SilverTrend_Signal indicator to detect trend breakout signals for trading. Entry conditions: a buy signal triggers when indicator buffer 1 (UpValue) produces a non-zero, non-EMPTY_VALUE value on the specified SignalBar; a sell signal triggers when buffer 0 (DnValue) produces a valid value. Exit conditions include hard stop loss and take profit, as well as reverse signal closing — buy signals close sell positions and sell signals close buy positions. Position sizing supports 5 money management modes including fixed lot, balance percentage, and free margin percentage. Money management is controlled by the MM parameter for risk ratio and MMMode for the calculation mode. The EA also includes an additional reverse signal search logic: when both open and close on reverse are enabled, it scans forward through historical bars to find earlier reverse signals for confirmation, which adds conservatism but may delay position closing.
Strengths
- Supports multiple money management modes with high flexibility for different risk preferences
- Configurable stop loss and take profit provide clear risk control mechanisms
- Independent switches for opening and closing allow flexible strategy combinations such as open-only or close-only modes
- Uses IsNewBar mechanism to control signal detection frequency, preventing repeated trades within the same bar
Weaknesses
- Depends on the external custom SilverTrend_Signal indicator whose logic is opaque and hard to verify
- Default stop loss of 1000 points and take profit of 2000 points are excessively large for most instruments, leading to high risk exposure
- The reverse signal search logic iterates through all historical bars, potentially causing performance issues on long history data
- Lacks spread filter, trading session filter, and market condition filter mechanisms
- No position check logic — may open duplicate positions in the same direction
Possible improvements
- Add position check logic to prevent duplicate openings in the same direction
- Add spread filter and trading session filter to improve trade quality
- Optimize reverse signal search logic by limiting maximum bar count to improve performance
Risk assessment
Overall risk: Medium
- Default SL/TP of 1000/2000 points are excessively large, creating very high per-trade risk exposure
- No same-direction position check may lead to duplicate openings amplifying risk
- Dependency on external indicator with opaque logic makes signal reliability unverifiable
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio or lot size, meaning per MMMode |
MMMode | LOT | Position sizing (free margin/balance/fixed lot, etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | true | Allow buy to open |
SellPosOpen | true | Allow sell to open |
BuyPosClose | true | Allow closing buy positions on reverse signal |
SellPosClose | true | Allow closing sell positions on reverse signal |
InpInd_Timeframe | PERIOD_H1 | NRTR_extr indicator timeframe |
SSP | 9 | SilverTrend indicator period |
RISK | 3 | SilverTrend indicator risk parameter |
SignalBar | 1 | Signal reference bar index |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.