Machine learning can be used for trading in several ways:
1) It can compute indicators like trading range and classify market conditions to predict returns and volatility.
2) Techniques like SVM, neural networks, and random forests work well on time series trading data to find patterns.
3) Features like prices, volumes, indicators, and fundamentals can be analyzed, and feature selection and transformation are important pre-processing steps.
4) Real examples include using volume spikes to predict reversals and estimate intraday trading range for short-term trading.