Skip to main content
Any Framework

Volatility Adjusted Moving Average (C#)

Published
Aug 7, 2025
1y ago
Total Downloads
1.9K
1,864

Install

dotnet add package StockSharp.Strategies.0041_Vol_Adjusted_MA --version 5.0.2

No framework information available.

README

Volatility Adjusted Moving Average (C# Version)

This technique modifies a moving average band by a multiple of ATR. When price moves beyond the adjusted band, it indicates an accelerated trend.

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

Long trades are opened above the upper band, shorts below the lower band. A cross back through the baseline moving average closes the position.

Because the bands expand with volatility, stops adapt to market conditions.

Details

  • Entry Criteria: Price breaks above or below MA ± ATR multiplier.
  • Long/Short: Both directions.
  • Exit Criteria: Price crosses MA or stop.
  • Stops: Yes.
  • Default Values:
    • MAPeriod = 20
    • ATRPeriod = 14
    • ATRMultiplier = 2.0m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Trend
    • Direction: Both
    • Indicators: MA, ATR
    • 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.