Smart Alert Engine
The Smart Alert Engine is a real-time market monitoring system integrated into the Sonar Extension. It acts as an automated analyst, scanning live Order Book (OB) and Long/Short (L/S) data feeds to identify high-probability trading signals and structural market shifts.

Real-Time Dashboard Metrics
At the top of the engine, you get an instant "health check" of the current symbol (e.g., BTCUSDT):

Spread (bps): Tracks the gap between the highest bid and lowest ask in basis points.
Imbalance (%): Measures the discrepancy between buy and sell pressure in the order book.
Long Flow (%): A live look at the percentage of aggressive buying vs. selling momentum.
Automated Signal Feed
The engine generates three levels of alerts (INFO, WARN, CRITICAL) based on market behavior:
Bid/Ask Wall Detection: Automatically detects when a large volume of liquidity (e.g., 1000+ ETH) is placed near the current price. This helps identify potential support and resistance levels before they are hit.

Flow Bias Flips: Notifies you the moment the market sentiment shifts from Long to Short (or vice versa) as the bias crosses the 50% threshold.

Sentiment Extremes: Flags "Critical" alerts when market pressure hits extreme levels (approaching 100%). This often precedes a short-squeeze or a rapid price reversal.

Momentum Shifts: Tracks the speed of order flow. If buying or selling pressure spikes significantly over recent "buckets" of time, the engine flags a momentum shift.

Order Book Imbalance: A warning system that triggers when one side of the book becomes significantly heavier than the other, suggesting an impulsive move is imminent.

Engine Status
Engine Armed: Indicates the system is connected to live feeds and actively scanning for signals.
Partial Signal Feed: Displayed when one or more data feeds (like L/S) are toggled off or unavailable, providing limited intelligence.
Note: All signals are probabilistic and generated based on live order flow data. They are designed to supplement your strategy, not act as financial advice.
Last updated