fix pivots - WORKING PIVOTS!

This commit is contained in:
Dobromir Popov
2025-10-24 11:44:25 +03:00
parent de2ad92602
commit bd95ff610c
4 changed files with 402 additions and 179 deletions

View File

@@ -2244,8 +2244,8 @@ class DataProvider:
# Initialize Williams Market Structure analyzer
try:
williams = WilliamsMarketStructure(1)
# Use pivot length of 2 (tip + 2 prev + 2 next = 5 candles)
williams = WilliamsMarketStructure(min_pivot_distance=2)
# Calculate 5 levels of recursive pivot points
logger.info("Running Williams Market Structure analysis...")