Skip to main content
Any Framework

CCI VWAP Strategy (C#)

Published
Aug 7, 2025
1y ago
Total Downloads
2.1K
2,102

Install

dotnet add package StockSharp.Strategies.0211_CCI_VWAP --version 5.0.2

No framework information available.

README

CCI VWAP Strategy (C# Version)

The CCI VWAP approach attempts to capture intraday reversals when momentum and price align away from the volume weighted average price. By observing the Commodity Channel Index alongside the VWAP level, the system measures the strength of recent swings relative to a fair value benchmark.

Testing indicates an average annual return of about 70%. It performs best in the stocks market.

A buy setup emerges when the CCI falls below -100 and the market trades beneath VWAP, signalling that selling pressure may be exhausted. A short occurs when the CCI rises above +100 with price above VWAP, highlighting a stretched rally vulnerable to a setback. Positions are closed once price reclaims the VWAP in the opposite direction.

This strategy is designed for day traders who like to fade extremes yet still rely on objective levels for exits. The defined stop-loss helps manage risk if momentum does not quickly mean revert.

Details

  • Entry Criteria:
    • Long: CCI < -100 && Price < VWAP (oversold below VWAP)
    • Short: CCI > 100 && Price > VWAP (overbought above VWAP)
  • Long/Short: Both sides.
  • Exit Criteria:
    • Long: Exit long when price moves above VWAP
    • Short: Exit short when price falls below VWAP
  • Stops: Yes.
  • Default Values:
    • CciPeriod = 20
    • StopLossPercent = 2m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Mixed
    • Direction: Both
    • Indicators: CCI VWAP
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Intraday
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk Level: Medium

Changes from Previous Version

No structural changes between v5.0.1 and v5.0.2.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.