OPEN-SOURCE SCRIPT
Large Order Detection

How It Works:
Green diamonds appear below bullish candles (close > open) when large volume is detected
Red diamonds appear above bearish candles (close < open) when large volume is detected
Diamond size scales based on how much larger the volume is compared to the average:
Smallest: 2-2.5x average volume
Medium: 2.5-4x average volume
Larger: 4-6x average volume
Largest: 6x+ average volume
Features:
Customizable threshold - Default is 2x average volume, but you can adjust this
Adjustable lookback - Default 50 bars for calculating average volume
Size range control - Set minimum and maximum diamond sizes
Subtle background highlight - Shows when large orders occur
Built-in alerts - Can notify you when large orders are detected
Usage Tips:
Lower timeframes (1-5min) will show more frequent large orders
Increase threshold multiplier (2.5-3.0x) on high-volume assets to reduce noise
Watch for clusters of same-colored diamonds = strong directional pressure
Red diamonds at resistance + bearish EMAs = strong sell signal
Green diamonds at support + bullish EMAs = strong buy signal
Green diamonds appear below bullish candles (close > open) when large volume is detected
Red diamonds appear above bearish candles (close < open) when large volume is detected
Diamond size scales based on how much larger the volume is compared to the average:
Smallest: 2-2.5x average volume
Medium: 2.5-4x average volume
Larger: 4-6x average volume
Largest: 6x+ average volume
Features:
Customizable threshold - Default is 2x average volume, but you can adjust this
Adjustable lookback - Default 50 bars for calculating average volume
Size range control - Set minimum and maximum diamond sizes
Subtle background highlight - Shows when large orders occur
Built-in alerts - Can notify you when large orders are detected
Usage Tips:
Lower timeframes (1-5min) will show more frequent large orders
Increase threshold multiplier (2.5-3.0x) on high-volume assets to reduce noise
Watch for clusters of same-colored diamonds = strong directional pressure
Red diamonds at resistance + bearish EMAs = strong sell signal
Green diamonds at support + bullish EMAs = strong buy signal
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.