KNN Machine Learning Momentum
Indicator
230 downloads
Version 3.0, Mar 2026
Windows, Mac
Trading product for KNN Machine Learning Momentum Indicator Signal Commodities, image 2
Trading product for KNN Machine Learning Momentum Indicator Signal Commodities, image 3
Trading product for KNN Machine Learning Momentum Indicator Signal Commodities, image 4
Trading product for KNN Machine Learning Momentum Indicator Signal Commodities, image 5
95.45M
Traded volume
1.3M
Pips won
10
Sales
1.05K
Free installs

Description

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.

Summary

AI summary
KNN Machine Learning Momentum is an AI-powered indicator designed for the cTrader platform, optimized primarily for XAUUSD (Gold) but applicable to any asset. It uses a K-Nearest Neighbors (KNN) algorithm to analyze momentum by compressing RSI and moving average deviations, scanning the last 350 candles to find similar historical patterns and predict price direction. The indicator features a strict 20-period EMA trend filter to highlight high-probability signals aligned with the broader trend.
Key functionalities include dynamic Average True Range (ATR)-based stop loss and take profit target zones that adapt to market volatility, and a UI memory manager that keeps charts clear by displaying only the five most recent setups. Signals are visually represented by arrows: bright green for high-probability buy, bright red for high-probability sell, and gray for counter-trend momentum (not recommended for trading). The indicator supports multiple timeframes, with M8 as the default optimized setting balancing signal frequency and accuracy.
Additionally, it integrates Telegram push alerts via webhook, delivering real-time trade signals with precise entry, stop loss, and take profit levels. Users are advised to wait for signal candle closure before entering trades and to place stops and targets at the edges of the ATR target zones. Parameters such as learning window, prediction threshold, ATR period, and multipliers for stop loss and take profit are configurable to suit different trading styles.
Indicator profile

Customer reviews

0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!

Discussion

FAQ

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.
Desktop plugin
BTCUSD
EURUSD
+5
Adds one-click partial, full, and profitable trade closing with safeguards directly to the side panel.
Indicator
SMC
Signal
+2
Gold Market Maker Zones; Non-repainting Supply & Demand detector for XAUUSD. Precise institutional zones for cTrader.
Indicator
SMC
Signal
IVT: A multi-symbol BOS scanner. Visual BULLISH/BEARISH chart labels with optional volume-filtered Telegram alerts.
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
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

You may also like

Indicator
This indicator connects the opening prices of higher timeframe candles (Daily, Weekly, Monthly, or
Indicator
AI
ATR
+27
Trade the Trend Flip. Control the Risk. πŸŽ―πŸ“ˆβ€
Indicator
Bollinger
Jurik Moving Average (Jurik's Moving Average) triple adaptive filter with unique Jurik smoothing and dynamic factor.
Indicator
ADX
ATR
+2
Quantum Breakout Pro Professional Breakout Indicator for cTrader
Indicator
Forex
Market Session V2: Full Control. colors, history, session/text toggles, font size. Elevate your strategy!
Indicator
Forex
EURUSD
+7
Institutional Session Levels Pro OHLC,Prev(D,W,M OHLC)
Indicator
AI
ATR
+26
Exploit market imbalances with auto FVG zonesβ€”fade, extend, and filter with precision.
Indicator
AI
ATR
+19
Market Cipher A
Indicator
Prop
E7 BBKG indicator with 80% plus accuracy used to show both, possible reversal and trend.
Indicator
Prop
Forex
+12
Identify and trade breakouts with Consolidation Zones! Visualize price consolidation areas for trading opportunities.
Indicator
Prop
VWAP
+5
Multi-anchor VWAP indicator for cTrader. Plots two VWAP lines (red and blue) with selectable anchors.
Indicator
AI
ATR
+27
An advanced VWAP with multi-VWAP (Daily/Weekly/Monthly/Anchored), click-to-anchor, configurable alerts, a stats panel,
Indicator
BOS
CHOCH
+5
Premium SMC structure indicator with BOS/CHoCH, inducement flow, internal structure, FVGs, and chart controls.
Indicator
ATR
Forex
+1
Trade fearlessly: auto-adjusts order blocks, manages risks, and ensures precision. Free for early users.
Indicator
Supertrend
Adaptive MA anchored to structural trend changes β€” no fixed period. Dual Supertrend + swing detection.
Indicator
Key Levels
Market Structure
+1
Sessions, ICT killzones, multi-ORB and previous levels. One clean, no-repaint cTrader overlay.
Indicator
AI
SMC
+14
Refined cleaner version of Key Levels indicator with broker UTC offset, styles & label alignment.
Indicator
BOS
MSS
+3
Maps BOS, CHoCH, swing breaks and market structure shifts directly on your cTrader chart.

Price

95.45M
Traded volume
1.3M
Pips won
10
Sales
1.05K
Free installs