Type/to search

Dynamic RSI and CCI Combined Multi-factor Quantitative Trading Strategy

Cryptocurrency
Created: 2023-11-27 18:54:34
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy combines dynamic RSI, CCI and multiple MA moving averages to implement a multi-factor driven quantitative trading strategy. The strategy takes into account multiple dimensions such as trend, overbought and oversold to make judgments and generate trading signals.

Strategy Principle

Technical Indicators

  • MA: Calculates average closing price over a period to determine price trend
  • RSI: Judges overbought and oversold levels
  • CCI: Judges overbought and oversold status
  • Stoch KDJ: Judges deviation of stochastic from main trend

Trading Signals

Buy signal: MA12 crosses over MA26, CCI below 100 (oversold), Stoch KDJ below 80 (oversold)

Sell signal: RSI crosses below dynamic threshold, Stoch KDJ above 80 (overbought)

Advantages

  1. Multi-factor driven, comprehensive judgment, lower false signals
  2. Dynamic threshold for sellable, real-time overbought and oversold detection
  3. Combines trend, stochastic, mainstream technical indicators
  4. Adopts multiple parameter tuning, high flexibility

Risks

  1. Overly complex multi-factor combination, difficult parameter tuning
  2. Performance highly related to parameter selection
  3. Requires strict quantitative process for parameter optimization
  4. High curve fitting risk

Optimization

  1. More dataset testing for strategy robustness
  2. Multiple parameter combination testing to find optimum
  3. Add stop loss to reduce maximum drawdown
  4. Add position sizing to avoid chasing and killing
  5. Test adaptability across different products

Conclusion

This strategy combines multiple technical indicators and multi-factor driven judgments with parameter tuning and statistical validation to achieve good results. But higher complexity, need to prevent overfitting, and control position sizing and stop loss to reduce maximum drawdown. Can further expand strategy across products and timeframes.

Source
Pine
/*backtest
start: 2023-11-19 00:00:00
end: 2023-11-26 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
strategy(title="ATOM2.0", shorttitle="ATOM V2.0", overlay=false, default_qty_type=strategy.cash, currency=currency.USD, initial_capital=200, default_qty_type=strategy.cash, default_qty_value=100, pyramiding=10)

// Set Parameter MA12
Strategy parameters
Strategy parameters
Length
Source
Length
Source
smoothK_1
smoothD_1
lengthRSI
lengthStoch
RSI Source_1
smoothK_2
smoothD_2
lengthRSI_2
lengthStoch_2
RSI Source_2
buyCondition
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)