Any Framework
ATR MACD Strategy (C#)
Published
Jul 19, 2025
1y ago
Total Downloads
1.8K
1,819
Install
dotnet add package StockSharp.Strategies.0139_ATR_MACD --version 5.0.1
No framework information available.
README
ATR MACD Strategy (C# Version)
ATR MACD uses volatility from the Average True Range to adjust position size while trading MACD crossovers. Larger ATR readings result in smaller trade size, keeping risk consistent across market regimes.
Entries occur when MACD crosses its signal line, with exits triggered by the opposite crossover or a volatility-based stop.
This combination seeks to capture momentum while accounting for changing volatility.
Details
- Entry Criteria: indicator signal
- Long/Short: Both
- Exit Criteria: stop-loss or opposite signal
- Stops: Yes, percent based
- Default Values:
CandleType= 15 minuteStopLoss= 2%
- Filters:
- Category: Trend following
- Direction: Both
- Indicators: ATR, MACD
- 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.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.