Skip to main content

Module pa_confluence

Module pa_confluence 

Source
Expand description

PA Confluence Layer — combine structure, geometric, S/R events with ML features and regimes.

Sources: MQL5 Part 50 confluence patterns + quantwave-4ps ML features + cu03 PA foundation. Used by canonical notebooks and backtester filters (quantwave-8aht).

Structs§

ConfluenceContext
Runtime context for confluence scoring / filtering at event time.

Functions§

enrich_pa_event
Enrich a PA event with regime + feature slots for backtester / ML consumption.
filter_confluent_events
Filter a batch of events through confluence rules.
passes_confluence_filter
Returns true if the event passes all configured confluence filters.
regime_to_label
Map MarketRegime to the u32 label used in Polars regime_features.
score_pa_event
Score a PA event against ML/regime/structure context (0.0–1.0+).