Here we will be looking at few of the commonly used technical analysis strategies.
Though the code sample uses the NSE data, any instrument with 'Open-High-Low-Close' (OHLC) information can be used.
Following four patterns are implemented in Python
- Marubozu Candle
- Doji Candle
- Engulfing Candlestick Pattern
- Morning/Evening Star Pattern
- Moving Average Strategies
- Relative Strength Index (RSI)
- Moving Average Convergence Divergence (MACD)
- Bollinger Band
Using a combination of few of the above techniques, a simple trading algorithm is built and run across multiple stocks.