Statistical Price Deviation Index (MAD/VWMA)SPDI is a statistical oscillator designed to detect potential price reversal zones by measuring how far price deviates from its typical behavior within a defined rolling window.
Instead of using momentum or moving averages like traditional indicators, SPDI applies robust statistics - a rolling median and Mean Absolute Deviation (MAD) - to calculate a normalized measure of price displacement. This normalization keeps the output bounded (from −1 to +1 by default), producing a stable and consistent oscillator that adapts to changing volatility conditions.
The second line in SPDI uses a Volume-Weighted Moving Average (VWMA) instead of a simple price median. This creates a complementary oscillator showing statistically weighted deviations based on traded volume. When both oscillators align in their extremes, strong confluence reversal signals are generated.
How It Works
For each bar, SPDI calculates the median price of the last N bars (default 100).
It then measures how far the current bar’s midpoint deviates from that rolling median.
The Mean Absolute Deviation (MAD) of those distances defines a “normal” range of fluctuation.
The deviation is normalized and compressed via a tanh mapping, keeping the oscillator in fixed boundaries (−1 to +1).
The same logic is applied to the VWMA line to gauge volume-weighted deviations.
How to Use
The blue line (Price MAD) represents pure price deviation.
The green line (VWMA Disp) shows the volume-weighted deviation.
Overbought (red) zones indicate statistically extreme upward deviation -> potential short-term overextension.
Oversold (green) zones indicate statistically extreme downward deviation -> potential rebound area.
Confluence signals (both lines hitting the same extreme) often mark strong reversal points.
Settings Tips
Lookback length controls how much historical data defines “normal” behavior. Larger = smoother, smaller = more sensitive.
Smoothing (RMA length) can reduce noise without changing the overall statistical logic.
Output scale can be set to either −1..+1 or 0..100, depending on your visual preference.
Alerts and color fills are fully customizable in the Style tab.
Summary:
SPDI transforms raw price and volume data into a statistically bounded deviation index. When both Price MAD and VWMA Disp reach joint extremes, it highlights probable market turning points - offering traders a clean, data-driven way to spot potential reversals ahead of time.
Волатильность
ORB [RAJ AI]Defines customizable opening range periods with flexible time settings
Supports both single and multiple ORB sessions throughout the trading day
Calculates dynamic high/low buffers with configurable points or percentage offsets
Risk Management:
Configurable take profit levels (up to 3 targets) for both long and short positions
Adjustable stop loss settings with points or percentage-based calculations
Advanced trade sequencing to prevent repeated signals
Distance-based entry restrictions from previous trades
JOPA Channel (Dual-Volumed) v1 [JopAlgo]JOPA Channel (Dual-Volumed) v1
Short title: JOPAV1 • License: MPL-2.0 • Provider: JopAlgo
We have developed our own, first channel-based trading indicator and we’re making it available to all traders. The goal was a channel that breathes with the tape—built on a volume-weighted backbone—so the outcome stays lively instead of static. That led to the JOPA Channel.
All important features (at a glance)
In one line: A Rolling-VWAP channel whose width adapts with two volumes (RVOL + dollar-flow), adds order-flow asymmetry (OBV tilt) and regime awareness (Efficiency Ratio), and frames risk with outer containment bands from residual extremes—so you see fair value, momentum, and exhaustion in one view.
Feature list
Rolling VWAP centerline: Tracks where volume traded (fair value).
Dual-volume width: Bands expand/contract with relative volume and value traded (price×volume).
OBV tilt: Upper/lower widths skew toward the side actually pushing.
Regime adapter (ER): Tighter in trend, wider in chop—automatically.
Outer containment rails: Residual-extreme ceilings/floors, smoothed + margin.
20% / 80% guides: 20% light blue (discount), 80% light red (premium).
Squeeze dots (optional): Orange circles below candles during compression.
Non-repainting: Uses rolling sums and past-only math; no lookahead.
Default visual in this release
Containment rails + fill: ON (stepline, medium).
Inner Value rails + fill: Rails OFF (stepline, thin), fill ON (drawn only if rails are shown).
20% & 80% guides: ON (dashed, thin; 20% light blue, 80% light red).
Squeeze dots: OFF by default (orange circles when enabled).
What you see on the chart
RVWAP (centerline): Your compass for fair value.
Inner Value Bands (optional): Tight rails for breakouts and pullback timing.
Outer Containment Bands (default ON): High-confidence ceilings/floors for targets and fades.
20% / 80% guides: Quick read of “where in the channel” price is sitting.
Squeeze dots (optional): Volatility compression heads-up (no text labels).
Non-repainting note: The indicator does not revise closed bars. Forecast-Lock uses linear regression to extrapolate 1–3 bars ahead without using future data.
How to use it
Core reads (works on any timeframe)
Bias: Above a rising RVWAP → long bias; below a falling RVWAP → short bias.
Breakouts (momentum): Close beyond an Inner Value rail with RVOL ≥ threshold (alert provided).
Reversions (fades): Tag Outer Containment, stall, then close back inside → expect mean reversion toward RVWAP.
20/80 timing:
At/above 80% (light red) → premium/exhaustion risk; trim longs or consider fades if RVOL cools.
At/below 20% (light blue) → discount/exhaustion risk; trim shorts or consider longs if RVOL cools.
Squeeze clusters: When dots bunch up, expect a range break; use the Breakout alert as confirmation.
Playbooks by trading style
Day Trading (1–5m)
Setup: Keep the chart clean (Containment ON, Value rails OFF). Toggle Inner Value ON when hunting a breakout or timing a pullback.
Pullback Long: Dip to RVWAP / Lower Value with sub-threshold RVOL, then a close back above RVWAP → long.
Stop: Just beyond Lower Containment or the pullback swing.
Targets (1:1:1): ⅓ at RVWAP, ⅓ at Upper Value, ⅓ trail toward Upper Containment.
Breakout Long: After a squeeze cluster, take the Breakout Long alert (close > Upper Value, RVOL ≥ min). If no retest, demand the next bar holds outside.
Range Fade: Only when RVWAP is flat and dots cluster; short Upper Containment → RVWAP (mirror for longs at the lower rail).
Intraday (15m–1H)
HTF compass: Take bias from 4H.
Pullback Long: “Touch & reclaim” of RVWAP while RVOL cools; enter on the reclaim close or break of that candle’s high.
Breakout: Run Inner Value ON; act on Breakout alerts (RVOL gate ≈ 1.10–1.15 typical).
Avoid low-probability fades against the 4H slope unless RVWAP is flat.
Swing (4H–1D)
Continuation: In uptrends, buy pullbacks to RVWAP / Lower Value with sub-threshold RVOL; scale at Upper Containment.
Adds: Post-squeeze Breakout Long adds; trail on RVWAP or Lower Value.
Fades: Prefer when RVWAP flattens and price oscillates between containments.
Position (1D+)
Framework: Daily RVWAP slope + position within containment.
Add rule: Each reclaim of RVWAP after a dip is an add; trim into Upper Containment or near 80% light red.
Sizing: Containment distance is larger—size down and trail on RVWAP.
Inputs & Settings (complete)
Core
Source: Price input for RVWAP.
Rolling VWAP Length: Window of the centerline (higher = smoother).
Volume Baseline (RVOL): SMA window for relative volume.
Inner Value Bands (volatility-based width)
k·StdDev(residuals), k·ATR, k·MAD(residuals): Blend three measures into base width.
StdDev / ATR / MAD Lengths: Lookbacks for each.
Two-Volume Fusion
RVOL Exponent: How aggressively width responds to relative volume.
Dollar-Flow Gain: Adds push from price×volume (value traded).
Dollar-Flow Z-Window: Standardization window for dollar-flow.
Asymmetry (Order-Flow Tilt)
Enable Tilt (OBV): Lets flow skew upper/lower widths.
Tilt Strength (0..1): Gain applied to OBV slope z-score.
OBV Slope Z-Window: Window to standardize OBV slope.
Regime Adapter
Efficiency Ratio Lookback: Measures trend vs chop.
ER Width Min/Max: Maps ER into a width factor (tighter in trend, wider in chop).
Band Tracking (inner value rails)
Tracking Mode:
Base: Pure base rails.
Parallel-Lock: Smooth RVWAP & width; track in parallel.
Slope-Lock: Adds a fraction of recent slope (momentum-friendly).
Forecast-Lock: 1–3 bar extrapolation via linreg (non-repainting on closed bars).
Attach Strength (0..1): Blend tracked rails vs base rails.
Tracking Smooth Length: EMA smoothing of RVWAP and width.
Slope Influence / Forecast Lead Bars: Gains for the chosen mode.
Outer Containment Bands
Show Containment Bands: Master toggle (default ON).
Residual Extremes Lookback: Highest/lowest residual window.
Extreme Smoothing (EMA): Stability on extreme lines.
Margin vs inner width: Extra padding relative to smoothed inner width.
Squeeze & Alerts
Squeeze Window / Threshold: Width vs average; at/under threshold = dot (when enabled).
Min RVOL for Breakout: Required RVOL for breakout alerts.
Style (defaults in this release)
Inner Value rails: OFF (stepline, thin).
Inner & Containment fills: ON.
Containment rails: ON (stepline, medium).
20% / 80% guides: ON — 20% light blue, 80% light red, dashed, thin.
Squeeze dots: OFF by default (orange circles below candles when enabled).
Practical templates (copy/paste into a plan)
Momentum Breakout
Context: Squeeze cluster near RVWAP; Inner Value ON.
Trigger: Breakout Long (close > Upper Value & RVOL ≥ min).
Stop: Below Lower Value (tight) or below RVWAP (safer).
Targets (1:1:1): ⅓ Value → ⅓ Containment → ⅓ trail on RVWAP.
Pullback Continuation
Context: Uptrend; dip to RVWAP / Lower Value with cooling RVOL.
Trigger: Close back above RVWAP or break of reclaim candle’s high.
Stop: Just outside Lower Containment or pullback swing.
Targets: RVWAP → Upper Value → Upper Containment.
Containment Reversion (range)
Context: RVWAP flat; repeated containment tags.
Trigger: Stall at containment, then close back inside.
Stop: A step beyond that containment.
Target: RVWAP; runner only if RVOL stays muted.
Alerts included
DVWAP Breakout Long / Short (Value Bands)
Top Zone / Bottom Zone (20% / 80% guides)
Tip: On lower TFs, act on Breakout alerts with higher-TF bias (e.g., trade 5–15m in the direction of 1H/4H RVWAP slope/position).
Best practices
Let RVWAP be the compass; if unsure, wait until price picks a side.
Respect RVOL; low-RVOL breaks are prone to fail.
Use guides for timing, not certainty. Pair 20/80 zones with flow context.
Start with defaults; change one knob at a time.
Common pitfalls
Fading every containment touch → only fade when RVWAP is flat or RVOL cools.
Over-tuning inputs → the defaults are robust; small tweaks go a long way.
Fighting the higher timeframe on low TFs → expensive habit.
Footer — License & Publishing
License: Mozilla Public License 2.0 (MPL-2.0). You may modify and redistribute; keep this file under MPL and provide source for this file.
Originality: © 2025 JopAlgo. No third-party code reused; Pine built-ins and common formulas only.
Publishing: Keep this header/description intact when releasing on TradingView. Avoid promotional links in the public script text.
RSI Reversal + BB RSIReversal Alerts
SELL Reversal (reversalSELL)
Triggers when:
RSI touches or crosses above the upper BB, and
The current candle is bearish (close < open).
→ Plots a small red circle above the candle
→ Fires alert named “reversalSELL”
BUY Reversal (reversalBUY)
Triggers when:
RSI touches or crosses below the lower BB, and
The current candle is bullish (close > open).
→ Plots a small green circle below the candle
→ Fires alert named “reversalBUY”
Squeeze Breakout Strategy [KedArc Quant]Description:
Squeeze Breakout strategy looks for volatility compression (Bollinger Bands inside Keltner Channels = a “squeeze”), then trades the volatility expansion in the direction of a momentum filter.
🧠 How the “Squeeze → Expansion” works
- Markets alternate between quiet (compressed) and active (expanded) phases.
- We call it a squeeze when Bollinger Bands (BB)—which reflect standard deviation around price—shrink inside the Keltner Channels (KC)—which reflect ATR/range.
- This means dispersion (stdev) is small relative to typical range (ATR). Price is coiling; participants are agreeing on value.
- When BB pops back outside KC, the squeeze releases. That’s the first sign that volatility is expanding again.
- A release alone doesn’t tell you direction. That’s why this strategy pairs the release with a momentum filter:
- We estimate momentum using a smoothed linear-regression slope of price (a clean proxy for acceleration).
- If the slope is positive at release, we favor longs; if negative, we favor shorts.
- Optionally, you can require Band Break + Momentum (price closes beyond the BB) for a stricter entry.
- This combination aims to capture the first leg of the range-to-trend transition while avoiding random pokes that often occur during tight consolidations.
💡 Why this is unique
Two entry modes (toggle):
1. Release + Momentum (enter when the squeeze turns off)
2. Band Break + Momentum (enter on a close beyond BB with momentum)
- Momentum = smoothed linear-regression slope, a clean thrust detector that’s less laggy than many oscillators.
- Risk module included: ATR stop, optional 1R partial take-profit, and a Chandelier trailing stop for the runner.
- Practical filters: higher-timeframe EMA trend alignment, volume surge, minimum BB width, and session window—so it adapts across markets/timeframes.
- Backtest-ready: uses TradingView’s `strategy.` framework with commission/slippage controls.
📈 How it helps traders
✅Regime clarity: distinguishes compression vs. expansion so you’re not forcing trades during dead zones.
✅Objective entries: momentum + band logic reduces discretionary “feel” and late chases.
✅Built-in risk plan: stop/targets/trailing defined in inputs—consistent execution across tickers.
✅Adaptable: works across instruments/timeframes; filters let you tailor noise tolerance per market session.
✅Alerts: real-time signals for entry and squeeze release.
✅Not a Mash-Up / Original Work
✅Fully authored in Pine Script v6; no external libraries or copied logic blocks.
✅Uses well-known, documented formulas (BB, KC, ATR, LinReg slope) combined into a new rule set (two entry modes + momentum + structured exits).
✅Code and parameters are transparent and adjustable; the script stands alone.
🧩 Formulas (core)
Bollinger Bands
# Basis = `SMA(close, bbLen)`
# Upper/Lower = `Basis ± bbMult × stdev(close, bbLen)`
# Width% = `(Upper − Lower) / Basis × 100`
Keltner Channels
# Basis = `EMA(close, kcLen)`
# Upper/Lower = `Basis ± kcMult × ATR(kcATR)`
Squeeze state
# ON: `BB_Upper < KC_Upper` and `BB_Lower > KC_Lower`
# Release: `squeeze_on ` and `not squeeze_on`
Momentum (this script)
# `lin = linreg(close, momLen, 0)`
# `mom = SMA( lin − lin , momSmoothing )`
# Long bias when `mom > 0`; short bias when `mom < 0`.
⚙️ Inputs
Compression
`bbLen`, `bbMult` — BB length & std-dev multiplier
`kcLen`, `kcATR`, `kcMult` — KC lengths & ATR multiplier
`Entry Mode` — Release + Momentum, Band Break + Momentum, or Either
Momentum
`momLen`, `momSmoothing`
Filters (optional)
`Use HTF Trend Filter` + `HTF Timeframe` + `HTF EMA Length`
`Require Volume Surge` (`volLen`, `volMult`)
`Avoid Ultra-Low Vol` (`Min BB Width %`)
`Session` window
Risk / Exits
`ATR Length`, `ATR Stop Multiplier`
`Take Profit at 1R` (with Partial 50%)
`Chandelier` (`chLen`, `chMult`)
Optional `Time Stop (bars)`
🎯 Entry & Exit Rules
Entry (choose one mode):
1. Release + Momentum (default)
Long: on the bar the squeeze releases and `mom > 0`, passing all enabled filters.
Short: on the bar the squeeze releases and `mom < 0`, passing filters.
2. Band Break + Momentum
Long: `close > BB_Upper` and `mom > 0`, with filters.
Short: `close < BB_Lower` and `mom < 0`, with filters.
Initial Stop
ATR-based: `Stop Distance = atrMult × ATR(atrLen)` from entry.
Targets & Runner
TP1 at 1R (optional): take 50% at `entry + 1R` (long) / `entry − 1R` (short).
Runner: remaining position trails a Chandelier stop:
Long trail = `highest(high, chLen) − chMult × ATR`
Short trail = `lowest(low, chLen) + chMult × ATR`
Optional Time Stop: close the trade after N bars in position.
Labels on chart
“Long” / “Short” = entry signals.
“L-TP1 / S-TP1” = partial exits at 1R.
“L-Runner / S-Runner” = trailing-stop exits of the runner.
Alerts
Provided for Long Entry, Short Entry, and Squeeze Release.
💬 How to use
1. Choose your market/timeframe (e.g., NSE 5–15m intraday, 60m–Daily for swing).
2. If you prefer cleaner trends, enable the HTF EMA filter (e.g., 240m/1D).
3. For intraday, consider Band Break + Momentum with Volume Surge and a small Min BB Width.
4. Adjust ATR/Chandelier multipliers to fit your risk tolerance and instrument.
Abbreviations
BB – Bollinger Bands
KC – Keltner Channels
ATR – Average True Range
SMA / EMA – Simple/Exponential Moving Average
HTF – Higher Timeframe
R – Risk unit (equal to the initial stop distance)
⚠️ Disclaimer
This script is for educational purposes only. Past performance ≠ future returns. Always paper trade first. Options trading carries high risk — manage exposure responsibly.
Kei_VWAP_EMA_PublicENGLISH (for TradingView description)
Kei_VWAP_EMA_Public — VWAP + EMA(9/21) with optional “blue +” reclaim signals (JP 5m ready)
What it does
Overlays VWAP and EMA 9/21.
Optional blue “+” markers when price reclaims VWAP and EMA9 > EMA21 (momentum resume).
Optional volume confirmation (e.g., ×1.2 of the 5-bar average).
Optional manual POC band “+” (enter your POC level and a small band to show bounce attempts).
Optional 9:30 JST vertical line for Japan cash open routine.
Why
Keep you out of the noise zone and focus on two repeatable setups:
VWAP Reclaim (trend), 2) POC Bounce (mean-revert).
How to use (playbook, 5-min tuned)
Timeframe: 5m (works 1–15m).
VWAP Reclaim “+”: consider a buy stop above the signal bar’s high.
TP1 ≈ +1×ATR, TP2 ≈ +2×ATR; SL = EMA21 break or VWAP failure.
If it doesn’t progress within 10–15 minutes, consider a time stop.
POC Bounce “+”: enable in inputs, set POC level and band (e.g., ±3). Aim for quick pop to EMA9 → VWAP.
Risk guardrails: no averaging-down, always OCO, daily loss cap ≈ 0.8% of total active trading equity (JP+US combined).
Inputs
Show VWAP / EMA9 / EMA21, Line width
Show blue “+” markers, Require volume boost, Volume multiplier
Enable POC band “+”, POC level, POC band width
Show 9:30 line (JP)
Notes
This is the PUBLIC / visual version—no alerts or risk logic. A private Pro version with alerts exists for personal use.
Educational use only — not financial advice.
日本語(TradingView説明文)
Kei_VWAP_EMA_Public — VWAPとEMA(9/21)+「青+」シグナル(5分足チューニング)
機能
VWAP と EMA9/EMA21 を表示。
価格がVWAPを再奪回し、かつ EMA9>EMA21 のときに**「青+」**を表示(モメンタム再点火)。
任意で出来高ブースト条件(5本平均の×1.2など)を追加可能。
任意でPOC反発の「青+」(POC価格と許容帯を手入力)。
9:30(日本時間) の縦ラインを任意表示。
狙い
ノイズ帯での新規を避け、
VWAP奪回の順張り、2) POC反発の逆張り短距離、の2セットアップに集中。
使い方(5分足想定)
VWAP奪回「青+」:シグナル足の高値上に買いストップを置く案。
TP1= +1×ATR、TP2= +2×ATR/SL= EMA21割れやVWAP失敗。
10–15分で進展がない場合は時間損切も検討。
POC反発「青+」:入力でPOCを設定、バンド(±3など)内の下ヒゲ+出来高↑でEMA9→VWAP手前までの短距離狙い。
リスク管理:平均値下げ禁止、常時OCO、日次ドローダウン上限は**合算0.8%**目安(日本株+米株のアクティブ資金)。
入力項目
VWAP/EMA9/EMA21の表示、線幅
「青+」表示、出来高ブーストON/OFF、倍率
POC反発ON/OFF、POCレベル、バンド幅
9:30ライン表示
注意
これは公開用のライト版です(アラート/リスクロジックは未搭載)。実運用は非公開のPro版で行っています。
※投資助言ではありません。自己責任でご利用ください。
Tradisfy | TSFY | ORB Pro**TSFY | ORB Pro**
Introduction
TSFY | ORB Pro combines the classic Opening Range Breakout (ORB) logic with professional market structure tools such as EMAs, the Daily Open, ADR, and Pivot Points.
The goal: A clean and logically structured intraday visualization of volatility, trend, and key price zones — without visual clutter.
Timezone: Europe/Berlin
---
Core Features
Multi-Session ORB: Separate Opening Ranges for London, Gold, and New York sessions with ORH, ORL, and Mid levels, optionally extendable to the end of the trading day.
EMAs (Intraday & Daily): Adaptive trend filters from 4 to 800 periods plus Daily 13/50/200 EMAs for higher-timeframe structure context.
Classic Pivots: Automatic calculation of daily PP, R, S, and Mid levels with fully customizable colors, styles, and extensions.
Daily Open: Marks the daily opening price as a bias reference point.
ADR (Average Daily Range): Calculates the average true range of the last X days, optionally anchored to the Daily Open with an optional 50% midpoint.
---
Interpretation
Break above ORH → bullish momentum; break below ORL → bearish weakness.
Combine ORB zones with EMAs, Pivots, or ADR for higher confluence.
Daily Open provides intraday bias, ADR defines realistic target zones.
Reactions around R/S levels or OR Mid often indicate short-term turning points.
---
Usage
Use the ORB zone as the basis for breakout, retest, or mean-reversion setups.
Plan realistic take-profit zones using ADR and Pivot levels.
Daily EMAs define the overall market bias.
All components can be toggled on or off individually.
---
Notes
Optimized for intraday ORB trading.
No alerts integrated (yet).
All colors, line widths, and transparency levels are fully customizable.
Non-repainting — lines are extended forward, not redrawn.
Performance-friendly despite multiple visual components (max. 500 lines/labels).
---
TSFY | ORB Pro is a complete framework for modern intraday traders who want to combine session logic, trend filters, and market structure into one clean and efficient tool.
Adaptive Trend 1m ### Overview
The "Adaptive Trend Impulse Parallel SL/TP 1m Realistic" strategy is a sophisticated trading system designed specifically for high-volatility markets like cryptocurrencies on 1-minute timeframes. It combines trend-following with momentum filters and adaptive parameters to dynamically adjust to market conditions, ensuring more reliable entries and risk management. This strategy uses SuperTrend for primary trend detection, enhanced by MACD, RSI, Bollinger Bands, and optional volume spikes. It incorporates parallel stop-loss (SL) and multiple take-profit (TP) levels based on ATR, with options for breakeven and trailing stops after the first TP. Optimized for realistic backtesting on short timeframes, it avoids over-optimization by adapting indicators to market speed and efficiency.
### Principles of Operation
The strategy operates on the principle of adaptive impulse trading, where entry signals are generated only when multiple conditions align to confirm a strong trend reversal or continuation:
1. **Trend Detection (SuperTrend)**: The core signal comes from an adaptive SuperTrend indicator. It calculates upper and lower bands using ATR (Average True Range) with dynamic periods and multipliers. A buy signal occurs when the price crosses above the lower band (from a downtrend), and a sell signal when it crosses below the upper band (from an uptrend). Adaptation is based on Rate of Change (ROC) to measure market speed, shortening periods in fast markets for quicker responses.
2. **Momentum and Trend Filters**:
- **MACD**: Uses adaptive fast and slow lengths. In "Trend Filter" mode (default when "Use MACD Cross" is false), it checks if the MACD line is above/below the signal for long/short. In cross mode, it requires a crossover/crossunder.
- **RSI**: Adaptive period RSI must be above 50 for longs and below 50 for shorts, confirming overbought/oversold conditions dynamically.
- **Bollinger Bands (BB)**: Depending on the mode ("Midline" by default), it requires the price to be above/below the BB midline for longs/shorts, or a breakout in "Breakout" mode. Deviation adapts to market efficiency.
- **Volume Spike Filter** (optional): Entries require volume to exceed an adaptive multiple of its SMA, signaling strong impulse.
3. **Volatility Filter**: Entries are only allowed if current ATR percentage exceeds a historical minimum (adaptive), preventing trades in low-volatility ranges.
4. **Risk Management (Parallel SL/TP)**:
- **Stop-Loss**: Set at an adaptive ATR multiple below/above entry for long/short.
- **Take-Profits**: Three levels at adaptive ATR multiples, with partial position closures (e.g., 51% at TP1, 25% at TP2, remainder at TP3).
- **Post-TP1 Features**: Optional breakeven moves SL to entry after TP1. Trailing SL uses BB midline as a dynamic trail.
- All levels are calculated per trade using the ATR at entry, making them "realistic" for 1m charts by widening SL and tightening initial TPs.
The strategy enters long on buy signals with all filters met, and short on sell signals. It uses pyramid margin (100% long/short) for full position sizing.
Adaptation is driven by:
- **Market Speed (normSpeed)**: Based on ROC, tightens multipliers in volatile periods.
- **Efficiency Ratio (ER)**: Measures trend strength, adjusting periods for trending vs. ranging markets.
This ensures the strategy "adapts" without manual tweaks, reducing false signals in varying conditions.
### Main Advantages
- **Adaptability**: Unlike static strategies, parameters dynamically adjust to market volatility and trend strength, improving performance across ranging and trending phases without over-optimization.
- **Realistic Risk Management for 1m**: Wider SL and tiered TPs prevent premature stops in noisy short-term charts, while partial profits lock in gains early. Breakeven/trailing options protect profits in extended moves.
- **Multi-Filter Confirmation**: Combines trend, momentum, and volume for high-probability entries, reducing whipsaws. The volatility filter avoids flat markets.
- **Debug Visualization**: Built-in plots for signals, levels, and component checks (when "Show Debug" is enabled) help users verify logic on charts.
- **Efficiency**: Low computational load, suitable for real-time trading on TradingView with alerts.
Backtesting shows robust results on volatile assets, with a focus on sustainable risk (e.g., SL at 3x ATR avoids excessive drawdowns).
### Uniqueness
What sets this strategy apart is its **fully adaptive framework** integrating multiple indicators with real-time market metrics (ROC for speed, ER for efficiency). Most trend strategies use fixed parameters, leading to poor adaptation; here, every key input (periods, multipliers, deviations) scales dynamically within bounds, creating a "self-tuning" system. The "parallel SL/TP with 1m realism" adds custom handling for micro-timeframes: tightened initial TPs for quick wins and adaptive min-ATR filter to skip low-vol bars. Unlike generic mashups, it justifies the combination—SuperTrend for trend, MACD/RSI/BB for impulse confirmation, volume for conviction—working synergistically to capture "trend impulses" while filtering noise. The post-TP1 breakeven/trailing tied to BB adds a unique profit-locking mechanism not common in open-source scripts.
### Recommended Settings
These settings are optimized and recommended for trading ASTER/USDT on Bybit, with 1-minute chart, x10 leverage, and cross margin mode. They provide a balanced risk-reward for this volatile pair:
- **Base Inputs**:
- Base ATR Period: 10
- Base SuperTrend ATR Multiplier: 2.5
- Base MACD Fast: 8
- Base MACD Slow: 17
- Base MACD Signal: 6
- Base RSI Period: 9
- Base Bollinger Period: 12
- Bollinger Deviation: 1.8
- Base Volume SMA Period: 19
- Base Volume Spike Multiplier: 1.8
- Adaptation Window: 54
- ROC Length: 10
- **TP/SL Settings**:
- Use Stop Loss: True
- Base SL Multiplier (ATR): 3
- Use Take Profits: True
- Base TP1 Multiplier (ATR): 5.5
- Base TP2 Multiplier (ATR): 10.5
- Base TP3 Multiplier (ATR): 19
- TP1 % Position: 51
- TP2 % Position: 25
- Breakeven after TP1: False
- Trailing SL after TP1: False
- Base Min ATR Filter: 0.001
- Use Volume Spike Filter: True
- BB Condition: Midline
- Use MACD Cross (false=Trend Filter): True
- Show Debug: True
For backtesting, use initial capital of 30 USD, base currency USDT, order size 100 USDT, pyramiding 1, commission 0.1%, slippage 0 ticks, long/short margin 0%.
Always backtest on your platform and use risk management—risk no more than 1-2% per trade. This is not financial advice; trade at your own risk.
Customized Double Bollinger Bands🌐 English Version This indicator combines two Bollinger Bands to visualize both short-term and extreme volatility zones on the same chart. While a standard Bollinger Band shows how far price deviates from its mean, this customized version displays two standard deviation ranges, allowing traders to distinguish between mild and extreme volatility conditions. Band 1 (StdDev 0.5) captures short-term fluctuations near the price average, while Band 2 (StdDev 3.0) highlights overbought or oversold conditions at market extremes. When the distance between the two bands widens, volatility is increasing; when it narrows, the market is stabilizing or preparing for a breakout. ㆍPrice breaking above Band 2 → Potential overbought or strong bullish trend ㆍPrice falling below Band 2 → Possible oversold or bearish continuation ㆍBands tightening → Volatility compression, potential reversal zone This indicator is designed primarily for volatility visualization rather than directional prediction. For higher accuracy, use it alongside RSI, MACD, or trend-based indicators. Developed by wjdtks255
Customized Double Bollinger Bands🌐 English Version
This indicator combines two Bollinger Bands to visualize both short-term and extreme volatility zones on the same chart.
While a standard Bollinger Band shows how far price deviates from its mean,
this customized version displays two standard deviation ranges, allowing traders to distinguish between mild and extreme volatility conditions.
Band 1 (StdDev 0.5) captures short-term fluctuations near the price average,
while Band 2 (StdDev 3.0) highlights overbought or oversold conditions at market extremes.
When the distance between the two bands widens, volatility is increasing;
when it narrows, the market is stabilizing or preparing for a breakout.
ㆍPrice breaking above Band 2 → Potential overbought or strong bullish trend
ㆍPrice falling below Band 2 → Possible oversold or bearish continuation
ㆍBands tightening → Volatility compression, potential reversal zone
This indicator is designed primarily for volatility visualization rather than directional prediction.
For higher accuracy, use it alongside RSI, MACD, or trend-based indicators.
Developed by wjdtks255
SMC FVG/IFVG (Multi-TF x 4) [ZAUTEC]SMC FVG/IFVG (Multi-TF x 4): Multi-Timeframe Fair Value Gap with Inversed FVG Detection
This powerful Pine Script indicator is designed to help traders identify, track, and manage Fair Value Gaps (FVGs) and their respective Inversed Fair Value Gaps (IFVGs) across up to four different timeframes simultaneously.
Key Features
Multi-Timeframe Analysis (4x): Analyze and display FVGs from four distinct timeframes alongside your current chart, offering a comprehensive view of market imbalances across various scales.
Fair Value Gap (FVG) Detection: Automatically identifies classic three-candle FVGs (market inefficiencies).
Customizable FVG Length: Set how many bars the FVG boxes should initially extend for.
Minimum Gap Size: Filter out minor, insignificant gaps using a tick-based minimum size threshold.
Optional Box Extension: Dynamically extend FVG boxes to the current bar index or use a fixed extension for a cleaner chart.
Inversed FVG (IFVG) Logic: Detects a high-probability reversal pattern where a previously filled FVG zone is immediately followed by the formation of a new, opposite FVG within or adjacent to the same area. This confirms the old FVG has "flipped roles" (e.g., from support to resistance).
Lookback Period: Defines how long the indicator searches for a corresponding FVG breach to confirm the IFVG.
IFVG Minimum Size: Customizable minimum size threshold for the IFVG.
Dynamic Box Management:
Automatic Fill Deletion: FVGs are automatically removed from the chart when price action fully trades through the gap, signifying the imbalance has been "filled."
IFVG Tracking: IFVGs are tracked and removed from the chart after the configurable lookback period.
Full Customization: Control the visibility, colors, border styles (solid, dashed, dotted), and width for FVG, Bearish FVG, Bullish FVG, and IFVG boxes independently for each of the four timeframes.
How to Use
Select Timeframes: Choose up to four desired timeframes in the settings (e.g., "15" for 15-minute, "4H" for 4-hour, "D" for Daily). Leave the field empty to use the chart's current timeframe.
Toggle Visibility: Use the Show FVG and Show IFVG toggles to focus on the imbalances you wish to see.
Adjust Extension: Set Extend Boxes to bar index to true to keep all open FVG boxes drawn all the way to the current live price bar.
Interpret the Gaps:
FVG (Bullish/Bearish): Potential areas for price to return to and find support/resistance.
IFVG (Inverse FVG): Stronger signals that a previous zone of imbalance has been violated and is likely to act as a significant flip zone for future price movements.
This indicator is an essential tool for traders utilizing concepts like ICT (Inner Circle Trader) and SMC (Smart Money Concepts), providing a clear visual representation of market structure and liquidity voids.
Trend Following Reflectometry🧭 Trend Following Reflectometry (TFR)
Author: Stef Jonker
Version: Pine Script® v6
The Trend Following Reflectometry (TFR) indicator translates market behavior into the language of impedance and signal reflection theory, providing a unique way to measure trend strength, stability, and purity.
🧩 Summary
Trend Following Reflectometry acts as a trend-quality meter, helping traders identify when a trend is strong, efficient, and worth following — or when the market is too noisy to trust.
It blends physics-inspired logic with practical trading insight, offering both a directional oscillator and a trend stability filter in one tool.
⚙️ Concept
Inspired by electrical impedance matching, this tool compares the market’s characteristic impedance (Z₀) — its natural volatility-to-price behavior — with the load impedance (Zₗ), representing current trend momentum.
The interaction between these two produces a reflection coefficient (Gamma) and a VSWR ratio, which reveal how efficiently market trends are transmitting energy (moving smoothly) versus reflecting noise (becoming unstable).
📊 Core Components
Z₀ (Characteristic Impedance): Market baseline, derived from ATR and SMA.
Zₗ (Load Impedance): Trend momentum based on fast and slow EMAs.
Γ (Gamma – Reflection Coefficient): Measures the mismatch between Z₀ and Zₗ.
VSWR (Voltage Standing Wave Ratio): Quantifies trend purity — lower = cleaner trend.
Impedance Oscillator: Combines momentum and reflection to produce directional bias.
⚡ Gamma & VSWR Interpretation
Gamma (Γ) represents the reflection coefficient — how much of the market’s trend energy is being reflected instead of transmitted.
When Gamma is low, the market trend is smooth and efficient, moving with little resistance.
When Gamma is high, the market becomes unstable or overextended, signaling potential turbulence, exhaustion, or reversal pressure.
VSWR (Voltage Standing Wave Ratio) measures trend purity — how clean or distorted the current trend is.
A low VSWR indicates a well-aligned, steady trend that’s likely to continue smoothly.
A high VSWR suggests an unbalanced or noisy market, where trends may struggle to sustain or could soon reverse.
Together, Gamma and VSWR help identify how well the market’s current momentum aligns with its natural behavior — whether the trend is stable and efficient or reflecting instability beneath the surface.
Alpha Signal PROSuggested Title:
Probability Indicator: Alpha Signal PRO
English Description for TradingView Publication:
Overview
Tired of indicators that generate endless signals without telling you the true quality of each setup?
Alpha Signal PRO is more than just another buy/sell indicator; it is a complete decision-support system designed for traders who operate on confluence and high-probability setups. Instead of just telling you when to enter, this indicator analyzes each potential opportunity through a proprietary engine and grades it within a clear hierarchy. This allows you to focus only on the highest quality setups and manage your risk intelligently.
👑 The Difference: The Signal Grading Engine™
The true power of Alpha Signal PRO lies in its intelligent analysis engine. Rather than treating all signals equally, it qualifies them across different confidence levels, enabling superior risk management and a focus on A++ setups.
Basic Signal (M): A moderate-quality opportunity, ideal for more active traders targeting shorter-term moves.
Reinforced Signal (M+): A high-quality setup where multiple trend and momentum factors are in alignment. These are the signals that form the foundation of a consistent strategy.
ALPHA Signal (A++): The "Golden Setup." A rare confluence of ideal market conditions, confirmed by an algorithm that detects institutional strength. These are the highest-conviction signals, designed to capture the most significant market moves.
✅ Key Features
High-Precision Signals: A proprietary algorithm identifies entry points based on momentum and trend continuation.
Signal Quality Grading: Every signal is graded (M, M+, A++) so you instantly know the strength of each opportunity.
100% Non-Repainting: What you see on the chart is exactly how signals would have appeared in real-time. Absolute reliability for your studies and visual backtesting.
Dynamic Risk Management: Stop Loss and Take Profit levels are automatically calculated based on the market's current volatility (ATR), adapting to any asset.
Multiple Exit Modes: Configure your exit strategy to suit your style, whether for scalping, day trading, or swing trading.
Complete Performance Dashboard: Track key performance metrics directly on your chart, allowing for quick and efficient optimization.
Integrated Alert System: Never miss an opportunity. Receive detailed alerts, including the signal's quality grade, on your mobile device or desktop.
How to Use: The Sniper Philosophy
Alpha Signal PRO is designed for traders who prefer quality over quantity.
Focus on ALPHA Signals: Patience is key. Wait for the A++ setups, which represent the best opportunities the system can find.
Adapt to the Asset: The strategy thrives on momentum-driven assets like Indices, Crypto, and Metals. For slower, mean-reverting markets like Forex pairs, we strongly recommend using higher timeframes (H1, H4) to capture clearer trends.
Trust the Risk Management: Use the ATR-based SL and TP levels as a foundation for solid and consistent risk management.
Access
This is a private, invite-only indicator. It will not be made available in the public TradingView library.
Disclaimer: Success in trading requires more than a good tool. It is essential to combine the use of Alpha Signal PRO with strict risk management and discipline. Past performance is not indicative of future results.
Hyper SAR Reactor Trend StrategyHyperSAR Reactor Adaptive PSAR Strategy
Summary
Adaptive Parabolic SAR strategy for liquid stocks, ETFs, futures, and crypto across intraday to daily timeframes. It acts only when an adaptive trail flips and confirmation gates agree. Originality comes from a logistic boost of the SAR acceleration using drift versus ATR, plus ATR hysteresis, inertia on the trail, and a bear-only gate for shorts. Add to a clean chart and run on bar close for conservative alerts.
Scope and intent
• Markets: large cap equities and ETFs, index futures, major FX, liquid crypto
• Timeframes: one minute to daily
• Default demo: BTC on 60 minute
• Purpose: faster yet calmer PSAR that resists chop and improves short discipline
• Limits: this is a strategy that places simulated orders on standard candles
Originality and usefulness
• Novel fusion: PSAR AF is boosted by a logistic function of normalized drift, trail is monotone with inertia, entries use ATR buffers and optional cooldown, shorts are allowed only in a bear bias
• Addresses false flips in low volatility and weak downtrends
• All controls are exposed in Inputs for testability
• Yardstick: ATR normalizes drift so settings port across symbols
• Open source. No links. No solicitation
Method overview
Components
• Adaptive AF: base step plus boost factor times logistic strength
• Trail inertia: one sided blend that keeps the SAR monotone
• Flip hysteresis: price must clear SAR by a buffer times ATR
• Volatility gate: ATR over its mean must exceed a ratio
• Bear bias for shorts: price below EMA of length 91 with negative slope window 54
• Cooldown bars optional after any entry
• Visual SAR smoothing is cosmetic and does not drive orders
Fusion rule
Entry requires the internal flip plus all enabled gates. No weighted scores.
Signal rule
• Long when trend flips up and close is above SAR plus buffer times ATR and gates pass
• Short when trend flips down and close is below SAR minus buffer times ATR and gates pass
• Exit uses SAR as stop and optional ATR take profit per side
Inputs with guidance
Reactor Engine
• Start AF 0.02. Lower slows new trends. Higher reacts quicker
• Max AF 1. Typical 0.2 to 1. Caps acceleration
• Base step 0.04. Typical 0.01 to 0.08. Raises speed in trends
• Strength window 18. Typical 10 to 40. Drift estimation window
• ATR length 16. Typical 10 to 30. Volatility unit
• Strength gain 4.5. Typical 2 to 6. Steepness of logistic
• Strength center 0.45. Typical 0.3 to 0.8. Midpoint of logistic
• Boost factor 0.03. Typical 0.01 to 0.08. Adds to step when strength rises
• AF smoothing 0.50. Typical 0.2 to 0.7. Adds inertia to AF growth
• Trail smoothing 0.35. Typical 0.15 to 0.45. Adds inertia to the trail
• Allow Long, Allow Short toggles
Trade Filters
• Flip confirm buffer ATR 0.50. Typical 0.2 to 0.8. Raise to cut flips
• Cooldown bars after entry 0. Typical 0 to 8. Blocks re entry for N bars
• Vol gate length 30 and Vol gate ratio 1. Raise ratio to trade only in active regimes
• Gate shorts by bear regime ON. Bear bias window 54 and Bias MA length 91 tune strictness
Risk
• TP long ATR 1.0. Set to zero to disable
• TP short ATR 0.0. Set to 0.8 to 1.2 for quicker shorts
Usage recipes
Intraday trend focus
Confirm buffer 0.35 to 0.5. Cooldown 2 to 4. Vol gate ratio 1.1. Shorts gated by bear regime.
Intraday mean reversion focus
Confirm buffer 0.6 to 0.8. Cooldown 4 to 6. Lower boost factor. Leave shorts gated.
Swing continuation
Strength window 24 to 34. ATR length 20 to 30. Confirm buffer 0.4 to 0.6. Use daily or four hour charts.
Properties visible in this publication
Initial capital 10000. Base currency USD. Order size Percent of equity 3. Pyramiding 0. Commission 0.05 percent. Slippage 5 ticks. Process orders on close OFF. Bar magnifier OFF. Recalculate after order filled OFF. Calc on every tick OFF. No security calls.
Realism and responsible publication
No performance claims. Past results never guarantee future outcomes. Shapes can move while a bar forms and settle on close. Strategies execute only on standard candles.
Honest limitations and failure modes
High impact events and thin books can void assumptions. Gap heavy symbols may prefer longer ATR. Very quiet regimes can reduce contrast and invite false flips.
Open source reuse and credits
Public domain building blocks used: PSAR concept and ATR. Implementation and fusion are original. No borrowed code from other authors.
Strategy notice
Orders are simulated on standard candles. No lookahead.
Entries and exits
Long: flip up plus ATR buffer and all gates true
Short: flip down plus ATR buffer and gates true with bear bias when enabled
Exit: SAR stop per side, optional ATR take profit, optional cooldown after entry
Tie handling: stop first if both stop and target could fill in one bar
Custom Net ATR Mapping - NateThis indicator measures how much an asset actually moves — both on average and across full periods — so traders can compare short-term volatility with longer-term net momentum.
It displays four key metrics in a simple color-coded table:
Standard ATR – the average daily (or per-bar) range, showing typical volatility.
Net ATR – the average open-to-close move, revealing how much price tends to travel directionally within each bar.
Total Net Move – the total distance price has moved from the start to the end of the most recent measurement window.
Average Net Move – the typical size of that full-period move, averaged across multiple recent windows.
Together these readings help you see whether recent price action is choppy but contained (high ATR, low net move) or sustained and directional (high net move relative to ATR) — useful for spotting trend strength, breakout potential, or range-bound conditions.
Low Range Predictor [NR4/NR7 after WR4/WR7/WR20, within 1-3Days]Indicator Overview
The Low Range Predictor is a TradingView indicator displayed in a single panel below the chart. It spots volatility contraction setups (NR4/NR7 within 1–3 days of WR4/WR7/WR20) to predict low-range moves (e.g., <0.5% daily on SPY) over 2–5 days, perfect for your weekly 15/22 DTE put calendar spread strategy.
What You See
• Red Histograms (WR, Volatility Climax):
• WR4: Half-length red bars, widest range in 4 bars.
• WR7: Three-quarter-length red bars, widest in 7 bars.
• WR20: Full-length red bars, widest in 20 bars.
• Green Histograms (NR, Entry Signals):
• NR4: Half-length green bars, only on NR4 days (tightest range in 4 bars) within 1–3 days of a WR4.
• NR7: Full-length green bars, only on NR7 days within 1–3 days of a WR7.
• Panel: All signals (red WR4/WR7/WR20, green NR4/NR7) show in one panel below the chart, with green bars marking put calendar entry days.
Probabilities
• Volatility Contraction:
• NR4 after WR4: 65–70% chance of daily ranges <0.5% on SPY for 2–5 days (ATR drops 20–30%). Occurs ~2–3 times/month.
• NR7 after WR7: 60–65% chance of similar low ranges, less frequent (~1–2 times/month).
• Backtest (SPY, 2000–2025): 65% of NR4/NR7 signals lead to reduced volatility (<0.7% daily range) vs. 50% for random days.
• Signal Frequency: NR4 signals are more common than NR7, ideal for weekly entries. WR20 provides context but isn’t tied to NR signals.
Spread Trading Z-ScoreIndicator: Z-Score Spread Indicator
Description
The "Z-Score Spread Indicator" is a powerful tool for traders employing mean-reversion strategies on the spread between two financial assets (e.g., futures contracts like MNQ and MES). This indicator calculates and plots the Z-score of the price spread, indicating how far the current spread deviates from its historical mean. It features customizable entry and exit thresholds with adjustable offsets, along with an estimated p-value displayed in a table to assess statistical significance.
Key Features
Asset Selection: Allows users to select two asset symbols (e.g., CME_MINI:MNQ1! and CME_MINI:MES1!) via customizable inputs.
Z-Score Calculation: Computes the Z-score based on the spread’s simple moving average and standard deviation over a user-defined lookback period.
Customizable Thresholds with Offset: Offers adjustable base entry and exit thresholds, with an optional offset to fine-tune trading levels, plotted as horizontal lines.
P-Value Estimation: Provides an approximate p-value to evaluate the statistical significance of the Z-score, displayed in a table anchored to the top-left corner.
Visual Representation: Plots the Z-score with a zero line and threshold lines for intuitive interpretation.
Adjustable Parameters
Asset A Symbol: Symbol for Asset A (default: CME_MINI:MNQ1!).
Asset B Symbol: Symbol for Asset B (default: CME_MINI:MES1!).
Z-Score Lookback: Lookback period for Z-score calculation (default: 40, minimum 2).
Base Entry Threshold: Threshold for entry signals (default: 1.8, adjustable with a step of 0.1).
Base Exit Threshold: Threshold for exit signals (default: 0.5, adjustable with a step of 0.1).
Threshold Offset (+/-): Offset to adjust entry and exit thresholds symmetrically (default: 0.0, range -5.0 to 5.0, step 0.1).
Usage
Add the indicator to your chart via the "Indicators" tab.
Customize the parameters based on your preferred assets and trading strategy (lookback period, thresholds, offset).
Observe the Z-score plot and threshold lines (red for short entry, green for long entry, orange dotted for exits) to identify potential trade setups.
Check the p-value table in the top-left corner to assess the statistical significance of the current Z-score.
Use this data to inform mean-reversion trading decisions, ideally in conjunction with other indicators.
Notes
A Z-score above the entry threshold (positive) or below the negative entry threshold suggests a potential short or long entry, respectively. Exits are signaled when the Z-score crosses the exit thresholds.
The p-value is an approximation based on the normal distribution; a value below 0.05 typically indicates statistical significance, but further validation is recommended.
The indicator uses a simple spread (Asset A - Asset B) without volatility adjustments; consider pairing it with a lots calculator for hedging.
Limitations
The p-value is an approximation and may not reflect advanced statistical tests (e.g., ADF) due to Pine Script constraints.
No automatic trading signals are generated; it provides data for manual analysis.
Author
Developed by grogusama, October 15, 2025, 07:29 PM CEST.
Quantum Reservoir Computing⚛ Quantum Reservoir Computing - Multi-Scale Market Analysis
OVERVIEW
This indicator combines three structural analysis kernels (Energy, Resonance, Topology) with a 6-spin reservoir computing network to provide multi-dimensional market state monitoring. It is designed to detect structural shifts, coherence alignment, and potential entry timing through visual analytics and optional signal markers.
WHAT MAKES IT ORIGINAL
Unlike single-indicator approaches, QRC fuses complementary analysis methods and uses a reservoir computing layer (coupled oscillator network) to capture temporal market structure. The system uses entropy-compensated signal logic to maintain directional alignment across kernels with inverted mathematical properties.
HOW IT WORKS (Technical Details)
1. ENERGY KERNEL
Measures compression state through two components:
• Entropy: Volatility-normalized return distribution, inverted (low volatility = high compression energy)
• ATR Compression: Short-period ATR divided by longer-period baseline ATR
• Final Energy: Weighted average of both components, ranging 0 to 1
2. RESONANCE KERNEL
Calculates cross-timeframe coherence using:
• 6 exponential moving averages (periods: 9, 14, 20, 30, 48, 84)
• Slope calculation for each EMA
• Amplitude weighting based on user-selected mode (Close/ATR/StDev)
• Coherence Index (CI): Measures directional agreement across all timeframes
• Mode Persistence: Stability of CI over 20 bars
3. TOPOLOGY KERNEL
Analyzes path geometry through:
• Turn density: Rate of price directional changes
• Curvature: Second-order price differences normalized by ATR
• Combined into a 0-1 topology change metric
4. RESERVOIR COMPUTING (6-Spin Network)
Six coupled state variables (spins) arranged in a ring topology:
• Drive signal combines directional consensus, price z-score, volume, and ATR regime
• Each spin updates via hyperbolic tangent activation with neighbor coupling
• Psi (Ψ): Coherence measure (average pairwise spin correlation)
• Spin Direction: Signed average of all spins
• Pulse detection: Positive changes in Ψ, z-scored to detect energy releases
5. FUSION & SCORING
• Magnitude: Weighted combination of all kernels (0 to 1 scale)
• Direction: Blend of EMA slope consensus, basis slope, and spin direction (-1 to 1)
• ScoreSigned: Direction multiplied by Magnitude (drives visuals)
• GateScore: Amplified score used only for signal threshold checks
• Heat: Entanglement measure combining Ψ, CI, and Magnitude
SIGNAL LOGIC (Important: Entropy-Compensated Inversion)
Because the entropy kernel naturally inverts (low volatility = bullish compression), signal logic compensates to maintain directional alignment:
• LONG signals fire when GateScore crosses below the short threshold (bearish GateScore + bullish structure)
• SHORT signals fire when GateScore crosses above the long threshold (bullish GateScore + bearish structure)
This inversion has been visually validated through metric plotting and maintains correct alignment with Resonance and Topology kernels.
Signal gates require:
• Two-of-three pass: CI ≥ minimum, Mode Persistence ≥ minimum, Ψ ≥ minimum
• Heat ≥ minimum threshold
• OR recent pulse window active (ΔΨ edge within N bars)
• Minimum bar spacing between signals (prevents clustering)
VISUAL COMPONENTS
1. Contained Ribbon (Recommended Mode)
• Center line: Basis EMA
• Edge: Positioned by ScoreSigned value
• Fill color: Green (bullish) or Red (bearish)
• Width: ATR-adaptive with configurable floor/ceiling
2. Quantum Aurora (Multi-Layer Energy Bands)
• 5-8 harmonic layers with phase-driven oscillations
• Colors shift with Heat level (cool blue at low Heat, warm orange/magenta at high Heat)
• Creates visual texture that reflects market state dynamics
3. Interference Mesh
• Subtle oscillating overlay modulated by CI and ScoreSigned
• Provides depth perception without visual clutter
4. Resonance Cloud
• Width proportional to Coherence Index
• Wide cloud = strong cross-timeframe alignment
• Narrow cloud = weak structural coherence
5. Energy Particles
• Floating micro-dots with density mapped to Magnitude
• Color-coded by Heat level (gold/cyan/gray)
• Provides continuous conviction feedback
6. Regime Atmosphere
• Background tint indicating market mode:
- Green: Coherent trend (CI>0.65, Ψ>0.55)
- Red: Choppy regime (CI<0.45, Ψ<0.40)
- Purple: Transition state
DASHBOARDS
1. Main Dashboard (Moveable, Resizable)
• Regime indicator with color-coded status
• Horizontal meter gauges for Ψ, CI, Heat, Magnitude
• Signal strength bars for Score and Gate
• Status indicators (dots) for ΔΨ, Heat, CI health
• Directional arrows and bars-since-signal counter
• Size options: Tiny, Small, Normal, Large
• Position: All four corners available
2. Heat HUD (Entanglement Matrix)
• Multi-row gradient display of last N bars (configurable 10-120)
• Metrics: Heat, Psi, CI, Magnitude, Pulse Z-score, Gate proximity
• Color-coded blocks show metric intensity over time
• Live footer with current values
• Resizable and moveable
HOW TO USE
Step 1: Monitor Regime and Structure
• Check Dashboard regime indicator (Trend/Chop/Transition)
• Observe Aurora flow (smooth = stable, erratic = unstable)
• Wide Resonance Cloud indicates strong multi-timeframe alignment
Step 2: Watch Entanglement Heat
• Heat HUD shows persistent structure as amber/red runs
• Green status dots indicate healthy metrics
• Rising Heat + rising Ψ suggests mode-locking
Step 3: Confirm Gate Conditions
• Dashboard displays effective thresholds (dynamically relaxed after dry periods)
• Two-of-three gate (CI/ModePersistence/Ψ) must pass OR recent pulse active
• Strength bars show conviction level
Step 4: Interpret Signals
• Enable "Show Diagnostic Plots" to verify metric behavior on your symbols
• Signals appear as tiny triangles (green below bars = long, red above = short)
• Best confluence: Heat rising + fresh pulse cluster + strong CI
Step 5: Risk Management
• Place stops beyond opposite ribbon edge plus 0.5 ATR buffer
• Trail stops following basis ± ATR fraction while Heat/Psi remain elevated
• Exit early if CI or Ψ collapse (status dots turn yellow/red)
CUSTOMIZATION
Extensive settings available:
• Core: EMA length, ATR length, pulse thresholds, heat minimum
• Signals: Mode (Aggressive/Normal/Conservative), thresholds, spacing, gain
• Visuals: Ribbon mode, Aurora layers, particle density, all show/hide toggles
• Dashboards: Size, position for both main dashboard and heat HUD
• Diagnostics: Optional metric plots for validation
IMPORTANT DISCLAIMERS
• This indicator does not predict future price movements
• Signals use entropy-compensated inversion (explained above); verify on your symbols
• Always backtest on your specific markets and timeframes before live trading
• Past performance does not guarantee future results
• Heavy visuals may impact performance on lower-end devices (use Performance toggles)
• Designed for liquid markets (major indices, forex, crypto); may underperform on illiquid symbols
• Complex system with learning curve; read full guide embedded in code
DIAGNOSTIC MODE
Enable "Show Diagnostic Plots" in settings to verify metric behavior:
• Heat, Psi, CI, Magnitude plotted in lower pane
• ScoreSigned and GateScore normalized to 0-1 scale
• Reference lines at 0.25, 0.5, 0.75 for threshold context
• Observe metric alignment with price action on YOUR symbols
METHODOLOGY NOTE
The "Quantum" terminology refers to the reservoir computing methodology (coupled oscillator network), not actual quantum mechanics. The 6-spin network uses hyperbolic tangent activation functions to model temporal market structure. This is a deterministic mathematical model, not a quantum computing system.
BEST SUITED FOR
• Liquid markets: Major indices (ES, NQ), forex majors (EUR/USD, GBP/USD), large-cap crypto (BTC, ETH)
• Timeframes: 5-minute through daily (works on all, but designed for intraday to swing)
• Trading styles: Structure-based entries, multi-timeframe confluence, visual state monitoring
• Experience level: Intermediate to advanced (complex system with learning curve)
PERFORMANCE CONSIDERATIONS
• Heavy calculations (6 spins, 6 EMAs, Aurora layers, particles) may lag on lower-end devices
• Use "Dashboard Size: Tiny" and reduce "Aurora Layers" to 2-3 for better performance
• Consider disabling "Energy Particles" on mobile devices
• Script is optimized with array capping and label recycling, but complexity remains high
SUPPORT & UPDATES
• Questions about usage or settings? Send me a message - I respond within 24 hours
• Feature requests are welcome for consideration in future updates
• Bug reports appreciated and addressed promptly
• Script will be maintained and updated as needed
FINAL REMINDERS
• This is an analytical tool, not a trading system
• Always backtest on YOUR symbols and timeframes before live use
• Use proper risk management - stops, position sizing, etc.
• Past performance does not guarantee future results
• Start with demo/paper trading to learn the system
— Dskyz, Trade with insight. Trade with anticipation.
Real Time UVXY Spike Level TrackerKey Features
Real Time All-Time Low Tracking: Continuously updates the ATL using daily timeframe data.
Multiple Spike Levels: Displays +20%, +50%, +75%, and +100% levels above the ATL.
Real-Time Spike Percentage: Shows current distance from ATL in an easy-to-read table.
Understanding the Chart Lines
Red Line (ATL): The all-time low baseline. This is your reference point for measuring volatility spikes.
Yellow Line (+20%): First level of moderate volatility increase. Minor market stress or routine volatility expansion.
Blue Line (+50%): Significant volatility event. Indicates elevated market concern or technical dislocation.
Purple Line (+75%): Major volatility spike. Typically coincides with substantial market selloffs or uncertainty.
Fuchsia Line (+100%): Extreme volatility event. Rare occurrences associated with market crashes, black swan events, or severe panic.
The Data Table Displays: Current Spike %: Real-time percentage showing how far price is above the ATL (highlighted in green)
Level Column: Each spike threshold level
Price Column: Exact price at each level for quick reference
Understanding UVXY spike levels is valuable for several reasons:
Market Timing & Entry/Exit Points UVXY typically experiences extreme spikes during market panics or crashes. Knowing historical spike levels helps you:
Identify extreme fear levels - When UVXY hits unusually high levels, it often signals peak panic and potential market bottoms
Avoid chasing volatility - Understanding what constitutes an "extreme" spike prevents buying in after the move is already exhausted Mean Reversion Trading
UVXY has a strong tendency to decay over time due to its leveraged structure and the contango in VIX futures. Spike levels matter because:
High probability reversals - When UVXY reaches extreme levels (say 2-3x normal), there's historically been a high probability of reversion
Risk/reward assessment - You can better evaluate whether a short position or volatility-selling strategy makes sense Leveraged ETF enthusiasts and volatility traders often use specific spike percentages as triggers to open short positions. For example, some traders might short when UVXY spikes 5-50%+ in a week or reaches certain percentage thresholds, betting on the inevitable decay back down
ATR(21)% EMA Next to CandleATR, or Average True Range, is a technical analysis indicator that measures market volatility by calculating the average price movement of an asset over a set period. It does not indicate price direction but shows how much a market is fluctuating. A rising ATR indicates higher volatility, while a falling ATR suggests lower volatility.
Trader Mike Webster, known for his work with the growth-focused CANSLIM strategy developed by William O'Neil, has created his own indicator called the Webby RSI, which incorporates ATR. In this application, the ATR is used to scale a stock's movement relative to its 21-day exponential moving average (EMA). In this case it is based on a percentage.
Dual ATR with OffsetGives you a cross when ATR moves unusually, perhaps like would happen at the beginning of a trade.
SuperTrend MAAfter building SuperBands, I kept thinking about what happens at the midpoint between those two volatility-adaptive envelopes. The upper and lower bands are both trailing price based on ATR and EMA smoothing, but they're operating independently in opposite directions. Taking their average seemed like it might produce an interesting centerline that adapts to volatility in a way that regular moving averages don't. Turns out it does, and that's what this indicator is.
The core concept is straightforward. Instead of plotting the upper and lower SuperBands separately, this calculates both of them internally, averages their values, and then applies an additional smoothing pass with EMA to create a single centerline. That centerline sits roughly in the middle of where the bands would be, but because it's derived from ATR-offset trailing stops rather than direct price smoothing, it behaves differently than a standard moving average of the same length. During trending periods, the centerline tracks closer to price because one of the underlying bands is actively trailing while the other is dormant. During consolidation, both bands compress toward price and the centerline tends to oscillate more with shorter-term movements.
What's interesting is that this acts like a supertrend all by itself with directional behavior baked in. When one of the underlying supertrend waves dominates, meaning price is strongly trending in one direction and only one band is active, you get what feels like a "true" supertrend, whatever that means exactly. The centerline locks into trend-following mode and the color gradient reflects that commitment. You get bright bullish colors during sustained uptrends when the upper band is doing all the work, and strong bearish colors during downtrends when the lower band dominates. But when both bands are active and fighting for control, which happens during consolidation or choppy conditions, the centerline settles into more neutral tones that clearly signal you're in a ranging environment. The colors really do emphasize this behavior and make it visually obvious which regime you're in.
The smoothing parameter controls how aggressively the underlying SuperBand trails adapt to price, which indirectly affects how responsive the centerline is. Lower values make the bands tighter and more reactive, so the centerline follows price action more closely. Higher values create wider bands that only respond to sustained moves, which produces a smoother centerline that filters out more noise. The center smoothing parameter applies a second EMA pass specifically to the averaged midpoint, giving you independent control over how much additional lag you want on the final output versus the raw band average.
What makes this different from just slapping an EMA on price is that the underlying bands are already volatility-aware through their ATR calculations. When volatility spikes, the bands widen and the centerline adjusts its position relative to price based on where those bands settle. A traditional moving average would just smooth over the volatility spike without adjusting its distance from price. This approach incorporates volatility information into the centerline's positioning, which can help it stay relevant during regime changes where fixed-period moving averages tend to lag badly or whipsaw.
The color gradient adds a momentum overlay using the same angle-based calculation from SuperBands. The centerline's rate of change gets normalized by an RMS estimate of its historical movement range, converted to an angle through arctangent scaling, and then mapped to a color gradient. When the centerline is rising, it gradients from neutral toward your chosen bullish color, with brightness increasing as the rate of ascent steepens. When falling, it shifts toward the bearish color with intensity tied to the descent rate. This gives you an immediate visual sense of whether the centerline is accelerating, decelerating, or moving at a stable pace.
Configuration is simpler than SuperBands since you're only dealing with a single output line instead of separate bull and bear envelopes. The length parameter controls the underlying band behavior. ATR period and multiplier determine how much space the bands allocate around price before they trail. Center smoothing adds the extra EMA pass on the averaged midpoint. You can tune these independently to get different characteristics. A tight ATR multiplier with heavy center smoothing creates a smooth line that stays close to price. A wide multiplier with light center smoothing produces a line that swings more freely and adapts faster to directional changes.
From a practical standpoint, this works well as a trend filter or dynamic support and resistance reference. Price above the centerline with bullish coloring suggests a favorable environment for long positions. Price below with bearish coloring indicates the opposite. Crossovers can signal trend changes, though like any moving average system, you'll get whipsaws in choppy conditions. The advantage over traditional MAs is that the volatility adaptation tends to reduce false signals during transitional periods where volatility is expanding but direction hasn't fully committed.
The implementation reuses the entire SuperBands logic, which means all the smoothing and state management for the trailing stops is identical. The only addition is averaging the two band outputs and applying the final EMA pass. The color calculation follows the same RMS-normalized angle approach but applies it to the centerline's delta rather than the individual band deltas. This keeps the coloring consistent with how SuperBands handles momentum visualization while adapting it to a single line instead of dual envelopes.
What this really highlights is that you can derive moving averages from mechanisms other than direct price smoothing. By building the centerline from volatility-adjusted trailing stops, you get adaptive behavior that responds to both price movement and volatility regime without needing separate inputs or complex multi-stage calculations. Whether that adaptation provides a meaningful edge depends on your strategy and market, but it's a fundamentally different approach than the typical fixed-period or adaptive MAs that adjust length based on volatility or momentum indicators.
ADX MA Filter for Choppy MarketsA clear way to see expanding markets and identify contracting markets or chop






















