NanoTrend AI
- Experts
-
Steffen Schmidt
5 years of Forex trading experience.
Private Telegram Channel for support and assistance https://t.me/+W8vTD6sxPORhZjcx - 버전: 1.4
- 업데이트됨: 3 6월 2026
- 활성화: 20
NanoTrend AI — Deep Learning Trading System
Smarter entries. Cleaner risk. No martingale. No grid.
ONNX Neural Network XAUUSD Optimised Any Symbol Any Timeframe No Martingale No Grid
Overview
NanoTrend AI v1.4 replaces traditional indicator-based entries with a trained deep learning model. A Bidirectional LSTM network with attention mechanism reads 60 bars of market context and classifies each moment as SELL, HOLD, or BUY — firing only when confidence exceeds the configured threshold. The AI decides when to enter. Classic systems handle when to exit.
Every trade has a defined SL and TP. No martingale, no grid, no averaging down.
Core methodology
ONNX BiLSTM + Attention — primary signal engine A bidirectional LSTM trained on 17 months of XAUUSD M5 data. Reads 60 bars simultaneously forward and backward. Attention pooling learns which bars in the sequence matter most. 23 normalised features including H1 trend context, session timing, volume pressure, and volatility regime. Updated every new M5 bar. Only fires when model confidence ≥ threshold (default 0.62 — tunable).
ADX gate — choppiness filter Minimum ADX threshold blocks entries during low-momentum, ranging markets. Works alongside the ONNX model to prevent high-confidence signals in directionless price action.
S/R cascade emergency exit — fast risk management Two or more S/R flips of the same type within 15 minutes closes all opposing positions immediately. Operates between model decisions — reacts within seconds, not bars.
5-timeframe alignment — MTF confirmation M1 · M5 · M15 · H1 · H4 · D1 chain driven by a single EntryTF input. Three or more timeframes must agree before the local indicator fallback fires.
TEMA/DEMA lag reduction TEMA on fast EMA (~75% less lag), DEMA on medium/slow (~50% less lag) applied across all timeframes for cleaner trend detection in the local signal path.
Probability engine — entry quality scoring Every local-path trade receives a probability score before execution. Low-probability setups are filtered. OpenRouter AI optionally adjusts confidence using live market context.
23-feature ONNX input vector
| Group | Features |
|---|---|
| Momentum | RSI |
| Trend | EMA distance, EMA cross, EMA50 slope, EMA200 slope |
| Structure | BB position, 5-bar momentum, candle body, candle range |
| Strength | ADX |
| Location | S/R support distance, S/R resistance distance |
| Volume | WAT (weighted accumulation/distribution) |
| Session | Hour sin/cos, London flag, NY flag |
| Volatility | BB width, ATR ratio |
| Daily context | Distance from prior day high/low |
| Higher timeframe | H1 trend (EMA50/200), H1 slope (12-hour) |
Key features
| Primary signal | ONNX BiLSTM + Attention (opset 18) |
| Secondary signal | OpenRouter AI — Gemini, Claude, DeepSeek, GPT |
| Entry filters | ADX gate, spread, RR ratio, session quality, news blackout |
| SL / TP | Pure ATR-based — consistent with model training labels |
| Virtual SL/TP | Hidden from broker — stop-hunt proof |
| Lot sizing | Fixed, % risk, or AI-confidence scaled |
| Custom AI prompt | Edit AI instructions without recompiling |
| Market regime | Adapts to trending, ranging and volatile conditions |
Protection systems
- News blackout — US data (12:30 UTC), FOMC, Fridays, end-of-month windows blocked
- Cascade S/R exit — emergency close on consecutive structure breaks within 15 minutes
- Big loss pause — cooldown after any loss exceeding threshold
- MaxFloatLoss — closes at a set fraction of SL distance, not a fixed dollar amount
- Session quality filter — reduces activity during dead and low-liquidity periods
- ONNX sanity check — validates model output probabilities before every trade
What's different in v1.4
NanoTrend AI v1.x used OpenRouter AI and indicator scoring as its primary entry mechanism. v1.4 introduces a trained ONNX model as the decision engine:
- Before: indicators score a setup → AI confirms → trade fires
- After: ONNX model evaluates 60 bars of 23 features → confidence above threshold → trade fires. OpenRouter AI remains available as a secondary layer.
Pure ATR SL/TP replaces the previous S/R-targeted TP, ensuring every backtest and live trade uses the same risk parameters the model was trained on.
Specifications
| Symbols | XAUUSD, EURUSD, GBPUSD, AUDUSD and Forex pairs |
| Recommended TF | M5 or M15 |
| Platform | MetaTrader 5 |
| Minimum deposit | $100 recommended |
| ONNX model | Included — copy to MQL5/Files/ |
| AI (optional) | OpenRouter API key (free tier available) |
| VPS | Recommended for 24/7 operation |
| Account type | ECN / Raw spread |
| Martingale / Grid | None |
Quick start
- Copy NanoTrendAI_ONNX.onnx and NanoTrendAI_Scaler.csv to MQL5/Files/
- Attach EA to XAUUSD M5 chart and enable AutoTrading
- (Optional) Get a free API key at openrouter.ai and paste into APIKey input for AI layer
- Enable WebRequest for https://openrouter.ai in MT5 Tools → Options if using AI
- Adjust ONNXThreshold (default 0.62) — higher = fewer but more selective entries
Past performance does not guarantee future results. Trading involves substantial risk. Only trade with capital you can afford to lose.

AI does not work free of charge at OpenRouter, you must buy some credits. After 24 hours I can't tell you if NanoTrend is good or not, it does not work anymore now. Fortunately it only costs $33. Keep them for sth else..