Bitcoin Cycle Log-Curve (JDK-Analysis)Important: The standard parameters provided in the script are specifically tuned for the TradingView Bitcoin Index chart on a monthly timeframe on logarithmic scale, and will yield the most accurate visual alignment when applied to that dataset. (more below)
This very simple script visualizes Bitcoin’s long-term price behavior using a logarithmic regression model designed to reflect the cyclical nature of Bitcoin’s historical market trends. Unlike typical technical indicators that react to recent price movements, this tool is built on the assumption that Bitcoin follows an exponential growth path over time, shaped by its fixed supply structure and four-year halving cycles.
The calculation behind the curved bands:
An upper boundary, a lower boundary, and a central midline, are calculated based on logarithmic functions applied to the bar index (which serves as a proxy for time). The upper and lower bounds are defined using exponential formulas of the type y = exp(constant + coefficient * log(bar_index)), allowing the curves to evolve dynamically over time. These bands serve as a macro-level guide for identifying periods of historical overvaluation (upper red curve) and undervaluation (lower green curve), with a central black curve representing the geometric average of the two.
How to customize the parameters:
The lower1_const and upper1_const values vertically shift the respective lower and upper curves—more negative values push the curve downward, while higher values lift it.
The lower1_coef and upper1_coef control the steepness of the curves over time, with higher values resulting in faster growth relative to time.
The shift_factor allows for uniform vertical adjustment of all curves simultaneously.
Additionally, the channel_width setting determines how far the mirrored bands extend from the original curves, creating a visual “channel” that can highlight more conservative or aggressive valuation zones depending on preference.
How to use this indicator:
This indicator is not intended for short-term trading or intraday signals. Rather, it serves as a contextual framework for long-term investors to identify high-risk zones near the upper curve and potential long-term value opportunities near the lower curve. These areas historically align with cycle tops and bottoms, and the model helps to place current price action within that broader cyclical narrative. While the concept draws inspiration from Bitcoin’s halving-driven market cycles and exponential adoption curve, the implementation is original in its use of time-based logarithmic regression to define dynamic trend boundaries.
It is best used as a strategic tool for cycle analysis, macro positioning, and trend anchoring—rather than as a short-term signal provider.
Cycles
Angled Gann Time-Price Squares with S/RThis is a Pine Script indicator that implements Angled Gann Time-Price Squares based on W.D. Gann's trading theory. Here's what it does:
Core Functionality
Detects pivot highs and lows using a configurable lookback period
Creates angled squares by connecting pivot points to current price action when specific geometric conditions are met
Validates square formation by checking if the price movement follows proper Gann angles (typically 45°, 135°, etc.) within a tolerance range
Key Features
Real-time square tracking: Shows both completed squares and forming squares in progress
Support/Resistance levels: Automatically generates S/R lines from:
Square edge extensions
Diagonal extensions (pivot centers)
Quarter/half levels within squares (25%, 50%, 75%)
Visual feedback: Color-coded squares (green for up, red for down, orange for forming)
Projection lines: Predicts where squares might complete based on Gann angle theory
Gann Theory Application
The indicator follows Gann's principle that time and price move in geometric harmony. It looks for price movements that form perfect squares when plotted on a chart, where the diagonal of the square represents the natural flow of price and time at specific angles.
The generated support/resistance levels are particularly valuable because they're based on completed geometric patterns rather than just horizontal price levels, making them potentially more significant according to Gann methodology.
Support and Resistance Levels with BreaksThis indicator identifies dynamic support and resistance levels using pivot point analysis and provides clear trading signals when these levels are broken with volume confirmation. Enhanced version with improved signal clarity for better trading decisions.
## 🔧 Key Features
### Support & Resistance Detection
- Automatically identifies key pivot high and low levels
- Draws clear visual lines (red for resistance, blue for support)
- Configurable sensitivity with left/right bar settings
### Enhanced Trading Signals
- **BUY** signals when resistance is broken with volume confirmation
- **SELL** signals when support is broken with volume confirmation
- **Bull Wick** alerts for potential reversals at resistance
- **Bear Wick** alerts for potential reversals at support
### Volume Confirmation
- Built-in volume oscillator using 5 and 10-period EMAs
- Filters out low-volume false breakouts
- Adjustable volume threshold (default: 20%)
### Complete Alert System
- Support Broken alerts
- Resistance Broken alerts
- Bull Wick reversal alerts
- Bear Wick reversal alerts
## ⚙️ Settings
- **Show Breaks**: Toggle signal display
- **Left Bars**: Pivot detection lookback (default: 15)
- **Right Bars**: Pivot detection lookforward (default: 15)
- **Volume Threshold**: Minimum volume increase for valid signals (default: 20%)
## 📈 Best For
- Swing trading strategies
- Breakout confirmation
- Support/resistance trading
- Volume-based entry signals
## 🔍 How It Works
1. Identifies pivot highs/lows using configurable periods
2. Calculates volume oscillator for confirmation
3. Generates BUY signals on resistance breaks with volume
4. Generates SELL signals on support breaks with volume
5. Detects wick patterns for potential reversals
## 📋 Updates in This Version
- Enhanced BUY/SELL signal clarity (replaced generic "B" labels)
- Added Bull Wick and Bear Wick alert conditions
- Updated to Pine Script v6 compatibility
- Improved signal filtering and accuracy
## ⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance does not guarantee future results.
---
**Original Script**: "Support and Resistance Levels with Breaks" by LuxAlgo
**License**: CC BY-NC-SA 4.0
**Enhanced by**: profitgang
**Version**: Pine Script v6
kyle algo v1DOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gainDOne with this thing doing it againa gain gain
SuperPerformance_V1.24SuperPerformance V1.24 - Advanced Performance Analysis Indicator
🎯 CORE FEATURES
📊 Performance Analysis
• Stock vs Index comparison across 6 timeframes (1D to 200D)
• Conviction scoring system (Perfect/Solid/Good/Ok/Weak/Poor)
• Real-time outperformance tracking with ✓/✗ indicators
🏢 Sector Analysis
• Top 5 sector ranking with live performance data
• 10 Indian market sectors tracking (PHARMA, TECH, FINANCE, etc.)
• Automatic sector identification for current stock
📈 Technical Tools
• Triple Moving Averages (SMA/EMA/WMA/HMA)
• Distance from MA analysis with percentage/spread calculations
• Enhanced hover tooltips showing distance info
🔔 Smart Alerts
• Dynamic Circuit Breakers (20%/10%/5%/2%) that adapt to volatility
• Extreme distance alerts when price deviates significantly from MA
🎨 Visual Interface
• 4 customizable tables: Stock Performance, Sector Performance, Distance Analysis, Sector Display
• Dark/Light themes with professional styling
• Flexible positioning - place tables anywhere on chart
• Mini mode for compact display
⚡ Advanced Features
• Real-time data from 10+ Indian indices
• Granular controls - show/hide any columns or rows
• Multiple tooltip methods (Labels/Data Window)
• Professional color coding for quick analysis
🎯 PERFECT FOR:
Indian stock traders, sector rotation analysis, performance monitoring, and technical analysis with institutional-grade features.
📌 KEY BENEFITS:
✅ Multi-timeframe performance tracking
✅ Sector rotation insights
✅ Advanced moving average analysis
✅ Professional-grade visualization
✅ Customizable alerts and notifications
✅ Indian market focus with NSE data integration
🔧 TECHNICAL SPECIFICATIONS:
• Pine Script v5 compatible
• Overlay indicator
• Real-time data processing
• Memory optimized
• Multi-security data support
• Professional color schemes
First 15 Min H/L Breakout Signal V3 - Session Aware (Adaptive)this script checks the breakout on 1min time frame as compared to previous breakouts happened on 15min and 5min.
Alt Szn Oracle - Institutional GradeThe Alt Szn Oracle is a macro-level indicator built to help traders front-run altseason by tracking liquidity, dominance rotation, sentiment, and capital flows—all in one signal. It’s designed for those who don’t just chase pumps, but want to understand when the tide is turning and why. This tool doesn't predict specific coin breakouts—it tells you when the market as a whole is gearing up to rotate into higher beta assets like altcoins, including memes and microcaps.
The index consolidates ten macro inputs into a normalized, smoothed score from 0–100. These include Bitcoin and Ethereum dominance, ETH/BTC, altcoin market cap (Total3), relative volume flows, and stablecoin supply (USDT, USDC, DAI)—which act as proxies for risk-on appetite and dry powder entering the system. It also incorporates manually updated sentiment metrics from Google Trends and the Fear & Greed Index, giving it a behavioral edge that most indicators lack.
The logic is simple but powerful: when BTC dominance is falling, ETH/BTC is rising, altcoin volume increases relative to BTC/ETH, and stablecoins start moving—you're likely in the early innings of rotation. The index is also filtered through a volatility threshold and smoothed with an EMA to eliminate chop and fakeouts.
Use this indicator on macro charts like TOTAL3, TOTAL2, or ETHBTC to gauge market health, or overlay it on specific coins like PEPE, DOGE, or SOL to confirm if the tide is in your favor. Interpreting the score is straightforward: readings above 80 suggest euphoria and signal it’s time to de-risk, 60–80 indicates expansion and confirms altseason is underway, 40–60 is neutral, and 20–40 is a capitulation zone where smart money accumulates.
What sets this apart is that it doesn’t just track price—it reflects the flow of capital, the positioning of liquidity, and the sentiment of the crowd. Most altseason indicators are lagging, overfitted, or too simplistic. This one is modular, forward-looking, and grounded in real capital rotation theory.
If you're a trader who wants to time the cycle, not guess it, this is your tool. Refine it, fork it, or expand it to your niche—DeFi, NFTs, meme coins, or L1s. It’s a framework for reading the macro winds, not a signal service. Use it with discipline, and you’ll catch the wave while others drown in noise.
Silver Bullet ICT – Sweep + FVG + OB🧠 Silver Bullet ICT – Sweep + FVG + OB (Smart Money Tool)
✅ Works on:
NASDAQ / US100
SPX500 / DAX / FX majors
BTC/USD and other crypto
Any asset with high liquidity and volatility during the New York PM session
📊 Strategy Flow:
“We observe what the 4H candle at 16:00 CET produces – then execute the trade on the 5-minute chart if a sweep is confirmed.”
🎯 Logic Breakdown:
Session Timeframe:
Defined between 16:00–17:00 CET – configurable in settings.
Wait for Sweep:
A liquidity grab above previous high (or below previous low) during session.
Marked with triangle (▲ red for high, ▼ green for low).
Confirmed Signal:
A candle closes against the sweep direction.
Volume (optional) is above 20-SMA.
Triggers BUY (green label) or SELL (red label).
Entry Execution:
After the first 4H candle closes at 16:00 CET, look for a confirmed signal on 5-minute chart.
Rozegranie sygnału tylko, gdy zamknie się świeca potwierdzająca sweep.
Confluence:
OB (Order Blocks) and FVG (Fair Value Gaps) help refine targets and context.
Additional box is drawn to visualize session range.
🕊️ Notes:
Does not repaint sweep confirmations
Built-in alerts for sweep and entry signals
Customizable volume filter, box visuals, and session times
Monthly Seasonality Trend [DunesIsland]The Monthly Seasonality Trend is a indicator designed to analyze and visualize historical monthly seasonality patterns in financial markets. By calculating the average monthly return over a user-configurable lookback period (1 to 10 years), this indicator provides traders and investors with a clear projection of potential price movements for the current month, enabling data-driven decision-making.
How It Works
The indicator operates by retrieving monthly open and close prices for the specified lookback period (up to 10 years) and computing the average percentage return for the current month based on historical data. Key functionalities include:
Dynamic Trend Line: On the first trading day of each month, the indicator plots a line projecting the expected price trajectory, starting from the current close price and extending to the estimated end-of-month price based on the average historical return. The line is colored green for anticipated price increases or red for expected declines, offering an intuitive visual cue.
Average Return Label: A label is displayed at the start of each month, detailing the calculated average historical return for that month, expressed as a percentage, to provide context for the projected trend.
First Trading Day Marker: A small circle is plotted below the bar on the first trading day of each month, clearly marking the start of the projection period.
Adaptive Bar Counting: The indicator dynamically adjusts the length of the trend line based on the actual number of trading days in the previous month, ensuring accurate projections.
How to Interpret
Bullish Projection (Green Line): Indicates that historical data suggests an average price increase for the current month, potentially signaling buying opportunities.
Bearish Projection (Red Line): Suggests an average price decline based on historical trends, which may prompt caution or short-selling strategies.
Historical Context: The average return label provides a quantitative measure of past performance, helping traders assess the reliability of the projected trend.
Black-Scholes + Smart Money StrategyAn AI Test script.
The Black-Scholes option pricing model to extract institutional sentiment and implied volatility signals, empowering Smart Money-style entries.
Gann Price-to-Time Projection//@version=6
indicator("Gann Price-to-Time Projection", overlay=true)
keyPrice = input.float(144.0, title="Key Price Level")
lookahead = input.int(5, title="Projection Range (±N Time Units)", minval=1)
showForward = input.bool(true, title="Show Forward Projections")
showBackward = input.bool(true, title="Show Backward Projections")
textSizeOpt = input.string("small", title="Label Size", options= )
var label gannLabels = array.new()
maxLabels = 200 // max labels to keep
// Function to add label and keep array size bounded
f_addLabel(label arr, label newLabel) =>
array.push(arr, newLabel)
if array.size(arr) > maxLabels
label.delete(array.shift(arr))
// Clear labels on first bar
if bar_index == 0
for i = 0 to array.size(gannLabels) - 1
label.delete(array.get(gannLabels, i))
array.clear(gannLabels)
baseSqrt = math.sqrt(keyPrice)
for n = 1 to lookahead
if showForward
projectedF = math.pow(baseSqrt + n, 2)
futureBar = bar_index + n
if futureBar < bar_index + 500
fLabel = label.new(x = futureBar, y = close, text = "▲ " + str.tostring(projectedF, "#.##"), style = label.style_label_up, color = color.green, textcolor = color.white, size = textSizeOpt)
f_addLabel(gannLabels, fLabel)
if showBackward
projectedB = math.pow(baseSqrt - n, 2)
pastBar = bar_index - n
if pastBar > 0
bLabel = label.new(x = pastBar, y = close, text = "▼ " + str.tostring(projectedB, "#.##"), style = label.style_label_down, color = color.red, textcolor = color.white, size = textSizeOpt)
f_addLabel(gannLabels, bLabel)
plot(close, title="Close Price", display=display.none)
Simple DCA Strategy----
### 📌 **Simple DCA Strategy with Backtest Date Filter**
This strategy implements a **Dollar-Cost Averaging (DCA)** approach for long positions, including:
* ✅ **Base Order Entry:** Starts a position with a fixed dollar amount when no position is open.
* 🔁 **Safety Orders:** Buys additional positions when the price drops by a defined percentage, increasing position size with each new entry using a multiplier.
* 🎯 **Take Profit Exit:** Closes all positions when the price reaches a profit target (in % above average entry).
* 🗓️ **Backtest Date Range:** Allows users to specify a custom start and optional end date to run the strategy only within that time window.
* 📊 **Plots:** Visualizes average entry, take profit level, and safety order trigger line.
#### ⚙️ Customizable Inputs:
* Base Order Size (\$)
* Price Deviation for Safety Orders (%)
* Maximum Safety Orders
* Order Size Multiplier
* Take Profit Target (%)
* Start and End Dates for Backtesting
This is a **long-only strategy** and is best used for backtesting performance of DCA-style accumulation under different market conditions.
----
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
通用經濟數據年增率 (YoY %)主要觀看經濟數據使用
可將主數據統計週期切換月度年增率或季度年增率
希望能幫到有在關注經濟數據但沒有年增率的網友們
The primary purpose is to view economic data. We can switch the statistical period to monthly year-over-year (YoY) growth or quarterly year-over-year (YoY) growth.
This is intended to assist users who follow economic data but lack access to year-over-year growth rates.
Tnup Zones 2025This indicator marks zones where price has a high probability of rejection/bouncing off of
NASDAQ Liquidity Breaker Bot1. Define session time (7:20 PM – 7:40 PM BD time / 9:20–9:40 AM EST)
2. Detect 15M swing high/low zones
3. On 1M chart: Detect strong bullish/bearish break
4. Identify breaker candle zone
5. Trigger entry based on break + retest logic
6. Set SL and TP logic (dynamic if needed)
7. Plot everything visually (entries, exits, zones)
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
上涨动能This indicator calculates and visualizes the difference between the 20-period EMA and the 120-period EMA, helping traders identify medium-term momentum shifts in price action.
What It Does:
✅ Calculates the difference: Diff=EMA20 − EMA120
✅ Plots a line representing this difference for clear trend tracking.
✅ Plots a histogram (colored bars): Green bars indicate the EMA20 is above EMA120, suggesting bullish momentum. Red bars indicate the EMA20 is below EMA120, suggesting bearish momentum.
✅ Includes a zero baseline for easy reference: When the value crosses above zero, it indicates a potential bullish shift. When it crosses below zero, it indicates a potential bearish shift.
How to Use:
✅Use this indicator to visualize trend momentum in your crypto, forex, or stock trading.
✅Combine with your entry/exit signals (e.g., RSI, volume spikes, price action levels) to refine your strategy.
✅A rising Diff suggests strengthening bullish momentum, while a falling Diff suggests strengthening bearish momentum.
Why It’s Useful:
✅ Filters noise by using EMA smoothing on both short and long periods.
✅ Helps identify momentum shifts early without being overly sensitive to short-term volatility.
✅ Easy to integrate into trend-following or pullback strategies.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
Aggregated VolumeHow to Read the “Aggregated Volume” Signal
This indicator combines normalized volume, short-term volume bursts, pivot levels, VWAP, and a 200-period EMA to give you a multi-dimensional view of trading activity. Here’s how to interpret each component and synthesize them into actionable insights.
1. Custom Volume Signal (vSignal)
• Calculation
• vSignal = Sum of over bars, divided by the current price.
• A rising vSignal means more volume is being traded per unit of price, signaling growing interest relative to price level.
• Plot styling
• Bars are lime when (bullish volume days)
• Bars are orange when (bearish volume days)
How to read it
• Trend confirmation: Increasing lime bars alongside rising price suggests buyers in control.
• Warning sign: Rising orange bars on a down move indicate accelerating selling pressure.
• Divergence:
• Price making new highs while vSignal stalls or drops → potential top.
• Price making new lows while vSignal holds → potential bottom.
2. Short-Term Volume Bursts
Three semi-transparent histograms show how much the last 2, 5, and 10-bar raw volumes exceed (or fall below) the current vSignal:
• Blue = vol(2) – vSignal
• Green = vol(5) – vSignal
• Red = vol(10) – vSignal
If a colored bar sits above zero, that lookback’s volume is surging relative to the longer-term average (vSignal).
How to read it
• Clustered bursts:
• Blue + Green + Red above zero → strong, broad-based volume surge.
• Great for confirming breakouts and shakeouts.
• Isolated burst:
• Only Blue (> 0) on a small range bar → might be a false breakout or intrabar squeeze.
• Only Red (> 0) on a wide range → institutional involvement; act with caution.
3. Pivot Volume Levels (v & t)
• Every 21 bars, the script finds the highest and lowest vSignal values and plots them as shaded price levels:
• Magenta area = recent vSignal high (resistance)
• Cyan area = recent vSignal low (support)
How to read it
• Rejection/Break:
• Price approaches magenta zone and stalls → sellers defending that volume high.
• Break above magenta with high vSignal → likely sustained rally.
• Support flip:
• Cyan zone hold → buyers stepping in at heavy-volume lows.
• Break below cyan with rising vSignal → bearish conviction.
4. Midline Cross (Volume Equilibrium)
• A 10-bar SMA of
• Drawn as a faint white cross on price
How to read it
• Above midline → overall volume bias is skewed bullish.
• Below midline → bearish volume bias.
Crossovers of vSignal through this midline can signal shifts in underlying conviction.
5. VWAP & 200-Period EMA Overlays
• VWAP (transparent red if above price, green if below)
• EMA(200) plotted as aqua circles
How to read them
• VWAP tells you the intraday “value area.”
• Price above VWAP + rising vSignal = intraday buyers in charge.
• Price below VWAP + rising vSignal = aggressive sellers.
• EMA(200) gives you the longer-term trend.
• Above EMA200 = bullish regime
• Below EMA200 = bearish regime
6. Putting It All Together: Example Scenarios
1. Bullish Entry
• Price > EMA200 & VWAP is green
• vSignal rising in lime
• All three short-term bursts above zero
• Price near or breaking the magenta pivot with volume confirmation
2. Bearish Entry
• Price < EMA200 & VWAP is red
• vSignal rising in orange
• Two-bar burst (blue) spikes on a down bar
• Price failing at magenta pivot or breaking cyan support
3. Divergence Play
• Price makes new high, but vSignal peaks lower than last high → look for a reversal.
• Price drops to new low, but vSignal stays above its last low → prepare for a bounce.
By combining these layers—normalized volume, burst indicators, pivot levels, VWAP, and EMA—you get a clear map of where volume is clustering, which lets you anticipate support/resistance, gauge real interest, and spot potential reversals or breakouts with greater confidence.
BUY in HASH RibbonsBUY in HASH Ribbons Indicator
The BUY in HASH Ribbons indicator is designed to identify Bitcoin miner capitulation phases, often referred to as "Springs," using hash rate data. These phases signal potential buying opportunities with historically low downside risk. Built for TradingView with Pine Script v6, it visualizes hash rate trends and generates actionable signals for traders.
Key Features
Hash Ribbons Analysis: Tracks Bitcoin miner capitulation through the relationship between short-term (30-day) and long-term (60-day) Simple Moving Averages (SMAs) of the hash rate.
Signal Visualization:
Gray Circle: Marks the start of capitulation (30-day SMA crosses below 60-day SMA).
White Circles: Indicate ongoing capitulation, with brighter white showing hash rate recovery (increasing short SMA).
Yellow Circle: Signals the end of capitulation (30-day SMA crosses above 60-day SMA).
Orange Circle: Represents a buy signal after full recovery, combining hash rate and price momentum for optimal entry.
Flexible Display:
Ribbons Mode: Plots the short and long SMAs as colored ribbons (red for capitulation, green for recovery).
Oscillator Mode: Shows the percentage difference between short and long SMAs as a histogram (red for negative, blue for positive).
Halving Events: Optionally plots Bitcoin halving dates with dashed lines and labels for context (2012, 2016, 2020, 2024).
Raw Hash Rate: Option to display raw hash rate data in EH/s (exahashes per second).
Alerts: Configurable alerts for capitulation, recovery, and buy signals.
How It Works
The indicator uses hash rate data from external sources (e.g., IntoTheBlock or Quandl) to calculate SMAs. Capitulation occurs when miners reduce activity, often during price declines, causing the short-term SMA to fall below the long-term SMA. Recovery is detected as the short-term SMA begins to rise, and a buy signal is generated when the hash rate recovers alongside bullish price action (10-day SMA crossing above 20-day SMA).
Inputs
Plot Type: Choose between "Ribbons" or "Oscillator" display.
Hash Rate Short SMA: Default 30 days, adjustable.
Hash Rate Long SMA: Default 60 days, adjustable.
Plot Signals: Enable/disable signal circles (capitulation, recovery, buy).
Plot Halvings: Show/hide Bitcoin halving events.
Plot Raw Hash Rate: Display raw hash rate data.
Source Hash Rate: Select data provider (e.g., IntoTheBlock or Quandl).
Why Use It?
Proven Strategy: Hash Ribbons, popularized by Capriole Investments, have historically identified strong Bitcoin buying opportunities post-capitulation.
Customizable: Tailor the indicator to your trading style with adjustable SMAs and display options.
Contextual Insight: Halving markers provide additional market context, as miner dynamics often shift post-halving.
Real-Time Alerts: Stay informed with alerts for key events, ideal for active traders.
Usage Notes
Timeframe: Best used on daily charts for accurate hash rate and price SMA calculations.
Data Sources: Ensure the selected hash rate source is reliable; IntoTheBlock is the default for consistency.
Risk Management: Combine with other indicators (e.g., RSI, MACD) and fundamental analysis for robust trading decisions.
Backtesting: Test the indicator on historical data to understand its performance in different market cycles.
Credits
Developed by Trader T (@thepfund). Inspired by the Hash Ribbons concept from Capriole Investments.
This indicator empowers traders to capitalize on Bitcoin’s miner-driven market cycles with clear, data-driven signals. Add it to your TradingView chart and start identifying high-probability entries today!