StockSharp.Strategies.0437_Mtf_Bb 5.0.0

Prefix Reserved
dotnet add package StockSharp.Strategies.0437_Mtf_Bb --version 5.0.0
                    
NuGet\Install-Package StockSharp.Strategies.0437_Mtf_Bb -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StockSharp.Strategies.0437_Mtf_Bb" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Strategies.0437_Mtf_Bb" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StockSharp.Strategies.0437_Mtf_Bb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StockSharp.Strategies.0437_Mtf_Bb --version 5.0.0
                    
#r "nuget: StockSharp.Strategies.0437_Mtf_Bb, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StockSharp.Strategies.0437_Mtf_Bb@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StockSharp.Strategies.0437_Mtf_Bb&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Strategies.0437_Mtf_Bb&version=5.0.0
                    
Install as a Cake Tool

Multi-Timeframe Bollinger Bands Strategy (C# Version)

Applies Bollinger Bands on both a primary and a higher timeframe. Trades when price pierces the higher timeframe bands and optionally filters entries with a long-term moving average. The goal is to fade extremes against the broader trend.

The strategy supports both long and short positions. A stop-loss percentage can be enabled for risk management. Using multiple timeframes helps to avoid trades against dominant market structure.

Details

  • Entry Criteria:
    • Long: Close below the higher timeframe lower band and above the MA filter (if enabled).
    • Short: Close above the higher timeframe upper band and below the MA filter (if enabled).
  • Exit Criteria:
    • Long: Price closes above the current timeframe upper band.
    • Short: Price closes below the current timeframe lower band.
  • Indicators:
    • Bollinger Bands on two timeframes (length 20, multiplier 2)
    • Optional EMA filter (period 200)
  • Stops: Optional stop-loss via StartProtection (% based).
  • Default Values:
    • BBLength = 20
    • BBMultiplier = 2.0
    • UseMaFilter = False
    • MaLength = 200
    • SLPercent = 2
  • Filters:
    • Counter-trend with MTF context
    • Timeframe: main 5m, MTF 60m by default
    • Indicators: Bollinger Bands, EMA
    • Stops: optional
    • Complexity: Moderate
There are no supported framework assets in this package.

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.

Version Downloads Last Updated
5.0.0 226 8/7/2025

fixes