TradingView Machine Learning: kNN (New Approach) [capissimo] Conversion to NinjaTrader 8
capissimo’s Machine Learning: kNN (New Approach) is a k-nearest-neighbors classifier dressed as a chart indicator. The ‘training set’ is recent history; the ‘query’ is the current bar’s projected feature vector; the ‘classification’ is whether the trend is up, down, or flat — fed back into a colored line on the price panel. Default uses a…









