Exp_Trigger_Line
This EA trades based on the Trigger Line indicator, which is a variation of the Linear Regression Channel or moving average crossover system. It opens buy positions when the fast trigger line crosses above the slow trigger line and sell positions on the reverse crossover, implementing a systematic trend-following strategy with configurable lot sizing and stop levels.
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 EA employs a dual trigger line crossover strategy as its core entry logic, representing a classic trend-following system. The golden cross of the fast trigger line above the slow trigger line serves as the buy signal, while the death cross provides the sell signal, essentially capturing trend initiation and reversal. Exit conditions rely on reverse crossover signals or preset stop-loss and take-profit levels, with some versions potentially including a trailing stop mechanism to protect floating profits. Position sizing follows a fixed lot model, with no dynamic position adjustment based on account balance or risk percentage observed. Money management lacks compound position control, and no martingale or grid pyramiding logic is present. The overall strategy logic is simple and clear, but may generate frequent false signals in ranging markets leading to consecutive losses.
Strengths
- Simple and clear strategy logic that is easy to understand and tune, suitable for beginners
- Trend-following approach can capture significant profits during strong trending markets
- No martingale or grid pyramiding logic, eliminating exponentially increasing risk of account blow-up
- Highly configurable parameters allow users to adapt to different instruments and market conditions
Weaknesses
- Prone to frequent false signals and consecutive losses in ranging or choppy markets
- Fixed lot position sizing does not consider account equity ratio, lacking risk-adaptive capability
- Missing new bar check mechanism may cause repeated position opening on the same bar
- No spread filter included, trading costs in high-spread environments may erode profits
Possible improvements
- Add ATR-based or volatility-adaptive stop-loss mechanism to replace fixed pip stops for better adaptation to varying market volatility
- Incorporate trend strength filtering (e.g., ADX) or range identification logic to avoid frequent trading during sideways markets
Risk assessment
Overall risk: Medium
- Missing new bar check may cause multiple position openings on the same bar, increasing risk exposure
- Fixed stop-loss does not account for market volatility changes and may be easily stopped out during volatile periods
- Consecutive false signals in ranging markets may result in cumulative losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Lots | 0.1 | Fixed lot size per trade |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit in points |
TrailingStop | 0 | Trailing stop in points, 0 to disable |
TriggerLinePeriod | 14 | Trigger line calculation period |
TriggerLineMethod | MODE_SMA | Trigger line MA calculation method |
TriggerLineShift | 0 | Trigger line offset |
MagicNumber | 12345 | EA magic number for identifying this EA's orders |
Timeframe | PERIOD_CURRENT | Trading timeframe |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.