"KNN Machine Learning Momentum" logo
Indicator
180 downloads
Version 3.0, Mar 2026
Windows, Mac
"KNN Machine Learning Momentum" uploaded image
"KNN Machine Learning Momentum" uploaded image
"KNN Machine Learning Momentum" uploaded image
"KNN Machine Learning Momentum" uploaded image
83.07M
Traded volume
559.95K
Pips won
10
Sales
749
Free installs

KNN Machine Learning Momentum Stop lagging. Start predicting. Institutional-grade K-Nearest Neighbors analytics.

Default parameters optimized for XAUUSD. Works on any timeframe β€” choose based on your trading style. Higher timeframes deliver cleaner, higher-probability signals. Lower timeframes generate more signals with slightly more noise. See the Timeframe Guide below.


πŸ₯ˆ Also Available: XAGUSD Automated Bot Version Love the logic? Take it further. A dedicated bot version of this indicator β€” fine-tuned specifically for XAGUSD (Silver) β€” is available on the marketplace. It runs fully automated, executing trades on your behalf with no manual input required. Priced low relative to the ROI it's built to deliver.

πŸ‘‰ KNN XAGUSD Bot β€” View on cTrader Market


⏱ Timeframe Guide

TimeframeSignal VolumeNotes

M5

Very High

More noise β€” requires stricter discipline and filtering to avoid overtrading.

M8

High (DEFAULT)

The optimized baseline. Best balance between signal frequency and accuracy for XAUUSD.

M15

Medium

Cleaner, higher-quality signals with fewer entries per session.

M30 / H1

Low

Highest accuracy β€” best suited for swing-style setups with more patience required.

Default parameters were backtested on M8. If you switch timeframes, consider adjusting ATR Period and SL/TP multipliers accordingly.


βš™οΈ Default Parameters

Learning Window (350) β€” Number of historical candles the KNN engine scans for pattern matches.

Prediction Threshold (0.5) β€” Minimum confidence score required before a signal is generated.

ATR Period (6) β€” Period used to calculate Average True Range for SL/TP sizing.

Stop Loss Multiplier (3.4) β€” SL distance = ATR Γ— 3.4. Wider to give Gold's volatility room to breathe.

Take Profit Multiplier (1.6) β€” TP distance = ATR Γ— 1.6. Tighter to lock in profits quickly and maintain a high win rate.

Trend Filter EMA (20) β€” Period of the EMA used as the trend filter β€” the Blue Line on your chart.


πŸ€– Predictive KNN Engine Compresses RSI and MA deviation into a historical matching algorithm. On every candle, it scans the last 350 bars and finds the 5 most similar past moments to forecast direction.

πŸ“ˆ Strict EMA Trend Filter Suppresses low-probability counter-trend setups automatically. Only signals aligning with the broader trend are marked high-probability.

πŸ“¦ Dynamic ATR Target Zones Projects transparent colored boxes for your Take Profit and Stop Loss zones, adapting in real-time to current market volatility via ATR.

🧹 UI Memory Manager Keeps your chart clean by automatically removing old zones. Only the 5 most recent setups are displayed at any time.

πŸ“² Telegram Push Alerts Built-in webhook integration sends instant trade alerts with exact Entry, TP, and SL prices directly to your phone.


πŸ“Š Reading the Signals

🟒 Bright Green Arrow β€” High-Probability BUY KNN predicts price will rise AND price is above the EMA. Full trend alignment. These are the premium setups to trade.

πŸ”΄ Bright Red Arrow β€” High-Probability SELL KNN predicts price will fall AND price is below the EMA. Full trend alignment. Enter at the close of the signal candle.

βšͺ Gray Arrow β€” Counter-Trend (DO NOT TRADE) Momentum shift detected, but against the broader trend. Printed for awareness only β€” significantly lower probability.


▢️ Execution Guide

  1. Wait for a Bright Green or Bright Red Arrow β€” ignore gray signals entirely.
  2. Wait for the signal candle to fully close before entering.
  3. Set SL and TP at the outer horizontal edge of each box β€” the edge furthest from your entry price.


❓ FAQ

Why does an arrow appear? Every candle, the algorithm snapshots current RSI and MA momentum, scans the last 350 bars for the 5 most mathematically similar moments, and forecasts direction based on where price went from those moments.

What makes an arrow Bright vs. Gray? Bright arrows = AI signal and EMA trend in full agreement β€” highest probability. Gray arrows = momentum detected but counter-trend β€” flagged as too risky to trade.

Which timeframe should I use? M8 is the optimized default. Higher timeframes (M15, M30, H1) give fewer but cleaner signals. M5 gives more signals but demands sharper filtering discipline.

Where exactly do I place SL and TP? At the outer horizontal edge of each colored box β€” the edge furthest from your entry price.

