OPEN-SOURCE SCRIPT
ที่อัปเดต: Multi-TF Volume & Price Analysis[BullByte]

This indicator offers a comprehensive view of market dynamics by combining volume and price analysis across multiple timeframes. It calculates key metrics—such as bullish/bearish volume percentages, relative volume (RVol), cumulative volume delta (CVD), and price change percentages—for each timeframe that you choose (for example, 1, 3, 5, and 15 minutes). Here are the main features in simple terms:
- Multi-Timeframe Analysis:
The tool analyzes volume and price action from four different timeframes simultaneously. This means you get insights from short-term and slightly longer-term trends in one view.
- Volume Breakdown:
It splits the volume into bullish and bearish parts by comparing closing and opening prices. This helps you see how much of the trading volume is driving the market upward versus downward.
- Relative Volume & Spike Detection:
It calculates relative volume (current volume compared to a moving average) and flags any significant volume spikes based on a customizable multiplier. This feature helps identify unusual trading activity.
- Volume Smoothing Option:
For a cleaner signal, you can enable a smoothing option (using an exponential moving average) to reduce noise in the volume data.
- Advanced Summary:
The indicator combines volume data, price changes, and volume spikes to produce an overall market summary for each timeframe—labeling conditions as “Bullish Strong,” “Bullish Moderate,” “Bearish Strong,” “Bearish Moderate,” or “Neutral.”
- Cumulative Overview:
In addition to individual timeframe analysis, it aggregates the data to offer a cumulative view. This includes a collective bullish/bearish percentage, overall CVD, and even a simplified volume level (Low, Normal, or High).
- Customizable Dashboard:
All these metrics are neatly displayed in a dashboard on the chart. You can customize its position and text size. The dashboard uses dynamic, color-coded cells to instantly convey the market sentiment—making it easy to spot trends at a glance.
- VWAP Integration:
Finally, the dashboard includes VWAP information, providing an additional layer of context to the price action.
Overall, this indicator is designed to provide a quick yet thorough snapshot of market conditions, enabling traders to make more informed decisions with a clear visual representation of volume and price activity across different timeframes.
- Multi-Timeframe Analysis:
The tool analyzes volume and price action from four different timeframes simultaneously. This means you get insights from short-term and slightly longer-term trends in one view.
- Volume Breakdown:
It splits the volume into bullish and bearish parts by comparing closing and opening prices. This helps you see how much of the trading volume is driving the market upward versus downward.
- Relative Volume & Spike Detection:
It calculates relative volume (current volume compared to a moving average) and flags any significant volume spikes based on a customizable multiplier. This feature helps identify unusual trading activity.
- Volume Smoothing Option:
For a cleaner signal, you can enable a smoothing option (using an exponential moving average) to reduce noise in the volume data.
- Advanced Summary:
The indicator combines volume data, price changes, and volume spikes to produce an overall market summary for each timeframe—labeling conditions as “Bullish Strong,” “Bullish Moderate,” “Bearish Strong,” “Bearish Moderate,” or “Neutral.”
- Cumulative Overview:
In addition to individual timeframe analysis, it aggregates the data to offer a cumulative view. This includes a collective bullish/bearish percentage, overall CVD, and even a simplified volume level (Low, Normal, or High).
- Customizable Dashboard:
All these metrics are neatly displayed in a dashboard on the chart. You can customize its position and text size. The dashboard uses dynamic, color-coded cells to instantly convey the market sentiment—making it easy to spot trends at a glance.
- VWAP Integration:
Finally, the dashboard includes VWAP information, providing an additional layer of context to the price action.
Overall, this indicator is designed to provide a quick yet thorough snapshot of market conditions, enabling traders to make more informed decisions with a clear visual representation of volume and price activity across different timeframes.
เอกสารเผยแพร่
No functional changes. Updated metadata and comments for better clarity and compliance.เอกสารเผยแพร่
WHAT'S NEW IN VERSION 2.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This major update introduces the new VELOCITY WAVE - a real-time volume flow visualization tool with intelligent flash alerts. The original dashboard remains fully functional with enhanced theming and professional polish.
▸ NEW FEATURE: VELOCITY WAVE VISUALIZATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Velocity Wave is a brand new visual tool that displays volume history as a dynamic waveform at the bottom of your chart.
What it shows:
• 25 bars of volume history (customizable 10-50)
• Height represents volume magnitude
• Color indicates direction (green = bullish, red = bearish)
• Gradient intensity shows relative strength
• Real-time metrics: Speed, RVol, and Delta
Why it matters:
• See volume acceleration patterns instantly
• Identify unusual activity before price moves
• Visualize buyer/seller pressure over time
• Spot volume climax and exhaustion patterns
▸ NEW FEATURE: INTELLIGENT FLASH ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A multi-level visual alert system that flashes when significant volume events occur.
Flash Levels:
• Level 3: Volume spike on any timeframe
• Level 4: Extreme volume OR spike with convergence
• Level 5: Extreme volume + full timeframe convergence (highest probability)
Customization:
• Enable/disable flash effects
• Adjustable flash duration (1-10 seconds)
• Configurable spike and extreme thresholds
• Direction-based coloring (green flash = bullish, red = bearish)
▸ NEW FEATURE: TIMEFRAME CONVERGENCE DETECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator now automatically detects when all four timeframes align in the same direction.
• Bullish Convergence: All TFs showing bull volume dominance
• Bearish Convergence: All TFs showing bear volume dominance
• Status displayed in Velocity Wave footer
• Combined with volume spikes for highest-probability signals
▸ ENHANCED: UNIFIED THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Dashboard and Velocity Wave now share consistent colors and styling.
• 8 customizable color settings
• Professional dark theme by default
• Gradient colors based on intensity
• Consistent borders and backgrounds
• Clean, distraction-free design
▸ ENHANCED: DEFAULT TIMEFRAME CONFIGURATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Updated defaults optimized for swing and day trading:
• TF1: 5 minutes (intraday momentum)
• TF2: 15 minutes (short-term trend)
• TF3: 1 hour (institutional activity)
• TF4: 4 hours (dominant trend)
▸ ENHANCED: COMPREHENSIVE TOOLTIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every input and dashboard header now includes detailed tooltips explaining:
• What the setting does
• Recommended values
• How it affects the analysis
• Trading interpretation
▸ NEW ALERTS
━━━━━━━━━━━━━
Six configurable alert conditions:
1. Volume Spike - Any TF shows unusual volume
2. Extreme Volume - Significantly above average
3. Bullish Convergence - All TFs bullish
4. Bearish Convergence - All TFs bearish
5. Extreme Bullish Alert - Extreme + bull convergence
6. Extreme Bearish Alert - Extreme + bear convergence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPLETE CHANGELOG
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version 2.0 (Current)
─────────────────────
ADDED:
[+] Velocity Wave visualization system
[+] Multi-level flash alert system (Levels 3-5)
[+] Timeframe convergence detection
[+] Real-time metrics bar (Speed, RVol, Delta)
[+] Status bar with market state
[+] 6 new alert conditions
[+] Wave position options (4 positions)
[+] Wave size options (4 sizes)
[+] Wave width customization (10-50 bars)
[+] Flash duration setting
[+] Spike and extreme threshold settings
[+] Comprehensive tooltips on all inputs
[+] WaveBarData type for history storage
CHANGED:
[~] Default TFs: 5m, 15m, 1H, 4H (was 1m, 3m, 5m, 15m)
[~] Unified color theme across dashboard and wave
[~] Improved color gradient calculations
[~] Enhanced summary color logic
[~] Reorganized input groups for clarity
[~] Professional code documentation
[~] Optimized security calls
FIXED:
[x] Color consistency between components
[x] Text contrast on colored backgrounds
[x] Border styling uniformity
Version 1.1
─────────────────────
• Metadata and comment updates
• No functional changes
Version 1.0 (Original)
─────────────────────
• Multi-timeframe volume analysis
• Bull/Bear volume breakdown
• Relative Volume (RVol) calculation
• Volume spike detection
• CVD tracking
• Price change percentage
• Advanced summary system
• VWAP integration
• Customizable dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. MONITOR THE DASHBOARD
• Check Bull% vs Bear% for volume imbalance
• Watch RVol for above-average activity
• Track CVD for cumulative pressure
• Read Summary for quick assessment
2. WATCH THE VELOCITY WAVE
• Observe wave height patterns
• Note color transitions (green to red or vice versa)
• Look for volume acceleration (growing bars)
• Spot exhaustion (shrinking bars after spike)
3. RESPOND TO FLASH ALERTS
• Level 3 flash: Attention warranted
• Level 4 flash: High-probability setup forming
• Level 5 flash: Maximum alert - all factors aligned
4. CONFIRM WITH CONVERGENCE
• When status shows "CONVERGENCE" = strong signal
• All timeframes agree on direction
• Combined with flash = highest probability
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Dashboard Settings
• Position: Where dashboard appears (4 corner options)
• Text Size: Tiny, Small, or Normal
Velocity Wave Settings
• Show Wave: Toggle on/off
• Width: Number of bars to display (10-50)
• Position: Bottom Center recommended
• Size: Adjust based on screen size
Timeframe Settings
• TF1-TF4: Select your preferred timeframes
• Lookback: Bars to analyze per timeframe
Volume Analysis
• Historical Period: Baseline for average (20 recommended)
• Spike Multiplier: Sensitivity for spike detection
• Smoothing: Optional noise reduction
Flash Alerts
• Enable Flash: Toggle visual alerts
• Duration: How long flash lasts
• Thresholds: When to trigger alerts
Colors
• Full customization of all colors
• Match to your chart theme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
เอกสารเผยแพร่
Version 2.0 Updatedสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน