OPEN-SOURCE SCRIPT
Whale OBV Hunter [Divergence]

ENGLISH:
How it works This indicator automatically compares price action against volume flow (OBV). It hunts for "Divergences".
Normally, if price drops, OBV should drop. If price drops but OBV rises, it means "Whales" are absorbing the selling pressure (Accumulation).
How to use it
Buy Signal (Accumulation):
Look for Green Lines and the label "Whale Accumulation".
Meaning: Price made a lower low, but OBV made a higher low (Bullish Divergence). This is a strong signal for an upward reversal.
Action: Look for a LONG entry.
Sell Signal (Distribution):
Look for Red Lines and the label "Whale Distribution".
Meaning: Price is making higher highs, but OBV is dropping (Bearish Divergence). Smart money is leaving.
Action: Take profits or look for a SHORT entry.
Settings (Lookback):
Default is 5. If you see too much noise (too many signals), increase this number to 10 in the settings to spot only major institutional movements.
How it works This indicator automatically compares price action against volume flow (OBV). It hunts for "Divergences".
Normally, if price drops, OBV should drop. If price drops but OBV rises, it means "Whales" are absorbing the selling pressure (Accumulation).
How to use it
Buy Signal (Accumulation):
Look for Green Lines and the label "Whale Accumulation".
Meaning: Price made a lower low, but OBV made a higher low (Bullish Divergence). This is a strong signal for an upward reversal.
Action: Look for a LONG entry.
Sell Signal (Distribution):
Look for Red Lines and the label "Whale Distribution".
Meaning: Price is making higher highs, but OBV is dropping (Bearish Divergence). Smart money is leaving.
Action: Take profits or look for a SHORT entry.
Settings (Lookback):
Default is 5. If you see too much noise (too many signals), increase this number to 10 in the settings to spot only major institutional movements.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.