WhaleHunter: AO Cycle Monitor & MTF ScannerConcept & Utility
This script is a professional workspace designed for traders who utilize the Awesome Oscillator (AO) for Elliott Wave analysis and momentum trading. Unlike standard open-source divergence indicators, this tool solves three major problems: Signal Persistence (Missing signals), Wave Isolation (False signals across zero), and Multi-Timeframe Awareness.
Key Features & Innovation
1. Strict Divergence Engine (With Zero-Reset) Most automated divergence scripts incorrectly connect peaks from different market cycles.
The Fix: This algorithm includes a Reset on Zero logic. If the AO histogram crosses the Zero Line, the pivot memory is cleared. This ensures that divergences are only detected within the current wave structure (e.g., Wave 3 vs Wave 5), drastically reducing false positives during complex corrections.
2. "Sticky" MTF Scanner Monitoring divergences across 8 timeframes simultaneously is difficult because signals often appear and disappear quickly.
The Solution: The built-in Dashboard Table features a "Signal Memory" (Stickiness) system. When a divergence is confirmed on any timeframe (from 1m to 1 Month), the alert stays visible in the table for a user-defined number of bars (default: 5). This ensures you never miss a signal even if you aren't staring at the chart the moment it closes.
3. Automated Cycle Counter The script counts momentum waves (Zero crosses) starting from a specific user-defined Start Date.
Utility: This helps analysts track the maturity of a trend. The script highlights the "Golden Cycle" (3rd wave iterations) where momentum is statistically strongest.
How to Use
The Scanner: Place the indicator on a standard chart (e.g., 15m). The table will show you the status of trends on higher timeframes (4h, 1D).
The Setup: When you see a "BULL" signal on the 4H timeframe in the scanner, drop down to the 15m timeframe and look for a local divergence entry in the same direction.
Wave Counting: Set the Start Date to the beginning of a major trend (e.g., the low of the year) to see how many momentum cycles have passed.
Settings
Pivot Lookback: Adjust Left/Right bars to tune the sensitivity of peaks.
Stickiness: Increase this value to keep signals in the table longer.
Scanned Timeframes: Toggle specific timeframes on/off in the settings to save screen space.
Disclaimer: This tool is for market analysis only and does not guarantee profits.
Pine Script® indicator






















