OPEN-SOURCE SCRIPT
Cập nhật Volume & Range Spike Diamond

Volume & Range Spike Diamond
Detect significant volume and price range breakouts directly on your chart with this intuitive indicator.
Key Features:
How It Works:
Customization Options:
Pine Script®
Alerts Configuration:
Enhance your trading strategy by detecting high-probability breakout opportunities with this reliable indicator!
Detect significant volume and price range breakouts directly on your chart with this intuitive indicator.
This TradingView indicator highlights bullish and bearish breakout opportunities by analyzing both volume and price range spikes. Perfect for identifying strong market movements in real-time.
Key Features:
- Volume Increase Threshold (%): Customize the percentage increase in volume required to trigger a spike.
- Price Range Increase Threshold (%): Define the percentage increase in the price range for additional precision.
- Volume Lookback Period: Set the number of bars to calculate the average volume for comparison.
- Bullish and Bearish Signals: Highlights bullish spikes below bars and bearish spikes above bars using colored diamonds.
- Detailed Labels: Optionally display labels with percentage increases for volume and range.
- Alerts Integration: Receive notifications for bullish and bearish breakout conditions.
How It Works:
- The indicator compares the current bar's volume to the average volume of previous bars over the specified lookback period.
- It also evaluates the price range (high - low) of the current bar against the previous bar.
- If both volume and price range exceed their respective thresholds, a breakout condition is flagged.
- Bullish spikes are displayed with upward-pointing diamonds below the bars, while bearish spikes use downward-pointing diamonds above the bars.
- Optional labels show detailed percentage increases for both metrics.
Customization Options:
// Inputs
volumeIncreaseThreshold = input.float(50, "Volume Increase Threshold (%)", minval=0, step=5)
rangeIncreaseThreshold = input.float(200, "Price Range Increase Threshold (%)", minval=0, step=5)
lookbackPeriod = input.int(5, "Volume Lookback Period", minval=1, maxval=50)
showLastLabel = input.bool(false, "Show Only Last Label")
Alerts Configuration:
- Bullish Volume Breakout: Triggered when a bullish spike is detected.
- Bearish Volume Breakout: Triggered when a bearish spike is detected.
Enhance your trading strategy by detecting high-probability breakout opportunities with this reliable indicator!
Phát hành các Ghi chú
Added market hours configuration.Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Support me on Patreon.
👉 patreon.com/MoneyMakerTradingView 👈
👉 patreon.com/MoneyMakerTradingView 👈
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Support me on Patreon.
👉 patreon.com/MoneyMakerTradingView 👈
👉 patreon.com/MoneyMakerTradingView 👈
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.