Skip to main content
Any Framework

Keltner Volume Strategy (Python)

Published
Aug 7, 2025
1y ago
Total Downloads
1.3K
1,309

Install

dotnet add package StockSharp.Strategies.0157_Keltner_Volume.py --version 5.0.1

No framework information available.

README

Keltner Volume Strategy (Python Version)

Implementation of strategy - Keltner Channels + Volume. Buy when price breaks above upper Keltner Channel with above average volume. Sell when price breaks below lower Keltner Channel with above average volume.

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

Keltner Channel boundaries define potential reversals, and increased volume signals conviction. The system trades when price touches a band with volume expanding.

Traders wanting volume confirmation around volatility bands may prefer this setup. Stops are computed from ATR.

Details

  • Entry Criteria:
    • Long: Close < LowerBand && Volume > AvgVolume
    • Short: Close > UpperBand && Volume > AvgVolume
  • Long/Short: Both
  • Exit Criteria:
    • Price crosses EMA
  • Stops: ATR-based using StopLoss
  • Default Values:
    • EmaPeriod = 20
    • AtrPeriod = 14
    • Multiplier = 2.0m
    • VolumeAvgPeriod = 20
    • StopLoss = new Unit(2, UnitTypes.Absolute)
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
  • Filters:
    • Category: Mean reversion
    • Direction: Both
    • Indicators: Keltner Channel, Volume
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Mid-term
    • Seasonality: No
    • Neural Networks: No
    • Divergence: No
    • Risk Level: Medium

Changes from Previous Version

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

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.