StockSharp.Strategies.0339_MACD_Sentiment_Filter.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0339_MACD_Sentiment_Filter.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0339_MACD_Sentiment_Filter.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0339_MACD_Sentiment_Filter.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0339_MACD_Sentiment_Filter.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0339_MACD_Sentiment_Filter.py" />
paket add StockSharp.Strategies.0339_MACD_Sentiment_Filter.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0339_MACD_Sentiment_Filter.py, 5.0.1"
#:package StockSharp.Strategies.0339_MACD_Sentiment_Filter.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0339_MACD_Sentiment_Filter.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0339_MACD_Sentiment_Filter.py&version=5.0.1
MACD Sentiment Filter (Python Version)
The MACD Sentiment Filter strategy is built around MACD Sentiment Filter.
Signals trigger when its indicators confirms filtered entries on intraday (15m) data. This makes the method suitable for active traders.
Stops rely on ATR multiples and factors like MacdFast, MacdSlow. Adjust these defaults to balance risk and reward.
Details
- Entry Criteria: see implementation for indicator conditions.
- Long/Short: Both directions.
- Exit Criteria: opposite signal or stop logic.
- Stops: Yes, using indicator-based calculations.
- Default Values:
MacdFast = 12
MacdSlow = 26
MacdSignal = 9
Threshold = 0.5m
StopLoss = 2m
CandleType = TimeSpan.FromMinutes(15).TimeFrame()
- Filters:
- Category: Trend following
- Direction: Both
- Indicators: multiple indicators
- Stops: Yes
- Complexity: Intermediate
- Timeframe: Intraday (15m)
- Seasonality: No
- Neural Networks: No
- Divergence: No
- Risk Level: Medium
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Reset state in OnReseted for remaining strategies
Fix C# indentation and move remaining strategy resets