Can I use this on assets other than Gold? Yes β€” applicable to any asset on cTrader. However, parameters were backtested specifically for XAUUSD. Other instruments will benefit from a parameter tuning period.


⚠️ Risk Disclaimer Trading foreign exchange, commodities, and CFDs on margin carries a high level of risk and may not be suitable for all investors. This indicator is a quantitative analysis tool for educational and informational purposes only β€” it does not constitute financial advice. Past performance is not indicative of future results. Always test on a demo account before risking live capital.

Indicator profile
0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!
Signal
Commodities
RSI
AI
XAUUSD
ATR
Products available through cTrader Store, including trading bots, indicators and plugins, are provided by third-party developers and made available for informational and technical access purposes only. cTrader Store is not a broker and does not provide investment advice, personal recommendations or any guarantee of future performance.

More from this author

Indicator
ATR
RSI
+7
Automatically map professional market structure and get a real-time "Bias Score" based on institutional breakout logic.
cBot
ATR
RSI
+5
Dual Swing+Scalp. Aggressive Tiered Compounding or Safe Hybrid Sizing. The Ultimate Bot.
Indicator
ATR
BTCUSD
+7
Spot breakouts & filter fakeouts with dynamic volatility bands + ALMA trend validation. 100% Free.
cBot
ATR
Forex
+4
Automate SL & Trailing for manual trades. Independent Buy/Sell logic. Chandelier Exit & ATR support.
Indicator
SMC
Signal
IVT: A multi-symbol BOS scanner. Visual BULLISH/BEARISH chart labels with optional volume-filtered Telegram alerts.
Indicator
SMC
Signal
+2
Gold Market Maker Zones; Non-repainting Supply & Demand detector for XAUUSD. Precise institutional zones for cTrader.
Desktop plugin
BTCUSD
EURUSD
+5
Adds one-click partial, full, and profitable trade closing with safeguards directly to the side panel.
cBot
Prop
Signal
+1
Aggressive XAGUSD Swing cBot. Turned $500 to $33k+ in 3.5 months. High-reward growth engine.
cBot
AI
ATR
+3
KNN machine-learning robot with threat detection, dynamic TP extension, Chandelier trailing stop, and Telegram alerts.
104.4%
ROI
1.67
Profit factor
36.5%
Max drawdown
cBot
ATR
RSI
+3
This is a specialist bot built for one mission: capturing profits in uptrending markets for XAUUSD.
cBot
Forex
BTCUSD
+10
Smart and advanced TSL bot with Step logic & Smart Pullback to lock profits safely during fast market spikes.
cBot
ATR
RSI
+4
GOLD Dual-engine cTrader bot using Swing & Scalp strategies with ATR risk management and advanced Anti-Spike protection.
88.9%
ROI
1.26
Profit factor
84.87%
Max drawdown

You may also like

Indicator
Forex
BTCUSD
+11
Catch High-Probability Reversals with Precision Swing
Indicator
AI
ATR
+27
Supertrend Indicator
Indicator
RSI
SMC
+17
Turn WaveTrend Cross into a BTC profit machine precise buy sell signals, smart momentum edge, no lag trading system
Indicator
Larry Williams 9.1
Indicator
AI
ATR
+12
The standard Relative Strength Index (RSI), RSI & Signal Cloud, Smart Volatility Filter (ATR), On-Chart Info Dashboard
Indicator
Candle Timer & Strength Panel DEMO for cTrader DEMO VERSION – 24 hours free trial! This is a DEMO version of the Candle
Indicator
Forex
BTCUSD
+11
Volume Delta Oscillator Free Indicator
Indicator
Detecting reversal zones + multidimensional mapping of support and resistance "Golden Levels.
Indicator
Forex
Signal
+1
Great signal indicator, works with bollinger bands and heikin ashi candles! one of our latest innovations!
Indicator
Forex
EURUSD
+2
Supertrend indicator change rate
Indicator
AI
SMC
+5
Chart control panel β€” zoom presets, timeframe selector, favorite chart buttons, chart type switcher, and bid/ask lines.
Indicator
RSI‑powered robot for high‑volatility scalping, no fuss.
Indicator
Plots intraday VWAP and dynamic Β±1/Β±2 standard deviation (SD) bands based on current day’s price and volume.
Indicator
Signal
Hammer Pattern Indicator
Indicator
Breakout
PDHL - Previous Day High&Low
Indicator
AI
ATR
+27
KST Momentum Heatwave β€” Turn Momentum Into Market Temperature (On-Chart)
Indicator
Key Levels
Order Block
+5
FVG Levels β€” Auto-Detection of Multi-Timeframe Fair Value Gaps & GAPs, Smart Filters and Liquidity Zone Monitoring
Indicator
Prop
Crypto
+1
Professional EWMA Volatility Indicator - RiskMetricsβ„’ Inspired Exponential Smoothing
83.07M
Traded volume
559.95K
Pips won
10
Sales
749
Free installs