Any Framework
MACD Zero Cross (Python)
Published
Jul 19, 2025
1y ago
Total Downloads
1.2K
1,247
Install
dotnet add package StockSharp.Strategies.0033_MACD_Zero.py --version 5.0.0
No framework information available.
README
MACD Zero Cross (Python Version)
This system trades momentum shifts when the Moving Average Convergence Divergence (MACD) histogram approaches the zero line. A rising MACD below zero or falling MACD above zero signals a potential reversal.
The strategy waits for the MACD line to trend toward zero while still on the opposite side. Once momentum fades, it enters anticipating a swing in price.
Trades exit when MACD crosses its signal line or a stop-loss is triggered.
Details
- Entry Criteria: MACD trending toward zero from either side.
- Long/Short: Both directions.
- Exit Criteria: MACD crosses signal line or stop.
- Stops: Yes.
- Default Values:
FastPeriod= 12SlowPeriod= 26SignalPeriod= 9StopLossPercent= 2.0mCandleType= TimeSpan.FromMinutes(5)
- Filters:
- Category: Momentum
- Direction: Both
- Indicators: MACD
- Stops: Yes
- Complexity: Basic
- Timeframe: Intraday
- 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.