Smart Adaptive MACDAn advanced MACD variant that dynamically adapts to market volatility using ATR-based scaling.
Key Features:
Volatility-sensitive MACD and Signal lengths
Optional smoothed MACD line
Dynamic histogram heatmap (strong vs. weak momentum)
Built-in Regular and Hidden Divergence detection
Clear visual signals via solid (regular) and dashed (hidden) divergence lines
What makes this different:
Unlike traditional MACD indicators with fixed-length settings, this version adapts in real time
to changing volatility conditions. It shortens during high-momentum environments for faster
reaction, and lengthens during low-volatility phases to reduce noise. This allows better
alignment with market behavior and cleaner momentum signals.
Divergence Detection – How It Works
The Smart Adaptive MACD detects both regular and hidden divergences by comparing price action with the smoothed MACD line. It uses recent pivot highs and lows to evaluate divergence and draws lines on the chart when conditions are met.
Regular Divergence Detection
This type of divergence signals potential reversals. It occurs when the price moves in one
direction while the MACD moves in the opposite.
Bullish Regular Divergence:
Price makes lower lows, but MACD makes higher lows.
Result: A solid green line is plotted beneath the MACD curve.
Bearish Regular Divergence:
Price makes higher highs, but MACD makes lower highs.
Result: A solid red line is plotted above the MACD curve.
Hidden Divergence Detection
This type of divergence signals trend continuation. It occurs when price pulls back slightly,
but the MACD shows deeper movement in the opposite direction.
Bullish Hidden Divergence:
Price makes higher lows, but MACD makes lower lows.
Result: A dashed green line is plotted below the MACD curve.
Bearish Hidden Divergence:
Price makes lower highs, but MACD makes higher highs.
Result: A dashed red line is plotted above the MACD curve.
How to Use:
This tool is best used alongside price structure, key support/resistance levels, or as a
secondary confirmation for your trend or reversal strategy. It is designed to enhance your
interpretation of market momentum and divergence without needing extra chart clutter.
Disclaimer:
This script is provided for educational and informational purposes only. It is not intended as
financial advice or a recommendation to buy or sell any asset. Always conduct your own
research and consult with a licensed financial advisor before making trading decisions. Use
at your own risk.
License:
This script is published under the Mozilla Public License 2.0 and is fully open-source.
Built by AresIQ | 2025
Volatility
Median Price RSI DeviationThis indicator is a smoothed RSI-based trend filter that combines median price smoothing, customizable moving averages, and standard deviation bands to identify bullish or bearish conditions:
=> It first smooths price using a median filter.
=> Then it calculates RSI on that smoothed price.
=> The RSI is further smoothed using a selectable moving average (e.g., DEMA, EMA).
=> Standard deviation bands are applied around this smoothed RSI.
Signals:
=> A bullish signal is triggered when the upper band exceeds a long threshold (default 50).
=> A bearish signal occurs when the smoothed RSI drops below a short threshold (default 40).
ka66: ADR EstimationThis is based on Daryl Guppy's Average Daily Range indicator, the link is difficult to find, but it is an estimation/projection indicator for a daily range.
The thesis is (if I understand correctly):
The range (high - low) of a particular day can be determined, with 85% probability, by taking the ranges of the last 5 days, and getting their average, then multiplying this average value by 0.75. This final value is the estimated range for the next day.
The indicator does not say anything about potential direction, so it may be used as a Take Profit or Stop Loss estimator for the trading strategy in use. Either on the daily timeframe, or an intraday timeframe.
And if we enter the market intraday for a day trade, when the day's range has already exceeded or is close to exceeding the estimated/projected value, perhaps the move is already quite exhausted, and the trade needs to be reconsidered.
A further implication is: if 0.75 multiple occurs with 85% probability, then a lower multiple is even more probable, if one was looking for a more conservative estimate.
The indicator shows three things for a visual inspection of the validity of this concept (and allows basic customisation of parameters):
The day's range, shown in a translucent gray/deep green, as columns. This is the current bar's range. If intraday, it will repaint.
The 5 day average up to the current bar, shown as a step-line plot in orange. If intraday, it will repaint.
The projected range: a thinner blue histogram column, this is offset one bar forward, as it is a future estimate/forward-looking. It too will repaint if the current day is still not complete.
To evaluate the historical results of the chosen settings visually (eye-ball it!), compare the blue histogram bar to the gray bar/column, i.e. the estimate vs. actual range:
When the blue bar is generally within the gray column, and close enough to that column's size/range, then the projected estimation has been reasonable.
if the blue bar tends to be relatively smaller than the gray bar, then we are underestimating often. Increase the projection multiple setting, as a simple fix.
if the blue bar tends to exceed the range of the gray bar a lot, we are overestimating often. Lower the projection multiple setting, as a simple fix.
Guppy's document says that they basically calculate this ADR for multiple markets and focus on markets with the top 5 ranges (in descending order, of course), to maximise the profit potential on intraday trades planned for the next day. Because it is an estimation, this calculation can be run at the end of the day on completed bars.
This indicator also allows displaying the value as percentages, taking the logic of the ATR% (ATR Percent) indicator, which divides the ATR by the close value and multiplies it by 100 to get a normalised percentage value, allowing it to be compared across markets (but in the same timeframe!).
KeyLevelsPivotsIndicator Name: Key Levels with Pivots
This indicator identifies key support and resistance levels using pivot high and pivot low values derived from TradingView’s built-in functions (ta.pivothigh and ta.pivotlow). When a new pivot is detected, the indicator checks if a similar level—within a specified percentage threshold (for example, ±1%) of the pivot value—already exists. If no such level is present, a horizontal line is drawn at that pivot level.
The drawn level extends to the right, automatically updating until one of two conditions occurs:
A breakout takes place—defined as the price moving beyond the level by the specified percentage—and then the level is fixed (truncated) at the bar where the breakout occurred.
The level reaches a maximum age (expressed in bars, e.g., 750 bars for a daily timeframe which approximates 3 years). In this case, the level is fixed at that maximum age.
Once fixed, the level no longer updates, allowing traders to view historically significant support and resistance levels from today's date up to approximately three years back. Additionally, the indicator prevents the re-plotting of a level if a similar level already exists within the defined percentage threshold, thereby avoiding duplicate reflections of the same level unless a breakout occurs.
Deviation Symmetry Breaker ~ C H I P ADeviation Symmetry Breaker ~ C H I P A is a custom trend breakout tool designed to detect directional shifts through raw deviation asymmetry around a median price baseline.
It uses:
A user-selectable price source (Close, High, Low, etc.)
Dual median smoothing to stabilize trend foundation without introducing moving average lag
Raw positive and negative deviation tracking for pure momentum extraction
Dynamic upper and lower breakout bands scaled by standard deviation
Independent band multipliers to fine-tune breakout sensitivity
This setup highlights powerful breakouts when price meaningfully separates from its balanced median behavior — helping traders capture early trend movements, volatility expansions, and structural shifts with minimal smoothing and no hidden moving averages.
Candle coloring responds directly to breakout status, using vibrant electric blue and red for immediate visual clarity on the chart.
Smart Breakout with ATR Stop-LossThe Smart Breakout indicator combines a classic 20-day Donchian channel breakout with a tight trailing stop, drawing green lines and “ENTRY” labels at the bar after a valid breakout, and red lines and “EXIT” label at the bar after a stop-loss breach.
By default it uses the chart’s timeframe to compute ATR and stops, but you can flip on Daily lock to freeze both ATR and price reads at the daily resolution—so your stops stay the same whether you view at 1s, 15 m, 4h or lower frequency bars.
Key features:
20-day Donchian breakout: entry when price closes above the highest high of the previous 20 bars
2 × ATR(14) trailing stop: initialized at entry and raised only when the new (close – 2 × ATR) exceeds the prior stop
Daily lock option: Ensures all ATR and close values are calculated on the daily timeframe, keeping stop levels consistent across resolutions
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.
Impulse Indicator New Capital FXThe Impulse Indicator is designed for traders who demand precision when identifying explosive market moves. This tool detects powerful short-term impulses by combining ATR-based volatility analysis with tactical price action patterns.
Key Features:
1. Dynamic Impulse Detection: Spots major price shifts based on a 5-bar momentum structure and ATR volatility filter.
2. Adaptive Volatility Filter: Filters out weak signals with a customizable ATR multiplier.
3. Cooling Period Logic: Reduces signal noise by enforcing a minimum bar spacing between impulses.
4. Clear Visual Signals: Plots "IMPULSE" labels directly on your chart for instant recognition.
How It Works:
The markets explode in a short-period of time, the indicator spots the move and plots a label, now if you're trading mean reversion pairs, you can look to go against the impulse, or if you want to catch trends you can use the indicator for potential continuation setups.
Customizable Settings:
ATR Multiplier (Best with 3,4,5)
Cooling Period (Standard is 5 bars, which is good)
ATR Length (The standard 14 period)
High Threshold Volume BarHigh Threshold Volume Bar (HP Vol Bar) has the following features highlighted below.
Overview:
The High Threshold Volume Bar (HP Vol Bar) is an advanced technical analysis tool designed to identify statistically significant price bars based on volume, range, and trend dynamics. It helps traders spot high-probability continuation or reversal setups by analyzing bar size relative to historical volatility, volume spikes, and trend strength.
Key Features
1. Adaptive Threshold Detection
.Uses standard deviation bands and moving averages to dynamically adjust the significance threshold based on recent market conditions.
.Bars exceeding this threshold are flagged as "significant" and color-coded for easy identification.
2. Volume & Range Normalization
.Adjusts bar size calculations by factoring in volume spikes (relative to SMA-smoothed volume) and full price range (high-low or just body size).
.Prevents false signals by capping extreme volume outliers.
3. Trend Strength & Direction
Incorporates Directional Movement (DMI) to assess trend strength.
Classifies signals as continuation or reversal based on trend alignment.
4. Percentile Ranking
.Compares current bar size against a lookback period (default: 100 bars) to determine its statistical rarity (top 20% = high significance).
5. Consecutive Signal Filtering
.Requires multiple consecutive significant bars (configurable) to confirm high-probability setups, reducing noise.
6. Visual & Alert System
.Color-coded bars:
.Blue (Bullish Continuation) / Pink (Bearish Continuation) for high-probability signals.
.Teal (Bullish) / Maroon (Bearish) for significant but unconfirmed bars.
.Info Table: Displays real-time metrics (signal type, percentile, trend strength, volatility regime).
.Alerts: Triggers when a high-probability sequence is detected.
Input Parameters
1. Parameter Description Default
2. SMA Length Smoothing period for average bar size. 50
3. Standard Deviation Period Lookback for volatility calculation. 20
4. Standard Deviation Multiplier Adjusts sensitivity of threshold. 2.5
5. Factor in Volume Normalizes bar size using volume. true
6. Use Full Range Measures high-low instead of open-close. true
7. Min Consecutive Bars Required confirmations for high-probability signals. 2
8. Historical Comparison Period Lookback for percentile ranking. 100
9. Trend Strength Period Smoothing for DMI-based trend assessment. 14
How It Works
1. Calculates Bar Size:
.Uses either full range (high-low) or body size (open-close).
.Adjusts for volume spikes via EMA-normalized volume.
2. Determines Significance:
.Bar size must exceed:
.Adaptive threshold = SMA + (StdDev × Multiplier × Volatility Factor).
.Percentile rank > 80% (top 20% of recent bars).
.Trend strength > 20% (DMI-derived).
3. Classifies Signals:
.Continuation: Significant bar aligns with prior trend.
.Reversal: Significant bar contradicts prior trend.
4. Confirms High-Probability Setups:
.Requires consecutive significant bars (user-defined) to filter noise.
7. Usage Guidelines
.Bullish Signals: Look for blue bars (confirmed) or teal bars (unconfirmed) in uptrends.
.Bearish Signals: Look for pink bars (confirmed) or maroon bars (unconfirmed) in downtrends.
.Alerts: Use built-in alerts to notify when a high-probability sequence forms.
.Combine With: Support/resistance levels, candlestick patterns, or momentum oscillators for confluence.
8. Why This Script?
.Dynamic Adaptation: Adjusts to changing volatility and volume regimes.
.Statistical Rigor: Uses percentile ranking to avoid overfitting.
.Clear Visuals: Intuitive color-coding and table for quick analysis.
Note: This is a closed-source script, but the logic is transparently explained to ensure traders understand its methodology.
How to Use "High Threshold Volume Bar" for Trade Entries
The HP Vol Bar indicator identifies high-probability trade setups based on statistically significant price bars. Here’s how to use it for entries, exits, and trade management:
1. Trade Entry Rules (Table Values to consider to trade)
A) Bullish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_cont (Blue,Teal bar)
✅Size percentile: 90%
✅ Trend Strength: > 20% (Strong trend)
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
.Buy at the close of the second (or Nth) confirmed blue bar.
.Stop Loss (SL): Below the lowest bar in the sequence.
.Take Profit (TP):
1.5× to 2× the bar size (adaptive to volatility).
Example:
Bearish Continuation Example
B) Bearish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bearish_cont (Pink bar)
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Sell Short at the close of the second (or Nth) confirmed pink bar.
Stop Loss (SL): Above the highest bar in the sequence.
Take Profit (TP): Similar to bullish (1.5-2× bar size).
C) Bullish/Bearish Reversal Setup (Counter-Trend)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_rev or bearish_rev
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Wait for confirmation (next bar closes in reversal direction).
SL: Opposite extreme of the signal bar.
Example:
Reversal Example
2. Filtering & Confluence (Improving Accuracy)
Trend Alignment: Only trade in the direction of the higher timeframe trend (e.g., use EMA 50/200)
Support/Resistance: Enter near key levels for better risk-reward.
Volume Confirmation: Avoid signals with below-average volume.
3. Advanced Strategies
A) Breakout Confirmation
If a significant bar breaks a key level, enter on retest.
Example: Blue bar breaks resistance → Buy on pullback.
B) Mean Reversion (Range Markets)
Use low volatility mode (volRegimeText = "LOW") + reversal signals.
Fade extreme moves back to the mean (e.g., SMA).
Zero Lag Delta System [Hybrid Version] - Inverted🔹 Zero Lag Delta System — Inverted 🔹
The Zero Lag Delta System is a hybrid momentum oscillator designed to capture real-time trend shifts and market strength with maximum responsiveness and minimum lag.
Unlike traditional moving averages or momentum indicators, this tool applies a zero lag smoothing algorithm on price data to reduce delay without sacrificing stability.
It then measures the dynamic delta — the difference between two zero lag averages — to track the push and pull between bullish and bearish pressure in real time.
Key Features:
📈 Bullish momentum appears as green bars rising above the centerline.
📉 Bearish momentum appears as red bars falling below the centerline.
🧠 Zero lag smoothing provides faster and cleaner trend recognition.
🧩 Dynamic bands adapt to volatility, highlighting when moves are statistically significant.
🎯 Auto background coloring shows when momentum is strong, weak, or neutral.
🔔 Built-in alerts for bullish and bearish zero crosses.
🧠 How to Trade with Zero Lag Delta System:
1. Bullish Cross:
Signal: Delta crosses above the zero line.
Possible Action: Look for potential long (buy) opportunities.
2. Bearish Cross:
Signal: Delta crosses below the zero line.
Possible Action: Look for potential short (sell) opportunities.
3. Breakout Above Upper Band:
Signal: Strong bullish momentum confirmed by breakout over the dynamic upper band.
Possible Action: Consider aggressive long entries with trend confirmation.
4. Breakout Below Lower Band:
Signal: Strong bearish momentum confirmed by breakout under the dynamic lower band.
Possible Action: Consider aggressive short entries with trend confirmation.
5. Return to Neutral Zone:
Signal: Delta moves back toward the centerline, indicating weakening momentum.
Possible Action: Be cautious, tighten stops, or stay neutral until a clear signal emerges.
📚 Example Trading Scenarios:
Trend Entry:
When delta crosses above the zero line and stays above, price often enters a healthy uptrend. Look for pullbacks to enter with the trend.
Breakout Confirmation:
If delta moves sharply outside the dynamic bands (especially after consolidation), it often confirms a new momentum breakout.
Divergence Detection:
If price makes new highs but delta fails to do so (or vice versa), it may hint at hidden reversal opportunities.
⚡ Why Use Dynamic Bands Instead of Fixed Levels?
Unlike traditional 20/80 fixed levels that assume static market behavior, dynamic bands adapt automatically to current volatility conditions.
This ensures the indicator remains highly sensitive during calm markets, yet avoids overreacting during high-volatility phases.
Dynamic bands provide:
✅ Better precision in spotting true momentum breakouts.
✅ More accurate filtering of noise during sideways markets.
✅ A more adaptive and universal system across different assets (forex, crypto, stocks).
🔥 Final Thoughts:
The Zero Lag Delta System provides a simple yet powerful visual framework for understanding price momentum at a deeper level.
Use it alongside your existing strategy to refine entries, exits, and overall trend bias.
As always, combine with price action and risk management for best results.
This is an educational idea, and past performance may not replicate itself.
Happy trading! 🚀
Liquidity Trap Reversal Pro (Radar v2)Liquidity Trap Reversal Pro (Radar v2) is a non-repainting indicator designed to detect hidden liquidity traps at key swing highs and lows. It combines wick analysis, volume spike detection, and optional trend and exhaustion filters to identify high-probability reversal setups.
🔷 Features:
Non-Repainting: Pivots confirmed after lookback period, no future leaking.
Volume Spike Detection: Filters traps that occur during major liquidity events.
EMA Trend Filter (Optional): Focus on traps aligned with the prevailing trend.
Higher Timeframe Trend Filter (Optional): Confirm traps using a higher timeframe EMA bias.
Exhaustion Guard (Optional): Prevents traps after overextended moves based on ATR stretch.
Clean Visuals: Distinct plots for raw trap points vs confirmed traps.
Alerts Included: Set alerts for confirmed high/low liquidity traps.
📚 How to Use:
Watch for Trap Signals:
A Trap High signal suggests a potential bearish reversal.
A Trap Low signal suggests a potential bullish reversal.
Use Confirmed Signals for Best Entries:
Confirmed traps fire only after price moves opposite to the trap direction, adding reliability.
Use Trend Filters to Improve Accuracy:
In an uptrend (price above EMA), prefer Trap Lows (buy setups).
In a downtrend (price below EMA), prefer Trap Highs (sell setups).
Use the Exhaustion Guard to Avoid Bad Trades:
This filter blocks signals when price has moved too far from trend, helping avoid late entries.
Recommended Settings:
Best used on 15-minute, 1-hour, or 4-hour charts.
Trend filter ON for trending markets.
Exhaustion guard ON for volatile or stretched markets.
📈 Important Notes:
This script does not repaint once a pivot is confirmed.
Alerts trigger only on confirmed trap signals.
Always combine signals with sound risk management and trading strategy.
Disclaimer:
This script is for educational purposes only. It is not investment advice or a guarantee of results. Always do your own research before trading.
Sniper Core XT [Indicator Edition]🔫 SNIPER CORE XT — ZLEMA-Based Trend, Momentum & Volume Confirmation
⚙️ How It Works (What Makes It Unique):
Sniper Core XT is a precision crypto trading tool that visualizes real-time trend, momentum, volume, and volatility confirmation. Built from the ground up using Pine Script v5, it is optimized for semi-manual or alert-driven trading on the 1H timeframe.
Instead of relying on indicator mashups, Sniper Core XT builds its logic around the ZLEMA (Zero Lag Exponential Moving Average) trend engine, refined with strict momentum, volume, and volatility filters to highlight only high-probability trading opportunities.
🧠 Core Logic & Components:
ZLEMA Trend Engine:
Plots fast, slow, and signal ZLEMA lines to detect clean trend transitions with minimal lag, enabling early, reliable trend identification.
Vortex Direction & Strength Filter:
Confirms directional bias based on Vortex Indicator internals. Signals only activate when vortex strength exceeds a customizable threshold and aligns with ZLEMA trend.
Volume Confirmation via ZLEMA of Volume:
Uses adaptive volume confirmation, requiring current volume to exceed a ZLEMA-smoothed threshold to validate breakout moves.
Normalized Volatility-Adjusted Momentum Filter:
Measures momentum via a normalized, ATR-adjusted rate of change. Filters out low-momentum or exhausted moves before they trigger false signals.
Real-Time Take Profit Tracking:
Plots real-time TP1 and TP2 targets after entry. Visual labels confirm when TP1 or TP2 are hit, without relying on broker execution.
Non-Canvas Dashboard:
Includes a fully integrated live table showing:
Current Signal (Long, Short, None)
Entry Price
TP1/TP2 Status
Trend Direction
Bars Since Entry
Exit Signals for Trend Weakness:
Plots exit labels when trend strength fades or reverses, allowing traders to manually close positions with precision.
🧪 Indicator Use & Applications:
Designed for manual or semi-automated crypto trading
Ideal for trending pairs and medium-high volatility environments
Compatible with external bots through alerts (WunderTrading, PineConnector, 3Commas, etc.)
Suited for 1H timeframe, but adjustable
🛡️ Indicator Style:
Feature Value
Repainting ❌ Never
Cooldown Mechanism ✅ 1-Bar
TP1/TP2 Tracking ✅ Built-in
Alert Compatibility ✅ Full support
Recommended Timeframe 🕒 1H
Entry & Exit Labels ✅
⚠️ Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always practice proper risk management and confirm entries with your own analysis before executing trades.
BTC Price-Volume Efficiency Z-Score (PVER-Z)Overview:
This PVER-Z Score measures Bitcoin’s price movement efficiency relative to trading volume, normalized using a Z-Score over a long-term 200-day period.
It highlights statistically rare inefficiencies, helping investors spot extreme accumulation and distribution zones for systematic SDCA strategies.
Concept:
- Measures how efficiently price has moved relative to the volume that supported it over a long historical window (Default 200 days) but can be adjustable.
- It compares cumulative price changes vs cumulative volume flow.
- Then normalizes those inefficiencies using Z-Score statistics.
How It Works:
1. Calculates the absolute daily price change divided by volume (price-volume efficiency ratio).
2. Applies EMA smoothing to remove noisy fluctuations.
3. Normalizes the result into a Z-Score to detect statistically significant outliers.
4. Plots dynamic heatmap colors as the efficiency score moves through different deviation zones.
5. Background fills appear when the Z-Score moves beyond ±2 to ±3 SD, signaling rare macro opportunities.
Why is Bitcoin price rising while PVER-Z is falling toward green zone?
1. PVER-Z is not just "price" — it's price change relative to volume. PVER-Z measures how efficient the price movement is relative to volume. It's not "price going up" or "price going down" directly. It's how unusual or inefficient the price versus volume relationship is, compared to its historical average.
2. A rising Bitcoin price + weak efficiency = PVER-Z falls.
If Bitcoin rises but volume is super strong (normal buying volume), no problem, the PVER-Z stays normal. If Bitcoin rises but with very weak volume support, PVER-Z falls.
***Usage Notes***:
- Best used on the daily timeframe or higher.
- When the Z-Score enters the green zone (-2 to -3 SD), it signals a historically rare accumulation zone — favoring long-term buying for SDCA.
- When the Z-Score enters the red zone (+2 to +3 SD), it signals overextended distribution — caution recommended.
- Designed strictly for mean-reversion analysis, no trend-following signals.
- The red zone on a proper Z chart would be -2SD to -3SD and +2SD to +3SD for the green zone. At the time of publishing I do not know how to adjust the values on the indicator itself. The red zone at -2SD is actually +2 Standard Deviations on a Z Score SD Chart. (overbought zone).
- Your green zone at +2SD is actually -2SD Standard Deviations (oversold zone).
- Built manually with no reliance on built-in indicators
- Designed for Bitcoin on the 1D, 3D, or Weekly timeframes. NOT for intraday trading.
- DO NOT SOELY RELY ON THIS INDICATOR FOR YOUR LONG TERM VALUATION. I AM NOT RESPONSIBLE FOR YOUR FINANICAL ASSETS.
Market Volatility KeyMarket Volatility Key is a compact dashboard tool designed to help traders quickly assess market conditions related to volatility, trend strength, and asset movement.
This indicator consolidates several key metrics into a color-coded table, providing traders with a real-time overview of the market’s volatility landscape. It is intended to complement existing trading strategies, particularly for trend-following and scalping approaches.
Key Features:
Choppiness Index (CHOP): Measures whether the market is trending or consolidating.
Average True Range (ATR): Customizable by timeframe, helping gauge volatility across different periods.
Volatility Index (VIX): Displays real-time VIX readings, often used as a "fear gauge" for market sentiment.
10-Year US Treasury Bond Yield (10Y): Shows current bond yield to monitor macroeconomic conditions.
Bitcoin (BTC/USD): Tracks price along with directional movement.
Dollar Index (DXY): Displays the strength of the US dollar.
MAG 7 Index: A custom average of Microsoft, Apple, Alphabet, Amazon, Tesla, Meta, and NVIDIA prices.
Visual Enhancements (April 2025 Update):
Directional Arrows: BTC, DXY, MAG7, VIX, and 10Y Bond rows now show ▲ (up), ▼ (down), or → (sideways) based on price movement.
Dynamic Value Colors:
Green for rising prices (BTC, DXY, MAG7, 10Y Bond)
Red for falling prices
For VIX, rising volatility is shown in red and falling volatility in green to better reflect market sentiment.
Customization Options:
Adjustable ATR timeframe
Adjustable table position (top, middle, or bottom right)
Selectable font size (small, medium, large)
Intended Use: This script provides a high-level visual summary of multiple market indicators in one place. It is designed to assist traders in recognizing potential changes in volatility and market sentiment without replacing other forms of technical or fundamental analysis.
Gabriel's Adaptive MA📜 Gabriel's Adaptive MA — Indicator Description
Gabriel's Adaptive Moving Average (GAMA) is a dynamic trend-following indicator that intelligently adjusts its smoothing based on both trend strength and market volatility.
It is designed to provide faster responsiveness during strong moves while maintaining stability during choppy or consolidating periods.
🧠 What it does:
This indicator plots a custom-built, highly dynamic Moving Average that adapts itself intelligently based on:
Trend Strength (via Perry Kaufman's Efficiency Ratio)
Market Volatility (via Tushar Chande's Volatility Ratio)
It reacts faster when the market is trending strongly and/or highly volatile,
and it smooths out and slows down when the market is choppy or calm.
🔍 How it works (step-by-step):
1. User Inputs:
length: (default 14)
How many bars to look back for calculations.
fastSC: Fastest possible smoothing constant (hardcoded as 2 / (2+1))
slowSC: Slowest possible smoothing constant (hardcoded as 2 / (30+1))
(These are used to control how fast/slow the KAMA can react.)
2. Calculate Trendiness — Kaufman Efficiency Ratio (ER):
Net Change = Absolute difference between current close and close from length bars ago.
Sum of Absolute Changes = Sum of absolute price changes between every bar inside the length window.
Efficiency Ratio (ER) = Net Change divided by Sum of Changes.
✅ If ER is close to 1 → Smooth, trending market.
✅ If ER is close to 0 → Choppy, sideways market.
3. Calculate Bumpiness — Volatility Ratio (VR):
Short-Term Volatility = Standard deviation of close over length.
Long-Term Volatility = Standard deviation of close over length * 2.
Volatility Ratio (VR) = Short-Term Volatility divided by Long-Term Volatility.
✅ If VR is >1 → Market is becoming more volatile recently.
✅ If VR is <1 → Market is calming down.
4. Create the Hybrid Alpha:
Multiply ER × VR.
Then square the result (math.pow(..., 2)).
This hybrid alpha decides how aggressive the MA should be based on both trend and volatility.
If ER and VR are both strong → big alpha → fast movement.
If ER and/or VR are weak → small alpha → slow movement.
5. Calculate the Final Adaptive Smoothing Constant (hybridSC):
hybridSC = slowSC + hybridAlpha × (fastSC - slowSC)
This smoothly interpolates between the slowest and fastest smoothing depending on market conditions.
6. Calculate and Plot the Adaptive MA:
The moving average is manually calculated:
hybridMA := na(hybridMA ) ? close : hybridMA + hybridSC * (close - hybridMA )
It behaves like an EMA but with dynamic smoothing, not a fixed alpha.
✅ If hybridSC is high → MA hugs the price closely.
✅ If hybridSC is low → MA stays smooth and resists noise.
Finally, it plots this Adaptive MA on the chart in blue color.
📊 Visual Summary
Market Type What Happens to GAMA
Trending hard + volatile Follows price quickly
Trending hard + calm Follows steadily but carefully
Sideways + volatile Reacts carefully (won't chase noise)
Sideways + calm Smooths heavily (avoids fakeouts)
✨ Main Strengths:
Adapts automatically without you tuning settings manually every time market changes.
Responds smartly to both trend quality (ER) and market energy (VR).
Reduces lag during real moves.
Filters out false signals during choppy mess.
🧪 Key Innovation compared to normal MAs:
Traditional MA Gabriel's Adaptive MA
Same smoothing every bar Dynamic smoothing every bar
Slow during fast moves Adapts fast during real moves
No understanding of volatility or trendiness Full market sensitivity
⚡ **Simple One-Line Description:**
"Gabriel's Adaptive MA is a dynamic, trend-and-volatility-sensitive moving average that intelligently adjusts its speed to match market conditions."
Accurate Global M2 (Top10 GDP, FX-Stabilized)This script was created to solve the serious distortions found in other circulating "Global M2" indicators.
Many previous versions used noisy daily FX rates, unweighted country data, mixed liquidity categories (e.g., RRP, TGA), or aggregated low-quality sources, causing exaggerated or misleading charts.
This version fixes those problems by:
Using Top 10 global economies only (based on GDP).
GDP-weighting each country's M2 contribution.
Fetching monthly-averaged M2 data.
Applying monthly FX conversions to eliminate daily volatility noise.
Forward-shifting the M2 line (default 90 days) to study potential Bitcoin correlations.
Keeping the math clean, without mixing central bank liquidity tools with broad M2 aggregates.
As a result, this script provides a more realistic and stable representation of global M2 expansion in USD terms, more suitable for serious macroeconomic analysis and Bitcoin market correlation studies.
BollingerBands MTF | AlchimistOfCrypto🌌 Bollinger Bands – Unveiling Market Volatility Fields 🌌
"The Bollinger Bands, reimagined through quantum mechanics principles, visualizes the probabilistic distribution of price movements within a multi-dimensional volatility field. This indicator employs principles from wave function mathematics where standard deviation creates probabilistic boundaries, similar to electron cloud models in quantum physics. Our implementation features algorithmically enhanced visualization derived from extensive mathematical modeling, creating a dynamic representation of volatility compression and expansion cycles with adaptive glow effects that highlight the critical moments where volatility phase transitions occur."
📊 Professional Trading Application
The Bollinger Bands Quantum transcends traditional volatility measurement with a sophisticated gradient illumination system that reveals the underlying structure of market volatility fields. Scientifically calibrated for multiple timeframes and featuring eight distinct visual themes, it enables traders to perceive volatility contractions and expansions with unprecedented clarity.
⚙️ Indicator Configuration
- Volatility Field Parameters 📏
Python-optimized settings for specific market conditions:
- Period: 20 (default) - The quantum time window for volatility calculation
- StdDev Multiplier: 2.0 - The probabilistic boundary coefficient
- MA Type: SMA/EMA/VWMA/WMA/RMA - The quantum field smoothing algorithm
- Visual Theming 🎨
Eight scientifically designed visual palettes optimized for volatility pattern recognition:
- Neon (default): High-contrast green/red scheme enhancing volatility transition visibility
- Cyan-Magenta: Vibrant palette for maximum volatility boundary distinction
- Yellow-Purple: Complementary colors for enhanced compression/expansion detection
- Specialized themes (Green-Red, Forest Green, Blue Ocean, Orange-Red, Grayscale): Each calibrated for different market environments
- Opacity Control 🔍
- Variable transparency system (0-100) allowing seamless integration with price action
- Adaptive glow effect that intensifies during volatility phase transitions
- Quantum field visualization that reveals the probabilistic nature of price movements
🚀 How to Use
1. Select Visualization Parameters ⏰: Adjust period and standard deviation to match market conditions
2. Choose MA Type 🎚️: Select the appropriate smoothing algorithm for your trading strategy
3. Select Visual Theme 🌈: Choose a color scheme that enhances your personal pattern recognition
4. Adjust Opacity 🔎: Fine-tune visualization intensity to complement your chart analysis
5. Identify Volatility Phases ✅: Monitor band width to detect compression (pre-breakout) and expansion (trend)
6. Trade with Precision 🛡️: Enter during band contraction for breakouts, or trade mean reversion using band boundaries
7. Manage Risk Dynamically 🔐: Use band width as volatility-based position sizing parameter
EMA20/50/100/200 with extended lines and labels by TradeCrafted📈 EMA20/50/100/200 with Extended Lines and Labels by TradeCrafted
Overview
This script plots four key Exponential Moving Averages (EMAs) — 20, 50, 100, and 200 — directly on the chart for enhanced trend visualization.
In addition to the standard plots, it extends each EMA forward with a projected line, helping traders anticipate potential future dynamic support and resistance zones.
Clear, color-coded labels are attached to each EMA, updating live to improve chart readability without clutter.
This tool is designed for educational and informational purposes only and does not provide financial advice or guaranteed trading results.
✨ Features
Plots EMA 20, EMA 50, EMA 100, and EMA 200 in distinct colors.
Extends each EMA line forward by a user-defined number of bars.
Dynamic floating labels show the EMA name and live value.
Minimalistic and clean design, ideal for all trading styles.
Open-source and customizable for user transparency.
📚 Usage
Use this indicator to:
Identify overall market trends across different timeframes.
Spot potential areas of dynamic support and resistance.
Observe EMA crossovers for possible trend shifts.
⚠️ Disclaimer
This script is intended for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any asset.
Always perform your own analysis before making trading decisions.
Momentum Wave Oscillator📈 Momentum Wave Oscillator (MWO) 📈
The Momentum Wave Oscillator (MWO) is a precision-designed tool for traders who want early, reliable insight into market shifts — before they fully appear on price charts.
Instead of reacting late to moves, MWO is engineered to anticipate changes in momentum by tracking market pressure within a dynamic range.
Its built-in bands and visual cues make it simple to spot key moments where momentum exhaustion, reversals, or fresh breakouts are most likely to occur.
How to Use:
Buy Zones: When the oscillator moves up from lower regions (typically below 20), it may indicate momentum building to the upside.
Sell Zones: When the oscillator moves down from upper regions (typically above 80), it may suggest momentum starting to weaken.
Dynamic Bands:
Unlike conventional fixed levels like 20 and 80, MWO features dynamic adaptive bands that better reflect real-time changes in market behavior.
Markets are fluid — volatility and momentum strength vary from cycle to cycle. Static zones can miss important shifts or produce false signals.
The dynamic bands allow the indicator to adapt naturally to changing conditions, offering more precise context for overbought, oversold, or breakout environments.
Background Colors and Labels:
Automatic highlights appear when potential turning points are detected, allowing traders to act quickly without chart clutter.
Best Practices:
Use the MWO as a confirmation tool alongside your existing strategy (trendlines, support/resistance, volume spikes, etc.).
Look for agreement between the MWO and price action for higher probability entries.
Avoid relying on it in isolation during extremely low-volume periods, where momentum may appear artificially weak or strong.
Adjust sensitivity settings depending on your trading style (scalping vs swing trading).
Important Note:
The MWO is designed for educational and informational purposes. No indicator can predict the future with certainty. Always combine it with proper risk management and your personal trading plan.
Advanced QQE Buy/Sell with Confirmation FiltersAdvanced QQE Buy/Sell with Confirmation Filters
This indicator provides high-probability Buy and Sell signals using an advanced Quantitative Qualitative Estimation (QQE) method, enhanced by optional powerful confirmation filters.
Core Strategy:
📈 QQE Signals: Based on smoothed RSI crossover of dynamic threshold bands.
🎯 Buy Signal: Triggered when RSI crosses above QQE Lower Band.
🎯 Sell Signal: Triggered when RSI crosses below QQE Upper Band.
Optional Confirmation Filters:
🔧 RSI Filter: Only accept buys when RSI > 55 or sells when RSI < 45.
🔧 MACD Histogram Filter: Confirms momentum direction.
🔧 VWAP Filter: Confirms if price is above (bullish) or below (bearish) VWAP.
Customization Options:
Adjust RSI Length, QQE Smoothing Length, and Threshold to match your trading style.
Independently toggle each confirmation filter ON/OFF from the settings.
VWAP line can also be plotted on chart for visual guidance.
Key Features:
Clean Buy (green up label) and Sell (red down label) signals plotted on chart.
Alerts available for Buy/Sell triggers.
Optimized for fast performance and low lag.
Recommended Timeframes:
15min, 1H, 4H, Daily.
Disclaimer:
This indicator is for educational purposes only. Trading involves risk. Always perform your own due diligence.
Developed and optimized by Keyvan 🚀
Triple Confirmation Buy/Sell Engine VWAP + MACD + RSIDescription:
This custom-built indicator generates high-confidence Buy/Sell signals using a powerful combination of MACD momentum, RSI strength, and VWAP trend confirmation — designed for cleaner entries and fewer false signals.
Unlike traditional scripts that rely on only one indicator (and produce noisy or early signals), this system requires triple confirmation, greatly increasing signal quality and reducing false trades.
✅ Buy Signal Conditions:
MACD histogram turns green (momentum shift positive)
RSI crosses above 50 (bullish strength confirmation)
Price closes above VWAP (trend confirmation)
🔻 Sell Signal Conditions:
MACD histogram turns red (momentum shift negative)
RSI crosses below 50 (weakening trend)
Price closes below VWAP (bearish confirmation)
🛠 Best For:
Trend traders seeking higher probability entries
Swing traders who want to catch bigger moves
Crypto, stocks, forex traders looking for simple, effective signals
STDZ - Global Trading Sessions📊 STDZ - Global Trading Sessions (GTS)
STDZ - Global Trading Sessions (GTS) is an indicator that overlays global market session data directly on your intraday charts. It visualizes trading sessions from different time zones, helping intraday traders quickly assess volatility, session ranges, and structural market behavior across global financial centers. The default setting is enough to cover all the major stock markets opening time including:
• Asia: Sydney, Tokyo, Hong Kong
• Europe: Frankfurt, London
• North America: New York
⸻
🚀 Features
• 🔹 Session Visualization: Up to 3 configurable trading sessions with customizable:
• Session time windows
• Time zones (IANA or GMT format)
• Colors
• Session labels
• 🔹 Session Metrics:
• Open, High, Low, and Average lines
• Session range measurement
• 🔹 Statistics Table:
• Live display of each session’s range
• Daily and Weekly True Range / ATR
• 🔹 Session Open Highlights: Vertical lines for weekly changes to contextualize price action
• 🔹 Dynamic Chart Objects: Lines, boxes, and labels update in real time as sessions progress
• 🔹 🕒 Timezone-aware session rendering (supports daylight saving)
PumpC Opening Range Breakout (ORB) 5min Range📄 PumpC ORB 5-Minute Opening Range Breakout Indicator
✨ Overview
The PumpC ORB 5-Minute Opening Range Breakout indicator captures early session price action by tracking the high, low, and open of a defined 5-minute window at market open (customized for Futures or Stocks).
It plots breakout levels, extension targets, average range calculations, volume tracking, and provides visual and table-based data summaries.
This indicator is designed for traders seeking a complete, clean visualization of Opening Range Breakouts (ORB) with flexible customization.
⚙️ Main Features
Opening Range Box (ORB Box) Draws a box around the high and low of the first 5-minute session (8:30–8:35 ET for Futures, 9:30–9:35 ET for Stocks). Box extends from the session open to the session close (4:00 PM ET). Option to enable/disable historical boxes. Box color and opacity are customizable. Core ORB Levels Open Level: Plots the open price of the 5-minute ORB window. ORB Levels: Plots breakout levels at multiples: +0.5x the range +1.5x the range (customizable factor) Each level has independent color settings and visibility toggles. Option to show or hide historic extension levels. Table Display Compact table in the top-right corner showing: ORB ATR (average range) ORB ATR in ticks Today's ORB range ORB Volume ATR (average volume during ORB) Today's ORB Volume Volume is formatted automatically into "K" (thousands) or "M" (millions) for readability. Background Highlights After the ORB window closes: Blue highlight if today's ORB range is greater than the 10-day ATR average. Orange highlight if today's ORB range is smaller than the 10-day ATR average. Helps quickly assess relative strength or weakness compared to historical behavior. Alerts Breakout Confirmations: Fires when price closes above ORB High or below ORB Low. Fallout Traps: Alerts when price wick crosses ORB High/Low but closes back inside the range. Alerts use clean titles and simple messages for easy identification.
🔧 Inputs and Customization
Mode Toggle: Choose between Futures (8:30 ET open) or Stocks (9:30 ET open). Show/Hide Labels: Control label visibility for ORB and extension levels. Line Width Control: Customize thickness for ORB lines and extension levels. ORB Level Level Visibility: Independently enable or disable each extension line. Table Appearance: Customize table background color, font color, and padding. ORB Box Settings: Customize box color and control whether historical boxes are drawn.
📚 How to Use
Select Mode: Choose Futures or Stocks depending on your instrument. Observe the Opening Range: Focus on the ORB High and ORB Low during the first 5 minutes after the open. Monitor Breakouts: Breakout alerts will fire when price closes outside the ORB range, signaling potential continuation. Watch for Fallout Traps: Fallout alerts signal when price briefly wicks above/below but closes back inside the ORB range. Use Table Metrics: Instantly compare today's ORB range and volume versus historical averages to assess session strength or weakness.
🛡️ Notes
Best used on the 1-minute or 5-minute chart for intraday trading. Ensure your TradingView chart time zone is set to New York for correct functioning. Alerts must be manually configured after adding the indicator to your chart.
NR4/NR7 + Trend + MACD + VWAP FilterThe Ultimate Momentum-Compression Strategy
This strategy merges the power of price compression and trend confirmation, ensuring you're trading when the market is coiled and ready to move. By combining multiple filters—NR4/NR7, trend alignment, MACD momentum, and VWAP support—this setup identifies high-probability trade opportunities in dynamic, trending stocks. Here's how it works:
NR4/NR7 Patterns: These are narrow-range days where the current price range is smaller than the previous 4 or 7 days. This signals potential breakout or continuation setups, as the market is compressing before making a move.
Trend Confirmation: To ensure you're not trading against the current trend, the price must be above the 20 EMA, and the 10 EMA must be above the 20 EMA. This confirms a bullish structure, with the price trending in your favour.
MACD Momentum: The fast MACD line must be above the slow MACD line, confirming the trend is not only intact but also gaining momentum.
VWAP Filter: Price must be above the VWAP (Volume Weighted Average Price). This is the final confirmation that the market is in a strong, bullish phase, with buyers dominating the market.
By requiring all these conditions to align, this strategy takes the guesswork out of day trading. It ensures you're trading within a well-established trend, with compression patterns and momentum backing your trade. The result? You’re entering positions with confidence and clarity, poised to ride strong, sustained moves.
This strategy is for the trader who values both flexibility and discipline—able to capture dynamic moves while staying aligned with market structure and momentum. It’s a refined, systematic approach that makes decisions clear, without the emotional second-guessing.