OPEN-SOURCE SCRIPT
Cập nhật

Big Trades Size - DSC

3 484
Big Trades Size [Dark Stone]

Highlights statistically significant volume events (“big trades”) directly on the chart using clean colored bubbles.

• Green bubbles = buying pressure
• Red bubbles = selling pressure
• Bubble size scales with volume intensity
• Displays exact volume size inside each bubble
• Works on all timeframes (1m → Weekly)

How it works:
The indicator compares current bar volume against a moving average. When volume exceeds a user-defined multiple of the average, a bubble is plotted. Extreme volume events are automatically given larger bubbles for easy identification.

Key Features:
- Adjustable volume threshold
- Extreme volume detection
- Fully customizable colors and transparency
- Label size control
- Max labels limit to keep charts clean
- Works across all timeframes without lower-timeframe data requirements

Settings tips:
- Lower timeframes (1m–5m): Threshold 2.0 – 2.5
- Higher timeframes (1H–Daily): Threshold 1.6 – 2.0
- Raise the threshold if too many bubbles appear

Created by Aaron A at Dark Stone Capital

This indicator is for educational and analytical purposes only. It does not constitute financial advice.
Phát hành các Ghi chú
1. Complete redesign of how the bubbles and labels work

Before:
Separate plotshape circles (green below, red above)
Separate floating label.new text that tried to sit outside the circles

After:
Completely removed all plotshape calls
The bubble and the volume number are now a single circular label (label.style_circle)
The volume number is centered inside the colored circle
This is the change that finally solved the overlapping / “off on some of them” problem permanently.

2. Positioning

Green (buy) bubbles still appear below the bar
Red (sell) bubbles still appear above the bar
Size still depends on volume strength (size.normal vs size.large)

3. Size logic (unchanged in concept)

Volume ≥ threshold (default 2.0×) → normal circle
Volume ≥ extremeMult (default 3.5×) → large circle

4. Label management

Kept the array + cleanup system so you never exceed the max labels limit
Still respects the maxLabels input

5. New credit comment

6. Removed / simplified

All the complicated ATR / stableRange / dual offset calculations for label positioning
The “Put Labels Inside Circles” toggle (no longer needed)
All the previous outside-placement experiments
Phát hành các Ghi chú
Added flexible alert system for big trades:

New inputs to independently enable alerts on Big Buys (Green) and/or Big Sells (Red)
Optional “Alert only on Extreme Big Trades” filter (uses the existing Extreme Threshold)
Real-time alert() messages that fire with volume size + multiple
Three alertcondition() options for the TradingView Alerts dialog:
Big Buy Trade
Big Sell Trade
Any Big Trade

You can now choose to get notified on green only, red only, or both.
Phát hành các Ghi chú
We removed the alerts because of a hard limitation in TradingView.
You wanted the alerts to turn on/off simply by checking the boxes in the indicator settings, with no need to manually create an alert.
TradingView does not allow that. Even with the alert() function in the code, you still have to create at least one alert yourself using the condition “Any alert() function call.” After that, the checkboxes would control it — but you said you didn’t want to set anything up manually.
Since the desired behavior wasn’t possible, we removed the alert system completely so the indicator stays clean and purely visual.
Phát hành các Ghi chú
Update – Big Trades - DSCRenamed the indicator from “Big Trades Size • Multi-TF” to Big Trades - DSC for easier searching and branding.

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.