The Lorentzian Classification indicator uses a machine learning approach based on k-Nearest Neighbors with Lorentzian distance to classify price action. It compares the current bar against historical bars using up to five features (RSI, WT, CCI, ADX) and predicts the direction of the next four bars, filtered by volatility, regime and ADX filters plus a Nadaraya-Watson kernel regression estimate for entry/exit timing.
Original Indicator by jdehorty: https://www.tradingview.com/script/WhBzgfDu-Machine-Learning-Lorentzian-Classification
| Created By | CarlTrading |
| NinjaTrader Version | 8 |
| File Size | 17.3 KB |
| Create Date | 07/09/2026 |
| # of Downloads | 4 |
Importing to NinjaTrader 8 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
- Select the downloaded file from your desktop
Questions?
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.