tootrix
This EA uses two TriX indicators with different periods to generate trading signals, combining momentum reversal detection with a martingale position sizing system. It opens buy/sell positions when TriX shows a V-shaped reversal pattern and the second TriX confirms momentum direction, while doubling lot size after losses via the included Martingail library.
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: Elevated
- Increases the position size after losses (martingale)
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 TriX indicator triple-smoothed momentum reversal detection. Entry conditions: go long when the fast TriX shows a V-bottom reversal (t[0]>t[1] and t[1]<t[2]) and the slow TriX is rising; go short when the fast TriX shows an inverted V-top reversal (t[0]<t[1] and t[1]>t[2]) and the slow TriX is falling. Exit conditions rely on fixed stop loss and take profit, with 500-point SL and 1500-point TP, yielding a 3:1 reward-to-risk ratio. Position sizing uses a martingale strategy via the Martingail library, doubling lot size after losses, where DML controls initial lot sizing and Ud controls the number of doubling steps. Money management persists the martingale state using global variables so the EA can resume its progression after restarts. The strategy only opens positions when no existing position is held, maintaining at most one position at a time.
Strengths
- TriX triple-smoothing indicator effectively filters market noise and reduces false signals
- 3:1 reward-to-risk ratio is reasonable with high expected value per winning trade
- Dual TriX confirmation mechanism increases signal reliability: fast period catches reversals, slow period confirms trend
Weaknesses
- Martingale sizing causes exponential lot growth during losing streaks, risking account blowup
- Both Fast and Slow TriX periods are set to 9, providing no differentiated confirmation — both indicators are effectively identical
- Single-position limitation means frequent stop-outs in choppy markets can rapidly deplete capital through doubling
- No spread filter or trading session filter, so positions open even under unfavorable conditions
Possible improvements
- Set different periods for fast and slow TriX (e.g., Fast=9, Slow=21) to achieve genuine multi-timeframe confirmation
- Add maximum consecutive loss count and maximum position size cap to prevent martingale from spiraling out of control
- Add spread filter and trading session filter to avoid opening positions under unfavorable conditions
Risk assessment
Overall risk: Dangerous
- Martingale lot doubling causes exponential position growth during consecutive losses,easily leading to account blowup
- Identical fast/slow TriX periods render signal confirmation ineffective, resulting in high false signal probability
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
DML | 1000 | Martingale initial lot shape parameter |
Ud | 1 | Martingale doubling count |
Stop | 500 | Stop loss in points |
Tp | 1500 | Take profit in points |
Slipage | 50 | Allowed slippage |
Fast | 9 | Fast TriX indicator period |
Slow | 9 | Slow TriX indicator period |
Similar Martingale EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.