Skip to main content
Any Framework

TTM Squeeze Strategy (C#)

Published
Aug 7, 2025
1y ago
Total Downloads
744
744

Install

dotnet add package StockSharp.Strategies.0452_Ttm_Squeeze --version 5.0.0

No framework information available.

README

TTM Squeeze Strategy (C# Version)

The TTM Squeeze strategy looks for periods of price compression when Bollinger Bands contract inside Keltner Channels. This "squeeze" signals a potential volatility expansion. During the squeeze the strategy monitors a linear regression momentum oscillator and RSI to gauge direction. When the squeeze releases and momentum turns, positions are taken in the direction of the move.

The method seeks explosive breakouts from quiet ranges. Trades are filtered so that long setups require momentum rising from below zero with RSI above 30, while short setups need momentum falling from positive territory with RSI below 70. An optional take-profit parameter can automatically close trades at a predefined gain.

Details

  • Entry Criteria:
    • Squeeze off (Bollinger Bands outside Keltner Channels).
    • Long: Momentum < 0 and rising, RSI > 30.
    • Short: Momentum > 0 and falling, RSI < 70.
  • Long/Short: Both sides.
  • Exit Criteria:
    • Opposite signal or take-profit if enabled.
  • Stops: None by default, optional take-profit.
  • Default Values:
    • SqueezeLength = 20
    • RsiLength = 14
    • UseTP = False
    • TpPercent = 1.2
  • Filters:
    • Category: Volatility breakout
    • Direction: Both
    • Indicators: Bollinger Bands, Keltner Channels, RSI, Linear Regression
    • Stops: Optional
    • Complexity: Medium
    • Timeframe: Any
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk level: Medium

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.