Category Trend  at 24/04/2023

kNN-Based Market Prediction Indicator


Enhance your trading strategy with the cTrader kNN-Based Market Prediction Indicator, which offers a robust framework for evaluating the potential predictive value of various market indicators. With this powerful tool, you can efficiently identify trends and make informed decisions in the ever-changing world of trading.

-- Download HERE --

This indicator is a powerful tool that utilizes the classic k Nearest Neighbors (kNN) machine learning algorithm to forecast potential market moves. As an unsupervised and straightforward learning algorithm, kNN offers a simple yet effective way to predict future market trends based on historical data.

By comparing the current indicator values with the k-nearest neighbors in the past data, the kNN algorithm can classify the current point and provide a prediction for the next market move, be it for tomorrow, next month, or even further into the future.

The two-dimensional kNN algorithm examines past occurrences when the two indicators were at similar levels, evaluates the state of the k nearest neighbors, and uses this information to classify the current point. This approach allows for the quick and efficient testing of various indicators, such as RSI, COG, WPR, etc., as well as an average of all, to assess and utilize their predictive value.

The output of this indicator will draw buy/sell markers signals, in different opacities marking indicator confidence.

Example view of the output of this indicator

// -------------------------------------------------------------------------------------------------
//    kNN-Based Market Prediction Indicator
//    Created by filiptc.
// -------------------------------------------------------------------------------------------------
using cAlgo.API;
using System.Diagnostics;
namespace cAlgo
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    public class KNNBasedIndicatorDemo : Indicator
        protected override void Initialize()
            MessageBoxResult redirect = MessageBox.Show("Please click OK to open a web browser where you can download this indicator", "Open Web Browser", MessageBoxButton.OK, MessageBoxImage.Information);
            if (redirect == MessageBoxResult.OK)
                var ps = new ProcessStartInfo("")
                    UseShellExecute = true, 
                    Verb = "open" 
        public override void Calculate(int index)


Joined 24.04.2023

  • Type: Paid
  • Language: C#
  • Trading Platform: cTrader Automate
  • Filename: kNN-Based Indicator Demo.algo
  • Rating: 0
  • Installs: 271
Only logged in users can post a comment
mike.r.alderson · 1 month ago

Hi there, I just bought this and would really appreciate some tips on how to interpret the results - they seem a little ambiguous - also, how can use the results in the cAlgo.  Is it (indicator).Result.Last(0) - if so, what results should I be comparing them to? 

jaydcrowe1989 · 4 months ago

Thank you. I will take a look at those

gmkenneyy · 4 months ago

@jaydcrowe1989 & jim.tollan

These do the same job

LWMA CrossOver Signal Indicator | Algorithmic Forex Trading | cTrader Community

PWMA CrossOver Signal Indicator | Algorithmic Forex Trading | cTrader Community

We are all waiting to bench test this 'kNN-Based Market Prediction' indicator.

I would like to compare its results with my indicators in the links above 

jaydcrowe1989 · 4 months ago

Is there a free trial version of this please?

bojesim268 · 4 months ago

Thank you a bunch for sharing this with all of us you really recognize what you’re talking approximately! Bookmarked. Please also talk over with my site =). We may have a link alternate contract between us!white label payment processor

zaffarkhatri22 · 5 months ago

Fantastic! In general My husband and i by no means examine completely articles nonetheless the option you penned this post is purely remarkable which preserved my best rise in popularity of reading through and so i savored the following.become a credit card processor

visapoy421 · 5 months ago

You created some decent points there. I looked over the internet for your problem and found most individuals should go coupled with with your internet to sell credit card processing

arhamabdul429 · 6 months ago

Youre so cool! I dont suppose Ive read anything similar to this before. So nice to get somebody by incorporating original applying for grants this subject. realy appreciate starting this up. this fabulous website is one thing that is needed on the web, somebody if we do originality. valuable project for bringing new stuff on the internet!Packers and Movers Gurgaon

jim.tollan · 6 months ago

is the ClickAlgo trial version available yet?? would like to give this a run thro!! 

gmkenneyy · 7 months ago

Good man!!! - By the way, i'm in I.T too and based in Barcelona. Is it ok if i pick your brain on Forex issues that ChatGPT cant fully address? I wont take up much of your time, i know how busy software architects are.

FI · 7 months ago

Hi Kenney,

Thank you for the feedback, "try before buy" is absolutely fair.
I'm already in touch with ClickAlgo, and I'll post the link to the trial version on their site once listed.


PS: Glad to hear ChatGPT is working on my behalf. =)

gmkenneyy · 7 months ago

Let "ClickAlgo" handle that for you. Not cAlgo

gmkenneyy · 7 months ago

By the way, your indicator was mentioned on chatGPT based chatbot (the one embedded into Microsoft Edge). This is already helping you advertise your indicator. Its now left for you to harness this rather than shut the door to potential buyers.  

gmkenneyy · 7 months ago


I am struggling to find a demo version of this indicator of yours. People need to "try before they buy"

Let cAlgo handle that for you.