Any Framework
Double Top Pattern (Python)
Published
Jul 19, 2025
1y ago
Total Downloads
1.3K
1,269
Install
dotnet add package StockSharp.Strategies.0057_Double_Top.py --version 5.0.0
No framework information available.
README
Double Top Pattern (Python Version)
Double Top identifies two peaks separated by a number of bars with similar prices. After the second peak forms, a bearish candle confirms the reversal.
The strategy sells short upon confirmation with a stop above the pattern highs, aiming to profit from a trend change after buyers are exhausted.
Positions are closed via stop-loss or discretionary targets.
Details
- Entry Criteria: Two tops within
SimilarityPercentafterDistancebars. - Long/Short: Short only.
- Exit Criteria: Price rallies or stop-loss.
- Stops: Yes.
- Default Values:
Distance= 5SimilarityPercent= 2.0mCandleType= TimeSpan.FromMinutes(15)StopLossPercent= 1.0m
- Filters:
- Category: Pattern
- Direction: Short
- Indicators: Price Action
- Stops: Yes
- Complexity: Intermediate
- Timeframe: Intraday
- Seasonality: No
- Neural Networks: No
- Divergence: Yes
- 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.