Type/to search

Dual CCI Quantitative Strategy

Cryptocurrency
Created: 2023-11-28 15:47:04
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy combines the classic technical indicator CCI and self-developed VCI and MCI dual indices to form trading signals, which is a typical quantitative trading strategy. By identifying the trend and momentum of Volume and Price changes, it determines the main direction of the current market and forms trading signals. It can be widely used for financial instruments such as digital currencies, foreign exchange and stocks.

Strategy Principle

  1. Calculate ohlc4 moving average and combine with cci indicator to judge price level;
  2. Calculate obv indicator to measure capital flow;
  3. Calculate VCI index, which measures the distribution of capital flow through the variance of obv indicator;
  4. Calculate MCI index, which measures the distribution of prices through the variance of prices;
  5. Compare VCI and MCI indices to judge market sentiment;
  • VCI > MCI, strong buying interest;
  • VCI < MCI, strong selling interest;
  1. Form long and short signals based on the comparison of VCI and MCI;

Advantage Analysis

  1. The strategy takes into account multiple dimensions such as price, trading volume and capital flow to judge market sentiment, with relatively accurate signals;
  2. VCI and MCI are calculated by dynamic standard deviation, which can adapt to real-time market changes;
  3. The strategy parameters have been optimized through extensive backtesting and have strong stability;

Risk Analysis

  1. The calculation of price and trading volume indicators lags and cannot capture sudden events in advance;
  2. A single strategy cannot fully cover complex and volatile market conditions;
  3. It needs to be combined with other auxiliary indicators and cannot solely judge the market;

Optimization Directions

  1. Incorporate predictive models such as deep learning to improve signal judgment accuracy;
  2. Add risk control modules such as stop loss to enhance strategy stability;
  3. Try different parameter combinations to test applicability in specific markets;

Conclusion

This strategy forms trading signals by comparing dual CCI indices, taking into account factors such as price and trading volume to assess market sentiment. It is a typical and practical quantitative trading strategy. But it still needs to be used with other auxiliary tools to maximize the effectiveness of the strategy. It is worthwhile to further optimize and expand applicable scenarios while reducing risks.

Source
Pine
/*backtest
start: 2023-10-28 00:00:00
end: 2023-11-27 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy("MCI and VCI - Modified CCI Formulas")
test = cci(ohlc4, 13)
test1 = cci(ohlc4, 20)
Strategy parameters
Strategy parameters
Mode Discrepency
Interval
Standard (Average) Length
Lookback length
v_input_5
srcP
From Month
From Day
From Year
To Month
To Day
To Year
Strategy Direction
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)