VX Term StructureThe VX Term Structure Monitor is an advanced visualization tool designed specifically for volatility traders who need to instantly recognize shifts in market structure. By comparing the current VIX Futures Term Structure against the previous trading day's close, this indicator provides a clear, real-time* view of the VIX Spot Index and the next available VX futures contracts. A key visual feature is the "Daily Drift" analysis, which automatically highlights the difference between today's curve (Cyan) and yesterday's curve (Gray/Dashed) with red or green fills, allowing you to immediately spot whether volatility is rising or falling across the term structure.
Unlike standard indicators that rely solely on the Spot price, this script utilizes professional-grade logic to classify market stress into three distinct stages. It identifies a normal Contango environment (Green) when the Front Month (M1) is trading below the Second Month (M2), indicating a calm market where long volatility positions typically suffer from negative roll yield. The system issues a Spot Warning (Orange) if the Spot index overheats and exceeds M1 while the futures curve remains in Contango, often an early signal of building stress. Finally, it detects critical Backwardation (Red) when the futures curve physically inverts (M1 > M2), signaling that market participants are paying a premium for immediate protection.
Usage Note: Due to technical limitations in detecting contract expirations automatically, users must manually select the current "Front Month" contract (e.g., "G (Feb)") in the indicator settings to ensure correct alignment. Users can also configure server-side alerts to trigger specifically when the market flips into Backwardation.
*Note: To view real-time data for VX futures, a paid data subscription to CBOE (CFE) is required on TradingView. Otherwise, the data may be delayed.
Disclaimer: This tool is for educational and informational purposes only and does not constitute financial advice.
Indicators and strategies
3C Breakout PRO Investing involves risk. Study carefully before making an investment decision.
Access may be suspended or changed later.
Thank you GJ daytrad
Pivots + FVG + Liquidity Sweeps (Smart Entry)its a scrpt expermental to see if it works its a scrpt expermental to see if it worksits a scrpt expermental to see if it worksits a scrpt expermental to see if it works
Pivots + FVG + Liquidity Sweeps (Smart Entry)//@version=5
indicator("Pivots + FVG + Liquidity Sweeps (Smart Entry)", overlay=true, max_labels_count=500, max_boxes_count=500)
// ===== INPUTS =====
pivotLeft = input.int(5, "Pivot left bars", minval=1)
pivotRight = input.int(5, "Pivot right bars", minval=1)
sweepLookback = input.int(20, "Lookback for sweep detection (bars)")
sweepAtrMultiplier = input.float(1.0, "Sweep strength (ATR multiplier)")
fvg_max_age = input.int(200, "FVG box expiry (bars)")
show_pivots = input.bool(true, "Show pivot markers")
show_sweeps = input.bool(true, "Show liquidity sweeps")
show_fvgs = input.bool(true, "Show FVG boxes")
require_sweep_for_entry = input.bool(false, "Require recent sweep for smart entry")
confirmation_type = input.string("Bullish/Bearish Engulf", "Confirmation type", options= )
fvg_min_width = input.int(1, "Min FVG width (ticks)", minval=0)
// ===== ATR =====
atrLen = input.int(14, "ATR length")
atr = ta.atr(atrLen)
// ===== PIVOTS =====
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
if show_pivots
if not na(ph)
label.new(bar_index - pivotRight, ph, "PH", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
if not na(pl)
label.new(bar_index - pivotRight, pl, "PL", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
// ===== FVG STRUCT =====
type FVG
float top
float bottom
int born_bar
bool bullish
var FVG fvgs = array.new()
var box fvgBoxes = array.new()
// ===== FVG DETECTION =====
if barstate.isconfirmed
prevHigh = high
prevLow = low
if low > prevHigh and (low - prevHigh) >= syminfo.mintick * fvg_min_width
array.push(fvgs, FVG.new(low, prevHigh, bar_index, true))
if high < prevLow and (prevLow - high) >= syminfo.mintick * fvg_min_width
array.push(fvgs, FVG.new(prevLow, high, bar_index, false))
// cleanup old FVGs
for i = array.size(fvgs) - 1 to 0
f = array.get(fvgs, i)
if bar_index - f.born_bar > fvg_max_age
array.remove(fvgs, i)
// ===== DRAW FVG BOXES =====
if show_fvgs
for i = 0 to array.size(fvgBoxes) - 1
box.delete(array.get(fvgBoxes, i))
array.clear(fvgBoxes)
for i = 0 to array.size(fvgs) - 1
f = array.get(fvgs, i)
col = f.bullish ? color.new(color.green, 85) : color.new(color.red, 85)
bx = box.new(f.born_bar, f.top, bar_index, f.bottom, bgcolor=col, border_width=0)
array.push(fvgBoxes, bx)
// ===== LIQUIDITY SWEEPS =====
var int lastBullSweepBar = na
var int lastBearSweepBar = na
priorHigh = ta.highest(high , sweepLookback)
priorLow = ta.lowest(low , sweepLookback)
bullSweep = high > priorHigh + sweepAtrMultiplier * atr and close < priorHigh
bearSweep = low < priorLow - sweepAtrMultiplier * atr and close > priorLow
if barstate.isconfirmed
if bullSweep
lastBullSweepBar := bar_index
if show_sweeps
label.new(bar_index, high, "Bull Sweep", style=label.style_label_down, color=color.orange, textcolor=color.white, size=size.small)
if bearSweep
lastBearSweepBar := bar_index
if show_sweeps
label.new(bar_index, low, "Bear Sweep", style=label.style_label_up, color=color.orange, textcolor=color.white, size=size.small)
// ===== CONFIRMATION =====
isBullEngulf() => close > open and open < close and close > open
isBearEngulf() => close < open and open > close and close < open
isAnyBull() => close > open
isAnyBear() => close < open
// ===== SMART ENTRY =====
for i = array.size(fvgs) - 1 to 0
f = array.get(fvgs, i)
inFvg = close <= f.top and close >= f.bottom
if inFvg
okSweep = true
if require_sweep_for_entry
okSweep := f.bullish ? (not na(lastBullSweepBar) and bar_index - lastBullSweepBar <= sweepLookback) : (not na(lastBearSweepBar) and bar_index - lastBearSweepBar <= sweepLookback)
if okSweep
confirm = confirmation_type == "Bullish/Bearish Engulf" ? (f.bullish ? isBullEngulf() : isBearEngulf()) : confirmation_type == "Close Above/Below FVG" ? (f.bullish ? close > f.top : close < f.bottom) : (f.bullish ? isAnyBull() : isAnyBear())
if confirm
if f.bullish
label.new(bar_index, low, "Smart Long", style=label.style_label_up, color=color.lime, textcolor=color.black, size=size.normal)
else
label.new(bar_index, high, "Smart Short", style=label.style_label_down, color=color.fuchsia, textcolor=color.white, size=size.normal)
break
Ripster EMA Clouds with MTFCredits & Origins:
This script is a modification of the widely popular EMA Clouds system originally created by @Ripster47. Full credit goes to him for the strategy and original concept. This version simply adds a quality-of-life feature for traders who use multi-timeframe analysis.
What is this Indicator?
The Ripster EMA Clouds system uses overlapping Exponential Moving Averages (EMAs) to visualize trends, momentum, and dynamic support/resistance zones. The "clouds" differ in color to indicate bullish or bearish trends, acting as a visual guide for keeping you on the right side of the trade.
What is New in This Version? (MTF Capability)
The standard version of this indicator calculates EMAs based on your current chart timeframe. If you switch from a 10-minute chart to a 1-minute chart, the clouds change completely.
I have added a "Fixed Timeframe" variable/input that allows you to "lock" the clouds to a specific timeframe, regardless of what chart you are viewing.
Why is this useful? This allows for true Multi-Timeframe (MTF) scalping.
Example: You can set the clouds to look at the 10-minute trend (identifying major support levels) but execute your entries on a 1-minute chart.
The clouds will remain locked to the 10-minute data, giving you the "big picture" view while you trade the micro-movements.
How to Use
Open the indicator settings.
Go to the Inputs tab.
Find the "Fixed Timeframe" option at the top.
Leave Empty (Default): The indicator behaves exactly like the original (adjusts to your chart).
Select a Timeframe (e.g., 10 Minutes): The clouds will lock to the 10-minute EMAs, even if you switch your chart to 1-minute or 5-seconds.
Note on Visuals When viewing Higher Timeframe (HTF) clouds on a Lower Timeframe (LTF) chart, the clouds will appear to have a "stepped" or "ladder-like" appearance. This is normal and accurate. It represents the single EMA value holding constant for that entire higher-timeframe period. This helps you see the true support level rather than a smoothed, repainted line.
8 EMA. 21 EMA. VWAP This trio is popular for momentum, scalping, and trend-following on 1mโ15m charts (stocks, futures, indices).
1. Trend & Bias Filter
โข Overall bullish when: Price > VWAP and 8 EMA > 21 EMA
โข Overall bearish when: Price < VWAP and 8 EMA < 21 EMA
VWAP adds volume context โ many ignore EMA signals against the VWAP side.
2. Crossover Signals (Primary Entries)
โข Bullish crossover: 8 EMA crosses above 21 EMA โ potential long (especially if price is already above VWAP)
โข Bearish crossover: 8 EMA crosses below 21 EMA โ potential short (especially if price is below VWAP)
VWAP confirmation reduces whipsaws: only take longs above VWAP, shorts below it.
3. Pullback / Retest Entries (Higher Probability)
โข In an uptrend (price > VWAP, 8 > 21): Wait for dips to the 8 EMA (or sometimes 21 EMA) โ buy the bounce.
โข In a downtrend: Wait for rallies to the 8 EMA โ short the rejection.
VWAP often acts as a magnet or pivot โ price gravitating toward it can signal mean-reversion trades.
Williams AlligatorSleeping: When the three lines are intertwined, the market is range-bound (the Alligator is sleeping). Avoid trading.
Eating: When the Green line (Lips) crosses out of the Red (Teeth) and Blue (Jaw) lines, the trend is beginning.
Open Mouth: If Green > Red > Blue, it is an Uptrend. If Blue > Red > Green, it is a Downtrend.
Weighted CCI Oscillator [SeerQuant]Weighted CCI Oscillator (WCCI)
The Weighted CCI Oscillator (WCCI) is an enhanced CCI-style deviation oscillator that builds on the classic Commodity Channel Index framework by introducing adaptive weighting and configurable smoothing. By dynamically scaling deviation based on a selected market โweightโ (Volume, Momentum, Volatility, or Reversion Factor), WCCI helps trend strength and regime shifts stand out more clearly, while still retaining the familiar CCI-style structure and ยฑ200 extreme zones.
โ๏ธ How It Works
WCCI starts by calculating a baseline (your chosen moving average type) of the selected CCI source (Typical Price / HLC3, or a custom input source). It then measures how far price deviates from that baseline, and applies an adaptive weight to that deviation based on your selected weighting method.
The weighting is normalized for stability so it remains usable across different assets and changing regimes, then clamped to prevent abnormal spikes from distorting the oscillator. The weighted deviation is normalized by a weighted mean absolute deviation term (using the standard CCI constant k), producing a CCI-like oscillator that responds differently depending on the โstateโ of the market.
Trend logic is defined using a neutral zone around the 0 midline: bullish when WCCI holds above (0 + Neutral Zone), bearish when it holds below (0 - Neutral Zone), and neutral while it remains inside that band. A smoothed WCCI line is also provided for cleaner confirmation.
โจ Customizable Settings
WCCI is designed to be tuned without overcomplication. You can choose the CCI source mode (Typical Price / HLC3 or Input Source), set the calculation length, and apply smoothing using your preferred moving average type (SMA, EMA, RMA, HMA, DEMA, TEMA, etc.).
The weighting method is the key differentiator:
Volume weighting emphasizes participation and activity.
Momentum weighting emphasizes impulse and directional pressure.
Volatility weighting emphasizes expansion/contraction phases.
Reversion Factor weighting responds inversely to variance, biasing toward mean-reversion conditions.
On the style side, you can select a preset colour scheme (Default/Modern/Cool/Monochrome) or enable custom bull/bear/neutral colours. Candle coloring is optional, and you can choose whether candles follow the raw WCCI or the smoothed WCCI.
๐ Features and Benefits
WCCI provides a CCI-style oscillator that adapts to market conditions instead of treating every regime the same. The weighting engine helps meaningful moves stand out when conditions justify it, while the neutral-zone framework reduces noise and improves readability compared to relying purely on midline flips. With flexible smoothing, clean state transitions, optional candle coloring, and clear ยฑ200 extreme markers, WCCI works well as a trend filter, confirmation layer, or regime signal alongside other systems.
๐ Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always consult a licensed financial advisor before making trading decisions. Use at your own risk.
Indian Equities Theme Tracker [EWT] - Sector Rotation HeatmapIdentify where the "Smart Money" is flowing in the Indian Markets.
The Indian Equities Theme Tracker is a powerful visual dashboard designed for NSE traders and investors to monitor sector rotation and relative strength in real-time. By tracking the most liquid Exchange Traded Funds (ETFs), this tool provides a birds-eye view of the Indian economyโfrom core benchmarks like Nifty 50 and Nifty 500 to high-growth themes like Defence, EV, Tourism, and Energy.
In modern markets, capital doesn't move into all stocks at once; it rotates between sectors. This script helps you spot the leaders and laggards across five different timeframes, ensuring you are always positioned in the strongest themes.
๐ Key Features :
23+ Essential Themes: Tracks Broad Market, Market Caps (Mid/Small), Sectors (IT, Bank, Auto, Metal), and Narratives (Defence, Tourism, EV, Energy).
Dynamic Performance Sorting: Automatically reorders the table based on your selected lookback (1 Day, 1 Week, 1 Month, 3 Months, or YTD).
Heatmap Logic: Intuitive color coding helps you instantly identify extreme bullishness or bearishness across the board.
Liquidity Focused: Uses the most liquid NSE ETFs (BeES and equivalent) to ensure the data is accurate and reflects tradeable prices.
Pro UI Design: A clean, professional dashboard that can be positioned anywhere on your chart without cluttering your price action analysis.
๐ Themes Included :
Benchmarks: Nifty 500, Nifty 50, Nifty Next 50.
Market Caps: Midcap 150, Smallcap 250.
Sectors: Private & PSU Banks, IT, Pharma, Healthcare, FMCG, Auto, Metals, Infra, Realty.
Thematic/Narratives: Defence, Tourism, Energy, EV & New Age Automotive, Consumption.
Safe Havens: Gold & Silver.
๐ ๏ธ How to use :
Timeframe: Switch to the Daily (D) timeframe for the best results.
Settings: Use the inputs to change the table position (Top/Middle/Bottom) and the sorting criteria.
Strategy: Look for themes that are consistently at the top of the "1 Month" and "3 Month" listsโthese are your structural leaders. Use "1 Day" to spot quick tactical bounces.
Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice. Always perform your own due diligence.
MAG7 and VIXMAG7 and VIX is a institutional-grade market breadth and sentiment dashboard designed specifically for Nasdaq (NQ) traders. Instead of relying on a single price chart, this indicator provides a "look under the hood" of the market by tracking the volatility of the entire index and the individual performance of the seven stocks that drive over 40% of the Nasdaq 100's movement.
Core Components
1. The Fear Gauges (Volatility Monitoring)
This section tracks the VIX (S&P 500 Volatility) and VXN (Nasdaq Volatility).
The Logic: Volatility and price usually have an inverse relationship.
Risk-On: When these numbers are Green (negative %), volatility is dropping, which usually provides a "tailwind" for stocks to rise.
Risk-Off: When these numbers turn Red (positive %), fear is entering the market, often preceding a sharp sell-off or indicating that a rally is built on "shaky ground."
2. Tech Leaders (Market Breadth)
This monitors the Mag7 (NVDA, AAPL, MSFT, AMZN, GOOG, META, TSLA). The dashboard calculates a Weighted Average of these leaders to show the true strength of the "engines" behind the NQ.
Weights: NVDA, AAPL, and MSFT are given 1.5x weight because their market caps have the highest impact on the index.
Individual Heatmap: Each stock has its own cell that changes color based on its performance relative to the daily open.
Using the Dashboard for Divergence Trading
The primary value of this indicator is spotting Divergence, which occurs when the NQ price is lying to you but the internal data shows the truth.
Bearish Breadth Divergence: The NQ hits a new high, but the Tech Leaders Average is negative, and most individual cells (like NVDA or MSFT) are red. This indicates the move is "thin" and likely a bull trap.
Bullish Breadth Divergence: The NQ is flushing to new lows, but the Tech Leaders are starting to turn green or the Fear Gauges are rapidly dropping. This often signals that a bottom is being put in.
Dashboard Placement & Aesthetics
Top Center Positioning: Placed by default at the top-center of your chart to keep your eyes on the price action while maintaining peripheral awareness of the macro data.
Large UI: Designed for high-resolution screens so you can read the percentage shifts without squinting during fast-moving "Turbo" sessions.
Real-Time Updates: The data is fetched dynamically using request.security, ensuring the "Heatmap" reflects current intraday strength rather than just yesterday's close.
Macro 6-PackMacro 6-Pack dashboard: SPX momentum, VIX, HY credit spread, 10Y yield shifts, DXY trend, and 2s10s curve.
Quant Labs Edge Filter (Community Edition)A market-structure filter designed to identify when no real edge exists.
Edge Filter evaluates price location relative to structure to define market posture โ long bias, short bias, or stand aside. It does not generate trade signals and is intentionally designed to reduce overtrading.
Clear Posture States
Near Highs โ Short Bias
Near Lows โ Long Bias
No Edge โ Stand Aside
When edge is absent, patience is the strategy.
Why It Stands Out
Most indicators encourage action.
Edge Filter encourages restraint.
Its purpose is to protect capital, attention, and decision quality by filtering out low-quality environments.
Community Edition
This version publishes the core logic openly for transparency and education.
Private access versions may exist for traders seeking continuity and stewardship.
Bottom Line
Trade less.
Trade better.
Wait for edge.
โ QuantLabs
McGinley Dynamic + MA FilterMcGinley Dynamic + MA Filter Long/Short Gauge
Author: Simon20cent
Purpose:
Provides a fast, adaptive trend indicator using the McGinley Dynamic, with an optional moving average filter for stronger confirmation of LONG or SHORT bias. Designed to give clear visual signals without cluttering the chart.
How it Works:
McGinley Dynamic: tracks price direction adaptively.
Price above MD โ bullish
Price below MD โ bearish
Optional MA Filter: confirms trend using a chosen SMA or EMA.
LONG only if MD > MA
SHORT only if MD < MA
Visual Signals:
Line: McGinley Dynamic (colored by bias)
Optional MA line: blue reference
Background color: green = LONG, red = SHORT
Labels: optional โLONGโ / โSHORTโ above/below bars
Customization Options:
MD period
MA type (SMA/EMA) and period
Show/hide lines and labels
Enable/disable MA filter
Use Cases:
Quick trend bias detection
Entry filter for trades (aligns MD and MA)
Works on any timeframe for scalping, intraday, or swing setups
Key Advantage:
Adaptive, low-lag trend detection with optional confirmation, giving a clean and clear long/short gauge.
TASC 2026.02 Portfolio Diversificationโ OVERVIEW
This indicator is a simplified framework for analyzing hypothetical portfolios, based on the concepts in the February 2026 edition of the TASC Traders' Tips , "Foundational Portfolio Design, Not Stock-Pickingโ. It requests datasets for spread symbols that represent weighted combinations of user-selected or predefined instruments, compares the returns in the data to those of a selected benchmark, and calculates risk-related metrics.
โ CONCEPTS
One of the core concepts of portfolio design is diversification. A diversified portfolio distributes market exposure across multiple, ideally uncorrelated, instruments to reduce potential risks. Investors often diversify their portfolios by allocating capital to instruments from different classes, sectors, or regions rather than investing in only a single instrument or multiple related instruments.
As described in the article, the motivation behind creating diversified portfolios is simple:
"No single position should have the capacity to sink the entire portfolio."
This indicator estimates a portfolio's performance by requesting combined price data for spread symbols from user inputs or predefined options, and then analyzing the data's annual arithmetic returns alongside those of a specified benchmark instrument. It displays the returns of the spread and the benchmark in a table at the bottom left.
The indicator also displays the following metrics described in the article in a table at the bottom right of the pane for additional performance information:
Max drawdown: The maximum drop in the portfolio's value from a local peak.
Standard deviation: The dispersion of portfolio values relative to their mean.
Sharpe ratio: The ratio of excess returns in an investment compared to a hypothetical risk-free rate of return.
Pain index: A measure of risk based on the depth, duration, and frequency of losses. The metric in this script considers only the bars where drawdown is nonzero.
Ulcer index: A measure of downside risk based on the root mean square of drawdowns. The metric in this script considers only the bars where drawdown is nonzero.
Correlation: The Pearson correlation coefficient between the returns of the hypothetical portfolio and those of a selected benchmark.
The first five metrics are direct risk measures. The correlation metric helps assess whether the hypothetical portfolio closely follows the broader market. High correlation with a broad benchmark might indicate an elevated sensitivity to systematic risk.
โ USAGE
Users can select a combination of up to 10 symbols with specific weights to construct a hypothetical portfolio to analyze. Alternatively, users can select a predefined combination of symbols and weights based on the article's examples of optimized portfolios for different levels of risk tolerance.
The script plots the calculated returns from the selected combination and the benchmark instrument for visual comparison. It also generates tables to compare returns and display risk metrics.
Note: This indicator is intended to provide a simplified demonstration of portfolio concepts, and some metric calculations differ slightly from those in the article. The script does not produce any signals, and the calculated metrics are estimates intended for EOD timeframes such as 1D. If the hypothetical portfolio consists of instruments with different sessions, we recommend using 1W or a higher timeframe.
โ INPUTS
Benchmark: The symbol of the instrument to compare against the hypothetical portfolio.
Portfolio Type: Choose between named options for predefined portfolio configurations based on risk profiles outlined in the article. To create a custom portfolio from up to 10 symbols, select "Custom" and adjust the 10 sets of inputs below.
Risk-free rate: The hypothetical annual risk-free rate for the Sharpe ratio.
Periods per year: If not zero, the script uses the value as the number of bars per year for annualization, which affects Sharpe ratio and standard deviation metrics.
Display Toggles: The display for the returns and metrics tables can be toggled on or off.
Cryptocurrency Dual-System Color-Changing Moving AveragesCryptocurrency Dual-System Color-Changing Moving Averages: Advanced Multi-Timeframe Trend Analysis
Innovative Core Concept
Our indicator introduces a revolutionary approach to trend analysis by integrating dual moving average systems with intelligent visual feedback mechanisms. Unlike traditional moving average indicators that simply display lines or basic crossovers, our system provides dynamic, multi-dimensional trend intelligence through three key innovations:
Dual Independent Moving Average Systems - Two complete 7-period moving average systems operate simultaneously, offering independent trend confirmation while maintaining visual harmony through unified color coding.
Intelligent Color-Changing Algorithm - Each moving average dynamically changes color based on its individual trend strength, creating a visual heatmap of momentum across different timeframes.
Holistic Market State Visualization - The entire candlestick chart changes color based on overall trend alignment, providing immediate visual confirmation of market regimes.
Comprehensive Functionality and Implementation
What It Does
This indicator performs multi-timeframe trend analysis across 14 moving averages (7 for each system), calculating individual trend strength for each line and determining overall market alignment to provide clear visual signals for different market conditions.
How It Works
Primary Trend Strength Calculation:
For each moving average, the indicator calculates a proprietary trend strength value by analyzing the net directional movement over a user-defined lookback period. This quantifies whether the moving average is consistently rising, falling, or consolidating.
Color Coding Logic:
Blue: Moving average shows strong upward momentum (trend strength exceeds positive threshold)
Orange: Moving average shows strong downward momentum (trend strength falls below negative threshold)
Gray: Moving average shows neutral/consolidating behavior
Market Regime Detection:
The system analyzes the alignment of three key moving averages (short-term, medium-term, and long-term) from the Main MA System to determine the overall market state:
Bullish Alignment: Short-term MA > Medium-term MA > Long-term MA (candlesticks turn blue)
Bearish Alignment: Short-term MA < Medium-term MA < Long-term MA (candlesticks turn orange)
Consolidation: No clear alignment pattern (candlesticks turn white)
Implementation Methodology
Our approach combines several established technical analysis concepts with unique enhancements:
Multiple Timeframe Analysis (MTFA) - We simultaneously analyze 7 different time periods (21, 55, 89, 144, 200, 450, 800) to capture trend dynamics across short, medium, and long time horizons.
Trend Strength Quantification - Instead of relying on simple crossovers, we calculate a proprietary trend strength metric that measures both direction and momentum consistency.
Visual Pattern Recognition Enhancement - By color-coding both the moving averages and the price bars, we leverage human visual processing capabilities to quickly identify market states and potential reversals.
Dual Confirmation System - The two independent moving average systems (Main System and EMA System) provide layered confirmation, reducing false signals and increasing reliability.
Practical Application and Usage Guidelines
Setup and Configuration
Main Moving Average System:
Configure your preferred moving average type (SMA, EMA, WMA, or HMA) and select which of the 7 periods to display. Each period can be individually enabled or disabled based on your analysis needs.
EMA System Configuration:
The secondary EMA system provides additional trend confirmation. Adjust its transparency to visually distinguish it from the Main System while maintaining chart clarity.
Trend Sensitivity Adjustment:
The "Trend Strength Threshold" parameter allows fine-tuning of color change sensitivity. Lower values make the indicator more responsive to minor trends, while higher values require stronger momentum for color changes.
Strategic Trading Applications
1. Trend Identification and Confirmation Strategy
Bullish Confirmation: Look for predominantly blue moving averages across multiple timeframes accompanied by blue candlesticks
Bearish Confirmation: Look for predominantly orange moving averages across multiple timeframes accompanied by orange candlesticks
Trend Weakness Detection: Watch for moving averages changing from blue to gray/orange or from orange to gray/blue
2. Multi-Timeframe Alignment Trading
High-Probability Entries: Enter positions when all three key timeframes (short, medium, long) align in the same direction
Exit Signals: Consider reducing positions when timeframes begin to diverge or when candlestick color changes to white (consolidation)
3. Support and Resistance Identification
Moving averages serve as dynamic support/resistance levels
Color changes at these levels indicate whether support/resistance is strengthening or weakening
4. Market Regime Adaptation
Trend-Following Mode: During blue/orange candlestick periods, employ trend-following strategies
Range-Trading Mode: During white candlestick periods, employ range-bound or mean-reversion strategies
Core Philosophical Framework and Calculation Logic
Underlying Technical Analysis Principles
Our indicator is built upon the principle that trends exist simultaneously across multiple timeframes, and the convergence or divergence of these timeframes provides valuable information about trend strength and potential reversals.
Calculation Methodology
Trend Strength Formula:
For each moving average, we calculate:
Sum of upward movements over the lookback period
Sum of downward movements over the lookback period
Net directional bias as a normalized value between -1 and +1
This approach provides a more nuanced understanding of trend momentum compared to simple directional analysis.
Threshold-Based Classification:
Values above the positive threshold indicate sustainable upward momentum
Values below the negative threshold indicate sustainable downward momentum
Values within the threshold range indicate consolidation or weak trends
Why This Approach Is Effective
Early Warning System: Color changes in individual moving averages often precede overall market regime changes, providing early reversal signals.
Noise Reduction: By requiring alignment across multiple timeframes for candlestick coloring, we filter out false signals common in single-timeframe analysis.
Visual Processing Efficiency: The color-coded system allows rapid interpretation of complex multi-timeframe information, reducing cognitive load during fast market conditions.
Adaptability: Configurable parameters allow adjustment for different market conditions (high volatility vs. low volatility) and trading styles (scalping vs. position trading).
This indicator is particularly valuable for cryptocurrency trading due to the market's characteristic high volatility and strong trend tendencies. By providing clear visual cues about trend strength and alignment across multiple timeframes, it helps traders remain aligned with the dominant market direction while avoiding periods of choppy, directionless price action.
The system's dual-layer confirmation (moving average colors + candlestick colors) creates a robust framework for identifying high-probability trading opportunities while maintaining flexibility to adapt to changing market conditions.
Gapper SHORT Signal# TradingView Publication Description
## Title
**Gapper Short Signal - Genetic Optimized (81.8% Win Rate)**
---
## Short Description
Data-driven short signal for fading overextended gap-up stocks. Optimized using genetic algorithms on 166 historical gappers.
---
## Full Description
### ๐ What Is This?
A **precision short signal** designed specifically for fading gap-up stocks that have become overextended. Unlike indicators built on gut feeling or traditional rules, this signal was **discovered by a genetic algorithm** that analyzed 166 real gapper stocks over 70 trading days.
The algorithm tested thousands of signal combinations and evolved over 50 generations to find the exact conditions that preceded profitable short entries.
---
### ๐ฏ Performance (Backtest)
| Metric | Value |
|--------|-------|
| **Win Rate** | 81.8% |
| **Profit Factor** | 20.34 |
| **Stop Loss** | 3.4% |
| **Take Profit** | 8.6% |
*Based on 166 gapper stocks, $1-20 price range, >3% gap, >100k volume*
---
### ๐ How It Works
The indicator fires a SHORT signal when **ALL 5 conditions** are met:
**1. Overextended Above VWAP**
Price must be trading more than 1.5 ATR above VWAP. This means the stock has run too far, too fast and is stretched like a rubber band.
**2. Volume Dying Down**
NOT a volume climax (RVOL < 3x). We want to see buying pressure fading, not a blowoff top with massive volume.
**3. Rejection Candle (Key Signal!)**
Upper wick must be >51% of the candle range. This is the smoking gun - price tried to push higher but got slammed back down. Sellers are stepping in.
**4. Still Elevated**
Price must be at least 6.66% above the low of day. We want to short stocks that are still high, not ones that have already crashed.
**5. Time Window**
Within the first 5.5 hours of trading. Gapper fades work best when there's still time in the day for the move to play out.
---
### ๐ Best Used On
- **Timeframe:** 1-minute charts
- **Stocks:** Gap-up stocks (>3% gap from previous close)
- **Price Range:** $1-20 (small caps / penny stocks)
- **Volume:** High relative volume days
- **Session:** Regular trading hours
---
### ๐ฅ๏ธ Features
โ
Clean visual signals (red triangles)
โ
Auto-drawn stop loss and take profit levels
โ
Real-time info table showing all conditions
โ
Condition status indicators (โ/โ)
โ
Entry label with exact stop/target prices
โ
Built-in alerts
---
### โ๏ธ Settings
| Input | Default | Description |
|-------|---------|-------------|
| Stop Loss % | 3.4% | Distance to stop loss |
| Take Profit % | 8.6% | Distance to profit target |
| Show Info Table | On | Display condition status |
| Show All Conditions | Off | Expanded table view |
---
### ๐งฌ The Science Behind It
This indicator wasn't designed by a human - it was **evolved**.
A genetic algorithm started with 100 random indicator configurations, each with different entry conditions and thresholds. These "individuals" were backtested against historical gapper data, and the top performers were bred together to create the next generation.
After 50 generations of evolution, only the fittest signals survived. The result is the 5-condition setup you see here.
**Why genetic optimization?**
- Removes human bias from signal design
- Tests combinations humans would never think of
- Finds exact threshold values (not round numbers)
- Adapts to real market data, not theory
---
### โ ๏ธ Important Notes
**This is a tool, not a guarantee.**
- Backtest performance โ future results
- 11 trades in backtest = small sample size
- Always use proper position sizing
- Paper trade before going live
- Works best on liquid stocks with tight spreads
**Risk Management is Everything**
The 81.8% win rate means nothing if you size incorrectly or move your stops. Stick to the 3.4% stop / 8.6% target that the algorithm optimized for.
---
### ๐ก Trading Tips
1. **Wait for the signal** - Don't anticipate. Let all 5 conditions align.
2. **Check the table** - Use the info panel to see which conditions are met.
3. **Respect the stop** - The 3.4% stop is part of the edge. Don't widen it.
4. **Let winners run** - 8.6% target gives you 2.5:1 reward-to-risk.
5. **One trade per setup** - Don't re-enter if stopped out.
---
### ๐ Alerts
Set up alerts for "SHORT Signal" to get notified when all conditions align. Works with TradingView mobile notifications.
---
### ๐ Changelog
**v1.0** (January 2026)
- Initial release
- Genetic optimization on 166 gappers / 70 trading days
- 5-condition SHORT signal
---
### ๐ Credits
Built using genetic algorithm optimization techniques applied to Polygon.io historical data. Special thanks to the algo trading community for inspiration.
---
### โ๏ธ Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always do your own research and consult with a qualified financial advisor before making trading decisions.
---
## Tags
`short` `gapper` `gap-up` `fade` `mean-reversion` `genetic-algorithm` `machine-learning` `day-trading` `momentum` `vwap` `rejection` `small-cap` `penny-stocks`
---
## Category
Trend Analysis / Momentum / Volatility
Support/Resistance + Weekend CME Gaps (Full Fill + Text)This indicator shows Support and Resistance Level of Bitcoin.
It also shows WeekEnd CME Gaps (Gap between Friday Close and Sunday Open )
It has an option to delete the CME Gap box if it is filled.
CME Gap box is in yellow color.
Please Note: In order to use the CME Gap Feature, Your TradingView account should Show CME Gap Charts (CME: BTC1!)
CME Gap Settiings You Can Define
- CME Gap TimeFrame (60, 120) : 60 For 1 Hour and 120 for 4 hour
- Max CME Gap Boxes on Chart : This controls how many old CME gap zones are allowed to stay visible at the same time.
XRP Athey Mitchnick Implied Price (Ramp + Analytical 2030 Label)This indicator implements a fundamental valuation framework for XRP based on the AtheyโMitchnick cryptoasset valuation model. Unlike traditional technical indicators (RSI, MACD, etc.), this tool is not designed to predict short-term price movements. Instead, it models what XRP should be worth over time under explicit adoption and demand assumptions.
It answers the question:
If XRP becomes a real settlement rail and a long-term store of value, what price would be required for the system to function?
What This Indicator Adds
This implementation extends the static AtheyโMitchnick model by introducing a time-based ramp:
1. Adoption grows over time
You specify:
TV CAGR (%)
SoV CAGR (%)
These values compound annually from a start date to an end date (e.g., 2030), producing a dynamic implied valuation curve.
2. Terminal 2030 price is computed analytically
The indicator explicitly computes the implied price at the target year (e.g., 2030) and displays it as:
โ2030 Implied Price = $Xโ
This is done analytically, so the chart does not need to extend to 2030 for you to see the terminal valuation.
3. This is not a trading indicator
This model is not designed for:
Scalping
Breakouts
Entry timing
Momentum trading
It is designed for:
Long-term valuation anchoring
Scenario modeling
Macro thesis testing
Adoption-based forecasting
Narrative vs fundamentals comparison
How to Read the Chart
Market Price (Close)
This is the actual XRP market price. It reflects:
Speculation
Liquidity
Leverage
Narrative
Emotion
Implied Price (Ramp)
This is the fundamental valuation curve.
It shows what XRPโs price would need to be at each point in time for your adoption and store-of-value assumptions to be true.
Bands (Optional)
The ยฑ% bands are valuation tolerance zones. They are not volatility bands.
They help visualize:
Overvaluation
Undervaluation
Reversion zones
2030 Label
The label:
2030 Implied Price = $X
represents the terminal valuation implied by your assumptions. This is the most important output of the model.
What Makes the Price Go Higher
To increase the implied 2030 price, one or more of these must change:
1. Higher Transaction Adoption (TV)
Inputs:
TV0
TV CAGR %
This reflects real-world economic usage.
Higher TV means XRP is settling more real value per day.
Examples:
Cross-border payments
Tokenized assets
Treasury settlement
Interbank liquidity rails
2. Higher Store-of-Value Demand (SoV)
Inputs:
SoV0
SoV CAGR %
This reflects long-term holding demand.
This is the most powerful driver of long-term price.
It models:
Institutional holdings
Strategic reserves
Collateral usage
Long-term investor behavior
3. Lower Velocity
Input:
Velocity V
Lower velocity means XRP must be held longer to support the same transaction volume.
This implies:
Reserve-like behavior
Collateralization
Treasury holding
Structural stickiness
Price is inversely proportional to velocity.
4. Lower Effective Supply
Inputs:
Supply0
Supply CAGR
Supply cap
If XRP becomes locked, escrowed, staked, or structurally held, the effective circulating supply shrinks, increasing price.
Why This Matters
Most crypto price models are:
Technical
Reflexive
Narrative-driven
Non-falsifiable
This one is:
Structural
Adoption-based
Testable
Falsifiable
If XRP never achieves the adoption implied by your inputs, the model will not justify high prices.
This indicator is a forward-looking valuation engine, not a trading tool.
It shows:
What XRPโs price must be for your beliefs about its future to be true.
It forces clarity.
It forces discipline.
And it converts stories into structure.
PDH/PDL/PMH/PML Dashboard (Key-Levels Style PM Range)๐ฉ 1. SHORT DESCRIPTION
Multi-ticker PDH/PDL/PMH/PML dashboard for intraday traders. Shows premarket range, PDH/PDL breaks, % change and trend classification.
๐ฉ 2. FULL DESCRIPTION (for main body)
Use this for the Description section:
๐ Overview
This indicator provides a real-time dashboard for monitoring multiple tickers relative to key intraday levels including:
Previous Day High (PDH)
Previous Day Low (PDL)
Premarket High (PMH)
Premarket Low (PML)
% Change vs Yesterday Close
Breakout Signals
Trend Classification
Designed for intraday traders who monitor multiple names at once, this tool consolidates market-structure levels into one unified display without switching charts.
๐งฉ Key Features
โ 14-symbol dashboard
โ PDH / PDL / PMH / PML levels
โ Break signal markers (โฒ / โผ / โ)
โ % change column
โ Trend direction column
โ Extended hours premarket logic
โ Automatic light/dark theme adaptation
โ Built for U.S. equities
โ Zero chart clutter โ dashboard only
๐ง Level Logic
Previous Day Levels
PDH = yesterday high
PDL = yesterday low
Premarket Levels
Calculated from extended-hours session before 09:30 (New York time):
PMH = highest premarket price
PML = lowest premarket price
Levels reset daily.
๐ Signals
Break conditions:
Event Signal
Price > PDH โฒ (bullish breakout)
Price < PDL โผ (bearish breakdown)
Price > PMH โ (premarket breakout)
Price < PML โ (premarket breakdown)
๐ Trend Classification
Trend column simplifies direction:
Bullish: price > PDH AND price > PMH
Bearish: price < PDL AND price < PML
Neutral: otherwise
๐งฐ Use Cases
Useful for:
Opening drive monitoring
Liquidity sweeps / stop hunts
Reversal fades vs PDH/PDL
Sector rotation scanning
News trader watchlists
Options flow targeting
Premarket level validation
Great for prop/desk traders watching multiple names intraday.
๐ Usage Guide
Setup:
Enable extended hours for underlying symbols
Use timeframes โฅ1m (1mโ5m recommended)
Premarket values display once premarket prints
Recommended Workflow
Look for leaders clearing PDH/PMH
Watch laggards holding below PDL/PML
Use % change for rotation confirmation
Combine with volume/tape for execution
โ Data Requirements
Works with U.S. equities with extended hours feeds
Premarket not guaranteed for non-US symbols
PMH/PML will show โ-โ until premarket exists
๐ Limitations
Pine Script engine limits:
Request functions limited (40 calls)
Dashboard max 14 symbols (optimized for stability)
๐ Category
Suggested categories:
Indicators โ Volume/Volatility
Indicators โ Trend Analysis
Indicators โ Market Structure
Tools โ Dashboard/Scanner
๐ฉ 3. TAGS (SEO optimized)
Paste these in tags:
PDH, PDL, PMH, PML, premarket, dashboard, scanner, intraday, breakout, liquidity, trend, stocks, equities, scanner, levels, key levels, extended hours, open drive, day trading, order flow, structure, range, opening drive, watchlist
๐ฉ 4. LICENSE LINE (Required)
TradingView requires attribution for open licensing:
This script is published under the Mozilla Public License 2.0 (MPL 2.0).
๐ฉ 5. SCREENSHOT GUIDE
TV moderators care a lot about screenshots.
Suggested screenshots:
โ Dashboard visible on chart
โ Both Light & Dark themes (shows UI adaptability)
โ Example of premarket and PDH/PDL breaks
โ Watchlist-style layout (multiple tickers)
Optional but increases engagement:
Opening drive examples (9:30โ10:00)
Sector rotation examples
Breakout + Fade comparison
๐ฉ 6. MODERATOR COMPLIANCE NOTES
This script:
โ Does NOT generate buy/sell signals
โ Does NOT imply future returns
โ Does NOT perform risk/portfolio management
โ Does NOT give financial advice
โ Does NOT require broker data
โ Does NOT violate the โcommercial intentโ rule
โ Does NOT reference external paid services
โ Does NOT plot protected labels on chart
โ Is fully transparent and readable
This will help it pass without revision.
๐ฉ 7. DISCLAIMER (Required for public scripts)
Add at bottom:
This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves risk.
๐ฉ 8. OPTIONAL โ โWHY IT WAS BUILTโ SECTION
Adding this boosts publishing engagement & saves moderator time:
This indicator was built to solve a real workflow problem for intraday traders who monitor multiple symbols against structural levels like PDH/PDL/PMH/PML. Instead of switching charts repeatedly, the dashboard consolidates all levels and break conditions into a single view for faster execution and better decision-making.
๐ฉ 9. OPTIONAL โ TRADER PAIN POINTS (Marketing section)
Useful for retail publishing:
Many day traders struggle to track multiple tickers for opening drive setups, PDH/PDL sweeps, and premarket levels. This dashboard removes that friction by visualizing the levels and break signals across a watchlist in real time.
Smart Trader, Episode 03, by Ata Sabanci, Candles and TradelinesA volume-based multi-block analysis system designed for educational purposes. This indicator helps traders understand their current market situation through aggregated block analysis, volumetric calculations, trend detection, and an AI-style narrative engine.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
DESIGN PHILOSOPHY: CLEAN CHART, RICH DASHBOARD
Traditional indicators often clutter charts with dozens of support/resistance lines, making it difficult to see price action clearly. This indicator takes a different approach:
The Chart:
Displays only the most meaningful, nearest levels (1 up, 1 down) that have not been consumed by price. This keeps your chart clean and focused on what matters right now.
The Dashboard:
Contains all detailed metrics, calculations, and analysis. Instead of drawing 20 lines on your chart, you get comprehensive data in an organized table format.
Why this approach?
โข A clean chart allows you to see price action without visual noise
โข Fewer but more meaningful levels help focus attention on immediate reference points
โข The dashboard provides depth without sacrificing chart clarity
โข Beginners can learn chart reading with an uncluttered view while accessing detailed analysis when needed
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. BLOCK SEGMENTATION
What it does:
Divides the analysis window into fixed-size blocks. Each block contains multiple bars that are analyzed as a single unit.
Why:
Individual bars contain noise. A single red candle in an uptrend might cause unnecessary concern, but when you view 5-10 bars as one block, the overall direction becomes clear. Block segmentation filters out bar-to-bar noise and reveals the underlying structure.
Benefit:
โข Clearer view of market structure at a higher aggregation level
โข Enables comparison between time periods (Block 1 vs Block 2 vs Block 3)
โข Creates the foundation for composite candles and trend detection
โข Reduces emotional reaction to single-bar movements
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2. COMPOSITE CANDLES (FRACTAL CONCEPT)
What it does:
Each block generates a "ghost candle" representing aggregated OHLC:
โข Open: First bar's open in the block
โข High: Highest high across all bars in the block
โข Low: Lowest low across all bars in the block
โข Close: Last bar's close in the block
Why:
This is essentially a FRACTAL view of the market. The same candlestick patterns that appear on a daily chart also appear on hourly charts, and on 5-minute charts. By aggregating bars into composite candles, you create a synthetic higher timeframe view without changing your actual timeframe.
Benefit:
โข See higher timeframe patterns while staying on your preferred timeframe
โข Identify block-level candlestick patterns (Doji, Hammer, Marubozu, Engulfing, etc.)
โข Compare composite candle relationships: Does Block 1 engulf Block 2? Is Block 1 an inside bar relative to Block 2?
โข Recognize patterns that individual bars obscure due to noise
Fractal Nature:
A hammer pattern means the same thing whether it appears on a 1-minute chart or a weekly chart: price tested lower levels and was rejected. Composite candles let you see these patterns at your chosen aggregation level, providing a multi-scale view of market behavior.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3. VOLUME ENGINE
What it does:
This indicator is 100% VOLUME-BASED. It separates total volume into buying volume and selling volume using two methods:
Method 1 - Geometric (Approximation):
โข Buy Volume = Total Volume ร ((Close - Low) / Range)
โข Sell Volume = Total Volume ร ((High - Close) / Range)
Method 2 - Intrabar LTF (Precise):
Uses actual tick-level or lower timeframe data to determine real buy/sell distribution.
Why:
Raw volume tells you HOW MUCH was traded, but not WHO was aggressive. A large volume bar could mean heavy buying, heavy selling, or both. By separating buy and sell volume, you can identify which side is driving the market.
Benefit:
โข Identify whether buyers or sellers are more aggressive
โข Detect when volume contradicts price direction (divergence)
โข Measure accumulation (buying into weakness) vs distribution (selling into strength)
โข Quantify the delta (buy minus sell) to see net pressure
Why Delta Matters:
If price is rising but delta is negative, sellers are actually more aggressive despite the price increase. This divergence often precedes reversals because the price movement lacks volume confirmation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
4. PIN ANALYSIS (WICK MEASUREMENT)
What it does:
Calculates average upper pin (wick) and lower pin sizes for each block, then tracks how these change across consecutive blocks.
Why:
Upper pins represent price levels that were tested but rejected by sellers. Lower pins represent price levels that were tested but rejected by buyers. The size and direction of pins reveal rejection strength at specific price zones.
Benefit:
โข Large upper pins = strong selling pressure at higher levels
โข Large lower pins = strong buying support at lower levels
โข Increasing upper pins across blocks = intensifying selling pressure
โข Decreasing lower pins across blocks = weakening buying support
Why Track Pin Changes:
Pin behavior often changes before price direction changes. If lower pins are shrinking while price is still rising, the buying support that was defending dips is weakening. This is observable data, not prediction.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
5. TREND CHANNEL DETECTION
What it does:
Identifies trend direction using block-level price structure:
โข UPTREND: Block highs are higher than previous block highs, AND block lows are higher than previous block lows (HH/HL pattern)
โข DOWNTREND: Block highs are lower than previous block highs, AND block lows are lower than previous block lows (LH/LL pattern)
โข RANGE: No consistent directional pattern
Once detected, the system draws upper and lower channel boundaries by connecting extreme points within each trend segment.
Why:
HH/HL and LH/LL are the classical definitions of trend. By applying this logic to composite candles (blocks) rather than individual bars, the trend detection becomes more stable and less prone to whipsaws from single-bar noise.
Benefit:
โข Clear visual boundaries showing the current trend channel
โข Upper channel line = dynamic resistance based on actual price structure
โข Lower channel line = dynamic support based on actual price structure
โข Channel angle indicates trend strength (steeper = stronger)
โข Channel width indicates volatility
Why Lock Trend States:
Once a block's trend classification is determined, it locks and does not change on subsequent recalculations. Without locking, the same block could flip between UP and DOWN repeatedly, creating inconsistent analysis. Locking ensures stability.
Why Project Lines Forward:
Channel lines can be projected into the future to show where support/resistance would be if the current trend continues at the same angle. This is not a prediction; it is a visual reference showing the trend's trajectory.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
6. CORE LEVELS: POC, MAX BUY, MAX SELL
What it does:
Identifies key price levels within each block based on volume data:
POC (Point of Control):
The price level where the highest total volume occurred within the block.
MAX BUY Level:
The bar with the highest buying volume. The HIGH of this bar marks the level.
MAX SELL Level:
The bar with the highest selling volume. The LOW of this bar marks the level.
MIN BUY/SELL Levels:
Optional levels showing where minimum buy/sell volume occurred.
Why:
High volume at a specific price means many participants entered positions there. These participants have a vested interest in that price level. If price returns to that area, those same participants may act to defend their positions.
Benefit:
โข POC acts as a volume-based magnet; price tends to revisit high-volume areas
โข MAX BUY level shows where buyers committed most aggressively
โข MAX SELL level shows where sellers committed most aggressively
โข These levels are based on actual transaction data, not arbitrary calculations
Why Consumed Levels Disappear:
When price crosses through a level, that level has been "tested." Keeping consumed levels on the chart creates visual clutter and suggests they are still relevant when they may no longer be. Removing them keeps focus on levels that have not yet been tested.
Why Show Only Nearest Levels:
If you have 20 blocks, you could have 60+ potential levels (POC, MAX BUY, MAX SELL for each). Displaying all of them makes the chart unreadable. Showing only the nearest untested level above and below current price keeps the chart clean while providing immediate reference points.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
7. QUALITY SCORE AND TREND INTELLIGENCE
What it does:
Calculates a quality score (0-100) for the current trend based on multiple factors:
โข Angle steepness (stronger trends have steeper angles)
โข Delta consistency (does volume support the trend direction?)
โข Volume momentum (is participation increasing or decreasing?)
โข Body expansion (are candle bodies growing or shrinking?)
โข Pin alignment (do pins support the trend direction?)
โข Contradiction count (how many factors disagree?)
Why:
Not all trends are equal. A trend with consistent volume support, expanding bodies, and aligned pins is healthier than a trend with contradicting signals. The quality score quantifies this.
Benefit:
โข HIGH quality (80+): Multiple factors confirm the trend
โข MEDIUM quality (60-79): Some factors confirm, some neutral
โข LOW quality (below 60): Multiple contradictions exist
โข Strength rating based on channel angle: VERY STRONG, STRONG, MODERATE, WEAK
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
8. NARRATIVE ENGINE
What it does:
Generates a text-based market analysis by synthesizing all calculated data into readable sentences.
How it works:
1. Analyzes current candle: pattern type (Doji, Hammer, Marubozu, etc.), body/wick ratios, range vs ATR
2. Analyzes composite candle: Block 1 pattern and relationship to Block 2 (Engulfing, Inside, Outside)
3. Evaluates trend context: direction, duration, quality, transitions
4. Examines volume data: delta, dominance, momentum direction
5. Checks proximity to key levels: channel boundaries, POC, core levels
6. Identifies divergences: when price and volume directions contradict
7. Produces a coherent narrative describing the current situation
Why:
Numbers and charts require interpretation. The narrative engine translates calculated data into plain language, helping traders understand what the data means in context. This is especially valuable for beginners learning to read charts.
Benefit:
โข Synthesizes multiple data points into a coherent story
โข Explicitly flags divergences and contradictions
โข Describes the current situation without making predictions
โข Educational: shows how different factors relate to each other
What the Narrative Does NOT Do:
The narrative describes what IS, not what WILL BE. It does not predict future price movement. It reports the current candle pattern, the current trend state, the current volume situation, and the current proximity to levels.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
9. SMART DASHBOARD
What it does:
Displays all metrics in an organized table with multiple sections.
Sections:
โข Volume Engine: Calculation method, data availability, current candle buy/sell/delta
โข Trend Volumetrics: Aggregated buy/sell/delta across the current trend, trend type
โข Pressure and Momentum: Average pins, pin change percentages, body expansion status
โข Trend Channel Boundaries: Upper/lower levels with exact prices, distances, percentages
โข Trend Intelligence: Quality score, confidence level, strength rating, volume momentum
Why:
All the detailed calculations need to live somewhere without cluttering the chart. The dashboard provides comprehensive data in a structured format.
Benefit:
โข All metrics in one place
โข Organized by category for easy reference
โข Hover over any label to see a tooltip explaining that metric
โข No need to draw dozens of lines on the chart
TIP: Hover over dashboard headers and labels to see tooltips explaining each metric.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
10. LANGUAGE SUPPORT
The indicator supports three languages:
โข English
โข Tรผrkรงe (Turkish)
โข เคนเคฟเคจเฅเคฆเฅ (Hindi)
Why only three languages?
Each additional language requires duplicate strings throughout the code, increasing memory usage and compilation time. To keep the script optimized and responsive, language options are limited to these three.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
11. DATA ACCURACY AND LIMITATIONS
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations.
DATA ACCURACY LEVELS:
โข 1T (Tick): Most accurate, real volume distribution per tick
โข 1S (1 Second): Reasonably accurate approximation
โข 15S (15 Seconds): Good approximation, longer historical data available
โข 1M (1 Minute): Rough approximation, maximum historical data range
BACKTEST AND REPLAY LIMITATIONS:
โข Replay mode results may differ from live trading due to data availability
โข For longer backtest periods, use higher LTF settings (15S or 1M)
โข Not all symbols/exchanges support tick-level data
โข Crypto and Forex typically have better LTF data availability than stocks
A NOTE ON DATA ACCESS:
Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable calculations.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
12. SETTINGS OVERVIEW
Main Settings:
โข Window Bars: Total bars to analyze
โข Group Count: Number of blocks to create
โข Calculation Basis: Current bar (live updates) or Closed bar (stable, no repaint)
Block Analytics:
โข Show Composite Candle: Toggle ghost candles on/off
โข Composite Candle Transparency: Adjust visibility
โข Dim Original Candles: Fade original candles when composites are shown
Volume Engine:
โข Calculation Method: Geometric (approx) or Intrabar (precise)
โข Lower Timeframe: Select LTF for intrabar calculations
Multi-Segment Trend:
โข Enable Trend Detection: Toggle trend channels on/off
โข Range Angle Threshold: Angle below which trend is classified as RANGE
โข Line colors, width, and style
โข Project to Future: Extend trend lines forward
Core Calculation:
โข Enable Core Calculation: Toggle POC and core levels
โข Show POC Nearest Up/Down: Display nearest untested POC levels
โข Include MAX/MIN Buy/Sell Levels: Toggle extremes display
โข Nearest Only: Show only the closest level above and below price
Market Narrative:
โข Enable Market Narrative: Toggle narrative text
โข Language selection
โข Show Educational Disclaimer: Toggle disclaimer in dashboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EDUCATIONAL PURPOSE
This indicator is designed to help traders:
1. Understand their current market situation at a glance
2. Learn chart reading through block analysis and composite candles
3. See how volume relates to price movement
4. Recognize when technical factors align or contradict
5. Focus on meaningful levels without chart clutter
Whether you are a beginner learning to read charts or an experienced trader seeking a cleaner analytical view, this tool provides structured data to support your analysis.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
IMPORTANT DISCLAIMER
This indicator is for EDUCATIONAL PURPOSES ONLY and does not constitute investment advice. Always conduct your own research and consult with a qualified financial advisor before making investment decisions.
This disclaimer is also displayed within the indicator itself. If you prefer a cleaner chart, you can disable it in Settings under Market Narrative by unchecking Show Educational Disclaimer.






















