Quant VWAP System 3.8 This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.
It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.
Key Features:
1. Normalized Extremes (The "Kill Zones")
±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).
The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.
2. The Squeeze Radar (Yellow Dots)
Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."
What it means: The Standard Deviation bands are compressing. Energy is building.
Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.
3. Momentum Coloring
Green Line: Z-Score is rising (Bullish Momentum).
Red Line: Z-Score is falling (Bearish Momentum).
This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).
How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)
Scenario: You are in a Bull Trend.
Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.
Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.
Strategy B: The "Extreme Fade" (Reversion)
Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).
Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.
Meaning: The statistical extension has failed, and price is likely snapping back to the mean.
Strategy C: Squeeze Breakout
Scenario: Yellow Dots appear on the center line.
Action: Stop trading. Wait.
Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
Bandas e Canais
Hurst-Optimized Adaptive Channel [Kodexius]Hurst-Optimized Adaptive Channel (HOAC) is a regime-aware channel indicator that continuously adapts its centerline and volatility bands based on the market’s current behavior. Instead of using a single fixed channel model, HOAC evaluates whether price action is behaving more like a trend-following environment or a mean-reverting environment, then automatically selects the most suitable channel structure.
At the core of the engine is a robust Hurst Exponent estimation using R/S (Rescaled Range) analysis. The Hurst value is smoothed and compared against user-defined thresholds to classify the market regime. In trending regimes, the script emphasizes stability by favoring a slower, smoother channel when it proves more accurate over time. In mean-reversion regimes, it deliberately prioritizes a faster model to react sooner to reversion opportunities, similar in spirit to how traders use Bollinger-style behavior.
The result is a clean, professional adaptive channel with inner and outer bands, dynamic gradient fills, and an optional mean-reversion signal layer. A minimalist dashboard summarizes the detected regime, the current Hurst reading, and which internal model is currently preferred.
🔹 Features
🔸 Robust Regime Detection via Hurst Exponent (R/S Analysis)
HOAC uses a robust Hurst Exponent estimate derived from log returns and Rescaled Range analysis. The Hurst value acts as a behavioral filter:
- H > Trend Start threshold suggests trend persistence and directional continuation.
- H < Mean Reversion threshold suggests anti-persistence and a higher likelihood of reverting toward a central value.
Values between thresholds are treated as Neutral, allowing the channel to remain adaptive without forcing a hard bias.
This regime framework is designed to make the channel selection context-aware rather than purely reactive to recent volatility.
🔸 Dual Channel Engine (Fast vs Slow Models)
Instead of relying on one fixed channel, HOAC computes two independent channel candidates:
Fast model: shorter WMA basis and standard deviation window, intended to respond quickly and fit more reactive environments.
Slow model: longer WMA basis and standard deviation window, intended to reduce noise and better represent sustained directional flow.
Each model produces:
- A midline (basis)
- Outer bands (wider deviation)
- Inner bands (tighter deviation)
This structure gives you a clear core zone and an outer envelope that better represents volatility expansion.
🔸 Rolling Optimization Memory (Model Selection by Error)
HOAC includes an internal optimization layer that continuously measures how well each model fits current price action. On every bar, each model’s absolute deviation from the basis is recorded into a rolling memory window. The script then compares total accumulated error between fast and slow models and prefers the one with lower recent error.
This approach does not attempt curve fitting on multiple parameters. It focuses on a simple, interpretable metric: “Which model has tracked price more accurately over the last X bars?”
Additionally:
If the regime is Mean Reversion, the script explicitly prioritizes the fast model, ensuring responsiveness when reversals matter most.
🔸 Optional Output Smoothing (User-Selectable)
The final selected channel can be smoothed using your choice of:
- SMA
- EMA
- HMA
- RMA
This affects the plotted midline and all band outputs, allowing you to tune visual stability and responsiveness without changing the underlying decision engine.
🔸 Premium Visualization Layer (Inner Core + Outer Fade)
HOAC uses a layered band design:
- Inner bands define the core equilibrium zone around the midline.
- Outer bands define an extended volatility envelope for extremes.
Gradient fills and line styling help separate the core from the extremes while staying visually clean. The midline includes a subtle glow effect for clarity.
🔸 Adaptive Bar Tinting Strength (Regime Intensity)
Bar coloring dynamically adjusts transparency based on how far the Hurst value is from 0.5. When market behavior is more decisively trending or mean-reverting, the tint becomes more pronounced. When behavior is closer to random, the tint becomes more subtle.
🔸 Mean-Reversion Signal Layer
Mean-reversion signals are enabled when the environment is not classified as Trending:
- Buy when price crosses back above the lower outer band
- Sell when price crosses back below the upper outer band
This is intentionally a “return to channel” logic rather than a breakout logic, aligning signals with mean-reversion behavior and avoiding signals in strongly trending regimes by default.
🔸 Minimalist Dashboard (HUD)
A compact table displays:
- Current regime classification
- Smoothed Hurst value
- Which model is currently preferred (Fast or Slow)
- Trend flow direction (based on midline slope)
🔹 Calculations
1) Robust Hurst Exponent (R/S Analysis)
The script estimates Hurst using a Rescaled Range approach on log returns. It builds a returns array, computes mean, cumulative deviation range (R), standard deviation (S), then converts RS into a Hurst exponent.
calc_robust_hurst(int length) =>
float r = math.log(close / close )
float returns = array.new_float(length)
for i = 0 to length - 1
array.set(returns, i, r )
float mean = array.avg(returns)
float cumDev = 0.0
float maxCD = -1.0e10
float minCD = 1.0e10
float sumSqDiff = 0.0
for i = 0 to length - 1
float val = array.get(returns, i)
sumSqDiff += math.pow(val - mean, 2)
cumDev += (val - mean)
if cumDev > maxCD
maxCD := cumDev
if cumDev < minCD
minCD := cumDev
float R = maxCD - minCD
float S = math.sqrt(sumSqDiff / length)
float RS = (S == 0) ? 0.0 : (R / S)
float hurst = (RS > 0) ? (math.log10(RS) / math.log10(length)) : 0.5
hurst
This design avoids simplistic proxies and attempts to reflect persistence (trend tendency) vs anti-persistence (mean reversion tendency) from the underlying return structure.
2) Hurst Smoothing
Raw Hurst values can be noisy, so the script applies EMA smoothing before regime decisions.
float rawHurst = calc_robust_hurst(i_hurstLen)
float hVal = ta.ema(rawHurst, i_smoothHurst)
This stabilized hVal is the value used across regime classification, dynamic visuals, and the HUD display.
3) Regime Classification
The smoothed Hurst reading is compared to user thresholds to label the environment.
string regime = "NEUTRAL"
if hVal > i_trendZone
regime := "TRENDING"
else if hVal < i_chopZone
regime := "MEAN REV"
Higher Hurst implies more persistence, so the indicator treats it as a trend environment.
Lower Hurst implies more mean-reverting behavior, so the indicator enables MR logic and emphasizes faster adaptation.
4) Dual Channel Models (Fast and Slow)
HOAC computes two candidate channel structures in parallel. Each model is a WMA basis with volatility envelopes derived from standard deviation. Inner and outer bands are created using different multipliers.
Fast model (more reactive):
float fastBasis = ta.wma(close, 20)
float fastDev = ta.stdev(close, 20)
ChannelObj fastM = ChannelObj.new(fastBasis, fastBasis + fastDev * 2.0, fastBasis - fastDev * 2.0, fastBasis + fastDev * 1.0, fastBasis - fastDev * 1.0, math.abs(close - fastBasis))
Slow model (more stable):
float slowBasis = ta.wma(close, 50)
float slowDev = ta.stdev(close, 50)
ChannelObj slowM = ChannelObj.new(slowBasis, slowBasis + slowDev * 2.5, slowBasis - slowDev * 2.5, slowBasis + slowDev * 1.25, slowBasis - slowDev * 1.25, math.abs(close - slowBasis))
Both models store their structure in a ChannelObj type, including the instantaneous tracking error (abs(close - basis)).
5) Rolling Error Memory and Model Preference
To decide which model fits current conditions better, the script stores recent errors into rolling arrays and compares cumulative error totals.
var float errFast = array.new_float()
var float errSlow = array.new_float()
update_error(float errArr, float error, int maxLen) =>
errArr.unshift(error)
if errArr.size() > maxLen
errArr.pop()
Each bar updates both error histories and computes which model has lower recent accumulated error.
update_error(errFast, fastM.error, i_optLookback)
update_error(errSlow, slowM.error, i_optLookback)
bool preferFast = errFast.sum() < errSlow.sum()
This is an interpretable optimization approach: it does not attempt to brute-force parameters, it simply prefers the model that has tracked price more closely over the last i_optLookback bars.
6) Winner Selection Logic (Regime-Aware Hybrid)
The final model selection uses both regime and rolling error performance.
ChannelObj winner = regime == "MEAN REV" ? fastM : (preferFast ? fastM : slowM)
rawMid := winner.mid
rawUp := winner.upper
rawDn := winner.lower
rawUpInner := winner.upper_inner
rawDnInner := winner.lower_inner
In Mean Reversion, the script forces the fast model to ensure responsiveness.
Otherwise, it selects the lowest-error model between fast and slow.
7) Optional Output Smoothing
After the winner is selected, the script optionally smooths the final channel outputs using the chosen moving average type.
smooth(float src, string type, int len) =>
switch type
"SMA" => ta.sma(src, len)
"EMA" => ta.ema(src, len)
"HMA" => ta.hma(src, len)
"RMA" => ta.rma(src, len)
=> src
float finalMid = i_enableSmooth ? smooth(rawMid, i_smoothType, i_smoothLen) : rawMid
float finalUp = i_enableSmooth ? smooth(rawUp, i_smoothType, i_smoothLen) : rawUp
float finalDn = i_enableSmooth ? smooth(rawDn, i_smoothType, i_smoothLen) : rawDn
float finalUpInner = i_enableSmooth ? smooth(rawUpInner, i_smoothType, i_smoothLen) : rawUpInner
float finalDnInner = i_enableSmooth ? smooth(rawDnInner, i_smoothType, i_smoothLen) : rawDnInner
This preserves decision integrity since smoothing happens after model selection, not before.
8) Dynamic Visual Intensity From Hurst
Transparency is derived from the distance of hVal to 0.5, so stronger behavioral regimes appear with clearer tints.
int dynTrans = int(math.max(20, math.min(80, 100 - (math.abs(hVal - 0.5) * 200))))
Linear Regression ChannelsThis indicator dynamically identifies and plots the best-fit linear regression channels based on recent pivot points, optimizing for statistical strength across user-defined depths.
How It Works (Technical Methodology)
1. Pivot Point Detection
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() functions with a configurable sensitivity length to detect swing highs and lows. All recent pivot indices are stored in an array (limited to avoid performance issues), providing potential starting points for regression calculations.
2. Multi-Depth Evaluation
Users input comma-separated "Pivot History Depths" (e.g., "5,20,50"). For each depth:
- The script evaluates regression fits starting from the most recent pivots, up to the specified depth count.
- It calculates linear regression statistics for each possible channel originating from those pivot bars backward to the current bar.
3. Linear Regression Calculation
For each candidate channel:
- Slope (m) and intercept (b) are computed using least-squares method.
- R-squared (R²) measures goodness of fit (how well price follows the trend line).
- Standard error of the estimate is calculated to quantify volatility around the regression line.
- A composite score = R² × log(length) prioritizes stronger fits on longer periods.
4. Best-Fit Selection and Validation
- Only channels with R² ≥ user-defined minimum (default 0.5) are considered valid.
- The channel with the highest score for each depth is selected and drawn.
- This ensures the most statistically significant and relevant channels are displayed, avoiding weak or short-term noise.
5. Channel Construction
- Mean Line: The regression trend line extended slightly into the future.
- Inner Channels: ± user-configurable standard deviation multiplier (default 2.0σ) around the mean.
- Outer Bands: ±1.5× the inner deviation for additional visual context.
- Filled areas between mean and inner channels for better visibility.
- Color: Green shades for upward slopes (bullish trend), red shades for downward slopes (bearish trend).
6. Dashboard and Statistics
- Optional table in the top-right corner displays for each depth:
- Depth value
- R² (colored green if >0.7, orange otherwise)
- Slope (Beta) – positive blue for uptrend, red for downtrend
- Current Z-Score: How many standard deviations the latest close is from the expected regression value (yellow if |Z| > 2)
How to Use
Regression channels help identify trending markets, potential mean reversion, and overextension.
- Upward Channels (Green): Price above the mean may indicate strength; pullbacks to the mean or lower band offer long opportunities. Overextension above upper band could signal exhaustion.
- Downward Channels (Red): Price below the mean may indicate weakness; rallies to the mean or upper band offer short opportunities. Overextension below lower band could signal capitulation.
- High R² (>0.7): Strong trending channel – trade in direction of slope.
- Low R²: Choppy/range-bound market – avoid trend-following trades.
- Z-Score: |Z| > 2 suggests price is statistically overextended from the trend (potential reversion setup).
- Multi-Depth: Smaller depths catch short-term trends; larger depths capture major trends. Use multiple for confluence across timeframes.
Combine with volume, support/resistance, or other indicators for confirmation.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
Info Box with VPINfo box with turnover
it has all the % of SL
it also has VOlume and turnover with it
It is lighter version of prov
Multi-Fractal Trading Plan [Gemini] v22Multi-Fractal Trading Plan
The Multi-Fractal Trading Plan is a quantitative market structure engine designed to filter noise and generate actionable daily strategies. Unlike standard auto-trendline indicators that clutter charts with irrelevant data, this system utilizes Fractal Geometry to categorize market liquidity into three institutional layers: Minor (Intraday), Medium (Swing), and Major (Institutional).
This tool functions as a Strategic Advisor, not just a drawing tool. It calculates the delta between price and structural pivots in real-time, alerting you when price enters high-probability "Hot Zones" and generating a live trading plan on your dashboard.
Core Features
1. Three-Tier Fractal Engine The algorithm tracks 15 distinct fractal lengths simultaneously, aggregating them into a clean hierarchy:
Minor Structure (Thin Lines): Captures high-frequency volatility for scalping.
Medium Structure (Medium Lines): Identifies significant swing points and intermediate targets.
Major Structure (Thick Lines): Maps the "Institutional" defense lines where trend reversals and major breakouts occur.
2. The Strategic Dashboard A dynamic data panel in the bottom-right eliminates analysis paralysis:
Floor & Ceiling Targets: Displays the precise price levels of the nearest Support and Resistance.
AI Logic Output: The script analyzes market conditions to generate a specific command, such as "WATCH FOR BREAKOUT", "Near Lows (Look Long?)", or "WAIT (No Setup)".
3. "Hot Zone" Detection Never miss a critical test of structure.
Dynamic Alerting: When price trades within 1% (adjustable) of a Major Trend Line, the indicator’s labels turn Bright Yellow and flash a warning (e.g., "⚠️ WATCH: MAJOR RES").
Focus: This visual cue highlights the exact moment execution is required, reducing screen fatigue.
4. The Quant Web & Markers
Pivot Validation: Deep blue fractal markers (▲/▼) identify the exact candles responsible for the structure.
Inter-Timeframe Web: Faint dotted lines connect Minor pivots directly to Major pivots, visualizing the "hidden" elasticity between short-term noise and long-term trend anchors.
5. Enterprise Stability Engine Engineered to solve the "Vertical Line" and "1970 Epoch" glitches common in Pine Script trend indicators. This engine is optimized for Futures (NQ/ES), Forex, and Crypto, ensuring stability across all timeframes (including gaps on ETH/RTH charts).
Operational Guide
Consult the Dashboard: Before executing, check the "Strategy" output. If it says "WAIT", the market is in chop. If it says "WATCH FOR BOUNCE", prepare your entry criteria.
Monitor Hot Zones: A Yellow Label indicates price is testing a major liquidity level. This is your signal to watch for a rejection wick or a high-volume breakout.
Utilize the Web: Use the faint web lines to find "confluence" where a short-term pullback aligns with a long-term trend line.
Configuration
Show History: Toggles "Ghost Lines" (Blue) to display historical structure and broken trends.
Fractal Points: Toggles the geometric pivot markers.
Hot Zone %: Adjusts the sensitivity of the Yellow Warning system (Default: 1%).
Max Line Length: A noise filter that removes stale or "spiderweb" lines that are no longer statistically relevant.
cd_VW_Cx IMPROVED - Quant VWAP System: Regime, Magnets & Z-ScoQuant VWAP System: Regime, Magnets & Z-Score Matrix
This indicator is a comprehensive Quantitative Trading System designed to move beyond simple support and resistance. Instead of static lines, it uses Statistical Probability (Z-Score) and Standard Deviation to define the current market regime, identify institutional value zones, and project high-probability liquidity targets.
It is engineered for Day Traders and Scalpers (Crypto & Futures) who need to know if the market is Trending, Ranging, or preparing for a Breakout.
1. The "Regime" System (Standard Deviation Bands)
The core engine anchors a VWAP (Volume Weighted Average Price) to your chosen timeframe (Daily, Weekly, or Monthly) and projects volatility bands based on market variance.
The Trend Zone (Inner Band / 1.0 SD): This is the "Fair Value" zone. In a healthy trend, price will pull back into this zone and hold. A hold here signals a high-probability continuation (Trend Following).
The Reversion Zone (Outer Band / 2.0 SD): This represents a statistical extreme. Price rarely sustains movement beyond 2 Standard Deviations without a reversion. A touch of this band signals "Overbought" or "Oversold" conditions.
2. Liquidity Magnets (Virgin VWAPs)
The script automatically tracks "Unvisited VWAPs" from previous sessions. These are price levels where significant volume occurred but have not yet been re-tested.
The Logic: Algorithms often target these "open loops." The script visualizes them as Blue Dashed Lines with price tags.
Smart Scaling (Anti-Scrunch): Includes a custom "Ghost Engine" that automatically hides or "ghosts" magnets that are too far away. This prevents your chart from being squashed (scrunched) on lower timeframes, keeping your candles perfectly readable while still tracking targets in the background.
3. The Quant Matrix (Dashboard)
A real-time Heads-Up Display (HUD) that interprets the data for you:
Regime: Detects Volatility Squeezes. If the bands compress, it signals "⚠ SQUEEZE", warning you to stop mean-reversion trading and prepare for an explosive breakout.
Bias: Color-coded Trend Direction (Bullish/Bearish) based on VWAP slope.
Signal: actionable text prompts such as "BUY DIP" (Trend Following), "FADE EXT" (Mean Reversion), or "PREP BREAK" (Squeeze).
4. Visual Intelligence
Bold Day Separators: Clear, vertical dotted dividers with Date Stamps to instantly separate trading sessions.
Dynamic Labels: Floating labels on the right axis identify exactly which deviation level is which, preventing chart confusion.
How to Use
Strategy A: The Trend Pullback (continuation)
Check Matrix: Ensure Bias is BULLISH (Green).
Wait: Allow price to pull back into the Inner Band (Dark Green Zone).
Trigger: If price holds the Center VWAP or the -1.0 SD line, enter Long.
Target: The next Liquidity Magnet above or the +2.0 SD band.
Strategy B: The Reversion Fade (Counter-Trend)
Check Matrix: Ensure price is labeled "EXTREME" or Signal says "FADE EXT".
Trigger: Price touches or pierces the Outer Band (2.0 SD).
Action: Enter counter-trend (Short) with a target back to the Center VWAP (Mean Reversion).
Strategy C: The Magnet Target
Identify a "MAGNET" line (Blue Dashed) near current price.
These act as high-probability Take Profit levels. Price will often rush to these levels to "close the loop" before reversing.
Settings
Anchor: Daily (default), Weekly, or Monthly.
Magnet Focus Range: Adjusts how aggressively the script hides distant magnets to fix chart scaling (Default: 2%).
Visuals: Fully customizable colors, label sizes, and dashboard position.
9 HMA Direction Scalper (Pure Flip)new easier 9hma directional pure flip, it will help you with scalping short trends
Price Prediction Forecast ModelPrice Prediction Forecast Model
This indicator projects future price ranges based on recent market volatility.
It does not predict exact prices — instead, it shows where price is statistically likely to move over the next X bars.
How It Works
Price moves up and down by different amounts each bar. This indicator measures how large those moves have been recently (volatility) using the standard deviation of log returns.
That volatility is then:
Projected forward in time
Scaled as time increases (uncertainty grows)
Converted into future price ranges
The further into the future you project, the wider the expected range becomes.
Volatility Bands (Standard Deviation–Based)
The indicator plots up to three projected volatility bands using standard deviation multipliers:
SD1 (1.0×) → Typical expected price movement
SD2 (1.25×) → Elevated volatility range
SD3 (1.5×) → High-volatility / stress range
These bands are based on standard deviation of volatility, not fixed probability guarantees.
Optional Drift
An optional drift term can be enabled to introduce a long-term directional bias (up or down).
This is useful for markets with persistent trends.
SpectreSPECTRE - Precision Reversal Detection System
OVERVIEW
Spectre is a channel breakout indicator designed to identify high-probability reversal points by combining Donchian channel breaches with momentum confirmation. It generates BUY signals at oversold extremes and SELL signals at overbought extremes, filtered by trend strength to avoid low-conviction setups.
This indicator replaces the Regime Engine, which will continue to evolve independently as an experimental platform for testing new strategies and enhancements. Spectre was selected as the production replacement based on extensive backtesting across multiple assets and timeframes, which demonstrated superior win rates compared to alternative sell logic approaches (RSI-based exits outperformed CMO-based exits in 13 of 18 test configurations).
SIGNAL LOGIC
BUY CONDITIONS (all must be true):
Price touches or breaks below Donchian lower band
RSI is at or below oversold threshold (default: 35)
ADX confirms sufficient trend strength (default: ≥22)
BBWP confirms adequate volatility (default: ≥20%)
Cooldown period has elapsed since last buy
Cascade limit not reached
SELL CONDITIONS (all must be true):
Price touches or breaks above Donchian upper band
RSI is at or above overbought threshold (default: 70)
ADX confirms sufficient trend strength (default: ≥22)
BBWP confirms adequate volatility (default: ≥20%)
Cooldown period has elapsed since last sell
Cascade limit not reached
Price is not underwater (if protection enabled)
KEY FEATURES
NON-REPAINTING DONCHIAN CHANNELS
Uses previous bar's high/low extremes to prevent signal repainting. What you see in history is what you would have seen in real-time.
MULTI-FACTOR CONFIRMATION
Signals require agreement between price action (Donchian), momentum (RSI), and trend strength (ADX) to filter out low-quality setups.
VOLATILITY FILTER (BBWP)
Bollinger Band Width Percentile measures current volatility relative to historical norms. Low BBWP indicates compressed ranges where breakouts are less reliable - signals are blocked until volatility returns.
CASCADE PROTECTION
Limits consecutive signals in the same direction to prevent overexposure during extended trends. Resets when a signal fires in the opposite direction.
UNDERWATER PROTECTION (Unique to Spectre)
Tracks average entry price of recent buys and blocks sell signals when price has fallen significantly below this level. This prevents locking in large losses during drawdowns and allows positions to recover before exiting.
REGIME DETECTION
Visual background shading indicates current market regime based on Directional Indicator spread and On-Balance Volume trend. Green indicates bullish regime (+DI > -DI, OBV rising). Red indicates bearish regime (-DI > +DI, OBV falling). White/Gray indicates neutral or ranging conditions.
RECOMMENDED SETTINGS BY TIMEFRAME
For 5-minute charts, use RSI Buy 30-35, RSI Sell 70-75, ADX 20-24.
For 15-minute charts, use RSI Buy 30-35, RSI Sell 68-72, ADX 22-26.
For 30-minute charts (default), use RSI Buy 32-38, RSI Sell 68-72, ADX 22-26.
For 1-hour charts, use RSI Buy 35-40, RSI Sell 65-70, ADX 20-24.
For 4-hour charts, use RSI Buy 35-40, RSI Sell 65-70, ADX 18-22.
These are starting points - optimize for your specific assets.
INFO PANEL GUIDE
Regime shows current market bias (Bullish/Bearish/Neutral). RSI shows current value with buy/sell threshold status. ADX shows trend strength categorized as Weak (<15), Range (15-24), Trend (24-34), or Strong (>34). BBWP shows volatility percentile with a warning symbol when below minimum. Donchian shows price position relative to channel bands. Avg Buy shows average entry price and underwater status. Cascade shows current consecutive signal counts versus limits.
USAGE TIPS
Works best in ranging or mean-reverting markets
Reduce RSI thresholds in strong trends (tighter = fewer signals)
Increase ADX minimum in choppy markets to filter noise
Enable underwater protection for swing trading, disable for scalping
Use regime background to contextualize signals (buy in green, sell in red)
Combine with support/resistance levels for additional confirmation
SR Channel + EMA + RSI MTF + VolHighlight - Edited by MochiSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
SR Channel + EMA + RSI MTF + VolHighlightSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
4MA / 4MA[1] Forward Projection with 4 SD Forecast Bands4MA / 4MA Projection + 4 SD Bands + Cross Table is a forward-projection tool built around a simple moving average pair: the 4-period SMA (MA4) and its 1-bar lagged value (MA4 ). It takes a prior MA behavior pattern, projects that structure forward, and wraps the projected mean path with four Standard Deviation (SD) bands to visualize probable future price ranges.
This indicator is designed to help you anticipate:
Where the MA structure is likely to travel next
How wide the “expected” future price corridor may be
Where a future MA4 vs MA4 crossover is most likely to occur
When the real (live) crossover actually prints on the chart
What you see on the chart
1) Live moving averages (current market)
MA4 tracks the short-term mean of price.
MA4 is simply the previous bar’s MA4 value (a 1-bar lag).
Their relationship (MA4 above/below MA4 ) gives a clean, minimal read on trend alignment and directional bias.
2) Projected MA path (forward curve)
A forward “ghost” of the MA structure is drawn ahead of price. This projected curve represents the indicator’s best estimate of how the moving average structure may evolve if the market continues to rhyme with the selected historical behavior window.
3) 4 Standard Deviation bands (predictive future price ranges)
Surrounding the projected mean path are four SD envelopes. Think of these as forecast corridors:
Inner bands = tighter “expected” range
Outer bands = wider “stress / extreme” range
These bands are not a guarantee—rather, they’re a structured way to visualize “how far price can reasonably swing” around the projected mean based on observed volatility.
4) Vertical projection lines (most probable cross zone)
Within the projected region you’ll see vertical lines running through the bands. These lines mark the most probable zone where MA4 and MA4 are expected to cross in the projection.
In plain terms:
The projected MAs are two curves.
When those curves are forecasted to intersect, the script marks the intersection region with a vertical line.
This gives you a forward “timing window” for a potential MA shift.
5) Cross Table (top-right)
The table is your confirmation layer. It reports:
Current MA4 value
Current MA4 value
Whether MA4 is above or below MA4
The most recent BUY / SELL cross event
When a real, live crossover happens on the actual chart:
It registers as BUY (MA4 crosses above MA4 )
Or SELL (MA4 crosses below MA4 )
…and the table updates immediately so you can confirm the event without guessing.
How to use it
Practical workflow
Use the projected SD bands as future range context
If price is projected to sit comfortably inside inner bands, the market is behaving “normally.”
If price reaches outer bands, you’re in a higher-volatility / stretched scenario.
Use vertical lines as a “watch zone”
Vertical lines do not force a trade.
They act like a forward “heads-up”: this is the most likely window for an MA crossover to occur if the projection holds.
Use the table for confirmation
When the crossover happens for real, the table is your confirmation signal.
Combine it with structure (support/resistance, trendlines, market context) rather than trading it in isolation.
Notes and best practices
This is a projection tool: it helps visualize a structured forward hypothesis, not a certainty.
SD bands are best used as forecast corridors (risk framing, range planning, and expectation management).
The table is the execution/confirmation layer: it tells you what the MAs are doing now.
BTC Valuation ZonesBTC Valuation – Distance From 200 MA
This indicator provides a simple but powerful Bitcoin valuation framework based on how far price is from the 200-period Moving Average, a level that has historically acted as Bitcoin’s long-term equilibrium.
Instead of predicting tops or bottoms, this tool focuses on mean-reversion behavior:
When price deviates too far above the 200 MA → risk increases
When price deviates deeply below the 200 MA → long-term opportunity increases
Multitime ATR with ATR Heat Line# Multi-Timeframe ATR Supertrend with ATH Finder
## Overview
This advanced Pine Script indicator combines multi-timeframe ATR-based Supertrend analysis with an All-Time High (ATH) tracking system. Designed for swing traders who need comprehensive trend analysis across multiple timeframes while monitoring key price levels.
## Key Features
### 1. Multi-Timeframe ATR Supertrend (1H, 4H, 1D)
- **1 Hour Supertrend** (Blue): Short-term trend identification
- **4 Hour Supertrend** (Purple): Medium-term trend confirmation
- **1 Day Supertrend** (Green/Red): Primary trend direction
- Each timeframe displays independent trend lines with customizable colors and visibility
### 2. Dual ATR Data System (1D Only)
- **Previous Day ATR** (lookahead_off): Used for main ATR lines - enables pre-market study and avoids intraday crossover issues
- **Current Day ATR** (lookahead_on): Used for Overheating Line calculation - provides real-time profit-taking signals
### 3. Overheating Line
- Dynamically calculated as: `1D ATR + (ATR Width × 1.3)`
- Orange line indicating potential overextension zones
- Uses current day real-time ATR for intraday decision-making
- Only displays during uptrends
- Customizable multiplier (default: 1.3)
### 4. ATH (All-Time High) Finder
- Automatically tracks and displays the all-time high with a horizontal line
- **Line Color**: Lime green (customizable)
- **Label System**:
- Green label when price is at ATH
- Red label when ATH is historical
- Toggle label visibility independently
- **Bug Fix**: Prevents vertical line display when ATH occurs on current bar
- Line extends to the right for easy visualization
### 5. Warning & Break Signals
Each timeframe provides two types of alerts:
- **Warning Signal** (⚠️): Price closes below uptrend line (potential reversal warning)
- **Break Signal** (⚡): Price closes above downtrend line (potential breakout)
- Smart timing intervals prevent signal spam:
- 1H: Checks every 4 hours (warning) / 1 hour (break)
- 4H/1D: Max 2 signals per day
### 6. Trend Change Indicators
- Small circles mark the exact bar where trend changes occur
- Color-coded for each timeframe
- Helps identify reversal points and trend strength
### 7. Master Control Switches
Efficiently manage all visual elements:
- **Master Highlighter**: Toggle all background fills on/off
- **Master Signals**: Toggle all warning/break signals
- **Master Up Trend**: Toggle all uptrend lines and circles
- **Master Down Trend**: Toggle all downtrend lines and circles
### 8. Fast Cut Lines (Optional)
- Additional support/resistance lines offset by a percentage from main ATR lines
- Useful for tighter stop-loss management
- Separate controls for up and down trends
- Default: OFF (customizable offset percentage)
### 9. Timeframe Visibility Control
- **Hide on Daily+**: Automatically hides indicators (except 1D ATR) on daily timeframes and above
- Reduces chart clutter on higher timeframes
- 1D ATR always visible regardless of chart timeframe
### 10. EMA Integration (Optional)
- Display 20/50/200 EMAs for confluence with ATR trends
- Toggle on/off independently
## Use Cases
### For Swing Traders
1. **Entry Timing**: Wait for multiple timeframe alignment (1H, 4H, 1D all in uptrend)
2. **Trend Confirmation**: Use trend change circles to identify momentum shifts
3. **Profit Taking**: Monitor Overheating Line for potential exit zones
### For Position Management
1. **Stop Loss Placement**: Use 1D ATR line or Fast Cut lines as dynamic stop levels
2. **Risk Assessment**: Distance between timeframe ATR lines indicates volatility
3. **Breakout Trading**: Break signals (⚡) identify potential breakout opportunities
### For Pre-Market Analysis
- 1D ATR uses previous day data, allowing traders to:
- Study support/resistance levels before market open
- Plan entry/exit strategies based on confirmed data
- Avoid false signals from incomplete daily candles
## Settings Guide
### ATH Finder Settings
- **Show ATH Line**: Toggle ATH line visibility
- **Show ATH Label**: Toggle ATH label display (can hide label while keeping line)
- **ATH Line Color**: Customize line color (default: lime)
- **ATH Line Width**: Adjust line thickness (1-5)
### Timeframe Settings (Each timeframe has independent controls)
- **ATR Period**: Lookback period for ATR calculation (default: 10)
- **ATR Multiplier**: Distance multiplier from price (default: 1.0)
- **Show Label**: Display " " / " " / " " text labels
- **Show Warning/Break Signals**: Toggle alert symbols
- **Highlighter**: Toggle background fill between price and ATR line
### Overheating Line Settings
- **Show Overheating Line**: Toggle visibility
- **Overheating Multiplier**: Adjust distance above 1D ATR (default: 1.3)
### Cut Lines Settings
- **Show Fast Cut Line (Up/Down)**: Toggle visibility
- **Fast Cut Offset %**: Percentage distance from ATR lines (default: 1.0%)
## Color Scheme
- **Current TF**: Green (up) / Red (down)
- **1H ATR**: Blue (#1848cc) / Dark Blue (#210ba2)
- **4H ATR**: Purple (#7b1fa2) / Dark Purple (#4e0f60)
- **1D ATR**: Green (#4caf50) / Dark Red (#8c101a)
- **Overheating Line**: Orange (#ff9800)
- **ATH Line**: Lime (customizable)
## Technical Notes
### ATR Calculation
- Uses True Range for volatility measurement
- Option to switch between SMA and EMA calculation methods
- Adapts to both volatile and stable market conditions
### Performance Optimization
- Maximum 500 lines and 500 labels to prevent memory issues
- Bar index limitations prevent historical data errors
- Efficient repainting prevention for 1D timeframe
### Alert System
Built-in alert conditions for:
- Buy/Sell signals (Current TF)
- Warning signals (all timeframes)
- Break signals (all timeframes)
## Best Practices
1. **Multiple Timeframe Confirmation**: Don't trade against higher timeframe trends
2. **Overheating Awareness**: Consider profit-taking when price reaches orange line
3. **ATH Monitoring**: Exercise caution near all-time highs (increased volatility risk)
4. **Signal Filtering**: Use warning signals as alerts, not immediate action triggers
5. **Stop Loss Management**: Place stops below the most relevant ATR line for your timeframe
## Version Information
- Pine Script Version: 5
- Indicator Type: Overlay
- Max Lines: 500
- Max Labels: 500
## Credits
Created by @yohei ogura with <3
Modified for Multi-Timeframe functionality with ATH tracking
Anurag -Precision Options Scalper [Multi-TF] -A professional-grade options day trading system built for SPY, QQQ, and SPX.
CORE FEATURES:
- Multi-timeframe analysis (15m regime → 5m setup → 1m execution)
- Market regime detection using ADX + ATR Z-Score (filters out chop)
- Confidence scoring system (0-100) — only takes high-probability setups
- Auto DTE engine recommends 0DTE vs 1DTE based on conditions
- Suggested strike prices (slightly OTM)
- Built-in position tracking with stop/target levels
- Session filtering (9:30 AM - 4:00 PM ET only)
- End-of-day forced exit warning
SIGNAL LOGIC:
CALL: 15m bullish bias + trending regime + price above VWAP/EMAs + pullback to support + bullish candle + 1m momentum confirmation
PUT: 15m bearish bias + trending regime + price below VWAP/EMAs + rejection from resistance + bearish candle + 1m momentum confirmation
RISK MANAGEMENT:
- ATR-based stops and targets
- Break-even stop movement after partial profit
- Time-based exit if momentum dies
- Max 4 trades per day (configurable)
- Gamma scalp mode for 0DTE (tighter stops/targets)
BEST ON: 5-minute chart | SPY, QQQ, SPX
STYLE: Pullback entries in trending markets
⚠️ For educational purposes. Not financial advice. Manage your own risk.
Bens Platypus Dual VWAP_Rolling 7D vs Weekly AnchoredBen’s Platypus Dual VWAP: Rolling 7D vs Weekly Anchored (optional σ bands)
Weekly-anchored VWAP resets on Monday (exchange time). That makes sense for assets tied to a traditional weekly “market open,” but BTC trades 24/7 and often doesn’t respect Monday as a real regime boundary—so the Monday reset can create a mechanical jump that looks like signal but is just arithmetic. If you drive entries/exits off that reset, some algos will get spooked into early entries, fake “stretch” readings, or sudden mean shifts that aren’t actually market behaviour.
This indicator fixes that by plotting:
• Rolling 7D VWAP (thick aqua): a continuous trailing VWAP that does not reset on Mondays, giving you a stable mean for reversion logic.
• Weekly Anchored VWAP (thin purple): kept for context, so you can see the reset effect rather than accidentally trade it.
Result: you can visually compare the two means and quantify when “weekly structure” is useful versus when it’s just a calendar artifact on a 24/7 market.
SR Channel + EMA + RSI MTF + VolHighlight - Edited by MochiSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
NeuralFlow Forecast Levels - User InputsThis is a companion indicator that plots AI-adaptive market equilibrium and expansion mapping levels directly on the SPY chart.
NeuralFlow Forecast Levels are generated through a Artificial Intelligence framework trained to identify:
Where price is statistically inclined to re-balance
Where expansion zones historically exhaust rather than extend
This is structure mapping, not prediction.
......................................................................................
What the Bands Represent?
AI Equilibrium (white core)
Primary weekly balance zone where price is most likely to mean-revert.
Predictive Rails (aqua / purple)
High-confidence corridor of institutional flow containment.
Outer Zones (green / red)
Expansion limits where continuation historically begins to decay.
Extreme Zones (top / bottom)
Rare deviation envelope where auction completion is statistically favored.
.The engine updates only when underlying structure changes —
not when candles fluctuate intraday.
.................................................................................................................
Usage Context
These levels are contextual reference zones, not entry signals. They are designed to answer:
Where does price matter?
Where does continuation weaken?
Where does balance statistically reassert itself?
Risk Disclaimer
Educational and analytical use only. Not financial advice.
Performance with Okuninushi Line Area Determinations**Performance Indicator with Market Structure Analysis**
Building upon TradingView's official Performance indicator, I've added a custom column to assess current market structure using my Okuninushi Line methodology, which visualizes the AB structure concept.
**What is the AB Structure?**
The AB structure identifies equilibrium levels based on recent price action. The Okuninushi Line calculates the 50% midpoint between the highest high and lowest low over a specified lookback period. In this implementation, I use a 65-day period on the daily timeframe (representing one quarter: 13 weeks × 5 trading days), though this is fully customizable.
**Market Structure Classification:**
- **Above Okuninushi Line** → "upper to okuni" → Price is in the **Premium Area** (bullish structure)
- **Below Okuninushi Line** → "down to okuni" → Price is in the **Discount Area** (bearish structure)
This additional column provides an instant visual reference for whether each asset is currently trading above or below its equilibrium level, complementing the traditional performance metrics with structural context.
---
EMA & Stochastic SignalsEma 200 and ema 500 + stochastic crossover. Buys when price is above emas and sells when price is below emas.
Varun's 4 min StrategySends buy and sell signals on a 4 min chart analyzing MACD. BUY WHEN MACD IS TURNING UPWARD AND SELL WHEN MACD IS TRUNING SOUTH






















