kNN Machine Learning Strategy
Published on MillionChart by MarketStructure.
A strategy that uses a k-nearest-neighbours approach on indicators such as RSI, ROC, CCI and momentum to classify and trade the next move, with optional volatility and volume filters.
- K value sets the number of neighbours; indicator choice selects one or All.
- Fast and slow periods set indicator lengths.
- Filter signals by volatility, volume, both or none.
- Holding period, time threshold and lot size control trades and information display.
- Alert conditions are included so you can be notified when signals occur.
How to use:
- Experiment with K and filters in the strategy tester and compare results over periods.
- Such models can over-fit, so test out-of-sample.