Multi-factor Quantitative Trading Strategy
The multi-factor quantitative trading strategy that integrates moving average factors and oscillating indicators to control risks and improve stability. This article explains the rationale, advantages and potential risks of this trading strategy in detail.
Strategy Logic
The strategy consists of three main modules:
- Moving Average Factors
Using 5 EMAs with different periods (8, 13, 21, 34, 55) to build a trend filter. The MAs are arranged from short to long. Only when faster EMA crosses above slower EMA, the trend signal is generated.
- Oscillating Indicators
Combine RSI and Stochastic oscillators to validate the breakout signals, avoiding excessive false breaks in ranging markets.
RSI (14) generates long signal when in 40-70 range and short signal when in 30-60 range.
Stochastic (14,3,3) gives long signal when K line is between 20-80 and short signal when K line is between 5-95.
- Entry and Exit Logic
Entry signal is triggered only when both factors are aligned. Exit signal is generated when either factor is no longer valid.
The strict multi-factor filter ensures high win rate and reliable signals.
Advantages
- Multi-factor design effectively filters market noise and prevents over-trading.
- Combines trend following and mean-reversion, balancing dynamic trading andlocation trading.
- Captures reversal points within trends using MA and oscillators.
- Large optimization space to obtain better performance.
Risks
- Relatively low signal frequency, may miss some opportunities.
- MA lagging should be verified with faster oscillators.
- Oscillators prone to false signals, should be used as auxiliary factors.
- Parameters need periodic optimization to adapt to changing market conditions.
Conclusion
This strategy successfully combines the strengths of trend following and reversal trading strategies. The multi-factor risk control model delivers stable alpha. It is a highly practical quantitative trading strategy worth in-depth research and application by the AI community.
/*backtest
start: 2022-09-12 00:00:00
end: 2022-11-15 00:00:00
period: 2d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
strategy(title = "Combined Strategy", default_qty_type = strategy.percent_of_equity, default_qty_value = 100, commission_type=strategy.commission.percent, commission_value = .0020, pyramiding = 0, slippage = 3, overlay = true)
//----------//- 1
