Skip to main content
Any Framework

Ma Adx Strategy (Python)

Published
Jul 19, 2025
1y ago
Total Downloads
593
593

Install

dotnet add package StockSharp.Strategies.0149_MA_ADX.py --version 5.0.0

No framework information available.

README

Ma Adx Strategy (Python Version)

Strategy based on MA and ADX indicators. Enters position when price crosses MA with strong trend.

The moving average dictates the trend, and ADX verifies whether it's strong enough to trade. Entries follow price crossings of the MA when ADX exceeds a threshold.

This classic trend approach appeals to systematic traders. Losses are managed with an ATR-based stop.

Details

  • Entry Criteria:
    • Long: Close > MA && ADX > 25
    • Short: Close < MA && ADX > 25
  • Long/Short: Both
  • Exit Criteria: Reverse MA cross or stop
  • Stops: StopLossPercent percent with take profit TakeProfitAtrMultiplier ATR
  • Default Values:
    • MaPeriod = 20
    • AdxPeriod = 14
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
    • StopLossPercent = 2m
    • TakeProfitAtrMultiplier = 2m
  • Filters:
    • Category: Trend
    • Direction: Both
    • Indicators: Moving Average, ADX
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Mid-term
    • 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.