TriMode FX
- Эксперты
-
Jian Rong Roland Tay
I’m Roland Tay, an independent learner with a growing interest in artificial intelligence, automation and financial markets. - Версия: 1.12
- Активации: 5
TriMode FX is an intraday Expert Advisor for MetaTrader 5. Every hour, once the current one-hour candle closes, it checks the market and picks exactly one trading mode to run. The other two modes stay switched off until conditions change. This keeps the EA from running conflicting strategies on the same account at once.
What "one mode at a time" means in practice
TriMode FX doesn't blend three strategies into one signal. It runs three separate strategies and hands control to one of them at a time, based on completed one-hour market conditions.
While a strategy has a position open, the other two can't touch it. They can't flip the direction, close it early, or open a competing trade. Each position stays owned by the strategy that opened it, right through to exit.
The three trading modes
| Mode | Timeframe it reads | What it's built on | What it's looking for |
|---|---|---|---|
| Trend pullback | Completed 15-minute candles | Fair value gap (FVG) displacement, a moving-average trend filter, ATR-based stops | A trend that's paused and offered a better entry point |
| London opening-range breakout | Completed 15-minute candles | 15-minute London opening range, daily volatility check, pending orders | Price breaking out of the early London range |
| Mean reversion | Completed 5-minute candles | Bollinger Band extremes, RSI, ATR-based stops | Price stretched too far from average, likely to snap back |
1. Trend pullback
In plain terms: this mode waits for a trend to briefly pause, then enters on the pullback instead of chasing the move.
In technical terms: it reads completed 15-minute candles, looks for fair value gap (FVG) displacement — a gap left by an imbalanced price move — filters entries with a moving-average trend read, and sizes stop distance using ATR (Average True Range).
2. London opening-range breakout
In plain terms: this mode marks out the first stretch of the London session, then places orders above and below that range to catch a breakout.
In technical terms: it builds a 15-minute opening range at the London session open, checks that range against daily volatility (so it doesn't trade an abnormally tight or wide range), and works with pending stop orders on both sides. Once price triggers one side, TriMode FX cancels the opposite pending order.
3. Mean reversion
In plain terms: this mode looks for price that's overextended and trades the bounce back toward average.
In technical terms: it runs on completed 5-minute candles, checks for price touching Bollinger Band extremes, confirms with RSI readings, and protects the trade with an ATR-based stop.
How TriMode FX decides which mode runs
Once every completed hour, a router evaluates three readings:
- ADX — how strong the current trend is
- Moving-average separation — how far apart short and long averages have spread
- ATR context — current volatility relative to normal
Based on those readings, the router hands the mandate to trend pullback, London breakout, or mean reversion. It needs confirmation across multiple bars before switching, and once a mode is active, it stays locked in for a minimum of four hours. This stops the EA from flipping modes every time conditions wobble.
Only one mode holds an executable mandate at any point. If a position is already open when the router switches modes, that position stays with its original strategy until it closes.
News and fundamental filters
TriMode FX can read the built-in MetaTrader 5 economic calendar, and optionally an interest-rate CSV file you supply.
- A clear directional read from fundamentals can authorize trend pullback or London breakout mode.
- A neutral read can authorize mean reversion instead.
- High-impact news windows can block new entries and cancel pending orders that would otherwise trigger.
Risk controls
Position size is calculated from account balance, your chosen risk percentage, stop distance, tick size and tick value — not a fixed lot size.
On top of that, TriMode FX includes:
- Separate risk allocation per mode
- A cap on total open portfolio risk
- A daily realized-loss limit
- A daily trade-count limit
- Spread and broker minimum-stop-distance checks before entry
- A maximum four-hour holding period per position
- Optional day-end close (New York session)
- Shadow mode — runs the full logic and logs decisions without sending real orders, for testing on a live account
Installation
- Install TriMode FX from your MetaTrader 5 terminal.
- Attach one instance to an H1 (one-hour) chart on your chosen forex pair. The EA pulls H1, M15 and M5 data internally, whatever chart period is visible.
- Start in shadow mode and check the Experts log to confirm it's reading conditions the way you expect.
- Run it on a demo account with your actual broker before going live. Spreads, execution speed and stop-distance rules vary by broker, and that affects results.
What TriMode FX is not
TriMode FX is not a grid or martingale system, not a latency-arbitrage or high-frequency tool, and not a copy-trading or signal-following product. It has no Discord execution and no sentiment feed.
A note on live results
Spread widening, slippage, price gaps, thin liquidity, broker-specific restrictions and data feed interruptions can all make live results differ from backtests. Test thoroughly on demo before committing real capital.
Risk disclosure
TriMode FX is automated trading software. It doesn't give personalized financial advice or manage your account for you. Backtested and historical performance doesn't predict future results. Leveraged forex trading can produce fast, large losses. You remain responsible for your account, your settings, and your decision to run automated trading on it.
