Ketidakstabilan
GreenRushR - Confluence HUD (v1.7)Hello traders,
Does it feel like the market perfectly snipes your stop-loss before reversing in the direction you originally predicted? This is one of the most common frustrations in trading, and it often happens when we're on the wrong side of the overall market structure.
The GreenRushR HUD was built from the ground up to solve this exact problem.
It's a comprehensive, all-in-one dashboard that lives on your chart, giving you an instant, crystal-clear view of the trend across nine key timeframes—from the monthly all the way down to the 1-minute. By consolidating this data, the HUD helps you quickly identify when the Higher Timeframes (HTF), Market Structure, and Lower Timeframes (LTF) are in alignment, allowing you to trade with the institutional flow, not against it.
Key Features
📈 All-in-One Dashboard: Instantly see the trend status of the Monthly, Weekly, Daily, 4-Hour, 1-Hour, 30-Minute, 15-Minute, 5-Minute, and 1-Minute timeframes.
🚥 Confluence Signals: The main display shows you the status of three key groups (HTF, Structure, LTF) and gives a clear "CONFLUENCE" signal when key timeframes are aligned, highlighting high-probability conditions.
🔔 "A-Grade" Setup Alerts: The script includes a powerful, pre-configured alert condition for "A-Grade" setups. This allows you to receive a notification the moment a high-probability, multi-timeframe alignment occurs.
🎯 Built-in Exit Logic: To aid in trade management and backtesting, the script includes logic to track multiple potential exit strategies based on ATR (for Stop Loss & Take Profit), Heikin Ashi reversals, and bias flips.
How to Use This Indicator
Wait for Alignment: Look for the dashboard's main groups (HTF and Structure) to show a clear bullish (teal) or bearish (coral) alignment.
Confirm with an Alert: Wait for an "A-Grade Setup" alert to fire, confirming a high-probability entry condition based on the script's logic.
Trade with Confidence: Use the confluence signal as a powerful confirmation for your existing trading plan, helping you avoid low-quality setups and trades against the trend.
Settings
Bullish/Bearish Color: Customize the colors of the dashboard to fit your chart theme.
ATR Multipliers: Adjust the ATR multipliers to set custom Stop Loss and Take Profit levels that suit your risk tolerance.
Enable A-Grade Setup Alerts: A simple toggle to turn the main alert condition on or off.
How to Get Access
This is an invite-only script.
To request access, please leave a comment below or send me a direct message here on TradingView. I will grant you access as soon as possible.
You can also find more information by visiting the website listed on my TradingView profile.
Disclaimer: This indicator is for educational purposes only and should not be considered financial advice. All trading involves substantial risk. Past performance is not indicative of future results. Please trade responsibly.
Advanced VWAP Position SizerBelow is a TradingView description for the "Advanced VWAP Position Sizer" script, written in a clear and concise manner suitable for the platform's indicator description field. The description highlights the script's purpose, features, and usage instructions, tailored to its functionality based on the provided code.
---
### Advanced VWAP Position Sizer
**Category:** Custom Indicators
**Type:** Overlay
The **Advanced VWAP Position Sizer** is a powerful trading tool that combines the Volume Weighted Average Price (VWAP) with dynamic position sizing based on your portfolio risk tolerance. This indicator calculates the VWAP with customizable anchor periods and band levels, then determines the optimal trade size to ensure the full distance between the VWAP centerline and a selected band does not exceed 0.3% of your daily portfolio balance. Ideal for day traders seeking to manage risk effectively while leveraging VWAP-based strategies.
#### Key Features:
- **Customizable VWAP**: Adjust the anchor period (Session, Week, Month, Quarter, Year, Decade, Century, Earnings, Dividends, Splits) to reset the VWAP calculation based on your preferred timeframe.
- **Band Calculations**: Displays upper and lower bands using Standard Deviation or Percentage-based multipliers (1.0, 2.0, 3.0), with options to show/hide each band level.
- **Percentage Difference**: Calculates the percentage difference between the VWAP centerline and the selected band (Upper or Lower), automatically chosen based on trade direction (Long/Short).
- **Position Sizing**: Determines the number of shares to trade based on a user-defined portfolio balance and a 0.3% risk limit, accounting for stop loss distance, commissions, and slippage.
- **Interactive Table**: Displays real-time data including Risk per Trade, VWAP-to-Band Distance, Band % Difference, Risk per Share, Shares, and Position Value, with black text for readability.
- **Flexible Entry**: Supports manual entry price or uses the current price, with customizable stop levels relative to the band distance.
#### How to Use:
1. **Input Your Settings**:
- Set your daily **Portfolio Balance** (e.g., $50,000) to reflect your current capital.
- Adjust the **Risk % of Portfolio** (default 0.3%) to define your risk tolerance.
- Choose your **Direction** (Long or Short) and **Band** (Upper, Lower, or Auto by Direction).
- Select **Entry Price** mode (Current Price or Manual) and set a manual entry if needed.
- Configure **VWAP Settings** (Anchor Period, Source, Offset) and **Bands Settings** (Calculation Mode, Multipliers).
- Add **Commission** and **Slippage** per share, and enable **Fractional Shares** if desired.
- Position the table (Top Right, Bottom Right, Top Left, Bottom Left).
2. **Interpret the Table**:
- **Risk / Trade**: Total risk amount based on your portfolio and risk percentage.
- **VWAP→Band Dist**: Dollar distance from VWAP to the selected band.
- **Band % Diff**: Percentage difference between VWAP and the band, ensuring it stays within 0.3% of your portfolio.
- **Risk / Share**: Risk per share including stop distance and costs.
- **Shares**: Recommended number of shares to trade.
- **Position $**: Total position value based on shares and entry price.
3. **Trading Strategy**:
- Use the VWAP as a trend indicator and the bands for potential entry/exit points.
- Adjust your position size to align with the calculated shares, ensuring your risk does not exceed 0.3% of your portfolio balance.
- Monitor the **Entry** and **Stop** plots for trade execution and risk management.
#### Notes:
- This indicator overlays on the price chart and requires volume data to function correctly.
- The table updates on the last bar and may not display on timeframes (1D or above) if "Hide VWAP on 1D or Above" is enabled.
- Ensure your portfolio balance is updated daily to reflect accurate risk calculations.
- Compatible with Pine Script v6; adjust to v5 if compatibility issues arise.
**Disclaimer**: This is not financial advice. Consult a financial advisor and avoid sharing personal identifiable information.
Information-Geometric Market DynamicsInformation-Geometric Market Dynamics
The Information Field: A Geometric Approach to Market Dynamics
By: DskyzInvestments
Foreword: Beyond the Shadows on the Wall
If you have traded for any length of time, you know " the feeling ." It is the frustration of a perfect setup that fails, the whipsaw that stops you out just before the real move, the nagging sense that the chart is telling you only half the story. For decades, technical analysis has relied on interpreting the shadows—the patterns left behind by price. We draw lines on these shadows, apply indicators to them, and hope they reveal the future.
But what if we could stop looking at the shadows and, instead, analyze the object casting them?
This script introduces a new paradigm for market analysis: Information-Geometric Market Dynamics (IGMD) . The core premise of IGMD is that the price chart is merely a one-dimensional projection of a much richer, higher-dimensional reality—an " information field " generated by the collective actions and beliefs of all market participants.
This is not just another collection of indicators. It is a unified framework for measuring the geometry of the market's information field—its memory, its complexity, its uncertainty, its causal flows—and making high-probability decisions based on that deeper reality. By fusing advanced mathematical and informational concepts, IGMD provides a multi-faceted lens through which to view market behavior, moving beyond simple price action into the very structure of market information itself.
Prepare to move beyond the flatland of the price chart. Welcome to the information field.
The IGMD Framework: A Multi-Kernel Approach
What is a Kernel? The Heart of Transformation
In mathematics and data science, a kernel is a powerful and elegant concept. At its core, a kernel is a function that takes complex, often inscrutable data and transforms it into a more useful format. Think of it as a specialized lens or a mathematical "probe." You cannot directly measure abstract concepts like "market memory" or "trend quality" by looking at a price number. First, you must process the raw price data through a specific mathematical machine—a kernel—that is designed to output a measurement of that specific property. Kernels operate by performing a sort of "similarity test," projecting data into a higher-dimensional space where hidden patterns and relationships become visible and measurable.
Why do creators use them? We use kernels to extract features —meaningful pieces of information—that are not explicitly present in the raw data. They are the essential tools for moving beyond surface-level analysis into the very DNA of market behavior. A simple moving average can tell you the average price; a suite of well-chosen kernels can tell you about the character of the price action itself.
The Alchemist's Challenge: The Art of Fusion
Using a single kernel is a challenge. Using five distinct, computationally demanding mathematical engines in unison is an immense undertaking. The true difficulty—and artistry—lies not just in using one kernel, but in fusing the outputs of many . Each kernel provides a different perspective, and they can often give conflicting signals. One kernel might detect a strong trend, while another signals rising chaos and uncertainty. The IGMD script's greatest strength is its ability to act as this alchemist, synthesizing these disparate viewpoints through a weighted fusion process to produce a single, coherent picture of the market's state. It required countless hours of testing and calibration to balance the influence of these five distinct analytical engines so they work in harmony rather than cacophony.
The Five Kernels of Market Dynamics
The IGMD script is built upon a foundation of five distinct kernels, each chosen to probe a unique and critical dimension of the market's information field.
1. The Wavelet Kernel (The "Microscope")
What it is: The Wavelet Kernel is a signal processing function designed to decompose a signal into different frequency scales. Unlike a Fourier Transform that analyzes the entire signal at once, the wavelet slides across the data, providing information about both what frequencies are present and when they occurred.
The Kernels I Use:
Haar Kernel: The simplest wavelet, a square-wave shape defined by the coefficients . It excels at detecting sharp, sudden changes.
Daubechies 2 (db2) Kernel: A more complex and smoother wavelet shape that provides a better balance for analyzing the nuanced ebb and flow of typical market trends.
How it Works in the Script: This kernel is applied iteratively. It first separates the finest "noise" (detail d1) from the first level of trend (approximation a1). It then takes the trend a1 and repeats the process, extracting the next level of cycle (d2) and trend (a2), and so on. This hierarchical decomposition allows us to separate short-term noise from the long-term market "thesis."
2. The Hurst Exponent Kernel (The "Memory Gauge")
What it is: The Hurst Exponent is derived from a statistical analysis kernel that measures the "long-term memory" or persistence of a time series. It is the definitive measure of whether a series is trending (H > 0.5), mean-reverting (H < 0.5), or random (H = 0.5).
How it Works in the Script: The script employs a method based on Rescaled Range (R/S) analysis. It calculates the average range of price movements over increasingly larger time lags (m1, m2, m4, m8...). The slope of the line plotting log(range) vs. log(lag) is the Hurst Exponent. Applying this complex statistical analysis not to the raw price, but to the clean, wavelet-decomposed trend lines, is a key innovation of IGMD.
3. The Fractal Dimension Kernel (The "Complexity Compass")
What it is: This kernel measures the geometric complexity or "jaggedness" of a price path, based on the principles of fractal geometry. A straight line has a dimension of 1; a chaotic, space-filling line approaches a dimension of 2.
How it Works in the Script: We use a version based on Ehlers' Fractal Dimension Index (FDI). It calculates the rate of price change over a full lookback period (N3) and compares it to the sum of the rates of change over the two halves of that period (N1 + N2). The formula d = (log(N1 + N2) - log(N3)) / log(2) quantifies how much "longer" and more convoluted the price path was than a simple straight line. This kernel is our primary filter for tradeable (low complexity) vs. untradeable (high complexity) conditions.
4. The Shannon Entropy Kernel (The "Uncertainty Meter")
What it is: This kernel comes from Information Theory and provides the purest mathematical measure of information, surprise, or uncertainty within a system. It is not a measure of volatility; a market moving predictably up by 10 points every bar has high volatility but zero entropy .
How it Works in the Script: The script normalizes price returns by the ATR, categorizes them into a discrete number of "bins" over a lookback window, and forms a probability distribution. The Shannon Entropy H = -Σ(p_i * log(p_i)) is calculated from this distribution. A low H means returns are predictable. A high H means returns are chaotic. This kernel is our ultimate gauge of market conviction.
5. The Transfer Entropy Kernel (The "Causality Probe")
What it is: This is by far the most advanced and computationally intensive kernel in the script. Transfer Entropy is a non-parametric measure of directed information flow between two time series. It moves beyond correlation to ask: "Does knowing the past of Volume genuinely reduce our uncertainty about the future of Price?"
How it Works in the Script: To make this work, the script discretizes both price returns and the chosen "driver" (e.g., OBV) into three states: "up," "down," or "neutral." It then builds complex conditional probability tables to measure the flow of information in both directions. The Net Transfer Entropy (TE Driver→Price minus TE Price→Driver) gives us a direct measure of causality . A positive score means the driver is leading price, confirming the validity of the move. This is a profound leap beyond traditional indicator analysis.
Chapter 3: Fusion & Interpretation - The Field Score & Dashboard
Each kernel is a specialist providing a piece of the puzzle. The Field Score is where they are fused into a single, comprehensive reading. It's a weighted sum of the normalized scores from all five kernels, producing a single number from -1 (maximum bearish information field) to +1 (maximum bullish information field). This is the ultimate "at-a-glance" metric for the market's net state, and it is interpreted through the dashboard.
The Dashboard: Your Mission Control
Field Score & Regime: The master metric and its plain-English interpretation ("Uptrend Field", "Downtrend Field", "Transitional").
Kernel Readouts (Wave Align, H(w), FDI, etc.): The live scores of each individual kernel. This allows you to see why the Field Score is what it is. A high Field Score with all components in agreement (all green or red) is a state of High Coherence and represents a high-quality setup.
Market Context: Standard metrics like RSI and Volume for additional confluence.
Signals: The raw and adjusted confluence counts and the final, calculated probability scores for potential long and short entries.
Pattern: Shows the dominant candlestick pattern detected within the currently forming APEX range box and its calculated confidence percentage.
Chapter 4: Mastering the Controls - The Inputs Menu
Every parameter is a lever to fine-tune the IGMD engine.
📊 Wavelet Transform: Kernel ( Haar for sharp moves, db2 for smooth trends) and Scales (depth of analysis) let you tune the script's core microscope to your asset's personality.
📈 Hurst Exponent: The Window determines if you're assessing short-term or long-term market memory.
🔍 Fractal Dimension & ⚡ Entropy Volatility: Adjust the lookback windows to make these kernels more or less sensitive to recent price action. Always keep "Normalize by ATR" enabled for Entropy for consistent results.
🔄 Transfer Entropy: Driver lets you choose what causal force to measure (e.g., OBV, Volume, or even an external symbol like VIX). The throttle setting is a crucial performance tool, allowing you to balance precision with script speed.
⚡ Field Fusion • Weights: This is where you can customize the model's "brain." Increase the weights for the kernels that best align with your trading philosophy (e.g., w_hurst for trend followers, w_fdi for chop avoiders).
📊 Signal Engine: Mode offers presets from Conservative to Aggressive . Min Confluence sets your evidence threshold. Dynamic Confluence is a powerful feature that automatically adapts this threshold to the market regime.
🎨 Visuals & 📏 Support/Resistance: These inputs give you full control over the chart's appearance, allowing you to toggle every visual element for a setup that is as clean or as data-rich as you desire.
Chapter 5: Reading the Battlefield - On-Chart Visuals
Pattern Boxes (The Large Rectangles): These are not simple range boxes. They appear when the Field Score crosses a significance threshold, signaling a potential ignition point.
Color: The color reflects the dominant candlestick pattern that has occurred within that box's duration (e.g., green for Bull Engulf).
Label: Displays the dominant pattern, its duration in bars, and a calculated Confidence % based on field strength and pattern clarity.
Bar Pattern Boxes (The Small Boxes): If enabled, these highlight individual, significant candlestick patterns ( BE for Bull Engulf, H for Hammer) on a bar-by-bar basis.
Signal Markers (▲ and ▼): These appear only when the Signal Engine's criteria are all met. The number is the calculated Probability Score .
RR Rails (Dashed Lines): When a signal appears, these lines automatically plot the Entry, Stop Loss (based on ATR), and two Take Profit targets (based on Risk/Reward ratios). They dynamically break and disappear as price touches each level.
Support & Resistance Lines: Plots of the highest high ( Resistance ) and lowest low ( Support ) over a lookback, providing key structural levels.
Chapter 6: Development Philosophy & A Final Word
One single question: " What is the market really doing? " It represents a triumph of complexity, blending concepts from signal processing, chaos theory, and information theory into a cohesive framework. It is offered for educational and analytical purposes and does not constitute financial advice. Its goal is to elevate your analysis from interpreting flat shadows to measuring the rich, geometric reality of the market's information field.
As the great mathematician Benoit Mandelbrot , father of fractal geometry, noted:
"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line."
Neither does the market. IGMD is a tool designed to navigate that beautiful, complex, and fractal reality.
— Dskyz, Trade with insight. Trade with anticipation.
[Top] LHAMA SupertrendLHAMA Supertrend - Advanced Adaptive Trend Following System
Overview
The LHAMA Supertrend is an innovative trend-following indicator that combines adaptive moving average technology with intelligent signal confirmation. Unlike traditional supertrend indicators that rely on simple moving averages, this system uses my Low-High Adaptive Moving Average (🦙 LHAMA) algorithm that dynamically adjusts to market volatility and price action patterns. It is much more responsive to sudden price changes than traditional supertrend indicators, allowing you to jump in earlier and catch more of the move, and it manages this responsiveness without significantly increasing the number of false signals.
What Makes This Original
This indicator introduces several unique concepts not found in standard trend-following tools:
LHAMA Algorithm : The core innovation is the Low-High Adaptive Moving Average, which adapts its responsiveness based on the frequency of new highs and lows within a lookback period. This creates a more intelligent baseline that responds appropriately to different market conditions.
Delayed Confirmation System : Rather than generating immediate signals on price crossovers, the indicator implements a sophisticated confirmation mechanism using slope analysis. Signals are only triggered when both trend direction and momentum align, significantly reducing false signals.
Volume Integration : Optional volume weighting enhances the adaptive calculation, giving more weight to price movements during high-volume periods.
Daily Reset Functionality : Unique daily reset feature helps realign the indicator after overnight gaps, particularly useful for equity markets.
How It Works
LHAMA Calculation
The LHAMA baseline adapts using a coefficient derived from:
Frequency of new highs and lows in the lookback period
Optional volume weighting factor
Smoothed adaptation rate based on market activity
The calculation:
lhama = previous_lhama + momentum_adaptation * (price - previous_lhama)
Where the momentum adaptation increases when markets are making new highs or lows, allowing faster response during trending conditions while providing stability during consolidation.
Signal Generation
The indicator uses a two-stage signal process:
Trend Identification : Price position relative to LHAMA determines basic trend bias
Slope Confirmation : ATR-normalized slope analysis confirms momentum direction
Signal Timing : Buy/sell signals only trigger when trend direction and slope momentum align
Visual Components
LHAMA Line : The adaptive baseline with optional angle-based gradient coloring that visualizes momentum strength
Trend Clouds : Dynamic fill areas that adapt to the last confirmed signal direction
ATR Halo : Opposite-side ATR band providing optional additional context for stop-loss placement
Confirmation Signals : Clear BUY/SELL labels only appear after full confirmation
How to Use
Basic Setup
Apply to any timeframe and symbol
Default LHAMA length of 15 periods works well for most applications
Accuracy depends greatly on chart timeframe and symbol, so make sure to backtest before relying on any signals. For example, ES and NQ work best on the 15m timeframe while GC and CL work best on the 5m.
Enable daily reset for equity markets to handle overnight gaps
Signal Interpretation
Immediate Heads-up : Small triangles show instant trend changes for awareness. These are your warnings to get ready to buy or sell if price takes off. (If many triangles are being printed in both directions, that is a warning that the market is ranging and you should not blindly follow a BUY/SELL signal without additional confirmation.)
Confirmed Signals : BUY/SELL labels appear only after slope confirms the direction
Cloud Color : Locked to the last confirmed signal direction for clear regime identification
Advanced Features
Flat Threshold : Adjust the angle threshold to filter out sideways market noise
Gradient Mode : Toggle between classic supertrend coloring and momentum-based gradients
ATR Halo : Use the opposite-side cloud as a more generous trailing stop level
Risk Management
The indicator provides multiple levels for stop-loss placement:
Tight : Edge of the main trend cloud
Standard : The LHAMA Line itself
Generous : ATR halo boundary
Best Practices
Timeframe Selection : Not all timeframes on all symbols are created equal. Make sure to scroll to the left and verify that your current chart timeframe isn't throwing out tons of bad signals. This will be easy to spot as it show up as constant rapid flipping from buy to sell.
Market Conditions : Performs best in trending markets. The flat threshold setting helps filter out poor performance during strong sideways action, but no indicator is perfect.
Confirmation : Wait for confirmed BUY/SELL signals rather than acting on immediate trend flips for better risk-adjusted returns.
Key Parameters
LHAMA Length (15) : Controls the lookback period for adaptive calculation
Daily Reset : Helps maintain accuracy across overnight gaps
Flat Threshold (5°) : Filters out low-momentum signals
Volume Weighting : Enhances adaptation during high-volume periods
Alerts
The indicator provides two alert types:
"BUY (confirmed)": Triggers when bullish trend and upward slope align
"SELL (confirmed)": Triggers when bearish trend and downward slope align
These alerts fire only on confirmed signals, not on immediate price crossovers, providing higher-quality notifications.
Innovation Summary
This indicator advances trend-following methodology by introducing adaptive baseline calculation, intelligent signal confirmation, and comprehensive visual feedback systems. The combination of LHAMA adaptation, slope-based confirmation, and multi-layered risk management tools creates a more sophisticated approach to trend analysis than traditional supertrend indicators.
The result is a tool that maintains responsiveness during trending conditions while providing stability during consolidation, with clear visual cues for entry, exit, and risk management decisions.
VIX Term Structure Tracker [VX1!/VX2!]1. Data Preparation
The script starts by fetching four key data series on a daily ("D") timeframe:
VIX (CBOE:VIX): The spot VIX index, a real-time measure of market expectations of future volatility.
VX1! (CBOE:VX1!): The price of the front-month (nearest to expiration) VIX futures contract.
VX2! (CBOE:VX2!): The price of the next-month VIX futures contract.
SPX (SP:SPX): The S&P 500 Index, which serves as a benchmark for the overall market.
2. Term Structure and Market Psychology
The core of the indicator lies in analyzing the relationship between the futures prices.
term_slope = vx2 - vx1: This calculates the difference between the next-month and front-month VIX futures prices.
Contango: If vx2 > vx1, the slope is positive, and the market is in contango. This is the "normal" state, where traders expect volatility to be lower in the future. The script colors this background a light green.
Backwardation: If vx2 < vx1, the slope is negative, and the market is in backwardation. This is a rare state indicating elevated fear. It means traders are willing to pay a premium for short-term protection against volatility, implying that an increase in fear is imminent. The script colors this background a light red.
3. Roll Yield Calculation
roll_yield = ((vx1 - vix) / days_to_expiry) * 100: This calculates the estimated return (or loss) from rolling a futures position from the spot VIX to the front-month future. This is a key metric for understanding the cost of holding VIX futures. A negative roll yield means it is expensive to hold a long VIX position.
4. Equilibrium and Z-Score
This section of the code provides a statistical measure to determine how extreme the current term structure is compared to its historical average.
avg_slope = ta.sma(term_slope, 252): This calculates the one-year simple moving average of the term structure slope.
z_score: This is the most powerful part of the indicator. It measures how many standard deviations the current term_slope is from its one-year average.
A Z-score of +2 or higher indicates the market is in an extreme state of contango (complacency), where volatility is abnormally low.
A Z-score of -2 or lower indicates an extreme state of backwardation (fear), where there's an abnormal surge in short-term volatility expectations.
5. Visualizations & Signals
The script presents a comprehensive view of these metrics on the chart.
plot(term_slope): Shows a blue line representing the VIX term structure slope.
bgcolor(...): Visually highlights periods of contango (light green) and backwardation (light red).
plot(roll_yield): Displays a column chart showing the roll yield, indicating the cost or benefit of holding VIX futures.
plot(z_score): Shows an orange line representing the Z-score, with horizontal lines at +2 and -2 to highlight extreme conditions.
plotshape(...): These are your trading signals. A red arrow pointing up (shape.labelup) appears at the bottom of the chart when the Z-score drops below -2 (extreme backwardation), and a green arrow pointing down (shape.labeldown) appears at the top when the Z-score goes above +2 (extreme contango).
6. Interpretation and Trading Signals
The script provides a clear framework for interpreting market sentiment:
Extreme Backwardation Signal (Red Arrow Up): When the Z-score falls to -2 or below, it signals a period of extreme market fear. This is often an excellent contrarian signal for buying the VIX (or related products) and/or for caution in long equity positions.
Extreme Contango Signal (Green Arrow Down): When the Z-score rises to +2 or above, it signals a period of extreme market complacency. This can be a contrarian signal for selling the VIX (or related products) and/or for potential short-term weakness in the S&P 500.
The VIX/SPX Risk Ratio also provides a good visual of volatility relative to the S&P 500, with an increasing ratio signaling a rising risk environment.
Ultimately, this indicator provides a powerful way to visualize the VIX futures term structure and use statistical analysis (Z-score) to find high-probability signals of extreme market sentiment.
VWATR + VIX + VVIX Trend Regime### 🤖 VWATR + VIX + VVIX Trend Regime — Your Ultimate Volatility Dashboard! 📊
This isn't just another indicator; it's a comprehensive dashboard that brings together everything you need to understand market volatility focused on Futures. It merges price-based movement with market-wide fear and sentiment, giving you a powerful edge in your trading and risk management. Think of it as your personal volatility sidekick, ready to help you navigate market uncertainty like a pro!
***
### ✨ What's Inside?
* **VWATR (Volume-Weighted ATR):** A super-smart measure of price movement that pays close attention to where the big money is flowing.
* **VIX (The "Fear Gauge"):** Tracks the expected volatility of the S&P 500, essentially telling you how nervous the market is feeling.
* **VVIX (The "VIX of VIX"):** This one's for the pros! It measures how volatile the VIX itself is, giving you an early heads-up on potential fear spikes.
* **VX Term Structure:** A clever way to see if traders are preparing for a crisis. It compares the two nearest VIX futures to spot a rare signal called "backwardation."
* **Z-Scores:** It helps you spot when VIX and VVIX are at historic highs or lows, making it easier to predict when things might return to normal.
* **Divergence Score:** A unique tool to flag potential market shifts when the VIX and VVIX start moving in completely different directions.
* **Regime Classification:** The script automatically labels the market as "Full Panic," "Known Crisis," "Surface Calm," "Stress," or "Normal," so you always know where you stand.
* **Gradient Bars:** A visual treat! The background of your chart changes color to reflect real-time volatility shifts, giving you an instant feel for the market's mood.
* **Alerts:** Get push notifications on your phone for key events like "Full Panic" or "Backwardation" so you never miss a beat.
***
### 📝 Panel/Table Outputs
This is your mission control! The on-screen table gives you a clean summary of the current market regime, VIX and VVIX values, their ratios, term structure, Z-scores, and signals. Everything you need, right where you can see it.
***
### 🚀 How to Get Started
1. **Check your data:** You'll need access to real-time data for VIX, VVIX, VX1!, and VX2!. A paid subscription might be necessary for this.
2. **Add it to your chart:** Use the indicator on any chart (we've set it to `overlay=false`) to get your full volatility dashboard.
3. **Tweak it to perfection:** Head over to the Settings panel to customize the thresholds, colors, and your all-important "Jolt Value."
4. **Start trading smarter:** Use the dashboard to inform your trades, hedge your portfolio, and manage risk with confidence.
***
### ⚙️ Customization & Key Settings
* `showVWATR`: Toggle your price-volatility metric on or off.
* `showExpectedVol`: See the expected volatility as a percentage of the current price.
* `joltLevel`: This is a very important line on your chart! It's your personal trigger for when volatility is getting a little too wild. More on this below.
* `enableGradientBars`: Turn the awesome colored background on or off.
* `enableTable`: Hide or show your information table.
* `VIX/VVIX/VX1!/VX2! symbols`: If your broker uses different symbols for these, you can change them here.
* `VIX/VVIX thresholds`: Adjust these levels to fine-tune the indicator to your personal risk tolerance.
***
### 💡 Jolt Value: A Quick Guide for Smart Traders 🧠
The **jolt value** is your personal tripwire for volatility. Think of it as a warning light on your car's dashboard. You set the level, and when volatility (VWATR) crosses that line, you get an instant signal that something interesting is happening.
**How to Set Your Jolt Value:**
The ideal jolt value is dynamic. You want to keep it just a little above the current VIX level to stay alert without getting too many false alarms.
| Current VIX Level | Market Regime | Recommended Jolt Value |
| :--- | :--- | :--- |
| Under 15 | Calm/Complacent | 15–16 |
| 15–20 | Typical/Normal | 16–18 |
| 20–30 | Cautious/Active | 18–22 |
| Over 30 | Stress/Panic | 30+ |
**A Pro Tip for August 2025:** Since the VIX is hovering around 14.7, setting your jolt value to **16.5** is a great starting point for keeping an eye on things. If the VIX starts to climb above 20, you should adjust your jolt level to match the new reality.
***
### ⚠️ Important Things to Note
* You might experience some data delays if you're not on a paid TradingView plan or your broker does not provide real-time data for the VIX also VIX is only active during NY session, so it's not advised to use it outside of normal trading hours!
ATR: Body % + Ranges and AnomaliesATR: Body % + Ranges and Anomalies
This indicator provides a dual analysis of price bars to help you better understand market dynamics and volatility. It combines two powerful concepts into one tool: a candle body percentage and a range analysis with an anomaly-excluding average.
Key Features:
1. Candle Body Percentage
This feature plots the size of the candle's body as a percentage of its total high-low range.
A high percentage (e.g., above the 50% gray line) indicates strong, directional movement. The more solid the body is relative to its wicks, the more conviction is behind that move.
The 100% red line marks "Marubozu" candles—bars with no wicks, showing absolute control by buyers or sellers.
2. Range Analysis with Anomalies
This is a unique part of the indicator that helps you identify and understand normal vs. abnormal volatility.
Custom SMA: It calculates an average range of the last N bars, but it smartly excludes "anomalous" bars (spikes or unusually small ranges) from the calculation. This gives you a more reliable baseline for normal volatility.
Anomaly Detection: Bars are colored differently based on their range:
Blue: Small anomalies (range less than 0.5 * ATR). These often occur during periods of low liquidity or indecision.
Red: Large anomalies (range greater than 1.8 * ATR). These can signal a sudden burst of volatility, breakout events, or capitulation.
ATR Range % Label: The label on the chart shows the current bar's range as a percentage of the custom SMA. This tells you how much larger or smaller the current bar's range is compared to a clean average.
How to Use:
Spotting Trends: Use the Body % to confirm the strength of a trend. A series of bars with high body percentages can indicate a strong, healthy trend.
Identifying Volatility: Use the Range Analysis to find areas of interest. A large red anomaly bar could signal a significant event, while a series of blue anomalies might suggest the market is in a tight consolidation before a breakout.
Contextual Analysis: The combination of these tools can provide powerful context. For example, a bar with a high Body % and a red anomaly color suggests a strong, volatile move that could be a turning point or the start of a major trend.
Experiment with the input settings to fine-tune the ATR and SMA periods for different timeframes and assets.
Fabian Z-ScoreFabian Z-Score — % Distance & Z-Scores for SPX / DJI / XLU
What it does
This indicator measures how far three market proxies are from a moving average and standardizes those distances into z-scores so you can spot stretch/mean-reversion and relative out/under-performance.
Universe: S&P 500 (SPX), Dow Jones (DJI) and Utilities (XLU). You can change any of these in Inputs.
Anchor MA: user-selectable MA type (SMA/EMA/RMA/WMA/VWMA/HMA/LSMA/ALMA) and length (default 39; a popular weekly anchor).
Outputs
% from MA: 100 × (𝐶𝑙𝑜𝑠𝑒 − 𝑀𝐴) / 𝑀𝐴
Time-series Z: z-score of the last N % distances (default 39) → “how stretched vs its own history?”
Cross-sectional Z: z-score of each % distance within the trio on this bar → “who’s strongest vs the others right now?”
A compact mini table (top-right) shows the latest values for each symbol: % from MA, Z(ts) and Z(xsec).
Panels & Visualization
Toggle what you want to see in View:
Plot % distance — raw % above/below the MA (0% line shown).
Plot time-series Z — standardized stretch with ±Threshold guides (default ±2σ).
Plot cross-sectional Z — relative z across SPX, DJI, XLU (0 = at the trio’s mean).
Smoothing — optional light MA on the plotted series (set to 1 for none).
A price-panel Moving Average is drawn with your chosen type/length for visual context.
Colors: SPX = teal, DJI = orange, XLU = purple.
Alerts
Two built-in alert conditions (time-series Z only):
“Z(ts) crosses up +Thr” — any of the three crosses above +Threshold.
“Z(ts) crosses down -Thr” — any crosses below −Threshold.
When enabled, the chart background tints faint green (up cross) or red (down cross) on those bars.
How to use (ideas, not advice)
On weekly charts, a 39-length MA/Z lookback often captures major risk-on/off swings. (Fabian Timing)
Deep negative Z(ts) (e.g., ≤ −2σ or −3σ) frequently accompanies panic and mean-reversion setups.
High positive Z(ts) suggests over-extension; watch for momentum fades.
Cross-sectional Z helps rank leadership today:
Z(xsec) > 0 → stronger than the trio’s mean this bar; Z(xsec) < 0 → weaker.
Utilities (XLU) turning positive x-sec while the others are negative can hint at defensive rotation.
If all 3 are above 0, go long, if below 0 go cash.
Combine: look for extreme Z(ts) aligning with lead/lag Z(xsec) to time entries/exits or hedges.
Inputs (quick reference)
Symbols: SPX / DJI / XLU (editable).
MA type & length: SMA, EMA, RMA, WMA, VWMA, HMA, LSMA, ALMA; default EMA(39).
Z-score lookback (ts): default 39.
Smoothing on plots: default 1 (off).
Z threshold (±): default 2.0 (guide lines & alerts).
ATR x2 AUTODescription:
This indicator automatically plots ATR-based horizontal levels for each of the most recent candles, helping traders visualize potential stop-loss hunting zones, breakout areas, or price reaction points.
It works by taking the Average True Range (ATR) over a customizable period and multiplying it by a user-defined factor (default: ×2). For each of the last N candles (default: 5), it calculates and draws:
Below green candles (bullish) → A horizontal line placed ATR × multiplier below the candle’s low.
Above red candles (bearish) → A horizontal line placed ATR × multiplier above the candle’s high.
Doji candles → No line is drawn.
Each line extends to the right indefinitely, allowing traders to monitor how price reacts when returning to these ATR-based levels. This makes the tool useful for:
Identifying likely stop-loss clusters below bullish candles or above bearish candles.
Anticipating liquidity sweeps and fakeouts.
Supporting breakout or reversal strategies.
Key Features:
Customizable ATR length, multiplier, number of recent candles, and line thickness.
Separate colors for bullish and bearish candle levels.
Automatic real-time updates for each new bar.
Clean overlay on the main price chart.
Inputs:
ATR Length → Period used for ATR calculation.
Multiplier → Factor applied to the ATR distance.
Number of Candles → How many recent candles to track.
Line Thickness and Colors → Full visual customization.
Usage Tip:
These levels can be combined with key market structure points such as support/resistance, trendlines, or the 200 EMA to anticipate high-probability price reactions.
ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
# ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
## What it is (quick take)
**ABS CO** is a unified **–100…+100 trend oscillator** that fuses:
* **Regime**: EMA stack (fast/slow/long) + **HTF slope** (e.g., 60-minute)
* **Momentum**: **TSI** vs its signal
* **Stretch**: session-anchored **VWAP Z-score** for exhaustion and “fresh-trend” sanity checks
It paints the oscillator with **lime** in upstate, **red** in downstate, **gray** in neutral, and tags:
* **NEW↑ / NEW↓** when a **new trend** likely starts (zero-line cross with acceptable stretch)
* **EXH↑ / EXH↓** when an **existing trend looks exhausted** (large |Z| + momentum rollback)
> Use it as a **direction filter and context layer**. Works great in front of an entry engine and behind an exit tool.
---
## How to use it (operational workflow)
1. **Read the state**
* **Uptrend** when the oscillator is **≥ upThresh** (default +55) → prefer **long-side** plays.
* **Downtrend** when the oscillator is **≤ dnThresh** (default −55) → prefer **short-side** plays.
* **Neutral** between thresholds → be selective or flat; expect chop.
2. **Act on events**
* **NEW↑ / NEW↓**: zero-line cross with acceptable |Z| (not already overstretched). Treat as **trend start** cues.
* **EXH↑ / EXH↓**: trend state with **high |Z|** and TSI rollback versus its signal. Treat as **trend fatigue**; avoid fresh go-with entries and tighten risk.
3. **Practical pairing**
* Use **up/down state** (or above/below **neutralBand**) as your go/no-go filter for entries.
* Prioritize entries **with** NEW↑/NEW↓ and **without** nearby EXH tags.
* Keep holding while the oscillator stays in state and no EXH appears; consider scaling out on EXH or on your exit tool.
---
## Visual semantics & alerts
* **ABS CO line** (–100…+100): lime in upstate, red in downstate, gray in neutral.
* **Horizontal guides**: `Up` threshold, `Down` threshold, `Zero`, and optional **neutral band** lines.
* **Background heat** (optional): shaded when EXH conditions trigger (lime/red tint with intensity scaled by |Z|).
* **Tags**: `NEW↑`, `NEW↓`, `EXH↑`, `EXH↓`.
**Alerts (stable):**
* **ABS CO — New Uptrend** (NEW↑)
* **ABS CO — New Downtrend** (NEW↓)
* **ABS CO — Exhausted Up** (EXH↑)
* **ABS CO — Exhausted Down** (EXH↓)
Set alerts to **“Once per bar close”** for clean signals.
---
## Non-repainting behavior
* HTF queries use **lookahead\_off**.
* With **Strict NR = true**, the HTF slope is taken from the **prior completed** HTF bar; events evaluate on confirmed bars → **safer, fewer, cleaner**.
* NEW/EXH tags finalize at bar close. Disabling strictness yields earlier but noisier responses.
---
## Every input explained (and how it changes behavior)
### A) Trend & HTF structure
* **EMA Fast / Slow / Long (`emaFastLen`, `emaSlowLen`, `emaLongLen`)**
Control the baseline regime. Larger = smoother, fewer flips; smaller = snappier, more flips.
* **HTF EMA Len (`htfLen`)** & **HTF timeframe (`htfTF`)**
HTF slope filter. Longer len or higher TF = steadier bias (fewer state changes); shorter/ lower = more sensitive.
* **Strict NR (`strictNR`)**
`true` uses the **previous** HTF bar for slope and evaluates on confirmed bars → cleaner, slower.
### B) Momentum (TSI)
* **TSI Long / Short / Signal (`tsiLong`, `tsiShort`, `tsiSig`)**
Standard TSI. Larger values = smoother momentum, fewer EXH triggers; smaller = snappier, more EXH sensitivity.
### C) Stretch (VWAP Z-score)
* **VWAP Z-score length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z|; smaller = more reactive stretch detection.
* **Exhaustion |Z| (`zHot`)**
Minimum |Z| to flag **EXH**. Raise to demand **bigger** stretch (fewer EXH); lower to catch milder excess.
* **Max |Z| for NEW (`zNewMax`)**
NEW requires |Z| **≤ zNewMax** (avoid “new trend” when already stretched). Lower = stricter; higher = more NEW tags.
### D) States & thresholds
* **Uptrend threshold (`upThresh`)** / **Downtrend threshold (`dnThresh`)**
Where the oscillator flips into trend states. Widen (e.g., +60/−60) to reduce false states; narrow to get earlier signals.
* **Neutral band (`neutralBand`)**
Visual buffer around zero for “meh” momentum. Larger band = fewer go/no-go flips near zero.
### E) Visuals & tags
* **Show New / Show Exhausted (`showNew`, `showExh`)**
Toggle the tag labels.
* **Shade exhaustion heat (`plotHeat`)**
On = color background when EXH fires. Helpful for scanning.
### F) Smoothing
* **Osc smoothing (`smoothLen`)**
EMA over the raw composite. Higher = steadier line (fewer whip flips); lower = faster turns.
---
## Tuning recipes
* **Trend-day bias (follow moves longer)**
* Raise **`upThresh`** to \~60 and **`dnThresh`** to \~−60
* Keep **`zNewMax`** low (1.0–1.2) to avoid “fresh trend” when stretched
* **`smoothLen`** 3–5 to reduce noise
* **Range-day bias (fade edges)**
* Keep thresholds closer (e.g., +50/−50) for quicker state changes
* Lower **`zHot`** slightly (1.6–1.7) to catch earlier exhaustion
* Consider slightly shorter TSI (e.g., 21/9/5) for faster EXH response
* **Scalping LTF (1–3m)**
* TSI 21/9/5, **`smoothLen`** 1–2
* Thresholds +/-50; **`zNewMax`** 1.0–1.2; **`zHot`** 1.6–1.8
* StrictNR **off** if you want earlier calls (accept more noise)
* **Swing / HTF (1h–D)**
* TSI 35/21/9, **`smoothLen`** 4–7
* Thresholds +/-60\~65; **`zNewMax`** 1.2; **`zHot`** 1.8–2.0
* StrictNR **on** for cleaner bias
---
## Playbooks (how to actually trade it)
* **Go/No-Go Filter**
* Only take **long entries** when the oscillator is **above the neutral band** (preferably ≥ `upThresh`).
* Only take **short entries** when **below** the neutral band (preferably ≤ `dnThresh`).
* Avoid fresh go-with entries if an **EXH** tag appears; let the next setup re-arm.
* **Trend Genesis**
* Treat **NEW↑ / NEW↓** as “green light” for **first pullback** entries in the new direction (ideally within acceptable |Z|).
* **Trend Maturity**
* When in a position and **EXH** prints **against** you, tighten stops, take partials, or lean on your exit tool to protect gains.
---
## Suggested starting points
* **Day trading (5–15m):**
* TSI 25/13/7, `smoothLen=3`, thresholds **+55 / −55**, `zNewMax = 1.2`, `zHot = 1.8`, **StrictNR = true**
* **Scalping (1–3m):**
* TSI 21/9/5, `smoothLen=1–2`, thresholds **+50 / −50**, `zNewMax = 1.1–1.2`, `zHot = 1.6–1.8`, **StrictNR = false** (optional)
* **Swing (1h–D):**
* TSI 35/21/9, `smoothLen=4–6`, thresholds **+60 / −60**, `zNewMax = 1.2`, `zHot = 1.9–2.0`, **StrictNR = true**
---
## Notes & best practices
* **Session anchoring**: Z-score is session-anchored (resets by trading date). If you trade outside standard sessions, verify your data session.
* **Instrument specificity**: Tune **`zHot`**, **`zNewMax`**, and thresholds per symbol and timeframe.
* **Bar-close discipline**: Evaluate tags at **bar close** to avoid intrabar flip-flop.
* This is a **context/confirmation tool**, not a broker or strategy. Combine with your entry/exit rules and position sizing.
---
**Tip:** Start with the suggested day-trading profile. Use this oscillator as your **gate** (only trade with it), let your entry engine time executions, and rely on your exit tool for standardized profit-taking.
ABS NR — Fail-Safe Confirm (v4.2.2)
# ABS NR — Fail-Safe Confirm (v4.2.2)
## What it is (quick take)
**ABS NR FS** is a **non-repainting “arm → confirm” entry framework** for intraday and swing execution. It blends:
* **Regime** (EMA stack + 60-min slope),
* **Location** (Keltner basis/edges),
* **Stretch** (session-anchored **VWAP Z-score**),
* **Momentum gating** (TSI cross/slope),
* **Guards** (session window, minimum ATR%, gap filter, optional market alignment).
You’ll see a **small dot** when a setup is **armed** (candidate) and a **triangle** when that setup **confirms** within a user-defined number of bars. A **gray “X”** marks a timeout (candidate canceled).
> Tip: This entry tool works best when paired with a trend context filter and a dedicated exit tool.
---
## How to use it (operational workflow)
1. **Read the regime**
* **Bull trend**: fast > slow > long EMA **and** 60-min slope up.
* **Bear trend**: fast < slow < long EMA **and** 60-min slope down.
* **Range**: neither bull nor bear.
2. **Wait for a candidate (dot)**
Two families:
* **Reclaim (trend-following):** price crosses the **KC basis** with acceptable |Z| (not overstretched) and passes the TSI gate.
* **Fade (range-revert):** price **pokes a KC band**, prints a **reversal wick**, |Z| is stretched, and TSI gate agrees.
3. **Trade the confirmation (triangle)**
The confirm must occur **within N bars** and follow your chosen **Confirm mode** logic (see Inputs). If confirmation doesn’t arrive in time, an **X** cancels the candidate.
4. **Use guards to avoid junk**
Session windows (US focus), minimum ATR%, gap guard, and optional **market alignment** (e.g., SPY above EMA20 for longs).
5. **Manage the position**
* Entries: take **triangles** in the direction of your playbook (reclaims with trend; fades in clean ranges).
* Filters and exits: use your own process or pair with a trend/exit companion.
---
## Visual semantics & alerts
* **Candidate L / S (dot)** → a setup armed on this bar.
* **CONFIRM L / S (triangle)** → actionable signal that met confirm rules within your time window.
* **Cancel L / S (X)** → candidate expired without confirmation; ignore the dot.
**Alerts (stable names for automation):**
* **ABS FS — Confirmed** → fires on confirmed long or short.
* **ABS FS — Candidate Armed** → fires as a candidate arms.
---
## Non-repainting behavior (why signals don’t repaint)
* All HTF requests use **lookahead\_off**.
* With **Strict NR = true**, the 60-min slope uses the **prior completed** 60-min bar and arming/confirming only occurs on confirmed bars.
* Confirmation triangles finalize on bar close.
* If you disable strictness, signals may appear slightly earlier but with more intrabar sensitivity.
---
## Inputs reference (what each control does and the trade-offs)
### A) Behavior / Modes
**Mode** (`Turbo / Aggressive / Balanced / Conservative`)
Changes multiple internal thresholds:
* **Turbo** → most signals; relaxes prior-bar break & VWAP-side checks and time/vol/gap guards. Highest frequency, highest noise.
* **Aggressive** → more signals than Balanced, fewer than Turbo.
* **Balanced** → default; steady trade-off of frequency vs. quality.
* **Conservative** → tightens |Z| and other checks; fewest but cleanest signals.
**Strict NR (bar close + prior HTF 60m)**
* **true** = safer: uses prior 60-min slope; arms/confirms on confirmed bars → **fewer/cleaner** signals.
* **false** = earlier and more reactive; slightly noisier.
---
### B) Keltner Channel (location engine)
* **KC EMA Length (`kcLen`)**
Higher → smoother basis (fewer basis crosses). Lower → snappier basis (more crosses).
* **ATR Length (`atrLen`)**
Higher → steadier band width; Lower → more reactive band width.
* **KC ATR Mult (`kcMult`)**
Higher → wider bands (fewer edge pokes → fewer fades). Lower → narrower (more fades).
---
### C) Trend & HTF slope
* **Trend EMA Fast/Slow/Long (`emaFastLen / emaSlowLen / emaLongLen`)**
Larger = slower regime flips (fewer reclaims); smaller = faster flips (more reclaims).
* **HTF EMA Len (60m) (`htfLen`)**
Larger = steadier HTF slope (fewer signals); smaller = more sensitive (more signals).
---
### D) VWAP Z-Score (stretch / mean-revert logic)
* **VWAP Z-Length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z| (fewer fades/re-entries). Smaller = more reactive (more).
* **Range Fade |Z| (base) (`zFadeBase`)**
Minimum |Z| to allow **fades** in ranges. Raise to demand more stretch (fewer fades). Lower to take more fades.
* **Max |Z| Trend Re-entry (base) (`maxZTrendBase`)**
Caps how stretched price can be and still permit **reclaims** with trend. Lower = stricter (avoid chases). Higher = will chase further.
---
### E) TSI Momentum Gate
* **TSI Long/Short/Signal (`tsiLong / tsiShort / tsiSig`)**
Larger = smoother/laggier momentum; smaller = snappier.
* **TSI gate (`CrossOnly / CrossOrSlope / Off`)**
* **CrossOnly**: require TSI cross of its signal (strict).
* **CrossOrSlope**: cross *or* favorable slope (balanced default).
* **Off**: no momentum gate (most signals, most noise).
---
### F) Guards (filters to avoid low-quality tape)
* **US focus 09:35–10:30 & 14:00–15:45 (base) (`useTimeBase`)**
`true` limits to high-quality windows. `false` trades all session.
* **Skip N bars after 09:30 ET (`skipFirst`)**
Skips the open scramble. Larger = skip longer.
* **Min volatility ATR% (base)** = `useVolMinBase` + `atrPctMinBase`
Requires `ATR(10)/Close*100 ≥ atrPctMinBase`. Raise threshold to avoid dead tape; lower to accept quieter sessions.
* **Gap guard (base)** = `gapGuardBase` + `gapMul`
Blocks signals when the opening gap exceeds `gapMul * ATR`. Increase `gapMul` to allow more gapped opens; decrease to be stricter.
---
### G) Visuals & Sides
* **Plot Keltner (`plotKC`)** → show/hide basis & bands.
* **Show Longs / Show Shorts** → enable/disable each side.
---
### H) Fail-Safe Confirmation
* **Confirm mode (`BreakHighOnly / BreakHigh+Hold / TwoBarImpulse`)**
* **BreakHighOnly**: confirm by taking out the armed bar’s extreme. Fastest, most frequent.
* **BreakHigh+Hold**: must **break**, have **body ≥ X·ATR**, **and** hold above/below the basis → higher quality, fewer signals.
* **TwoBarImpulse**: decisive follow-through vs. prior bar with **body ≥ X·ATR** → momentum-biased confirmations.
* **Confirm within N bars (`confirmBars`)**
Confirmation window size. Smaller = faster validation; larger = more patience (can be later).
* **Impulse body ≥ X·ATR (`impulseBodyATR`)**
Raise for stronger confirmations (fewer weak triangles). Lower to accept lighter pushes.
* **Require market alignment (`needMarket`) + `marketTicker`**
When enabled: Longs require **market > EMA20 (5m)**; Shorts require **market < EMA20 (5m)**.
* **Diagnostics: Show debug letters (`debug`)**
Tiny “B/C” audit marks for base/confirm while tuning.
---
## Tuning recipes (quick, practical)
* **If you’re getting chopped:**
* Set **Mode = Conservative**
* **Confirm mode = BreakHigh+Hold**
* Raise **impulseBodyATR** (e.g., 0.45)
* Keep **needMarket = true**
* Keep **Strict NR = true**
* **If you need more signals:**
* **Mode = Aggressive** (or Turbo if you accept more noise)
* **Confirm mode = BreakHighOnly**
* Lower **impulseBodyATR** (0.25–0.30)
* Increase **confirmBars** to 3
* **Range-day focus (fades):**
* Keep session guard on
* Raise **zFadeBase** to demand real stretch
* Keep **maxZTrendBase** moderate (don’t chase)
* **Trend-day focus (reclaims):**
* Slightly **lower `maxZTrendBase`** (avoid chasing excessive stretch)
* Use **CrossOrSlope** TSI gating
* Consider turning **needMarket** on
---
## Best practices & notes
* **Instrument specificity:** Tune Z, TSI, and guards per symbol and timeframe.
* **Session awareness:** Session filter uses **exchange-local** time; adjust for non-US markets.
* **Automation:** Use the two provided alert names; they’re stable.
* **Risk management:** Confirmation improves quality but doesn’t remove risk. Always pre-define stop/size logic.
---
## Suggested starting point (balanced profile)
* **Mode = balanced**
* **Strict NR = true**
* **Confirm mode = BreakHigh+Hold**
* **confirmBars = 2**
* **impulseBodyATR ≈ 0.35**
* **needMarket = off** (turn on for extra confluence)
* Leave Keltner/TSI defaults; then nudge `zFadeBase` and `maxZTrendBase` to match your symbol.
---
*This tool is a signal generator, not a broker or strategy. Validate on your markets/timeframes and integrate with your risk plan.*
Key Indicators Dashboard (KID)Key Indicators Dashboard (KID) — Comprehensive Market & Trend Metrics
📌 Overview
The Key Indicators Dashboard (KID) is an advanced multi-metric market analysis tool designed to consolidate essential technical, volatility, and relative performance data into a single on-chart table. Instead of switching between multiple indicators, KID centralizes these key measures, making it easier to assess a stock’s technical health, volatility state, trend status, and relative strength at a glance.
🛠 Key Features
⦿ Average Daily Range (ADR %): Measures average daily price movement over a specified period. It is calculated by averaging the daily price range (high - low) over a set number of days (default 20 days).
⦿ Average True Range (ATR): Measures volatility by calculating the average of a true range over a specific period (default 14). It helps traders gauge the typical extent of price movement, regardless of the direction.
⦿ ATR%: Expresses the Average True Range as a percentage of the price, which allows traders to compare the volatility of stocks with different prices.
⦿ Relative Strength (RS): Compares a stock’s performance to a chosen benchmark index (default NIFTYMIDSML400) over a specific period (default 50 days).
⦿ RS Score (IBD-style): A normalized 1–100 rating inspired by Investor’s Business Daily methodology.
How it works: The RS Score is based on a weighted average of price changes over 3 months (40%), 6 months (20%), 9 months (20%), and 12 months (20%).
The raw value is converted into a percentage return, then normalized over the past 252 trading days so the lowest value maps to 1 and the highest to 100.
This produces a percentile-style score that highlights the strongest stocks in relative terms.
⦿ Relative Volume (RVol): Compares a stock's current volume to its average volume over a specific period (default 50). It is calculated by dividing the current volume by the average historical volume.
⦿ Average ₹ Volume (Turnover): Represents the total monetary value of shares traded for a stock. It's calculated by multiplying a day's closing price by its volume, with the final value converted to crores for clarity. This metric is a key indicator of a stock's liquidity and overall market interest.
⦿ Moving Average Extension: Measures how far a stock's current price has moved from from a selected moving average (EMA or SMA). This deviation is normalized by the stock's volatility (ATR%), with a default threshold of 6 ATR used to indicate that the stock is significantly extended and is marked with a selected shape (default Red Flag).
⦿ 52-Weeks High & Low: Measures a stock's current price in relation to its highest and lowest prices over the past year. It calculates the percentage a stock is below its 52-week high and above its 52-week low.
⦿ Market Capitalization: Market Cap represents the total value of all outstanding.
⦿ Free Float: It is the value of shares readily available for public trading, with the Free Float Percentage showing the proportion of shares available to the public.
⦿ Trend: Uses Supertrend indicator to identify the current trend of a stock's price. A factor (default 3) and an ATR period (default 10) is used to signal whether the trend is up or down.
⦿ Minervini Trend Template (MTT): It is a set of technical criteria designed to identify stocks in strong uptrends.
Price > 50-DMA > 150-DMA > 200-DMA
200-DMA is trending up for at least 1 month
Price is at least 30% above its 52-week low.
Price is within at least 25 percent of its 52-week high
Table highlights when a stock meets all above criteria.
⦿ Sector & Industry: Display stock's sector and industry, provides categorical classification to assist sector-based analysis. The sector is a broad economic classification, while the industry is a more specific group within that sector.
⦿ Moving Averages (MAs): Plot up to four customizable Moving Averages on a chart. You can independently set the type (Simple or Exponential), the source price, and the length for each MA to help visualize a stock's underlying trend.
MA1: Default 10-EMA
MA2: Default 20-EMA
MA3: Default 50-EMA
MA4: Default 200-EMA
⦿ Moving Average (MA) Crossover: It is a trend signal that occurs when a shorter-term moving average crosses a longer-term one. This script identifies these crossover events and plots a marker on the chart to visually signal a potential change in trend direction.
User-configurable MAs (short and long).
A bullish crossover occurs when the short MA crosses above the long MA.
A bearish crossover occurs when the short MA crosses below the long MA.
⦿ Inside Bar (IB): An Inside Bar is a candlestick whose entire price range is contained within the range of the previous bar. This script identifies this pattern, which often signals consolidation, and visually marks bullish and bearish inside bars on the chart with distinct colors and labels.
⦿ Tightness: Identifies periods of low volatility and price consolidation. It compares the price range over a short lookback period (default 3) to the average daily range (ADR). When the lookback range is smaller than the ADR, the indicator plots a marker on the chart to signal consolidation.
⦿ PowerBar (Purple Dot): Identifies candles with a strong price move on high volume. By default, it plots a purple dot when a stock moves up or down by at least 5% and has a minimum volume of 500,000. More dots indicate higher volatility and liquidity.
⦿ Squeezing Range (SQ): Identifies periods of low volatility, which can often precede a significant price move. It checks if the Bollinger Bands have narrowed to a range that is smaller than the Average True Range (ATR) for a set number of consecutive bars (default 3).
(UpperBB - LowerBB) < (ATR × 2)
⦿ Mark 52-Weeks High and Low: Marks and labels a stock's 52-Week High and Low prices directly on the chart. It draws two horizontal lines extending from the candles where the highest and lowest prices occurred over the past year, providing a clear visual reference for long-term price extremes.
⏳PineScreener Filters
The indicator’s alert conditions act as filters for PineScreener.
Price Filter: Minimum and maximum price cutoffs (default ₹25 - ₹10000).
Daily Price Change Filter: Minimum and maximum daily percent change (default -5% and 5%).
🔔 Built-in Alerts
Supports alert creation for:
ADR%, ATR/ATR %, RS, RS Rating, Turnover
Moving Average Crossover (Bullish/Bearish)
Minervini Trend Template
52-Week High/Low
Inside Bars (Bullish/Bearish)
Tightness
Squeezing Range (SQ)
⚙️ Customizable Visualization
Switchable between vertical or horizontal layout.
Works in dark/light mode
User-configurable to toggle any indicator ON or OFF.
User-configurable Moving (EMA/SMA), Period/Lengths and thresholds.
⦿ (Optional) : For horizontal table orientation increase Top Margin to 16% in Chart (Canvas) settings to avoid chart overlapping with table.
⚡ Add this script to your chart and start making smarter trade decisions today! 🚀
Queso Heat IndexQueso Heat Index (QHI) — ATR-Adaptive Edge-Pressure Gauge
QHI measures how strongly price is pressing the edges of a rolling consolidation window. It heats up when price repeatedly pushes the window up , cools down when it pushes down , and drifts back toward neutral when price wanders in the middle. Everything is ATR-normalized so it adapts across symbols and timeframes.
Output: a signed score from −100 … +100
> 0 = bullish pressure (hot)
< 0 = bearish pressure (cold)
≈ 0 = neutral (no side dominating)
What you’ll see on the chart
Rolling “box” (Donchian window): top, bottom, and midline.
Optional compact-box shading when the window height is small relative to ATR.
Background “thermals”: tinted red when Heat > Hot threshold, blue when Heat < Cold threshold (intensity scales with the score).
Optional Heat line (−100..+100), optional 0/±80 thresholds, and optional push markers (PU/PD).
Optional table showing the current Heat score, placeable in any corner.
How it works (under the hood)
Consolidation window — Over lookback bars we track highest high (top), lowest low (bottom), and midpoint. The window is called “compact” when box height ≤ ATR × maxRangeATR .
ATR-based push detection — A bar is a push-up if high > prior window high + (epsATR × ATR + tick buffer) . A push-down if low < prior window low − (epsATR × ATR + tick buffer) . We also measure how many ATRs beyond the edge the bar traveled.
Heat gains (symmetric) — Each push adds/subtracts Heat:
base gain + streak bonus × consecutive pushes + magnitude bonus × ATRs beyond edge .
Decay toward neutral — Each bar, Heat decays by a percentage. Decay is:
– higher in the middle band of the box, and
– adaptive : the farther (in ATRs) from the relevant band (top when hot, bottom when cold), the faster it decays; hugging the band slows decay.
Midpoint bias (optional) — Gentle drift toward hot when trading above mid, toward cold when below mid, with a dead-zone near mid so tiny wobbles don’t matter.
Reset on regime flip (optional) — First valid push from the opposite side can snap Heat back to 0 before applying new gains.
How to read it
Rising hot with slow decay → strong upside pressure; pullbacks that hold near the top band often continue.
Flip to cold after being hot → regime change risk; tighten risk or consider the other side.
Compact window + rising hot (or cold) → squeeze-and-go conditions.
Neutral (≈ 0) → edges aren’t being pressured; expect mean-reversion inside the box.
Key inputs (what they do)
Window & ATR
lookback : size of the Donchian window (longer = smoother, slower).
atrLen : ATR period for all volatility-scaled thresholds.
maxRangeATR : defines “compact” windows for optional shading.
topBottomFrac : how thick the top/bottom bands are (used for decay/pressure logic).
Push detection (ATR-based)
epsATR : how many ATRs beyond the prior edge to count as a real push.
tickBuff : fixed extra ticks beyond the ATR epsilon (filters micro-breaches).
Heat gains
gainBase : main fuel per push.
gainPerStreak : rewards consecutive pushes.
gainPer1ATRBrk : adds more for stronger breakouts past the edge.
resetOppSide : snap back to 0 on the first opposite-side push.
Decay
decayPct : baseline % removed each bar.
decayAccelMid : multiplies decay when price is in the middle band.
adaptiveDecay , decayMinMult , decayPerATR , decayMaxMult : scale decay with ATR distance from the nearest “target” band (top if hot, bottom if cold).
Midpoint bias
useMidBias : enable/disable drift above/below midpoint.
midDeadFrac : width of neutral (no-drift) zone around mid.
midBiasPerBar : max drift per bar at the box edge.
Visuals (all default to OFF for a clean chart)
Plot Heat line + Show 0/±80 lines (only shows thresholds if Heat line is on).
Hot/Cold thresholds & transparency floors for background shading.
Push markers (PU/PD).
Heat score table : toggle on; choose any corner.
Tuning quick-starts
Daily trending equities : lookback 40–60; epsATR 0.10–0.25; gainBase 12–18; gainPerStreak 0.5–1.5; gainPer1ATRBrk 1–2; decayPct 3–6; adaptiveDecay ON (decayPerATR 0.5–0.8).
Intraday / noisy : raise epsATR and tickBuff to filter noise; keep decayPct modest so Heat can build.
Weekly swing : longer lookback/atrLen; slightly lower decayPct so regimes persist.
Alerts (included)
New window HIGH (push-up)
New window LOW (push-down)
Heat turned HOT (crosses above your Hot threshold)
Heat turned COLD (crosses below your Cold threshold)
Best practices & notes
Use QHI as a pressure gauge , not a standalone system—combine with your entry/exit plan and risk rules.
On thin symbols, increase epsATR and/or tickBuff to avoid spurious pushes.
Gap days can register large pushes; ATR scaling helps but consider context.
Want the Heat in a separate pane? Use the companion panel version; keep this overlay for background/box visuals.
Pine v6. Warm-up: values appear as soon as one bar of window history exists.
TL;DR
QHI quantifies how hard price is leaning on a consolidation edge.
It’s ATR-adaptive, streak- and magnitude-aware, and cools off intelligently when momentum fades.
Watch for thermals (background), the score (−100..+100), and fresh push alerts to time entries in the direction of pressure.
Relative Volatility Mass [SciQua]The ⚖️ Relative Volatility Mass (RVM) is a volatility-based tool inspired by the Relative Volatility Index (RVI) .
While the RVI measures the ratio of upward to downward volatility over a period, RVM takes a different approach:
It sums the standard deviation of price changes over a rolling window, separating upward volatility from downward volatility .
The result is a measure of the total “volatility mass” over a user-defined period, rather than an average or normalized ratio.
This makes RVM particularly useful for identifying sustained high-volatility conditions without being diluted by averaging.
────────────────────────────────────────────────────────────
╭────────────╮
How It Works
╰────────────╯
1. Standard Deviation Calculation
• Computes the standard deviation of the chosen `Source` over a `Standard Deviation Length` (`stdDevLen`).
2. Directional Separation
• Volatility on up bars (`chg > 0`) is treated as upward volatility .
• Volatility on down bars (`chg < 0`) is treated as downward volatility .
3. Rolling Sum
• Over a `Sum Length` (`sumLen`), the upward and downward volatilities are summed separately using `math.sum()`.
4. Relative Volatility Mass
• The two sums are added together to get the total volatility mass for the rolling window.
Formula:
RVM = Σ(σ up) + Σ(σ down)
where σ is the standard deviation over `stdDevLen`.
╭────────────╮
Key Features
╰────────────╯
Directional Volatility Tracking – Differentiates between volatility during price advances vs. declines.
Rolling Volatility Mass – Shows the total standard deviation accumulation over a given period.
Optional Smoothing – Multiple MA types, including SMA, EMA, SMMA (RMA), WMA, VWMA.
Bollinger Band Overlay – Available when SMA is selected, with adjustable standard deviation multiplier.
Configurable Source – Apply RVM to `close`, `open`, `hl2`, or any custom source.
╭─────╮
Usage
╰─────╯
Trend Confirmation: High RVM values can confirm strong trending conditions.
Breakout Detection: Spikes in RVM often precede or accompany price breakouts.
Volatility Cycle Analysis: Compare periods of contraction and expansion.
RVM is not bounded like the RVI, so absolute values depend on market volatility and chosen parameters.
Consider normalizing or using smoothing for easier visual comparison.
╭────────────────╮
Example Settings
╰────────────────╯
Short-term volatility detection: `stdDevLen = 5`, `sumLen = 10`
Medium-term trend volatility: `stdDevLen = 14`, `sumLen = 20`
Enable `SMA + Bollinger Bands` to visualize when volatility is unusually high or low relative to recent history.
╭───────────────────╮
Notes & Limitations
╰───────────────────╯
Not a directional signal by itself — use alongside price structure, volume, or other indicators.
Higher `sumLen` will smooth short-term fluctuations but reduce responsiveness.
Because it sums, not averages, values will scale with both volatility and chosen window size.
╭───────╮
Credits
╰───────╯
Based on the Relative Volatility Index concept by Donald Dorsey (1993).
TradingView
SciQua - Joshua Danford
AlgoFlex Buy Sell Signals FREE📢 Introducing AlgoFlex Free — Buy/Sell Signals for All Traders
We’re excited to release our first free AlgoFlex algorithm to the TradingView community!
This version provides clear Buy/Sell signals directly on your chart, helping you spot potential entries and exits with confidence.
✅ Features
Real-time Buy and Sell alerts
Works on any market & timeframe
Clean, minimal chart display
Optimized for trend-following & quick decision making
💡 How to Use
Add this script to your chart
Choose your preferred market & timeframe
Follow the Buy/Sell labels for trade ideas
(Optional) Enable TradingView alerts for instant notifications
⚠ Disclaimer
This script is for educational and informational purposes only.
Always do your own research and use proper risk management before trading live capital.
🚀 Upgrade to AlgoFlex Premium for advanced AI-driven signal modes, higher accuracy, and additional strategy filters. Contact us via our profile for details or Download the App from App store/ google play to get access.
algoflex.org
SPX Trendlines with VIX Levels By- Profit gang
This comprehensive technical analysis tool combines SPX trendline analysis with VIX volatility levels to help identify potential market turning points. The indicator is specifically designed with non-repainting logic to ensure reliability for both backtesting and live trading.
🔧 KEY FEATURES:
Non-Repainting Design: All signals and lines are drawn only on confirmed bars using barstate.isconfirmed
Dynamic Trendlines: Automatically draws support and resistance lines connecting recent pivot points
VIX Integration: Displays current VIX levels with customizable thresholds for market sentiment analysis
Multiple Visual Elements: Includes diagonal trendlines, horizontal level lines, and an information table
Comprehensive Alerts: Configurable alert system for both buy and sell signals
Clean Interface: Organized inputs and customizable colors for all elements
📊 TRADING CONCEPT:
The indicator utilizes the inverse relationship between VIX and SPX:
High VIX at pivot lows may indicate oversold conditions (potential buying opportunities)
Low VIX at pivot highs may signal complacency at market tops (potential caution zones)
🎛️ CUSTOMIZATION OPTIONS:
Toggle trendlines, VIX labels, and level lines independently
Adjust VIX thresholds (default: 25 high, 18 low)
Customize pivot length for sensitivity (default: 15)
Choose line styles (solid, dashed, dotted) and widths
Personalize all colors and alert preferences
📈 VISUAL COMPONENTS:
Red Lines: Resistance levels and trendlines
Green Lines: Support levels and trendlines
Information Table: Real-time VIX status and current levels
Signal Shapes: Triangle markers for confirmed buy/sell signals
Background Highlighting: Optional signal emphasis
⚠️ EDUCATIONAL PURPOSE:
This indicator is designed for educational and informational purposes. Past performance does not guarantee future results. Always conduct your own research and consider risk management before making trading decisions.
🔔 ALERT SYSTEM:
Separate alerts for buy and sell signals
All alerts trigger only on confirmed bars
Customizable alert messages with price and VIX data
Multiple alert condition options for flexible setup
Perfect for traders who want to combine technical analysis with volatility sentiment in a reliable, non-repainting format.
DTLLC Time & PriceDTLLC Time and Price with Signals
This indicator is built for traders who understand ICT concepts and want a structured, visual way to align time-based price action with key market levels. By combining customizable trading windows, breakout logic, and daily reference points, it helps you identify high-probability trade opportunities while filtering out market noise.
Key Features
1. Dual Custom Time Ranges (Kill Zones)
Set two independent time ranges per day (start/end hour and minute).
Each range identifies the highest high and lowest low within its window.
Built-in breakout detection generates buy/sell signals when price moves beyond these levels.
2. Volatility Filtering
Adjustable volatility threshold based on True Range relative to ATR.
Filters out low-quality signals during choppy, low-volatility conditions.
3. ATR-Based Stop Loss
Custom ATR length and stop-loss multiplier settings.
Automatically plots ATR-based stop levels for triggered trades.
4. Daily Key Levels
Plots Previous Day High, Previous Day Low, and Midnight Open continuously on the chart.
Useful for spotting breakout and reversal opportunities in line with ICT market structure concepts.
5. Liquidity & Engulfing Candle Highlights
Highlights potential liquidity grab zones (yellow candles) when significant highs/lows are set within your lookback period.
Detects bullish (green) and bearish (red) engulfing patterns for added confluence.
6. Visual & Signal Tools
Buy/Sell signals plotted directly on chart (separate colors for Range 1 and Range 2). Continuous plotting of reference levels to maintain market context throughout the session.
Example Use Case:
A common ICT-inspired reversal setup:
Wait for price to sweep the Previous Day’s High or Low during your chosen time range.
Look for a buy or sell signal with volatility confirmation.
Manage risk using the ATR-based stop-loss plot.
Disclaimer: This script is for educational purposes only and is not financial advice. Trade responsibly and always test strategies before applying them in live markets.
HMA V1 – Hull ATR SuperTrend with HTF Gate (Optimized for ES & NOverview
HMA V1 is a directional trend-following indicator designed for ES and NQ futures, combining a Hull ATR-based SuperTrend system with a Higher Timeframe HMA gate to filter entries. It can also be used on major indices and liquid stocks, but accuracy will be lower compared to ES/NQ optimization.
The indicator generates Buy and Sell signals based on the alignment of short-term price action with the higher timeframe trend filter. The logic is tuned for both scalping (more frequent signals, lower win rate) and day trading (fewer signals, higher win rate).
⸻
Signal Logic
1. Base Trend Engine:
• Uses an ATR-based Hull Moving Average (HMA) to dynamically calculate upper and lower bands for trend detection.
• Price crossing above the upper band in an uptrend = potential Buy trigger.
• Price crossing below the lower band in a downtrend = potential Sell trigger.
2. HTF HMA Gate Filter:
• All signals must pass a Higher Timeframe HMA check to confirm the broader trend direction.
• This acts as a noise filter, reducing false signals in choppy conditions.
3. Timeframe Behavior:
• Long Signals:
• Works best on 15m for day trading (higher win rate).
• 5m gives more scalping opportunities but with more false signals.
• If you want to trade longs, uncheck “Lock Long Signals to Specific Timeframe” for flexibility.
• Short Signals:
• Currently only coded to appear on 5m timeframe (bug to be fixed in future versions).
4. Partial Profit Logic (optional):
• Although not enforced in this version, the system is often used with partial profit-taking at fixed % targets and moving stops to breakeven after P1.
⸻
Best Use Practices:
• ES/NQ Futures: Best performance and most accurate filtering.
• Other Indices/Stocks: Usable but expect lower accuracy; re-tune ATR/HMA parameters for better results.
• Scalping: Use 5m for quicker entries, accept more noise.
• Day Trading: Use 15m for fewer, higher-probability setups.
• Always combine with your own market structure and higher timeframe bias for best results.
⸻
Known Bugs / Limitations:
• Long signal lock is sometimes overly restrictive — uncheck the “Lock Long Signals to Specific Timeframe” option to see more entries.
• Short signals currently only appear on the 5m timeframe.
Single Prints [Sim]This indicator automatically detects and marks single prints from TPO (Time Price Opportunity) / Market Profile charts directly onto your chart, removing the need to keep track of a TPO chart or manually mark and copy levels.
What are single prints?
In Market Profile, a single print occurs when only a single TPO (time block) appears at a price level within a profile period, meaning price did not revisit that level by the end of the period. They are considered areas of market inefficiency that were caused by a rapid move in price from a large buyer or seller imbalances, and can act as potential magnets for future price action.
Key features:
Customizable ‘Build from’ & ‘Aggregation’ settings - Show prints from any timeframe and profile setting you wish (default setting shows 30 min prints, built from 1 min bars).
Precise origin tracking - See the exact price and candle each print originates from, information not visible on standard TPO charts.
Historical forming prints - View past forming/developing prints for backtesting, and watch new ones develop in real time.
Multi-timeframe visibility - Prints remain visible when switching chart timeframes.
Full styling control - Adjust line style, color, thickness, and choose whether to extend lines or stop at the last chart candle.
Clean chart display - Option to show print levels on the price scale, hide filled prints that were filled after a set number of candles, or display only unfilled prints.
Box or line mode - Display prints as lines or highlight them as boxes to visualize exactly at what price point they will be filled.
Contract rollover adjustment - Maintains accuracy for futures data far into the past, useful for accurate backtesting.
Micro/mini compatibility - Use NQ/ES prints on MNQ/MES charts.
I wrote this script from scratch for speed and efficiency in mind. You can adjust the lookback bars to see more prints (but slower load time) or fewer prints (but faster load time).
The script has been in development for a while and has been tested by many people to ensure prints are accurate (compared to other platforms). If there does occur any discrepancy between prints then please feel free to message me and I will do my best to look into it. Here is a link to the old (private) beta version of the indicator and you can see all the previous updates, fixes and improvements I have made to the indicator before this release.
Tip for using the indicator:
To stop the chart being squished when resetting price scale or using auto scaling, press the setting icon on the bottom right of the chart and make sure "Scale price chart only" is ticked.
ATR Dynamische Candles 1.2 (by Droes)This script visualizes ATR values as candles to the right of the last candle at today's high and today's low.