EMA-SMA & RSI Strategyusing RSI and EMA strategy, it works on RSI based rules as well as indicator based rules
Indicatori e strategie
تلوين الشموع حسب الحجم (يومي أو متوسط)📊 Indicator Name:
Candle Coloring Based on Volume Change (Flexible Comparison)
🎯 Purpose of the Indicator:
This indicator colors candlesticks based solely on changes in volume, regardless of price direction. It helps traders visualize unusual volume activity and potential accumulation or distribution zones.
It also displays the percentage change in volume above each candle — based on a comparison method chosen by the user.
⚙️ User Inputs:
Comparison Method (Mode):
"Compare with Previous Day":
The volume of the current candle is compared with the volume of the previous candle.
"Compare with Average of N Days":
The volume is compared with a moving average of volume over a number of past days (e.g., 10 days).
Average Length (for mode 2):
Used only when "Compare with Average" is selected.
Defines the number of days over which to calculate the volume average.
Minimum % Change to Show Label:
A threshold that controls when the percentage label appears.
Prevents label clutter for insignificant volume changes.
🎨 Candle Coloring Logic:
Condition Meaning Candle Color
Current volume > reference volume High activity 🟢 Green
Current volume < reference volume Low activity 🔴 Red
Nearly equal volumes Normal ⚪ Gray
🏷️ Volume Change Label:
The indicator displays a percentage change label above the candle.
For example:
If volume increased by 45% → label shows +45.00%.
If the change exceeds ±50%, the label turns yellow to indicate a significant spike.
✅ Key Benefits:
Quickly detects unusual volume activity (e.g., spikes, drops).
Enhances classic price-action analysis with volume context.
Flexible comparison:
Day-to-day for short-term traders.
Moving average for swing and position traders.
Clean, minimalist design with conditional labels.
🔍 Use Case Examples:
🔴 Red candle on price rise → weak rally (low participation).
🟢 Green candle on price drop → potential distribution.
⚪ Gray candles → sideways or stable behavior.
👤 Who Should Use It?
Day traders and scalpers monitoring volume strength.
Technical analysts who focus on volume-price behavior.
Traders who track accumulation/distribution patterns.
Swing FX Pro Panel v1Description:
"Swing FX Pro Panel v1" is a professional swing trading strategy tailored for the Forex market and other highly liquid assets. The core logic is based on the crossover of two Exponential Moving Averages (EMA), allowing the strategy to detect trend shifts and generate precise entry signals.
The script includes an interactive performance panel that dynamically displays:
initial capital,
risk per trade (%),
the number of trades taken during a selected period (e.g., 6 months),
win/loss statistics,
ROI (Return on Investment),
maximum drawdown,
win ratio.
VWAP Combo: Bands + MACD + Volume + AlertsBands: These are dynamic bands using a 20-period standard deviation and 1.5× width by default. Adjust lookback or bandMultiplier to tighten or widen.
Candle Colors: Green = MACD bullish, Red = bearish.
Volume Spike: Orange triangle when volume > 1.5× average.
Alerts: Fire on breakout, bounce, or combo confirmation.
Combined and Count of Bull Bear Alerts for OBV, TDI, CCI, MACDCombined and Count of Bull Bear Alerts for OBV, TDI, CCI, MACD
Description
This powerful indicator combines four popular technical analysis tools (On-Balance Volume, Traders Dynamic Index, Commodity Channel Index, and MACD) into a single comprehensive divergence detection system. It monitors all four indicators simultaneously and provides real-time alerts when bullish or bearish divergences occur across multiple indicators, helping traders identify high-probability reversal opportunities.
Key Features
Multi-Indicator Divergence Detection: Simultaneously tracks divergences in OBV, TDI, CCI, and MACD
Comprehensive Signal Counting: Displays real-time count of bullish (1-4) and bearish (1-4) divergences
Four Customizable Alert Conditions:
Alert 1: 1-4 indicators showing bullish divergence
Alert 2: 3-4 indicators showing strong bullish divergence
Alert 3: 1-2 indicators showing bearish divergence
Alert 4: 3-4 indicators showing strong bearish divergence
Visual Signal Display: Clear numerical indicators showing how many tools are signaling divergence
Customizable Parameters: Adjustable settings for each indicator's sensitivity and display preferences
Overlay Display: All signals shown directly on the price chart for easy analysis
How It Works
The indicator continuously monitors each technical tool for both regular and hidden divergences using pivot point analysis. When a divergence pattern is detected, it increments the appropriate counter (bullish or bearish). The system then displays the total count as colored numbers on the chart and can trigger alerts based on your preferred signal strength thresholds.
Trading Applications
Strong Reversal Signals: Look for 3-4 indicator confirmations for high-probability trades
Early Trend Detection: Use 1-2 indicator signals for early entry opportunities
Confirmation Tool: Validate your trading signals with multi-indicator divergence confirmation
Risk Management: Avoid trading against multiple indicator divergences
Customization Options
Adjustable lookback periods for each indicator
Toggle visibility of bullish/bearish counters
Customizable colors, positions, and display styles
Option to show individual indicator signals
Configurable divergence detection parameters
This indicator is particularly valuable for traders who want to combine multiple technical analysis approaches into a single, easy-to-monitor system that highlights confluence opportunities across different market perspectives (volume, momentum, cycle, and trend).
EMA Trend ScreenerEMA Trend Screener" instantly shows whether 40+ crypto pairs are bullish (green) or bearish (red) based on their position relative to a customizable EMA. The compact table display saves time by eliminating chart switching, while adjustable settings adapt to any trading style. Perfect for quick market analysis, it helps spot trading opportunities at a glance
SPX Levels Adjusted to ES1!This indicator allows you to plot custom SPX levels directly on the ES1! (E-mini S&P 500 Futures) chart, automatically adjusting for the spread between SPX and ES1!. This is particularly useful for traders who perform technical analysis on SPX but execute trades on ES1!.
Features:
Input up to three SPX key levels to track (e.g., 5000, 4950, 4900)
The script adjusts these levels in real-time based on the current spread between SPX and ES1!
Displays the spread in the chart header for quick reference
Plots updated horizontal lines that move with the spread
Includes optional labels showing the spread periodically to reduce clutter
Ideal for futures traders who want SPX context while trading ES1!.
Make sure to apply this indicator on the ES1! chart, not SPX.
RSS-Stochastik [afterworktrading]Hi all,
this is the first script from the series "afterworktrading". The goal is to develop and provide tools for traders with a fulltime job or little time for trading/analyzing charts.
Over time some of the scripts will also be linked to complete trading systems.
Let's start with my favourite one, the "RSS-Stochastik" with alert function.
The RSS-concept (Relative Spread Strength, developed by Ian Copsey) is based on the variance between a "short" and a "long" moving averages (or "slow" and "fast"), here between two EMA.
This variance is calculated and plotted in a RSI-diagram to show "overbought" and "oversold" conditions, helping to identify an ideal entry setup for trend continuation or catching a possible reversal.
Compared to the conventional RSI etc., possible reversal or trend continuation areas are often better represented in terms of quality, as an example see the Amazon-Chart.
The EMA-values, limit value thresholds and background colors can be set in the script. As a special feature, alarms can be set to be notified when a value has reached the extreme range. This reduces the screen time to the minimum.
In my personal trading, this indicator forms the basis for almost all trades, but is not a pure signal indicator on its own.
However, the informative value can be further improved if volume or support/resistance zones etc. are linked to the RSS, see example NASDAQ future with support zone price or 200 EMA.
Example for a possible RSS-Trade-Setup:
- choose an asset with a strong trend
- set alerts for crossing the oversold or overbought condition in direction of the trend
- in case of an alert check possible support/resistance areas on the current chart level (EMA, price zones, volume zones, anchored VWAP etc.)
- trade in the direction of the trend using your preferred entry setup
In my opinion, the system can be used very well, especially in trend phases, in order to obtain optimal entries.
Does it works also on lower timeframes?
Yes, it might work on every timeframe with a strong trend of high quality. Please see attached a 5m-Chart of GPBUSD-pair, notice the signal quality in direction of the trend.
Like every trading system this is not the "holy grail setup" and you will have losing trades. But handling this indicator with care you can have better entries especially in trend direction with less screen time due to the alert function.
Good luck with it! Further indicators will be published in the coming months, some will also be based on the RSS system.
As always: no liability for losing trades, no investment advice etc. Observe the risk limit for every trade!
Flexi MA Reversal🔹 FlexiMA Reversal – Customizable MA-Based Reversal Indicator
FlexiMA Reversal is a real-time, moving average-based reversal indicator designed to highlight potential market turning points using signal and alert lines. It provides visual cues for both early alerts and confirmed entry signals on candle close.
🔧 Key Features:
Customizable Moving Average Type: Choose from EMA, SMA, WMA, or VWMA (default is EMA).
Flexible MA Inputs: Configure up to three MAs (commonly used 5, 50, and 200).
Toggle Visibility: Enable or disable each MA line as needed.
Real-Time Alert System:
Thin alert lines appear when a potential reversal is detected.
Thicker signal lines confirm the reversal when price closes beyond the alert level.
Optional Visual Styling:
Choose custom colors for each MA, signal, and alert line.
Alert candles are automatically colored to match the corresponding alert line.
Option to show only signal lines for cleaner charts.
Customizable projection length for both alert and signal lines.
📈 Strategy Logic:
This indicator is designed to detect reversal opportunities based on the relationship between price and a selected short-term moving average.
Bullish Setup:
Price closes below the selected MA (e.g., EMA 5).
A bullish alert line is drawn at the high.
If a subsequent candle closes above the alert line and the MA, a bullish signal line is plotted.
Bearish Setup:
Price closes above the selected MA.
A bearish alert line is drawn at the low.
If a subsequent candle closes below the alert line and the MA, a bearish signal line is plotted.
This approach attempts to capture quick market shifts where short-term momentum reverses direction near key MA levels.
🎯 How to Use:
Although originally developed using the 5 EMA strategy, through testing it was found that using 6, 7, or 8 EMA offers even better signal quality.
To add broader trend context, 50 MA and 200 MA lines are included and can be toggled on/off based on your strategy preference.
🔍 Trend Filtering & Re-Entry Tips:
Due to the nature of shorter moving averages, reversal signals may appear frequently. For better trend alignment:
Use the 50 MA as a trend filter:
❌ Ignore bearish signals when price is above 50 MA
❌ Ignore bullish signals when price is below 50 MA
Alternatively, filtered-out signals can be used for re-entry within the trend:
For example, if you receive a bearish alert and signal above the 50 MA, and the next candle closes back above the bearish alert line, this may be interpreted as a bullish re-entry opportunity into the prevailing uptrend.
🛠️ Styling Tips:
You can disable alert candle coloring in the Style tab of the indicator settings.
Use the "Show Only Signal Lines" checkbox to keep the chart minimalistic while still tracking confirmed entries.
SG CBC Table - Full 10min & 2minBased on SG CBC Table has 10 min and 2 min CBC status and GC. Also customizable table colors of the background can be changed or made transparent. Indicator Updates every 10 minutes on a 10 minute chart and every 2 minutes on a 2 minute chart
COT Comm OsciThe COT Ocsillator Indicator is a quantitative analysis tool that uses the positioning of so-called Commercials from the weekly Commitments of Traders (COT) report published by the CFTC. It is designed to detect extreme hedging behavior by institutional participants and translates it into a normalized scale from 0 to 100. The goal is to provide early indication of potential market reversals or overextensions.
What is the "Commercial Index"?
Commercials are market participants with a direct connection to the underlying asset – such as producers, processors, or large-scale users of commodities. They are often referred to as "Smart Money" due to their fundamental market insight and hedging purpose.
The Commercial Index measures where the current net position of Commercials (Long - Short) stands within a user-defined historical lookback window:
Index = 100: the most bullish net position in the selected period.
Index = 0: the most bearish net position.
How does the indicator work?
Data Source: The script uses the latest TradingView/LibraryCOT/4, which provides structured access to official COT data.
Calculation:
Weekly long and short positions of Commercials are requested based on the selected root symbol (e.g., "HG" for Copper).
Net position is calculated as: Net = Long - Short.
This value is normalized within the selected historical range (e.g., 150 weeks) between the highest and lowest net positions.
Result: A smooth oscillator ranging from 0 to 100 is plotted.
How to use the indicator?
Select your target future market (e.g., "GC" for Gold, "CL" for Crude Oil, "HG" for Copper).
Optionally adjust the three time windows to observe short-, mid-, and long-term sentiment (e.g., 125, 250, 500 weeks).
Watch for extreme readings:
Above 80–100: Commercials are heavily net long.
Below 20–0: Commercials are heavily net short.
These extremes are especially relevant when combined with price action, seasonality, or technical signals.
What makes this script unique?
Objective sentiment evaluation based on real institutional positioning.
Three timeframes shown in parallel for multi-horizon analysis.
No smoothing or distortion – raw positioning is visualized cleanly.
Useful in futures markets, where hedging behavior is a major driver.
Tips for Use:
Best viewed on weekly daily or charts (e.g., COMEX:HG1!, NYMEX:CL1!, CBOT:ZW1!).
Combine with technical setups or external sentiment tools for confirmation.
Can be used as a core building block in COT-based strategies or signal generation systems.
This indicator helps you track the footprints of Smart Money – and anticipate where the market might turn.
[DIP] Many Moving AveragesHighly customizable set of moving averages. I noticed there wasn't anything simple, easy to use and customizable in the public domain so I decided to make my own.
Supports:
- Up to 8 Moving Averages ( SMA , EMA , HMA , RMA, VWMA , WMA )
- Each moving average can be configured with its own Period, Type, Source and Timeframe.
📊 Visual MTF VMA Dashboard🔄️📊 Visual MTF VMA Dashboard🔄️
This powerful multi-timeframe indicator provides a clean, emoji-enhanced dashboard that helps you quickly identify the Variable Moving Average (VMA) trend direction across multiple key timeframes — all in real-time.
🔍 What It Does:
The Visual MTF VMA Dashboard calculates the LazyBear-style VMA on the following timeframes:
📆 Daily
🕰 195 Minutes
🕒 65 Minutes
⏳ 39 Minutes
⏱ 15 Minutes
Each cell in the table shows the current trend:
📈 BULLISH – VMA rising
📉 BEARISH – VMA falling
⚪ NEUTRAL – No change
🎨 Visual Boost:
This feature can be toggled on/off for cleaner visuals.
📌 Customization:
Adjustable VMA Length
Selectable table position: Top Left, Top Right, Bottom Left, Bottom Right
✅ Ideal For:
Multi-timeframe traders
Trend confirmation
Quick-glance analysis without cluttering your chart
Use this dashboard as a high-level trend confirmation tool — designed for simplicity, speed, and visual clarity.
Triple Momentum Core v1🧠 Technical Structure:
Triple Momentum Core analyzes the underlying wave of price movement through a three-stage system:
1. 🔵 Follow Line – The First Spark of Momentum:
Constructed using Bollinger Bands and ATR, this line detects the very first signs of directional price expansion. It gently whispers when the market begins stretching with force in one direction.
2. 🟢 SuperTrend – Confirmation and Directional Validation:
After the initial move, SuperTrend acts as the second checkpoint — validating whether the price action is evolving into a genuine trend or fading out. It confirms whether the impulse has the strength to sustain.
3. 🔴 PMax – Core Trend & Structural Anchor:
Based on Moving Average and ATR logic, PMax tracks the heartbeat of the trend. It serves as a dynamic structural boundary — critical for identifying trend continuation and managing risk.
4. 🟡 PMax MA Line – Smooth Trend Pulse & Adaptive Guide:
This yellow moving average line within the PMax system softly follows the overall trend flow, without reacting to sharp price noise. It acts as a balanced, stable guide to gauge the solidity of the trend’s body structure.
(If you prefer a cleaner view without any moving average lines, you can disable it from the settings.)
🧠 Technical Structure:
Triple Momentum Core analyzes the underlying wave of price movement through a three-stage system:
1. 🔵 Follow Line – The First Spark of Momentum:
Constructed using Bollinger Bands and ATR, this line detects the very first signs of directional price expansion. It gently whispers when the market begins stretching with force in one direction.
2. 🟢 SuperTrend – Confirmation and Directional Validation:
After the initial move, SuperTrend acts as the second checkpoint — validating whether the price action is evolving into a genuine trend or fading out. It confirms whether the impulse has the strength to sustain.
3. 🔴 PMax – Core Trend & Structural Anchor:
Based on Moving Average and ATR logic, PMax tracks the heartbeat of the trend. It serves as a dynamic structural boundary — critical for identifying trend continuation and managing risk.
4. 🟡 PMax MA Line – Smooth Trend Pulse & Adaptive Guide:
This yellow moving average line within the PMax system softly follows the overall trend flow, without reacting to sharp price noise. It acts as a balanced, stable guide to gauge the solidity of the trend’s body structure.
(If you prefer a cleaner view without any moving average lines, you can disable it from the settings.)
💡 Why “Triple Momentum Core”?
Because this indicator doesn’t just detect movement — it breaks it down into its essential phases:
Ignition, validation, and confirmation.
Each layer captures a unique and essential part of price behavior:
The first reaction (Follow Line) ignites the initial spark.
The second reaction (SuperTrend) confirms whether that spark will become a real trend.
The third and final layer (PMax) structurally anchors and follows that trend.
That’s why we call it Triple Momentum Core:
A synchronized 3-engine momentum system working in harmony to capture the lifecycle of a trend — from spark to structure.
Portfolio Tracker ARJO (V-01)Portfolio Tracker ARJO (V-01)
This indicator is a user-friendly portfolio tracking tool designed for TradingView charts. It overlays a customizable table on your chart to monitor up to 15 stocks or symbols in your portfolio. It calculates real-time metrics like current market price (CMP), gains/losses, and stoploss breaches, helping you stay on top of your investments without switching between multiple charts. The table uses color-coding for quick visual insights: green for profits, red for losses, and highlights breached stoplosses in red for alerts. It also shows portfolio-wide totals for overall performance.
Key Features
Supports up to 15 Symbols: Enter stock tickers (e.g., NSE:RELIANCE or BSE:TCS) with details like buy price, date, units, and stoploss.
Symbol: The stock ticker and description.
Buy Date: When you purchased it.
Units: Number of shares/units held.
Buy Price: Your entry price.
Stop Loss: Your set stoploss level (highlighted in red if breached by CMP).
CMP: Current market price (fetched from the chart's timeframe).
% Gain/Loss: Percentage change from buy price (color-coded: green for positive, red for negative).
Gain/Loss: Total monetary gain/loss based on units.
Optional Timeframe Columns: Toggle to show % change over 1 Week (1W), 1 Month (1M), 3 Months (3M), and 6 Months (6M) for historical performance.
Portfolio Summary: At the top of the table, see total % gain/loss and absolute gain/loss for your entire portfolio.
Visual Customizations: Adjust table position (e.g., Top Right), size, colors for positive/negative values, and intensity cutoff for gradients.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
How to Use It: Step-by-Step Guide
Add the Indicator to Your Chart: Search for "Portfolio Tracker ARJO (V-01)" in TradingView's indicator library and add it to any chart (preferably Daily timeframe for accuracy).
Input Your Portfolio Symbols:
Open the indicator settings (gear icon).
In the "Symbol 1" to "Symbol 15" groups, fill in:
Symbol: Enter the ticker (e.g., NSE:INFY).
Year/Month/Day: Select your buy date (e.g., 2024-07-01).
Buy Price: Your purchase price per unit.
Stoploss: Your exit price if things go south.
Units: How many shares you own.
Only fill what you need—leave extras blank. The table auto-adjusts to show only entered symbols.
Customize the Table (Optional):
In "Table settings":
Choose position (e.g., Top Right) and size (% of chart).
Toggle "Show Timeframe Columns" to add 1W/1M/3M/6M performance.
In "Color settings":
Pick colors for positive (green) and negative (red) cells.
Set "Color intensity cutoff (%)" to control how strong the colors get (e.g., 10% means changes above 10% max out the color).
Interpret the Table on Your Chart:
The table appears overlaid—scan rows for each symbol's stats.
Look at colors: Greener = better gains; redder = bigger losses.
Check CMP cell: Red means stoploss breached—consider selling!
Portfolio Gain/Loss at the top gives a quick overall health check.
For Best Results:
Use on a Daily chart to avoid CMP errors (the script will warn if on Weekly/Monthly).
Refresh the chart or wait for a new bar if data doesn't update immediately.
For Indian stocks, prefix with NSE: or BSE: (e.g., BSE:RELIANCE).
This is for tracking only—not trading signals. Combine with your strategy.
If no symbols show, ensure inputs are valid (e.g., buy price > 0, valid date).
Finally, this tool makes it quite easy for beginners to track their portfolios, while also giving advanced traders powerful and customizable insights. I'd love to hear your feedback—happy trading!
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.
Equal Highs and Lows (Line Between Matches Only)marks out equal highs and lows with a solid red line and solid green line. Only marks out till the next candle
COT_OscillatorThe COT Ocsillator Indicator is a quantitative analysis tool that uses the positioning of so-called Commercials from the weekly Commitments of Traders (COT) report published by the CFTC. It is designed to detect extreme hedging behavior by institutional participants and translates it into a normalized scale from 0 to 100. The goal is to provide early indication of potential market reversals or overextensions.
What is the "Commercial Index"?
Commercials are market participants with a direct connection to the underlying asset – such as producers, processors, or large-scale users of commodities. They are often referred to as "Smart Money" due to their fundamental market insight and hedging purpose.
The Commercial Index measures where the current net position of Commercials (Long - Short) stands within a user-defined historical lookback window:
Index = 100: the most bullish net position in the selected period.
Index = 0: the most bearish net position.
How does the indicator work?
Data Source: The script uses the latest TradingView/LibraryCOT/4, which provides structured access to official COT data.
Calculation:
Weekly long and short positions of Commercials are requested based on the selected root symbol (e.g., "HG" for Copper).
Net position is calculated as: Net = Long - Short.
This value is normalized within the selected historical range (e.g., 150 weeks) between the highest and lowest net positions.
Result: A smooth oscillator ranging from 0 to 100 is plotted.
How to use the indicator?
Select your target future market (e.g., "GC" for Gold, "CL" for Crude Oil, "HG" for Copper).
Optionally adjust the three time windows to observe short-, mid-, and long-term sentiment (e.g., 125, 250, 500 weeks).
Watch for extreme readings:
Above 80–100: Commercials are heavily net long.
Below 20–0: Commercials are heavily net short.
These extremes are especially relevant when combined with price action, seasonality, or technical signals.
What makes this script unique?
Objective sentiment evaluation based on real institutional positioning.
Three timeframes shown in parallel for multi-horizon analysis.
No smoothing or distortion – raw positioning is visualized cleanly.
Useful in futures markets, where hedging behavior is a major driver.
Tips for Use:
Best viewed on weekly daily or charts (e.g., COMEX:HG1!, NYMEX:CL1!, CBOT:ZW1!).
Combine with technical setups or external sentiment tools for confirmation.
Can be used as a core building block in COT-based strategies or signal generation systems.
This indicator helps you track the footprints of Smart Money – and anticipate where the market might turn.
Momentum 8% 4% 9MMomentum 8% 4% 9M is a simple yet effective visual indicator designed to highlight significant daily price moves and high volume activity on your stock charts.
Features:
Daily Price Move Highlights:
Background turns green when the daily price gain is equal to or greater than 8%, signaling strong bullish momentum.
Background turns red when the daily price drop is equal to or less than -4%, indicating notable bearish moves.
High Volume Marker:
Displays a small yellow upward triangle below the bar on days when the trading volume exceeds 9 million, helping you easily spot volume spikes.
This indicator provides clear visual cues directly on your price chart, making it easier to spot days of unusual market activity without cluttering your chart with excessive labels. It is ideal for traders looking to quickly identify big moves and volume surges for further analysis or trading decisions.
How it works:
The script calculates the daily percentage change from the previous close and compares it with predefined thresholds (8% up, 4% down). Volume is checked against the threshold of 9 million shares. Appropriate background colors and shape markers are then plotted accordingly.
William's Awesome Oscillator (AO) - Log-scaledA 5-34-5 MACD plotted as a histogram, aka William's Awesome Oscillator, scaled to log price
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).
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