上涨动能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!
20/40/6020/40/60 candle separator. Three lines only on all timeframes. Range length and height included. Doesn't mess up the scaling. Togglable elements and movable lines.
Sessions by EC35 (Berlin Zeit)This script displays the Asia session (red), London session (green), and NY session (blue). Have fun
Bull Momentum GaugeBull Momentum Gauge
The Bull Momentum Gauge is a powerful momentum oscillator designed to identify the underlying strength and sustainability of major market trends. Instead of trying to predict tops and bottoms, this indicator helps traders and investors ride long-term bull markets by signaling when momentum is building and when it is starting to fade.
What it Does
At its core, this tool measures how statistically "stretched" or "compressed" an asset's price is relative to its long-term (1-year) trend. It does this by:
Calculating the price's deviation from its 365-day moving average.
Normalizing this deviation into a Z-score to measure its statistical significance.
Comparing the inverted Z-score to its own 200-day moving average to gauge the momentum of the trend itself.
The result is a single, smooth line that oscillates around a zero value.
How to Use It
The signals are simple and based on the indicator's relationship to the zero line:
Green Line (Gauge below 0): This indicates that the price has been compressed relative to its long-term trend and is now showing signs of building upward momentum. A cross into the green zone can be interpreted as a potential entry signal for a new bull run.
Red Line (Gauge above 0): This suggests that the price has become over-extended or "stretched" and the upward momentum is beginning to weaken. A cross into the red zone can be used as a potential exit signal, indicating it may be time to take profits and wait for the next cycle.
This indicator is designed to work across multiple timeframes (Daily, Weekly, Monthly) and provides a clear, data-driven framework for navigating major market cycles.
First FVG📘 Indicator Description (English)
First FVG – NY Open is a TradingView indicator designed to automatically identify the first Fair Value Gap (FVG) that appears during the New York session, following the ICT (Inner Circle Trader) methodology.
It highlights institutional inefficiencies in price caused by imbalanced price action and helps traders spot high-probability entry zones, especially after the 9:30 AM EST (New York Open).
⚙️ How It Works
Session time: The indicator scans for FVGs starting at 9:32 AM (allowing 3 candles after the NY Open to form).
FVG Conditions:
Bullish FVG: When the high of 2 candles ago is lower than the low of the current candle and the middle candle is bullish.
Bearish FVG: When the low of 2 candles ago is higher than the high of the current candle and the middle candle is bearish.
Only the first FVG per session is drawn, as taught by ICT for setups like Judas Swing or NY Reversal models.
A colored box is drawn to represent the FVG zone.
A dotted horizontal line (CE) is drawn at the midpoint of the FVG box (Consequent Encroachment), a key level watched by smart money traders.
A dashed vertical line is drawn at 9:30 NY time to mark the open.
🧠 How to Use It
Wait for the NY Open (9:30 AM EST) – the indicator becomes active at 9:32 AM.
Watch for the first FVG box of the day. This is often a high-probability reaction zone.
Use the CE line (center of the FVG) as a reference for entries, rejections, or liquidity grabs.
Combine with market structure, PD Arrays, and liquidity concepts as taught by ICT for confluence.
The FVG box and CE line will extend forward for several candles for visual clarity.
🎛️ Customizable Settings
Session time (default: 09:32–16:00 NY)
FVG box color (up/down)
Text color
Max number of days to keep boxes on chart
Option to show or hide the 9:30 NY Open vertical line
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.
Opening Print Line (Customizable)📈 Opening Print Line (Customizable) is a simple yet powerful intraday tool that plots the opening price of the regular trading session (RTH) and keeps it visible across the entire chart—including during pre-market and extended hours.
💡 Key Features:
🕒 Configurable time zone selector (choose from Pacific, Mountain, Central, or Eastern)
🎯 Automatically detects and plots the 9:30 AM local opening price
🎨 Customizable line color
🏷️ Optional on-chart label with editable text
This indicator is especially useful for:
Identifying opening breakout or fade setups
Anchoring support/resistance levels to the session open
Building opening range strategies or scalp setups
🔧 Built with Pine Script v6. Fully compatible with stocks, ETFs, futures, or any instrument that follows a regular session open time.
⚠️ Note: The script assumes the regular trading session starts at 9:30 AM in the selected time zone. You can modify the time if using it for futures, crypto, or other markets.
Asset Premium/Discount Monitor📊 Overview
The Asset Premium/Discount Monitor is a tool for analyzing the relative value between two correlated assets. It measures when one asset is trading at a premium or discount compared to its historical relationship with another asset, helping traders identify potential mean reversion opportunities, or pairs trading opportunities.
🎯 Use Cases
Perfect for analyzing:
NASDAQ:MSTR vs CRYPTO:BTCUSD - MicroStrategy's premium/discount to Bitcoin
NASDAQ:COIN vs BITSTAMP:BTCUSD - Coinbase's relative value to Bitcoin
NASDAQ:TSLA vs NASDAQ:QQQ - Tesla's premium to tech sector
Regional banks AMEX:KRE vs AMEX:XLF - Individual bank stocks vs financial sector
Any two correlated assets where relative value matters
Example of a trade: MSTR vs BTC - When indicator shows MSTR at 95% percentile (extreme premium): Short MSTR, Buy BTC. Then exit when the spread reverts to the mean, say 40-60% percentile.
🔧 How It Works
Core Calculation
Ratio Analysis: Calculates the price ratio between your asset and the correlated asset
Historical Baseline: Establishes the "normal" relationship using a 252-day moving average. You can change this.
Premium Measurement: Measures current deviation from historical average as a percentage
Statistical Context: Provides percentile rankings and standard deviation bands
The Math
Premium % = (Current Ratio / Historical Average Ratio - 1) × 100
🎨 Customization Options
Correlated Asset: Choose any symbol for comparison
Lookback Period: Adjust historical baseline (50-1000 days)
Smoothing: Reduce noise with moving average (1-50 days)
Visual Toggles: Show/hide bands and percentile lines
Color Themes: Customize premium/discount colors
📊 Interpretation Guide
Premium/Discount Reading
Positive %: Asset trading above historical relationship (premium)
Negative %: Asset trading below historical relationship (discount)
Near 0%: Asset at fair value relative to correlation
Percentile Ranking
90%+: Near recent highs - potential selling opportunity
10% and below: Near recent lows - potential buying opportunity
25-75%: Normal trading range
Signal Classifications
🔴 SELL PREMIUM: Asset expensive relative to recent range
🟡 Premium Rich: Moderately expensive, monitor for reversal
⚪ NEUTRAL: Fair value territory
🟡 Discount Opportunity: Moderately cheap, potential accumulation zone
🟢 BUY DISCOUNT: Asset cheap relative to recent range
🚨 Built-in Alerts
Extreme Premium Alert: Triggers when percentile > 95%
Extreme Discount Alert: Triggers when percentile < 5%
⚠️ Important Notes
Works best with highly correlated assets
Historical relationships can change - monitor correlation strength
Not investment advice - use as one factor in your analysis
Backtest thoroughly before implementing any strategy
🔄 Updates & Future Features
This indicator will be continuously improved based on user feedback. So... please give me your feedback!
Momentum Buy/Sell IndicatorMomentum indicator that needs to be followed and not relied upon completely
Clean 20/40/60 High/Low LabelsIPDA Data Ranges
Works on all timeframes
20 period high and low, 40 period high and low, and 60 period high and low
This helps to identify large cycles on the daily and 4H chart
Can also be useful at liquidity injections and opening and closing prices of the market.
The Great Anchors: Dual AVWAP Powered by RSI
The Great Anchors
*Dual Anchored Volume Weighted Average Price Powered by RSI*
---
📌 Overview
The Great Anchors is a dual AVWAP-based indicator that resets dynamically using RSI extremes — either from the current asset or a master symbol (e.g., BTCUSDT). It identifies meaningful shifts in price structure and momentum using these "anchored" levels.
It’s designed to help traders spot trend continuations, momentum inflection points, and entry signals aligned with overbought/oversold conditions — but only when the market confirms through volume-weighted price direction.
---
🛠 Core Logic
• AVWAP 1 (favwap): Anchored when RSI reaches overbought levels (top anchor)
• AVWAP 2 (savwap): Anchored when RSI reaches oversold levels (bottom anchor)
• AVWAPs are recalculated each time a new OB/OS condition is triggered — acting like "fresh anchors" at key market turning points.
---
⚙️ Key Features
🔁 Auto or Manual RSI Thresholds
→ Automatically determines dynamic RSI OB/OS levels based on past peaks and troughs, or lets you set fixed levels.
🧠 Master Symbol Control
→ Use the RSI of a separate asset (like BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT, SUPRAUSDT) or indices (like TOTAL, TOTAL2, BFR) to control resets — ideal for tracking how BTC/major coins impacts altcoins/others.
🔍 Trend-Filtering Signal Logic
→ Signals are filtered for less noise and are triggered when:
- Both AVWAPs are rising (bullish) or falling (bearish)
- Price action confirms the structure
🎯 Visual Markers & Alerts
→ "💥" for bullish signals and "🔥" for bearish ones. Alerts included for automation or push notifications.
---
🎯 How to Use It
1. Add the indicator to your chart.
2. Choose whether to use RSI from the current symbol or a master symbol (e.g., BTC).
3. Select auto-adjusted or manual OB/OS levels.
4. Watch for:
- AVWAP(s) making a significant change (at this point it's one of the AVWAPs resetting)
- Check if price flip it upwards or downwards
- If price goes above both AVWAPs thats a likely bullish trend
- If price can't go above both AVWAPs up and fall bellow both that's a likely bearish trend
- Price retesting upper AVWAP and bounce
- likely bullish continuation
- Price retesting lower AVWAP and dip
- likely bearish continuation
- Signal icons on chart ("💥 - Bullish" or "🔥- Bearish")
Best suited for:
• Swing traders
• Momentum traders
• Traders timing altcoin entries using BTC/Major asset's RSI
---
🔔 Signal Explanation
💥 Bullish Signal =
• Both AVWAPs rising
• Higher lows in price structure
• Bullish candle close
• Triggered from overbought RSI reset
🔥 Bearish Signal =
• Both AVWAPs falling
• Lower highs in price structure
• Bearish candle close
• Triggered from oversold RSI reset
Signals reset by opposite signals to prevent noise or overfitting.
---
⚠️ Tips & Notes
• Use AVWAPs as dynamic support/resistance, even without signal triggers
• Pair with volume or divergence tools for stronger confirmation
---
🧩 Credits & Philosophy
This tool is built with a simple philosophy:
"Anchor your trades to meaningful moments in price — not arbitrary time."
The dual AVWAP concept helps you see how price reacts after momentum peaks, giving you a cleaner bias and more precise trade setups.
---
Daily High-Low RangeThis Pine Script calculates the daily range (High - Low) for each trading day to measure intraday volatility.
The orange line shows the actual daily high-low range.
The purple line represents the 10-day simple moving average of the daily range, smoothing out fluctuations for trend observation.
This indicator helps identify whether intraday volatility is increasing or decreasing over time and can be used to assess market momentum or risk.
이 Pine Script는 각 거래일의 고가와 저가의 차이 (일중 변동폭)을 계산하여 일중 변동성을 시각화합니다.
주황색 선은 매일의 고가-저가 범위를 나타냅니다.
보라색 선은 일중 변동폭의 10일 단순 이동평균(SMA)으로, 변동성의 추세를 부드럽게 보여줍니다.
이 지표를 통해 최근 시장의 변동성이 커지고 있는지 줄어들고 있는지를 파악할 수 있으며, 시장 리스크 또는 모멘텀 판단에 활용될 수 있습니다.
Price Deviation from MA5 (%)This Pine Script calculates and visualizes the percentage deviation of the current price from the 5-day simple moving average (SMA5).
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
Gaussian Volatility Adjusted Key Features:Gaussian Smoothing: Applies a Gaussian filter to smooth price data (based on EMA or raw close prices), reducing noise while preserving trend information.
Volatility Adjustment: Uses ATR and standard deviation to create dynamic upper and lower bands around the smoothed price, adapting to market volatility.
Trend Detection: Identifies bullish (price above lower band) or bearish (price below upper band) trends, with additional confirmation using standard deviation thresholds.
Momentum Analysis: Measures momentum by calculating the price difference from key levels (upper band for bullish, Gaussian + standard deviation for bearish).
EMA Confluence: Optionally integrates an EMA of the momentum difference to confirm trend signals, enhancing accuracy.
Visual Output: Plots a zero line and an EMA line colored green (bullish) or red (bearish), with bar coloring to visually indicate trend direction.
Fear and Greed Indicator [DunesIsland]The Fear and Greed Indicator is a TradingView indicator that measures market sentiment using five metrics. It displays:
Tiny green circles below candles when the market is in "Extreme Fear" (index ≤ 25), signalling potential buys.
Tiny red circles above candles when the market is in "Greed" (index > 75), indicating potential sells.
Purpose: Helps traders spot market extremes for contrarian trading opportunities.Components (each weighted 20%):
Market Momentum: S&P 500 (SPX) vs. its 125-day SMA, normalized over 252 days.
Stock Price Strength: Net NYSE 52-week highs (INDEX:HIGN) minus lows (INDEX:LOWN), normalized.
Put/Call Ratio: 5-day SMA of Put/Call Ratio (USI:PC).
Market Volatility: VIX (VIX), inverted and normalized.
Stochastic RSI: 14-period RSI on SPX with 3-period Stochastic SMA.
Alerts:
Buy: Index ≤ 25 ("Extreme Fear - Potential Buy").
Sell: Index > 75 ("Greed - Potential Sell").
Golden Pocket Syndicate [GPS]Golden Pocket Syndicate is a multi-layered market analysis toolkit built for precision entries and sniper-style reversals in both trending and ranging conditions. The script fuses volume dynamics, golden pocket structures, market maker behavior, and liquidation cluster tracking into one high-confluence system.
Core Features:
• 📐 Golden Pocket Zones: Dynamic GP levels from daily, weekly, monthly, and yearly timeframes. These levels update in real-time and serve as confluence zones for entries and exits.
• 📊 WaveTrend Divergence Diamonds: Momentum shifts are detected using a custom filtered WaveTrend cross system to mark high-probability reversal conditions.
• 🧠 Market Maker Premium Divergence: Tracks price dislocation between CME and Binance to detect large player manipulation using a configurable premium threshold.
• 💎 MM Reversal Diamonds: Identifies potential market maker traps and large player pivots using historical candle behavior, EMA alignment, and price structure breaks.
• 📉 Stealth Liquidation Cluster Arrows: Volume-based liquidation pressure visualized as lightweight directional arrows based on calculated wick expansion and volume bursts. Highlights key zones where price is likely to bounce or reject.
• 🧭 Trend Validation: Uses volume-based trend conditions and short-term EMA positioning to further qualify signals and eliminate noise.
How to Use:
This indicator is designed to help traders visualize confluence between key institutional price levels, momentum shifts, and volume-based pressure points. Long/short opportunities can be explored at marked reversal diamonds or liquidation zones that align with key GP levels. Intended for use on higher timeframes (15m to 4H), though flexible across any pair or market.
Time Period Highlighter V2This indicator highlights custom time periods on any intraday chart in TradingView, making it easier to visualize your preferred trading sessions.
You can define up to three separate time ranges per day, each with precise start and end times down to the minute (e.g., 08:30 - 12:15, 14:00 - 16:45, and 20:00 - 22:30). The indicator shades the background of your chart during these periods, helping you quickly identify when you're most active or when specific market conditions occur.
Key Features:
Set start and end times (hours and minutes) for up to three trading sessions.
Automatically highlights these periods across any intraday timeframe.
Uses 24-hour time format aligned with your TradingView chart timezone.
Perfect for day traders, scalpers, or anyone needing clear visual cues for their trading windows.
This tool is especially useful for reviewing trading strategies, backtesting, or ensuring you're focusing on high-probability market hours.
Tip: Double-check that your chart timezone matches your desired session times for accurate highlighting.
DIP BUYING by HAZEREAL BUY THE DIP - Educational Price Movement Indicator
This technical indicator is designed for educational purposes to help traders identify potential price reversal opportunities in equity markets, particularly focusing on NASDAQ-100 index tracking instruments and technology sector ETFs.
Key Features:
Monitors price movements relative to recent highs over customizable lookback periods
Identifies two distinct price decline thresholds: standard (5%+) and extreme (12.3%+)
Visual signals with triangular markers and background color zones
Real-time data table showing current metrics and status
Customizable alert system with webhook-ready JSON formatting
Clean overlay design that doesn't obstruct price action
How It Works:
The indicator tracks the highest price within a specified lookback period and calculates the percentage decline from that high. When price drops below the minimum threshold, it generates visual buy signals. The extreme threshold triggers enhanced alerts for more significant market movements.
Best Use Cases:
Educational analysis of market volatility patterns
Identifying potential support levels during market corrections
Studying historical price behavior around significant declines
Risk management and position sizing education
Important Note: This is a technical analysis tool for educational purposes only. All trading decisions should be based on comprehensive analysis and appropriate risk management. Past performance does not guarantee future results.
Dynamic Gap Probability ToolDynamic Gap Probability Tool measures the percentage gap between price and a chosen moving average, then analyzes your chart history to estimate the likelihood of the next candle moving up or down. It dynamically adjusts its sample size to ensure statistical robustness while focusing on the exact deviation level.
Originality and Value:
• Combines gap-based analysis with dynamic sample aggregation to balance precision and reliability.
• Automatically extends the sample when exact matches are scarce, avoiding misleading signals on rare extreme moves.
• Provides real “next-candle” probabilities based on historical occurrences rather than fixed thresholds or untested heuristics.
• Adds value by giving traders an evidence-based edge: you see how similar past deviations actually played out.
How It Works:
1. Calculate gap = (close – moving average) / moving average * 100.
2. Round the absolute gap to nearest percent (X%).
3. Count historical bars where gap ≥ X% above or ≤ –X% below.
4. If exact X% count is below the minimum occurrences threshold, include gaps at X+1%, X+2%, etc., until threshold is reached.
5. Compute “next-candle” green vs. red probabilities from the aggregated sample.
6. Display current gap, sample size, green probability, and red probability in a table.
Inputs:
• Moving Average Type (SMA, EMA, WMA, VWMA, HMA, SMMA, TMA)
• Moving Average Period (default 200)
• Minimum Occurrences Threshold (default 50)
• Table position and styling options
Examples:
• If price is 3% above the 200-period SMA and 120 occurrences ≥3% are found, with 84 green next candles (70%) and 36 red (30%), the script displays “3% | 120 | 70% green | 30% red.”
• If price is 8% below the SMA but only 20 exact matches exist, the script will include 9% and 10% gaps until it reaches 50 samples, then calculate probabilities from that broader set.
Why It’s Useful:
• Mean-reversion traders see green-probability signals at extreme overbought or oversold levels.
• Trend-followers identify continuation likelihood when red probability is high.
• Risk managers gauge reliability by inspecting sample size before acting on any signal.
Limitations:
• Historical probabilities do not guarantee future performance.
• Results depend on timeframe and symbol, backtest with your data before trading.
• Use realistic slippage and commission when overlaying on strategy scripts.
Breakout LabelsThis script labels the highest price of the lowest candle over a period of time. It then labels any bullish breakouts where the close price is higher than the high of the lowest candle.