OPEN-SOURCE SCRIPT
已更新 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!
發行說明
Added market hours configuration.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Support me on Patreon.
👉 patreon.com/MoneyMakerTradingView 👈
👉 patreon.com/MoneyMakerTradingView 👈
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Support me on Patreon.
👉 patreon.com/MoneyMakerTradingView 👈
👉 patreon.com/MoneyMakerTradingView 👈
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。