God's Plan 7.1This is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
todaywewin73
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
0 comments
อินดิเคเตอร์และกลยุทธ์
🇰🇷 Kim'in Kim'out — Korean Premium TrackerKim’in Kim’out is a premium-tracking TradingView indicator that reveals Korean market sentiment by comparing real-time asset prices on Upbit (KRW) and Binance (USDT).
It detects when Korean traders are spot accumulating (Kim’in) or spot distributing (Kim’out) — enhanced by volume confirmation and trend context.
Perfect for crypto scalpers, swing traders, and arbitrage hunters.
⚙️ How It Works
Kimchi Premium: Measures how much more (or less) Koreans are paying on Upbit compared to Binance.
Volume Confirmation: Filters signals by comparing Upbit volume vs its moving average.
Signal Logic:
🔼 Kim’in: Premium exceeds the buy threshold + high volume
🔽 Kim’out: Premium drops below the sell threshold + high volume
Trend Context: Premium trend line gives insight into sustained interest/disinterest.
🎛️ Settings Overview
Input Description
Select Cryptocurrency Choose from supported coins (BTC, ETH, SOL, etc.)
Buy Threshold (%) How high the premium must be to trigger a Kim’in signal
Sell Threshold (%) How low the premium must be to trigger a Kim’out signal
Volume MA Period The number of candles for volume average
Volume Multiplier Volume spike ratio needed to confirm a signal
Show Info Table Toggle detailed premium stats in a side panel
Show Premium Zones Visual background zones (green/red/yellow)
Debug Mode Shows extra signals that trigger without volume confirmation
✅ How to Use It
Add the indicator to any chart (e.g. BTC/USDT)
Choose a coin from the dropdown (BTC, ETH, etc.)
Watch for:
Green Triangle Up (Kim’in) = Korean spot buy pressure confirmed
Red Triangle Down (Kim’out) = Korean selloff or disinterest
Use the Info Table (top-right) to see:
Premium %
Volume confirmation
Real-time KRW-USD exchange rate
Upbit vs Binance price comparison
Set Alerts:
Right-click on a signal → Add Alert on "Kim’in" or "Kim’out"
Or use the prebuilt alertconditions
🔔 Alert Messages
🇰🇷 Korean Premium BUY signal detected → Kim’in
🇰🇷 Korean Premium SELL signal detected → Kim’out
🧪 Best Practices
Use on 1H or 4H timeframe for best results
Confirm with broader market structure or confluence tools
Spot divergences between Binance and Upbit to predict regional flow shifts
🚫 Limitations
Works only with coins that have both Binance USDT & Upbit KRW pairs
Premium may be delayed by low liquidity or FX rate fluctuations (USDKRW)
Not suitable for lowcaps not listed on Upbit
Created by UKMC Crypto
VIX‑Based σ‑BandsThis Pine Script v5 indicator builds a volatility‑based envelope around yesterday’s close using CBOE’s volatility indices. It dynamically pulls VIX, VXN, VXD or RVX—depending on whether you’re charting ES, NQ, YM or RTY—and converts annualized volatility into dollar‑move bands at ±¼ σ, ±½ σ, ±1 σ, and ±2 σ. Optional “mid‑lines” fill in the gaps between each band for even finer precision.
The Kyber Cell's – TTM Squeeze ProThe Kyber Cell’s TTM Squeeze Pro
TTM Squeeze + ALMA + VWAP for Precision Trade Timing
⸻
1. Introduction
Kyber Cell’s Squeeze Pro is a comprehensive, all-in-one overlay indicator built on top of John Carter’s famous TTM Squeeze concept. It integrates advanced momentum and trend analysis using Arnaud Legoux Moving Averages (ALMA), a scroll-aware VWAP with optional deviation bands, and a clean, user-friendly visual system. The goal is simple: give traders a clear and configurable chart that identifies price compression, detects release moments, confirms direction, and helps manage risk and reward visually and effectively.
This tool is intended for traders of all styles — scalpers, swing traders, or intraday strategists — looking for cleaner signals, better visual cues, and more confidence in entry/exit timing.
⸻
2. Core Concepts
At its heart, the Squeeze Pro builds an in-chart visualization of the TTM Squeeze, a strategy that identifies when price volatility compresses inside a Bollinger Band that is narrower than a Keltner Channel. These moments often precede explosive breakouts. This version categorizes squeezes into three levels of compression:
• Blue Dot – Low Compression
• Orange Dot – Medium Compression
• Red Dot – High Compression
When the squeeze “fires” (i.e., the Bollinger Bands expand beyond all Keltner thresholds), the indicator flips to a Green Dot, signaling potential entry if confirmed by trend direction.
The indicator also includes a momentum model using linear regression on smoothed price deviation to determine directional bias. Momentum is further reinforced by a customizable trend engine, allowing you to switch between EMA-21 or HMA 34/144 logic.
An ALMA ribbon is plotted across the chart to represent smoothed trend strength with minimal lag, and a scroll-aware VWAP (Volume-Weighted Average Price) line, optionally with ±σ bands, helps confirm mean-reversion or momentum continuation setups.
⸻
3. Visual Components
Squeeze Pro replaces the traditional histogram with bar coloring logic based on your selected overlay mode:
• Momentum Mode colors bars based on whether momentum is rising or falling and in which direction (aqua/blue for bullish, red/yellow for bearish).
• Trend Mode colors bars using EMA or HMA logic to identify whether price is in a bullish, bearish, or neutral trend state.
A colored backdrop is triggered when a squeeze fires and momentum direction is confirmed. It remains green for bullish runs and red for bearish runs. The background disappears when the trend exhausts or reverses.
Each squeeze level (low, medium, high) is plotted as tiny dots above or below candles, with configurable colors. On the exact bar where the squeeze fires, the indicator optionally plots entry markers — either arrows or triangles — which can be placed with adjustable padding using ATR. These provide an at-a-glance signal of possible long or short entries.
EXPERIMENTAL : For risk and reward management, protective stop lines and limit targets can be toggled on. Stops are calculated using either recent swing highs/lows or a fixed ATR multiple, depending on user preference. Limit targets are calculated from entry price using ATR-based projections.
All colors are customizable.
⸻
4. Multi-Timeframe Squeeze Panel
An optional MTF Squeeze Panel appears in the top-right corner of the chart, displaying the squeeze status across multiple timeframes — from 1-minute to Monthly. Each timeframe is color-coded:
• Red for High Compression
• Orange for Medium Compression
• Blue for Low Compression
• Yellow for Open/No Compression
This provides rapid context for whether multiple timeframes are simultaneously compressing (a common precursor to explosive moves), helping traders align higher- and lower-timeframe signals. Colors are customizable.
The MTF panel dynamically adjusts to chart space and only renders the selected intervals for clarity and performance.
⸻
5. Inputs and Configuration Options
Squeeze Pro offers a rich configuration suite:
• Squeeze Settings: Control the Bollinger Band standard deviation, and three separate Keltner Channel multipliers (for low, medium, and high compression zones).
• ALMA Controls: Adjust the smoothing length, offset, and σ factor to control ribbon sensitivity.
• VWAP Options: Toggle VWAP on/off and optionally show ±σ bands for mean reversion signals.
• Entry Markers: Customize marker shape (arrow or triangle), size (tiny to huge), color, and padding using ATR multipliers.
• Stops and Targets:
• Choose between Swing High/Low or ATR-based stop logic.
• Define separate ATR lengths and multipliers for stops and targets.
• Independently toggle their visibility and color.
• Bar Coloring Mode: Select either Momentum or Trend logic for bar overlays.
• Trend Engine: Choose between EMA-21 or HMA 34/144 for identifying trend direction.
• Squeeze Dot Colors: Customize the colors for each compression level and release state.
• MTF Panel: Toggle visibility per timeframe — from 1m to Monthly.
This high degree of customization ensures that the indicator can adapt to nearly any trading style or preference.
⸻
6. Trade Workflow Suggestions
To get the most out of this tool, traders can follow a consistent workflow:
1. Watch Dot Progression: Blue → Orange → Red indicates increasing compression and likelihood of breakout.
2. Enter on Green Dot: When the squeeze fires (green dot), confirm entry direction with bar color and backdrop.
3. Use Confirmation Tools:
• ALMA should slope in the trade direction.
• VWAP should support the price move or confirm expansion away from mean.
4. Manage Risk and Reward (experimental):
• Respect stop-loss placements (Swing/ATR).
• Use ATR-based limit targets if enabled.
5. Exit:
• Consider exiting when momentum crosses zero.
• Or exit when the background color disappears, signaling potential trend exhaustion.
⸻
7. Alerts
Includes built-in alert conditions to notify you when a squeeze fires in either direction:
• “Squeeze Long”: Triggers when a green dot appears and momentum is bullish.
• “Squeeze Short”: Triggers when a green dot appears and momentum is bearish.
You can use these alerts for automation or to stay notified of new setups even when away from the screen.
⸻
8. Disclaimer
This indicator is designed for educational purposes only and should not be interpreted as financial advice. Trading is inherently risky, and any decisions based on this tool should be made with full awareness of personal risk tolerance and capital exposure.
CBC Flip SonBThis script uses several different indicators like vwap, ema's and cbc candle flips.
This script scalping script is best used on the smaller timeframes (10m, 5m)
Opening Range and Initial balanceThis indicator represents Opening Range and Initial Balance levels.
Opening Range represents the high and low established during the first few minutes of the trading session — usually 5, 15 or 30 minutes.
Initial Balance represents the high and low established during the first hour of the trading session.
🔔 NIFTY 100+ Points Early Move Signal (1H)//@version=5
indicator("🔔 NIFTY 100+ Points Early Move Signal (1H)", overlay=true)
// === Inputs === //
squeezePeriod = input.int(20, title="Price Squeeze Lookback")
rangeTrigger = input.float(100.0, title="Target Move (in Points)")
rsiLength = input.int(14, title="RSI Length")
macdFast = input.int(12)
macdSlow = input.int(26)
macdSignal = input.int(9)
volMultiplier = input.float(1.5, title="Volume Spike Multiplier")
// === RSI & MACD === //
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdBullish = macdLine > signalLine
macdBearish = macdLine < signalLine
// === Price Compression === //
hh = ta.highest(high, squeezePeriod)
ll = ta.lowest(low, squeezePeriod)
compressionRange = hh - ll
tightCompression = compressionRange < (rangeTrigger * 0.6) // Pre-expansion
// === Volume Spike === //
avgVol = ta.sma(volume, 20)
volSpike = volume > avgVol * volMultiplier
// === Early Signal Logic === //
bullSetup = tightCompression and rsi > 50 and macdBullish and volSpike
bearSetup = tightCompression and rsi < 50 and macdBearish and volSpike
// === Plotting Signals === //
plotshape(bullSetup, title="Bullish Setup", location=location.belowbar, color=color.green, style=shape.labelup, text="100↑")
plotshape(bearSetup, title="Bearish Setup", location=location.abovebar, color=color.red, style=shape.labeldown, text="100↓")
bgcolor(bullSetup ? color.new(color.green, 85) : na)
bgcolor(bearSetup ? color.new(color.red, 85) : na)
// === Alerts === //
alertcondition(bullSetup, title="Bullish 100pt Setup", message="🚀 NIFTY: 100+ point UP move likely!")
alertcondition(bearSetup, title="Bearish 100pt Setup", message="🔻 NIFTY: 100+ point DOWN move likely!")
xGhozt Pattern StatisticsUnlock the power of candlestick patterns with this comprehensive indicator. It automatically identifies and calculates the historical statistics of popular formations like Large Green/Red, Hammer, Doji, Bullish/Bearish Engulfing patterns.
An insights into each pattern's probability of an 'Up', 'Down', or 'Flat' outcome on the **next bar** and over a user-defined **N subsequent bars**. All statistics are presented in a customizable, interactive table directly on your chart, highlighting the most frequent outcomes. Visual markers are plotted to help you spot patterns instantly.
God's Plan 7This is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
MVRV Altcoins📌 Technical Description of Indicator: MVRV Altcoins
This advanced script calculates the Market Value to Realized Value (MVRV) ratio across multiple cryptocurrencies simultaneously. It offers two analytical modes: Normal and Z-Score, optimized for visual comparison and real-time monitoring of up to 13 predefined assets. If a user applies the indicator to a symbol that is not among the 13 programmed assets, the default behavior displays the Bitcoin chart as a fallback reference.
🔍 What Is MVRV and Why Is It Important?
MVRV is an on-chain metric designed to assess whether a cryptocurrency is overvalued or undervalued by comparing its market capitalization to its realized capitalization.
- Market Cap: The total circulating supply multiplied by the current market price.
- Realized Cap: The sum value of all coins based on the price at the time they last moved on-chain, offering a time-weighted valuation.
Normal Calculation:
MVRV_Normal = Market Cap / Realized Cap
This version reflects investor profitability and identifies potential accumulation or distribution zones.
📊 Z-Score Calculation:
MVRV_ZScore = (Market Cap − Realized Cap) / Standard Deviation of Market Cap
This formula evaluates how extreme the current market conditions are compared to historical norms. It normalizes the difference using statistical dispersion, turning it into a volatility-aware metric that better reflects valuation extremes.
🔎 How Market Cap Is Computed
Unlike conventional indicators relying on consolidated feeds, this script uses modular components from CoinMetrics to construct the active capitalization more accurately, especially for altcoins. Here's the breakdown:
Active Capitalization = MARKETCAPFF + MARKETCAPACTSPLY
Realized Capitalization = MARKETCAPREAL
Component Definitions:
- MARKETCAPFF: Market Cap Free Float — total valuation based only on truly circulating coins.
- MARKETCAPACTSPLY: Capitalization from actively circulating supply — filters dormant or locked coins.
- MARKETCAPREAL: Realized Cap — historical valuation weighted by the last on-chain movement of each coin.
This method offers enhanced precision and compatibility across assets that may lack comprehensive data from centralized providers.
⚙️ User-Configurable Parameters
- MVRV Mode: Choose between Normal and Z-Score.
- Percentage Scale View: If enabled, visual output is scaled using predefined divisors (100 / 3.5 or 100 / 6).
- Thresholds for Analysis:
- Normal mode: Define overbought and oversold levels (default 1.0 and 3.5).
- Z-Score mode: Configure statistical boundaries (default 0.0 and 6.0).
- Table Controls:
- Adjustable position on screen (9 options).
- Font size customization: tiny, small, normal, large.
- Color scheme personalization:
- Header: text and background
- Body: text and background
- Central column separator color
📊 Multicrypto Table Architecture
The indicator renders a high-performance visual table displaying data from up to 13 assets simultaneously. Each asset is represented as a vertical column featuring eigth historical data points plus the most recent value.
- Assets are displayed in two blocks separated by a decorative column.
- Each value is rounded to one decimal place for clarity.
- Cells are styled dynamically based on user settings.
🎨 Decorative Column Separator
Since the entire table is built as a unified structure, a color-configurable empty column is inserted mid-table to act as a visual divider. This approach improves readability and aesthetic balance without duplicating code or splitting table logic.
🔁 Default Behavior on Unsupported Assets
If the active chart is not one of the 13 predefined assets, the indicator will automatically display Bitcoin’s data. This ensures the chart remains functional and informative even outside the target asset group.
🎯 Color Interpretation by Condition
The MVRV value for each asset is highlighted using a traffic light system:
- Green: Undervalued (below oversold threshold)
- Red: Overvalued (above overbought threshold)
- Yellow: Neutral zone
This coding simplifies decision-making and visual scanning across assets.
Final Notes
This indicator is modular and fully adaptable, with well-commented sections designed for efficient customization. Its multiactive architecture makes it a valuable tool for crypto analysts tracking diversified portfolios beyond Bitcoin and Ethereum.
It supports visual storytelling across assets, comparative historical evaluation, and identification of strategic zones — whether for accumulation, distribution, or monitoring on-chain sentiment.
Trinity Multi Time Frame Trend Dashboard and SignalsUpdated the logic behind the buy and sell signals to them for more responsiveness and also included an ADX filter.
RSI Shift Zone [ChartPrime] with MAThis is a modified version of the original *RSI Shift Zone * script.
What’s new?
➤ Added a customizable Moving Average (SMA/EMA) plotted on top of the RSI for better trend confirmation.
➤ Keeps the original RSI zone detection logic and highlights possible reversal or shift areas.
➤ Clean visual style with clear zone fills, labels, and optional RSI value display.
Settings:
- RSI Length and Levels
- Minimum Channel Length
- Display RSI Value Toggle
- Moving Average Length & Type (SMA or EMA)
License: This script is shared under the Mozilla Public License 2.0 and retains © ChartPrime as the original author.
I hope this helps traders get a better visual on trend shifts and confirmations.
Feel free to share feedback or suggestions!
xGhozt Percentage Price ChangeDisplays two dynamic horizontal lines at ±X% from the current price, with customizable colors and labels. Useful for visualizing profit targets, stop loss zones, or expected volatility ranges. Labels show both the percentage and the corresponding price.
Impulse Alert - Supply (Sell) [Fixed]🟥 Supply Zone (Sell) – Institutional Order Block Detector
This custom indicator automatically detects valid Supply Zones (Sell Zones) based on Smart Money Concepts and institutional trading behavior.
🔍 How It Works:
Identifies strong bearish impulsive moves after price forms a potential Order Block
Valid supply zones are plotted after:
A valid rally–base–drop or drop–base–drop structure
A shift in structure or clear imbalance is detected
The zone is created from the last bullish candle before a strong bearish engulfing move
Zones remain on chart until price revisits and reacts
📊 Use Case:
Ideal for traders using Smart Money Concepts (SMC), Supply & Demand, or ICT-inspired strategies
Perfect for scalping, day trading, or swing setups
Designed for confluence with HTF bias and LTF execution
⚙️ Features:
Supply Zone auto-plotting
Customizable zone color and opacity
Alerts when price returns to the zone (retest entry opportunity)
🧠 Tip for Best Use:
Use in confluence with:
HTF Supply zones (manual or other indicator)
Market Structure breaks
Fair Value Gaps or Imbalance zones
Strong impulsive moves from HTF to LTF
🔁 Future Additions (Coming Soon):
Demand Zone detection
Zone strength rating system
Refined zone filters (volume, candle size, etc.)
Alerts for mitigation or invalidation
📌 Created by: Rohit Jadhav | Real-time market trader | YT/Insta - @GrowthByTrading
💬 Feedback? Drop a comment or connect via profile for updates and tutorials!
CM Donchian Channel Pro Mod V3// ==============================================================================
// CM Donchian Channel Pro Mod V3
//
// 🔹 Original Author: ChrisMoody
// 🔹 Modified By: Markking77
// 🔹 License: Mozilla Public License 2.0
// 🔹 License Link: mozilla.org
//
// ------------------------------------------------------------------------------
// Description:
// This is an enhanced version of the original Donchian Channel by ChrisMoody,
// modified under the MPL 2.0 license by Markking77.
//
// This indicator plots upper and lower Donchian Channels with added options
// for mid-line, breakout highlights, arrows, and channel fill.
// It helps traders identify breakout zones and trend reversals.
//
// ------------------------------------------------------------------------------
// ✨ Features:
// ✅ Adjustable Upper & Lower Channel Lengths
// ✅ Optional Mid-Line for trend confirmation
// ✅ Highlight breakout bars on channel breaks
// ✅ Optional breakout entry arrows
// ✅ Channel fill for better zone visibility
// ✅ Built-in alerts for breakout above/below
//
// ------------------------------------------------------------------------------
// Disclaimer:
// This Pine Script® code is for educational purposes only and does not provide
// financial advice. Use it at your own risk. Always manage your risk properly.
//
// ------------------------------------------------------------------------------
// Tip:
// You can adjust lengths, colors and display options to suit your trading style.
//
// ==============================================================================
Order Block + Liquidity Sniper by TradingNexus🧠 Order Block + Liquidity Sniper by TradingNexus
📌 How the Indicator Works – Explanation of Visual Elements
🔺 Triangles – Liquidity Sniper Signals
Green triangle below candle (▲): This is a Bullish Liquidity Sniper Signal. It indicates that price swept liquidity below a Swing Low, triggering stop-losses, and then returned back above a bullish Order Block zone. This suggests potential institutional buying interest and could mark a strong buy opportunity.
Red triangle above candle (▼): This is a Bearish Liquidity Sniper Signal. It shows that price swept above a Swing High to collect liquidity and then returned below a bearish Order Block zone. This implies possible institutional selling after a liquidity hunt and may signal a short entry.
🟢 Circles – Order Block Zones
Green circle (●): Represents a Bullish Order Block area – typically the last bearish candle before a strong bullish move. Price returning to this zone may react due to renewed institutional buying.
Red circle (●): Marks a Bearish Order Block – the last bullish candle before a strong bearish move. These zones may act as resistance when price revisits.
✖️ Crosses – Liquidity Zones
Purple cross (+): Identifies a Swing High liquidity level – a short-term high where many stop-loss orders are likely clustered.
Orange cross (+): Marks a Swing Low liquidity zone – a key area where stop orders from long positions may reside.
This indicator seeks precise institutional-style entries by detecting when price:
Sweeps liquidity at a recent swing high or low;
Then reacts from a valid Order Block zone.
The triangle markers highlight potential Sniper entries, while circles and crosses help visualize the key zones that underpin these moves.
Use this tool to improve timing, context, and confidence in your trades – especially when combining with SMC or price action frameworks.
Built by TradingNexus – designed for price action traders who use Smart Money Concepts (SMC).
XAUUSD Scalper Levels (ChatGPT v2.5)The Pine v6 indicator plots predefined short/long trading zones and breakout levels on XAUUSD, watches for price entering those zones or crossing the breakout lines, and when that happens it builds a formatted message (entry, SL, up to three TPs, and an invalidation note) plus a risk-based lot size calculated from your equity, risk %, and contract value; it then fires an `alert()` with that message and, on the last bar, shows a floating label displaying the next-trade lot suggestion.
Trend Trading Indicator with Adjustable MA FilterThis indicator tracks MA buy and sell labels, and has adjustable MA types and lengths along with a trend filter and time This indicator tracks MA buy and sell labels, and has adjustable MA types and lengths along with a trend filter and time filter
Sessions with Extended LinesClear Sessions with lines showing upper and lower.
This script can be used with multiple different stances.
The main ones being looking for ORB breakouts or liquidity sweeps
Customizable EMA & SMA ComboThis indicator plots a customizable set of Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) to help identify trends, dynamic support/resistance, and momentum shifts.
Included Moving Averages:
EMAs: 8, 21, 34, 55, 89
SMAs: 50, 100, 200
Features:
Toggle visibility for each moving average
Adjust length of each EMA/SMA individually
Color-coded lines for quick identification
This tool is ideal for trend traders, swing traders, or anyone who wants to visually track short-, medium-, and long-term momentum in one clean overlay.
Pre-Market High and LowThis indicator automatically tracks and plots the daily pre-market high and low levels on your chart for U.S. stocks. It monitors the pre-market session from 4:30 AM to 9:30 AM Eastern Time (New York) and captures the highest and lowest prices during this period.
At exactly 9:30 AM ET, when the regular market opens, the indicator draws dashed horizontal lines representing the pre-market high and pre-market low, extending them forward for better visibility throughout the trading day.
EMA Crossover Candle Colorema crossover for the 21 and 8 ema cross that changes the candle a different color
Synthetic VX3! & VX4! continuous /VX futuresTradingView is missing continuous 3rd and 4th month VIX (/VX) futures, so I decided to try to make a synthetic one that emulates what continuous maturity futures would look like. This is useful for backtesting/historical purposes as it enables traders to see how their further out VX contracts would've performed vs the front month contract.
The indicator pulls actual realtime data (if you subscribe to the CBOE data package) or 15 minute delayed data for the VIX spot (the actual non-tradeable VIX index), the continuous front month (VX1!), and the continuous second month (VX2!) continually rolled contracts. Then the indicator's script applies a formula to fairly closely estimate how 3rd and 4th month continuous contracts would've moved.
It uses an exponential mean‑reversion to a long‑run level formula using:
σ(T) = θ+(σ0−θ)e−kT
You can expect it to be off by ~5% or so (in times of backwardation it might be less accurate).