How B1 Perfect Pattern Matching works
mainB1 Perfect Pattern Matching is a morphological similarity matching algorithm. It compares currently selected stocks against a library of 10 historical successful cases across multiple dimensions to find stocks with similar structural shapes rather than absolute price levels.
Matching Dimensions and Weights
The algorithm calculates a total similarity score based on four weighted dimensions:
| Dimension | Weight | Description |
|---|---|---|
| Dual-Line Structure | 30% | Relative position, slope, and divergence of the 'ZhiXing' short-term trend line and the bull-bear line |
| KDJ State | 20% | J-value position, Golden Cross status, and trend direction |
| Volume Characteristics | 25% | Volume change patterns (e.g., shrinking then expanding) |
| Price Morphology | 25% | Similarity of the normalized price curve using the DTW (Dynamic Time Warping) algorithm |
Similarity Thresholds
| Similarity | Meaning | Recommended Action |
|---|---|---|
| ≥85% | Highly similar | High priority; morphology is very close to successful cases |
| 70-84% | Moderately similar | Worth watching; high morphological similarity |
| 60-69% | Generally similar | Reference only; some similarity exists |
| <60% | Not similar | Likely not a target pattern |
Note: The default threshold is 60%.