Superior-Range Bound Renko - Strategy - 11-29-25 - SignalLynxSuperior-Range Bound Renko Strategy with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
Welcome to Superior-Range Bound Renko (RBR) — a volatility-aware, structure-respecting swing-trading system built on top of a full Risk Management (RM) Template from Signal Lynx.
Instead of relying on static lookbacks (like “14-period RSI”) or plain MA crosses, Superior RBR:
Adapts its range definition to market volatility in real time
Emulates Renko Bricks on a standard, time-based chart (no Renko chart type required)
Uses a stack of Laguerre Filters to detect genuine impulse vs. noise
Adds an Adaptive SuperTrend powered by a small k-means-style clustering routine on volatility
Under the hood, this script also includes the full Signal Lynx Risk Management Engine:
A state machine that separates “Signal” from “Execution”
Layered exit tools: Stop Loss, Trailing Stop, Staged Take Profit, Advanced Adaptive Trailing Stop (AATS), and an RSI-style stop (RSIS)
Designed for non-repainting behavior on closed candles by basing execution-critical logic on previous-bar data
We are publishing this as an open-source template so traders and developers can leverage a professional-grade RM engine while integrating their own signal logic if they wish.
2. Quick Action Guide (TL;DR)
Best Timeframe:
4 Hours (H4) and above. This is a high-conviction swing-trading system, not a scalper.
Best Assets:
Volatile instruments that still respect market structure:
Bitcoin, Ethereum, Gold (XAUUSD), high-volatility Forex pairs (e.g., GBPJPY), indices with clean ranges.
Strategy Type:
Volatility-Adaptive Trend Following + Impulse Detection.
It hunts for genuine expansion out of ranges, not tiny mean-reversion nibbles.
Key Feature:
Renko Emulation on time-based candles.
We mathematically model Renko Bricks and overlay them on your standard chart to define:
“Equilibrium” zones (inside the brick structure)
“Breakout / impulse” zones (when price AND the impulse line depart from the bricks)
Repainting:
Designed to be non-repainting on closed candles.
All RM execution logic uses confirmed historical data (no future bars, no security() lookahead). Intrabar flicker during formation is allowed, but once a bar closes the engine’s decisions are stable.
Core Toggles & Filters:
Enable Longs and Shorts independently
Optional Weekend filter (block trades on Saturday/Sunday)
Per-module toggles: Stop Loss, Trailing Stop, Staged Take Profits, AATS, RSIS
3. Detailed Report: How It Works
A. The Strategy Logic: Superior RBR
Superior RBR builds its entry signal from multiple mathematical layers working together.
1) Adaptive Lookback (Volatility Normalization)
Instead of a fixed 100-bar or 200-bar range, the script:
Computes ATR-based volatility over a user-defined period.
Normalizes that volatility relative to its recent min/max.
Maps the normalized value into a dynamic lookback window between a minimum and maximum (e.g., 4 to 100 bars).
High Volatility:
The lookback shrinks, so the system reacts faster to explosive moves.
Low Volatility:
The lookback expands, so the system sees a “bigger picture” and filters out chop.
All the core “Range High/Low” and “Range Close High/Low” boundaries are built on top of this adaptive window.
2) Range Construction & Quick Ranges
The engine constructs several nested ranges:
Outer Range:
rangeHighFinal – dynamic highest high
rangeLowFinal – dynamic lowest low
Inner Close Range:
rangeCloseHighFinal – highest close
rangeCloseLowFinal – lowest close
Quick Ranges:
“Half-length” variants of those, used to detect more responsive changes in structure and volatility.
These ranges define:
The macro box price is trading inside
Shorter-term “pressure zones” where price is coiling before expansion
3) Renko Emulation (The Bricks)
Rather than using the Renko chart type (which discards time), this script emulates Renko behavior on your normal candles:
A “brick size” is defined either:
As a standard percentage move, or
As a volatility-driven (ATR) brick, optionally inhibited by a minimum standard size
The engine tracks a base value and derives:
brickUpper – top of the emulated brick
brickLower – bottom of the emulated brick
When price moves sufficiently beyond those levels, the brick “shifts”, and the directional memory (renkoDir) updates:
renkoDir = +2 when bricks are advancing upward
renkoDir = -2 when bricks are stepping downward
You can think of this as a synthetic Renko tape overlaid on time-based candles:
Inside the brick: equilibrium / consolidation
Breaking away from the brick: momentum / expansion
4) Impulse Tracking with Laguerre Filters
The script uses multiple Laguerre Filters to smooth price and brick-derived data without traditional lag.
Key filters include:
LagF_1 / LagF_W: Based on brick upper/lower baselines
LagF_Q: Based on HLCC4 (high + low + 2×close)/4
LagF_Y / LagF_P: Complex averages combining brick structures and range averages
LagF_V (Primary Impulse Line):
A smooth, high-level impulse line derived from a blend of the above plus the outer ranges
Conceptually:
When the impulse line pushes away from the brick structure and continues in one direction, an impulse move is underway.
When its direction flips and begins to roll over, the impulse is fading, hinting at mean reversion back into the range.
5) Fib-Based Structure & Swaps
The system also layers in Fib levels derived from the adaptive ranges:
Standard levels (12%, 23.6%, 38.2%, 50%, 61%, 76.8%, 88%) from the main range
A secondary “swap” set derived from close-range dynamics (fib12Swap, fib23Swap, etc.)
These Fibs are used to:
Bucket price into structural zones (below 12, between 23–38, etc.)
Detect breakouts when price and Laguerre move beyond key Fib thresholds
Drive zSwap logic (where a secondary Fib set becomes the active structure once certain conditions are met)
6) Adaptive SuperTrend with K-Means-Style Volatility Clustering
Under the hood, the script uses a small k-means-style clustering routine on ATR:
ATR is measured over a fixed period
The range of ATR values is split into Low, Medium, High volatility centroids
Current ATR is assigned to the nearest centroid (cluster)
From that, a SuperTrend variant (STK) is computed with dynamic sensitivity:
In quiet markets, SuperTrend can afford to be tighter
In wild markets, it widens appropriately to avoid constant whipsaw
This SuperTrend-based oscillator (LagF_K and its signals) is then combined with the brick and Laguerre stack to confirm valid trend regimes.
7) Final Baseline Signals (+2 / -2)
The “brain” of Superior RBR lives in the Baseline & Signal Generation block:
Two composite signals are built: B1 and B2:
They combine:
Fib breakouts
Renko direction (renkoDir)
Expansion direction (expansionQuickDir)
Multiple Laguerre alignments (LagF_Q, LagF_W, LagF_Y, LagF_Z, LagF_P, LagF_V)
They also factor in whether Fib structures are expanding or contracting.
A user toggle selects the “Baseline” signal:
finalSig = B2 (default) or B1 (alternate baseline)
finalSig is then filtered through the RM state machine and only when everything aligns, we emit:
+2 = Long / Buy signal
-2 = Short / Sell signal
0 = No new trade
Those +2 / -2 values are what feed the Risk Management Engine.
B. The Risk Management (RM) Engine
This script features the Signal Lynx Risk Management Engine, a proprietary state machine built to separate Signal from Execution.
Instead of firing orders directly on indicator conditions, we:
Convert the raw signal into a clean integer (Fin = +2 / -2 / 0)
Feed it into a Trade State Machine that understands:
Are we flat?
Are we in a long or short?
Are we in a closing sequence?
Should we permit re-entry now or wait?
Logic Injection / Template Concept:
The RM engine expects a simple integer:
+2 → Buy
-2 → Sell
Everything else (0) is “no new trade”
This makes the script a template:
You can remove the Superior RBR block
Drop in your own logic (RSI, MACD, price action, etc.)
As long as you output +2 or -2 into the same signal channel, the RM engine can drive all exits and state transitions.
Aggressive vs Conservative Modes:
The input AgressiveRM (Aggressive RM) governs how we interpret signals:
Conservative Mode (Aggressive RM = false):
Uses a more filtered internal signal (AF) to open trades
Effectively waits for a clean trend flip / confirmation before new entries
Minimizes whipsaw at the cost of fewer trades
Aggressive Mode (Aggressive RM = true):
Reacts directly to the fresh alert (AO) pulses
Allows faster re-entries in the same direction after RM-based exits
Still respects your pyramiding setting; this script ships with pyramiding = 0 by default, so it will not stack multiple positions unless you change that parameter in the strategy() call.
The state machine enforces discipline on top of your signal logic, reducing double-fires and signal spam.
C. Advanced Exit Protocols (Layered Defense)
The exit side is where this template really shines. Instead of a single “take profit or stop loss,” it uses multiple, cooperating layers.
1) Hard Stop Loss
A classic percentage-based Stop Loss (SL) relative to the entry price.
Acts as a final “catastrophic protection” layer for unexpected moves.
2) Standard Trailing Stop
A percentage-based Trailing Stop (TS) that:
Activates only after price has moved a certain percentage in your favor (tsActivation)
Then trails price by a configurable percentage (ts)
This is a straightforward, battle-tested trailing mechanism.
3) Staged Take Profits (Three Levels)
The script supports three staged Take Profit levels (TP1, TP2, TP3):
Each stage has:
Activation percentage (how far price must move in your favor)
Trailing amount for that stage
Position percentage to close
Example setup:
TP1:
Activate at +10%
Trailing 5%
Close 10% of the position
TP2:
Activate at +20%
Trailing 10%
Close another 10%
TP3:
Activate at +30%
Trailing 5%
Close the remaining 80% (“runner”)
You can tailor these quantities for partial scaling out vs. letting a core position ride.
4) Advanced Adaptive Trailing Stop (AATS)
AATS is a sophisticated volatility- and structure-aware stop:
Uses Hirashima Sugita style levels (HSRS) to model “floors” and “ceilings” of price:
Dungeon → Lower floors → Mid → Upper floors → Penthouse
These levels classify where current price sits within a long-term distribution.
Combines HSRS with Bollinger-style envelopes and EMAs to determine:
Is price extended far into the upper structure?
Is it compressed near the lower ranges?
From this, it computes an adaptive factor that controls how tight or loose the trailing level (aATS / bATS) should be:
High Volatility / Penthouse areas:
Stop loosens to avoid getting wicked out by inevitable spikes.
Low Volatility / compressed structure:
Stop tightens to lock in and protect profit.
AATS is designed to be the “smart last line” that responds to context instead of a single fixed percentage.
5) RSI-Style Stop (RSIS)
On top of AATS, the script includes a RSI-like regime filter:
A McGinley Dynamic mean of price plus ATR bands creates a dynamic channel.
Crosses above the top band and below the lower band change a directional state.
When enabled (UseRSIS):
RSIS can confirm or veto AATS closes:
For longs: A shift to bearish RSIS can force exits sooner.
For shorts: A shift to bullish RSIS can do the same.
This extra layer helps avoid over-reactive stops in strong trends while still respecting a regime change when it happens.
D. Repainting Protection
Many strategies look incredible in the Strategy Tester but fail in live trading because they rely on intrabar values or future-knowledge functions.
This template is built with closed-candle realism in mind:
The Risk Management logic explicitly uses previous bar data (open , high , low , close ) for the key decisions on:
Trailing stop updates
TP triggers
SL hits
RM state transitions
No security() lookahead or future-bar access is used.
This means:
Backtest behavior is designed to match what you can actually get with TradingView alerts and live automation.
Signals may “flicker” intrabar while the candle is forming (as with any strategy), but on closed candles, the RM decisions are stable and non-repainting.
4. For Developers & Modders
We strongly encourage you to mod this script.
To plug your own strategy into the RM engine:
Look for the section titled:
// BASELINE & SIGNAL GENERATION
You will see composite logic building B1 and B2, and then selecting:
baseSig = B2
altSig = B1
finalSig = sigSwap ? baseSig : altSig
You can replace the content used to generate baseSig / altSig with your own logic, for example:
RSI crosses
MACD histogram flips
Candle pattern detectors
External condition flags
Requirements are simple:
Your final logic must output:
2 → Buy signal
-2 → Sell signal
0 → No new trade
That output flows into the RM engine via finalSig → AlertOpen → state machine → Fin.
Once you wire your signals into finalSig, the entire Risk Management system (Stops, TPs, AATS, RSIS, re-entry logic, weekend filters, long/short toggles) becomes available for your custom strategy without re-inventing the wheel.
This makes Superior RBR not just a strategy, but a reference architecture for serious Pine dev work.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
Signal Lynx focuses on helping traders and developers bridge the gap between indicator logic and real-world automation. The same RM engine you see here powers multiple internal systems and templates, including other public scripts like the Super-AO Strategy with Advanced Risk Management.
We provide this code open source under the Mozilla Public License 2.0 (MPL-2.0) to:
Demonstrate how Adaptive Logic and structured Risk Management can outperform static, one-layer indicators
Give Pine Script users a battle-tested RM backbone they can reuse, remix, and extend
If you are looking to automate your TradingView strategies, route signals to exchanges, or simply want safer, smarter strategy structures, please keep Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source).
If you make beneficial modifications, please consider releasing them back to the community so everyone can benefit.
Sentiment
Super-AO Engine - Sentiment Ribbon - 11-29-25Super-AO Sentiment Ribbon by Signal Lynx
Overview:
The Super-AO Sentiment Ribbon is the visual companion to the Super-AO Strategy Suite.
While the main strategy handles the complex mathematics of entries and risk management, this tool provides a simple "Traffic Light" visual at the top of your chart to gauge the overall health of the market.
How It Works:
This indicator takes the core components of the Super-AO strategy (The SuperTrend and the Awesome Oscillator), calculates the spread between them and the current price, and generates a normalized "Sentiment Score."
Reading the Colors:
🟢 Lime / Green: Strong Upward Momentum. Ideally, you only want to take Longs here.
🟤 Olive / Yellow: Trend is weakening. Be careful with new entries, or consider taking profit.
⚪ Gray: The "Kill Zone." The market is chopping sideways. Automated strategies usually suffer here.
🟠 Orange / Red: Strong Downward Momentum. Ideally, you only want to take Shorts here.
Integration:
This script uses the same default inputs as our Super-AO Strategy Template and Alerts Template. Use them together to confirm your automated entries visually.
About Signal Lynx:
Free Scripts supporting Automation for the Night-Shift Nation 🌙
(www.signallynx.com)
Super-AO with Risk Management Alerts Template - 11-29-25Super-AO with Risk Management: ALERTS & AUTOMATION Edition
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
This is the Indicator / Alerts companion to the Super-AO Strategy.
While the Strategy version is built for backtesting (verifying profitability and checking historical performance), this Indicator version is built for Live Execution.
We understand the frustration of finding a great strategy, only to realize you can't easily hook it up to your trading bot. This script solves that. It contains the exact same "Super-AO" logic and "Risk Management Engine" as the strategy version, but it is optimized to send signals to automation platforms like Signal Lynx, 3Commas, or any Webhook listener.
2. Quick Action Guide (TL;DR)
Purpose: Live Signal Generation & Automation.
Workflow:
Use the Strategy Version to find profitable settings.
Copy those settings into this Indicator Version.
Set a TradingView Alert using the "Any Alert() function call" condition.
Best Timeframe: 4 Hours (H4) and above.
Compatibility: Works with any webhook-based automation service.
3. Why Two Scripts?
Pine Script operates in two distinct modes:
Strategy Mode: Calculates equity, drawdowns, and simulates orders. Great for research, but sometimes complex to automate.
Indicator Mode: Plots visual data on the chart. This is the preferred method for setting up robust alerts because it is lighter weight and plots specific values that automation services can read easily.
The Golden Rule: Always backtest on the Strategy, but trade on the Indicator. This ensures that what you see in your history matches what you execute in real-time.
4. How to Automate This Script
This script uses a "Visual Spike" method to trigger alerts. Instead of drawing equity curves, it plots numerical values at the bottom of your chart when a trade event occurs.
The Signal Map:
Blue Spike (2 / -2): Entry Signal (Long / Short).
Yellow Spike (1 / -1): Risk Management Close (Stop Loss / Trend Reversal).
Green Spikes (1, 2, 3): Take Profit Levels 1, 2, and 3.
Setup Instructions:
Add this indicator to your chart.
Open your TradingView "Alerts" tab.
Create a new Alert.
Condition: Select SAO - RM Alerts Template.
Trigger: Select Any Alert() function call.
Message: Paste your JSON webhook message (provided by your bot service).
5. The Logic Under the Hood
Just like the Strategy version, this indicator utilizes:
SuperTrend + Awesome Oscillator: High-probability swing trading logic.
Non-Repainting Engine: Calculates signals based on confirmed candle closes to ensure the alert you get matches the chart reality.
Advanced Adaptive Trailing Stop (AATS): Internally calculates volatility to determine when to send a "Close" signal.
6. About Signal Lynx
Automation for the Night-Shift Nation 🌙
We are providing this code open source to help traders bridge the gap between manual backtesting and live automation. This code has been in action since 2022.
If you are looking to automate your strategies, please take a look at Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source). If you make beneficial modifications, please release them back to the community!
Super-AO with Risk Management Strategy Template - 11-29-25Super-AO Strategy with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
Welcome to the Super-AO Strategy. This is more than just a buy/sell indicator; it is a complete, open-source Risk Management (RM) Template designed for the Pine Script community.
At its core, this script implements a robust swing-trading strategy combining the SuperTrend (for macro direction) and the Awesome Oscillator (for momentum). However, the real power lies under the hood: a custom-built Risk Management Engine that handles trade states, prevents repainting, and manages complex exit conditions like Staged Take Profits and Advanced Adaptive Trailing Stops (AATS).
We are releasing this code to help traders transition from simple indicators to professional-grade strategy structures.
2. Quick Action Guide (TL;DR)
Best Timeframe: 4 Hours (H4) and above. Designed for Swing Trading.
Best Assets: "Well-behaved" assets with clear liquidity (Major Forex pairs, BTC, ETH, Indices).
Strategy Type: Trend Following + Momentum Confirmation.
Key Feature: The Risk Management Engine is modular. You can strip out the "Super-AO" logic and insert your own strategy logic into the template easily.
Repainting: Strictly Non-Repainting. The engine calculates logic based on confirmed candle closes.
3. Detailed Report: How It Works
A. The Strategy Logic: Super-AO
The entry logic is based on the convergence of two classic indicators:
SuperTrend: Determines the overall trend bias (Green/Red).
Awesome Oscillator (AO): Measures market momentum.
The Signal:
LONG (+2): SuperTrend is Green AND AO is above the Zero Line AND AO is Rising.
SHORT (-2): SuperTrend is Red AND AO is below the Zero Line AND AO is Falling.
By requiring momentum to agree with the trend, this system filters out many false signals found in ranging markets.
B. The Risk Management (RM) Engine
This script features a proprietary State Machine designed by Signal Lynx. Unlike standard strategies that simply fire orders, this engine separates the Signal from the Execution.
Logic Injection: The engine listens for a specific integer signal: +2 (Buy) or -2 (Sell). This makes the code a Template. You can delete the Super-AO section, write your own logic, and simply pass a +2 or -2 to the RM_EngineInput variable. The engine handles the rest.
Trade States: The engine tracks the state of the trade (Entry, In-Trade, Exiting) to prevent signal spamming.
Aggressive vs. Conservative:
Conservative Mode: Waits for a full trend reversal before taking a new trade.
Aggressive Mode: Allows for re-entries if the trend is strong and valid conditions present themselves again (Pyramiding Type 1).
C. Advanced Exit Protocols
The strategy does not rely on a single exit point. It employs a "Layered Defense" approach:
Hard Stop Loss: A fixed percentage safety net.
Staged Take Profits (Scaling Out): The script allows you to set 3 distinct Take Profit levels. For example, you can close 10% of your position at TP1, 10% at TP2, and let the remaining 80% ride the trend.
Trailing Stop: A standard percentage-based trailer.
Advanced Adaptive Trailing Stop (AATS): This is a highly sophisticated volatility stop. It calculates market structure using Hirashima Sugita (HSRS) levels and Bollinger Bands to determine the "floor" and "ceiling" of price action.
If volatility is high: The stop loosens to prevent wicking out.
If volatility is low: The stop tightens to protect profit.
D. Repainting Protection
Many Pine Script strategies look great in backtesting but fail in live trading because they rely on "real-time" price data that disappears when the candle closes.
This Risk Management engine explicitly pulls data from the previous candle close (close , high , low ) for its calculations. This ensures that the backtest results you see match the reality of live execution.
4. For Developers & Modders
We encourage you to tear this code apart!
Look for the section titled // Super-AO Strategy Logic.
Replace that block with your own RSI, MACD, or Price Action logic.
Ensure your logic outputs a 2 for Buy and -2 for Sell.
Connect it to RM_EngineInput.
You now have a fully functioning Risk Management system for your custom strategy.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
This code has been in action since 2022 and is a known performer in PineScript v5. We provide this open source to help the community build better, safer automated systems.
If you are looking to automate your strategies, please take a look at Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source). If you make beneficial modifications, please release them back to the community!
VWAP & EMA9 Cross AlertAlerts when EMA9 and VWAP Cross. This provides an indicator of general market direction based on these 2 indicators.
Institutional Orderflow - CT Institutional Orderflow - CT
Overview
This indicator translates VIX futures dynamics into equity price implications, revealing institutional hedging flows and vol pricing's gravitational pull on price, where overpriced volatility signals compression and upside support, while underpriced levels flag expansion risks and downside pressure.
It maps VX deviations to equity levels via historical correlations, anchored by the Bull Bear Bias (BBB), a contango midpoint concept from Matt Cowart at Rocketscooter that sets VX1! fair value as the midpoint between front-month (VX1!) and second-month (VX2!) contracts at monthly rolls.
VX itself quantifies the distribution of options strikes around the underlying price over time, essentially the market's priced-in dispersion of potential outcomes, tied to expiration distance, with volatility inversely proportional to liquidity (fewer transactions in high-vol environments reduce flow and amplify moves).
Interpretation
- VX1! (Front-Month VIX Futures) : Gauges 30-day (±7 days, or 23-37 days to expiration) SPX implied volatility via forward options pricing, capturing medium-term hedging landscapes. Dealers, managing gamma exposure from longer-dated options, hedge by delta-adjusting underlying positions; rising VX1! reflects widening strike distributions (higher fear), prompting protective equity sales that pressure prices; falls toward BBB indicate narrowing distributions (calm), easing hedges and fostering liquidity-driven rallies as transaction frequency rises.
- VIX1D (1-Day Expected Volatility) : Focuses on ultra-short-dated (e.g., 0DTE) P.M.-settled options, measuring immediate strike clustering and gamma intensity near expiration. Closer-dated options heighten dealer sensitivity; spikes signal concentrated hedging bursts, eroding liquidity and fueling intraday volatility with sharp price reversals; declines promote hedging unwind, boosting transaction flow and short-term stability.
- VVIX (Volatility of VIX) : Assesses the implied volatility of VIX options (the "vol of vol"), revealing uncertainty in the vol forecast itself. Elevated VVIX denotes aggressive dealer repositioning across VIX strikes, forecasting erratic VX swings and reduced equity liquidity; subdued levels imply stable distributions, enhancing flow and trend persistence. BBB projections adjust dynamically: low VVIX (<80) constrains overshoots for reversion trades, while high (>110) expands them amid panic hedging.
- BBB Relationship : VX1! above BBB highlights over-distributed (expensive) vol, where dealers unwind hedges as time decays, inverting low liquidity into upside momentum; below BBB warns of under-distributed (cheap) vol, with sparse transactions amplifying expansion risks. Shorter tenors (VIX1D) drive tactical, gamma-fueled price action, contrasting VX1!'s strategic horizon, with VVIX scaling the intensity.
Key Features
- Target Line (Anchored) : Locks at swing violations as enduring support (green, below price) or resistance (red, above), fusing BBB's vol equilibrium with technical anchors to spotlight dealer hedge confluences in strike distributions.
- Magnet Line (Dynamic) : Mirrors live VX1!/BBB shifts, plotting "implied fair" price (blue above for unwind pull; orange below for hedge drag), linking term structure evolution to liquidity-driven gravity.
- Fear Scenario Line : Forecasts price erosion from a 10%+ VX1! surge above BBB, calibrated by VVIX for vol-of-vol amplification, defining dealer panic thresholds where low-liquidity spikes cascade.
- Overshoot Projection : Predicts interim extensions past targets, modulated by VIX1D (near-term gamma flares) and VVIX (distribution uncertainty), relating expiration proximity to heightened swings before time-decay reversion.
- Candle Coloring and SMA Trends : Tracks near-term VX1!/VVIX/VIX1D flows via gradient-colored candles (strong/medium/weak bullish/bearish based on SMA deviations), visualizing realtime options dynamics; green shades signal hedging unwind (rising liquidity, upside bias), red indicates expansion (dealer sales, downside drag). Recommended: VX1! Trend for long-term confluences (Tue-Thu swings); VIX1D Trend or VX1! + VIX1D for short-term (Mon/Fri scalps); add VVIX for regime shifts.
- Swing Boxes : Denote aggressive VX spikes (fear hedging bets) or de-escalations (position realizations), highlighting gamma-driven reversals where dealers rebalance, often preceding liquidity surges or drains in price action.
- Table Metrics : Condenses VX1!/BBB skew, VVIX regimes, VIX1D pulses, and contango cues, correlating options tenor gradients to price flow and hedging mechanics.
Nexural OrderFlow MatrixNexural OrderFlow Matrix
### Professional Order Flow Analysis for Index Futures on TradingView
**Specifically Engineered for:** ES, NQ, YM, RTY, and other high-liquidity index futures
---
## Before You Read Any Further
I need to be upfront with you about something important.
**True order flow analysis—the kind used by institutional traders and prop firms—is not possible on TradingView.**
When professionals talk about order flow, they're referring to the raw tape: every single trade, the exact price, the exact size, and whether it was a buyer lifting the offer or a seller hitting the bid. That level of data simply doesn't exist in TradingView's infrastructure.
So why did I build this indicator? Because TradingView *does* provide meaningful volume delta data through their official functions, and when presented correctly, it can still give you a genuine edge in understanding buying and selling pressure—especially on **index futures** where liquidity is deep and the uptick/downtick methodology works best.
This indicator was specifically engineered with index futures traders in mind. The data sources, the color thresholds, the activity calculations—all of it is optimized for the characteristics of ES, NQ, YM, and RTY. It can work on other instruments, but index futures are where it shines.
I'm not here to oversell you. I'm here to give you the best tool possible within the platform's limitations—and to be completely transparent about what those limitations are.
---
## What This Indicator Actually Does
Nexural OrderFlow Matrix uses TradingView's most advanced volume analysis functions under the hood:
- `ta.requestUpAndDownVolume()` — Samples lower timeframe data to estimate volume on upticks vs downticks
- `ta.requestVolumeDelta()` — TradingView's official cumulative volume delta calculation
The indicator presents this data in two ways:
**1. The Matrix Table**
A heatmap grid aligned beneath each candle showing:
- **Volume** — Total bar volume with yellow/gold intensity gradient
- **Bar VWAP** — Volume-weighted average price within the bar
- **Delta** — Net difference between buying and selling volume
- **Delta %** — Delta as a percentage of total volume (the most important metric)
- **Bar Δ CVD** — How much cumulative volume delta changed this bar
- **Buy Volume** — Estimated volume on upticks
- **Sell Volume** — Estimated volume on downticks
**2. The Imbalance Bars**
A visual stacked bar chart showing the proportional split between buyers and sellers. Green on top represents buying volume, red on bottom represents selling volume. The split is proportional—so a 70/30 bar instantly shows you the imbalance without reading numbers.
**3. The Nexural Flow Meter**
A real-time panel showing:
- Current bias (BUYERS/SELLERS/NEUTRAL)
- Intensity classification (EXTREME/STRONG/MODERATE/WEAK)
- Imbalance ratio (e.g., "BUY 2.3:1")
- Live delta, volume, and VWAP readings
---
## The Color System
I spent considerable time on this because it matters.
Most indicators treat all bars equally. That's noise. In reality, a bar with 8% delta imbalance tells you almost nothing, while a bar with 65% imbalance is screaming information at you.
**The Activity Threshold System:**
- Bars below your threshold (default 25% delta) fade to muted gray tones
- As imbalance increases, colors transition from gray → muted color → vibrant color
- High-activity bars pop with bright greens and reds
- Low-activity bars fade into the background where they belong
**Volume uses a separate yellow/gold gradient:**
- Low volume: Faint, dark yellow-brown
- High volume: Rich, vibrant amber/gold
- This lets you instantly spot volume spikes without reading numbers
The result: your eye is naturally drawn to the bars that matter.
---
## Honest Accuracy Assessment
Based on extensive comparison testing against TradingView's own Volume Footprint and CVD indicators, this indicator achieves approximately **85-90% correlation** with official TradingView tools.
Let me put that in perspective:
| Platform | Data Source | Typical Accuracy |
|----------|-------------|------------------|
| Sierra Chart (Denali feed) | Actual bid/ask tape | 99%+ |
| Bookmap | Actual bid/ask tape | 99%+ |
| NinjaTrader + Kinetick | Tick-level data | 95-99% |
| Jigsaw Daytradr | Reconstructed tape | 95-99% |
| **TradingView (this indicator)** | **Aggregated LTF sampling** | **85-90%** |
| Generic volume indicators | Basic volume only | 50-60% |
We're at the ceiling of what TradingView can provide. The dual data source approach, official library functions, and lower timeframe sampling squeeze out every drop of accuracy the platform allows.
But if you're a dedicated tape reader who needs to see every lot hitting the book, this isn't the tool for that. No TradingView indicator is. That's not a criticism—it's just the reality of the platform's architecture.
---
## Where This Indicator Works Best
### Primary Use Case: Index Futures
This indicator was built specifically for index futures traders. These instruments have the characteristics that make order flow analysis most reliable:
**The Big Four:**
| Symbol | Name | Why It Works |
|--------|------|--------------|
| **ES** | E-mini S&P 500 | Deepest liquidity in the world, tight spreads, clean delta readings |
| **NQ** | E-mini NASDAQ-100 | Massive volume, excellent uptick/downtick correlation |
| **YM** | E-mini Dow | Strong institutional participation, reliable volume data |
| **RTY** | E-mini Russell 2000 | Good liquidity, solid delta accuracy |
Index futures are ideal because:
- **Deep liquidity** — Thousands of contracts per minute means meaningful sample sizes
- **Tight spreads** — Usually 1 tick, so bid/ask attribution is more accurate
- **Continuous trading** — No gaps during RTH, consistent data flow
- **Institutional participation** — Real order flow, not retail noise
- **Official CME volume** — Accurate, exchange-reported data
If you're trading ES, NQ, YM, or RTY on TradingView, this indicator will give you the most accurate order flow approximation the platform can provide.
---
### Secondary Use Cases
**Other Liquid Futures:**
- CL, GC, SI (commodities) — Work well but slightly less optimized
- 6E, 6B, 6J (currency futures) — Decent accuracy with good liquidity
**Large-Cap Stocks & ETFs:**
- SPY, QQQ, IWM
- AAPL, MSFT, NVDA, TSLA, AMD
- Any stock trading millions of shares daily
**Crypto (with caveats):**
- BTC, ETH on major exchanges
- Works best during active hours
- Quality varies by exchange data feed
**Best Timeframes:**
- 1-minute to 15-minute for active intraday trading
- The indicator automatically selects appropriate lower timeframe sampling
- Can work on higher timeframes but edge diminishes
---
## Where This Indicator Struggles
I could hide this section and let you figure it out the hard way. I'd rather just tell you.
**Low-Volume Stocks:**
If a stock trades 50,000 shares a day, the delta readings will be noisy and inconsistent. The uptick/downtick estimation needs sufficient trade activity to be meaningful.
**Wide-Spread Instruments:**
When spreads are 10+ cents wide, a trade at the ask doesn't necessarily indicate aggressive buying. The bid/ask classification becomes less reliable.
**Forex:**
TradingView shows broker-specific volume for forex, not actual market volume. Readings will vary wildly depending on your data provider. Use with extreme caution, or not at all.
**Pre-Market & After-Hours:**
Liquidity thins dramatically. Estimations become less reliable. I'd trust regular session data far more.
**Daily/Weekly/Monthly Charts:**
The aggregation becomes so smoothed that the edge largely disappears. This is designed for intraday analysis.
---
## How to Actually Use This
### Focus on Delta %, Not Raw Delta
Raw delta is influenced by overall volume. A 500-lot delta sounds significant until you realize the bar traded 50,000 lots—that's just 1% imbalance, which is noise.
Delta % normalizes this. Look for readings above ±30% to identify meaningful pressure. Above ±50% is strong. Above ±70% is extreme.
### Let the Colors Guide You
If a bar is gray, the market isn't showing its hand. Don't overanalyze it. When you see bright green or red cells, that's when something is happening.
### Confirm With Price Action
Order flow data is context, not a signal generator. A strong bullish delta at a key support level means something different than the same reading in the middle of nowhere.
Use this alongside your existing analysis—levels, structure, momentum—not as a replacement.
### Watch for Divergences
Price making new highs while delta turns negative? That's absorption—sellers stepping in but price hasn't reacted yet.
Price dropping but delta stays positive? Buyers are defending.
These divergences often precede reversals. They're where order flow analysis provides genuine edge.
### Adjust the Activity Threshold
The default is 25%. For volatile instruments like NQ futures, you might lower it to 20%. For calmer instruments, raise it to 30-35%. The goal is filtering noise while keeping meaningful signals visible.
---
## Understanding the Metrics
| Metric | What It Tells You |
|--------|-------------------|
| **Volume** | Total contracts/shares traded |
| **Delta** | Net buying minus selling volume |
| **Delta %** | How imbalanced the bar is (key metric) |
| **Bar Δ CVD** | Cumulative delta change for this bar |
| **Imbalance Ratio** | Buy:Sell ratio (e.g., 2.1:1 or 1:1.8) |
| **Bar VWAP** | Where most volume transacted within the bar |
| Delta % Range | Interpretation |
|---------------|----------------|
| 0-15% | Neutral, no clear pressure |
| 15-30% | Weak directional bias |
| 30-50% | Moderate pressure |
| 50-70% | Strong imbalance |
| 70%+ | Extreme one-sided flow |
| Color | Meaning |
|-------|---------|
| Gray | Low activity, likely noise |
| Muted Green | Mild buying pressure |
| Bright Green | Strong buying pressure |
| Muted Red | Mild selling pressure |
| Bright Red | Strong selling pressure |
| Yellow/Gold | Volume intensity (separate scale) |
---
## Settings Breakdown
**Display Settings:**
- *Show Matrix Table* — Toggle the data heatmap on/off
- *Show Imbalance Bars* — Toggle the stacked visual bars on/off
- *Row Height* — Adjust the matrix row sizing
- *Activity Threshold* — Delta % below which bars fade to gray
**Imbalance Bars:**
- *Bar Height* — Vertical size of the stacked bars
- *Show Volume Labels* — Display buy/sell volume numbers
- *Show Percentage* — Display buy/sell percentages
**Timeframe Mode:**
- *Auto* — Sensible defaults based on your chart timeframe
- *Aggressive* — Samples from lowest possible timeframe (more granular)
- *Conservative* — Samples from slightly higher timeframe (smoother)
- *Custom* — You choose the exact lower timeframe
**CVD Reset:**
- *Daily* — Standard for intraday trading
- *Weekly/Monthly* — Useful for swing analysis
- *None* — Running cumulative total
---
## A Note on Expectations
I built this to be the best possible order flow tool within TradingView's constraints. It uses every optimization available, presents data in a clean and functional way, and doesn't pretend to be something it's not.
But I want to be clear: if order flow is central to your strategy and you're making decisions based on tape reading, you should seriously consider platforms designed for that purpose. Sierra Chart, Bookmap, Jigsaw—these tools show you the actual order book and time & sales. The difference is substantial.
Think of Nexural OrderFlow Matrix as a bridge. It gives TradingView users access to order flow concepts with reasonable accuracy. For many traders, especially those combining multiple analysis methods, that's enough. For dedicated tape readers, it's a starting point that might inspire you to explore deeper tools.
---
## What You're Getting
- **Dual visualization modes** — Matrix table and/or Imbalance bars
- **Activity-based color system** — Noise fades, signals pop
- **Real-time Nexural Flow Meter** — Live imbalance readings
- **Flexible configuration** — Show what you need, hide what you don't
- **Honest accuracy** — 85-90% correlation with official TradingView data
- **Clean, professional presentation** — Designed for actual trading, not screenshots
---
## What You're Not Getting
- Raw tick data (TradingView limitation)
- Bid/ask tape attribution (TradingView limitation)
- Order book depth (TradingView limitation)
- 99% accuracy (impossible on this platform)
- Magic signals (this is a tool, not a strategy)
---
## Final Thoughts
Trading is hard enough without tools that overpromise and underdeliver. I'd rather give you something that works within its limitations and be honest about those limitations than sell you a fantasy.
Nexural OrderFlow Matrix does what it says. It presents TradingView's best volume delta data in a clear, heatmap format with intelligent color coding. It's accurate within the platform's constraints. It's clean, it's fast, and it doesn't clutter your chart with noise.
Use it wisely. Combine it with price action, levels, and your own market understanding. And if you ever feel limited by what TradingView offers, know that there are deeper tools waiting for you when you're ready.
Trade well.
*— Nexural Trading*
---
## Quick Reference Card
**Built For:** Index Futures (ES, NQ, YM, RTY)
**Also Works On:** CL, GC, SPY, QQQ, large-cap stocks
**Avoid On:** Low-volume stocks, forex, illiquid instruments
**Best Timeframes:** 1-min to 15-min intraday
**Key Metric:** Delta % (not raw delta)
**Accuracy:** ~85-90% vs TradingView official tools
**Edge:** Divergences between price and delta
---
*Nexural OrderFlow Matrix — Engineered for index futures. Maximum accuracy within TradingView's limits.*
$TGM | Topological Geometry Mapper (Custom)TGM | Topological Geometry Mapper (Custom) – 2025 Edition
The first indicator that reads market structure the way institutions actually see it: through persistent topological features (Betti-1 collapse) instead of lagging price patterns.
Inspired by algebraic topology and persistent homology, TGM distills regime complexity into a single, real-time proxy using the only two macro instruments that truly matter:
• CBOE:VIX – market fear & convexity
• TVC:DXY – dollar strength & global risk appetite
When the weighted composite β₁ persistence drops below the adaptive threshold → market structure radically simplifies. Noise dies. Order flow aligns. A directional explosion becomes inevitable.
Features
• Structural Barcode Visualization – instantly see complexity collapsing in real time
• Dynamic color system:
→ Neon green = long breakout confirmed
→ red = short breakout confirmed
→ yellow = simplification in progress (awaiting momentum)
→ deep purple = complex/noisy regime
• Clean HUD table with live β₁ value, threshold, regime status and timestamp
• Built-in high-precision alerts (Long / Short / Collapse)
• Zero repaint – uses only confirmed data
• Works on every timeframe and every market
Best used on:
BTC, ETH, ES/NQ, EURUSD, GBPUSD, NAS100, SPX500, Gold – anywhere liquidity is institutional.
This is not another repainted RSI or MACD mashup.
This is structural regime detection at the topological level.
Welcome to the future of market geometry.
Made with love for the real traders.
Open-source. No paywalls. No BS.
#topology #betti #smartmoney #ict #smc #orderflow #regime #institutional
Auction Theory Support & Resistance Flipper @MaxMaserati 3.0The Auction Theory Support & Resistance Flipper @MaxMaserati 3.0 indicator identifies and tracks volume-based support and resistance levels using an auction market theory approach. It automatically detects price swing points and creates dynamic "defense zones" where significant volume activity occurred, then monitors these zones to determine if they're being defended or overwhelmed by market participants.
Key Features:
1. Automatic Level Detection
Uses fractal swing detection to identify key reversal points
Creates support zones at swing lows where buyers defended price
Creates resistance zones at swing highs where sellers defended price
2. Volume-Based Validation
Only displays levels with significant volume (above threshold)
Volume strength shown as percentage relative to average volume
Visual volume boxes scale with strength (optional)
3. Auction Status Tracking
The indicator monitors each level and displays real-time auction status through labels:
IMPORTANT - Box Without Label:
When a level is first created, it shows ONLY the box/line with NO label
This means price has NOT yet visited/tested this defense level
The auction has not started yet - it's a pending defense zone
Labels ONLY appear after price touches the zone for the first time
Label Formats (3 modes available once price visits):
Compact Mode: 150% ↑
First number = Original volume strength percentage
Symbol shows auction status (↑↑ Strong Defense, ↑ Defending, ↓ Under Pressure, ↓↓ Overwhelmed, ⇌ Balanced, ✓ Finished, ⚡ Flipped)
Full Mode: 150% | ↑ Defending Auction 45%
Volume strength | Status description | Excess volume percentage
Touch Only: Labels appear only after price touches the level (same as default behavior)
Auction States (after first touch):
Unfinished Auction (⏳): Recently touched, minimal volume absorbed (< 30%)
Balanced Auction (⇌): Volume matching original defense, equilibrium
Defending Auction (↑/↓): Successfully defending with excess volume (20-100%)
Strong Defense Auction (↑↑/↓↓): Overwhelming defense volume (>100%)
Under Pressure (↑/↓): Defense weakening, opposite volume building
Overwhelmed (↑↑/↓↓): Defense broken, significant opposite volume (>50%)
Finished Auction (✓): Volume threshold met (100%+), level depleted
Flipped Level (⚡): Support became resistance or vice versa
4. Support/Resistance Flip Detection
Automatically detects when a support level fails and becomes resistance
Or when resistance breaks and becomes support
Visual indication with orange background and ⚡ symbol
Continues tracking until new auction finishes
5. Summary Table
Active Levels count
Breakdown by Support/Resistance
Number of flipped levels
Maximum volume strength currently active
Settings:
Volume Analysis: Lookback period and threshold multiplier
Auction Management: Depletion threshold, bars away to finish, merge distance
Visual Options: Show/hide boxes, labels, depleted levels
Label Customization: Compact/Full/Touch Only modes, size options
Colors: Buyers (green), Sellers (red), Flipped (orange), Depleted (gray)
DTR Trend EntryDTR Trend Entry is a trend-based entry tool designed to highlight market conditions and generate clear long and short signals based on price behavior around a moving average. It helps traders quickly identify bullish trends, bearish trends, consolidation zones, and potential breakout entries.
The indicator uses a simple moving average (SMA) of user-defined length to determine trend direction. A bullish trend is confirmed when the price stays above the moving average for consecutive bars, while a bearish trend is confirmed when the price stays below it. ATR (Average True Range) is also calculated, and price proximity to the moving average is used to detect consolidation, marking periods where the market is likely ranging and preparing for a move.
The chart background is shaded green during bullish trends, red during bearish trends, and yellow during consolidation to make market conditions easy to see at a glance. Entry signals appear when price crosses the moving average in the direction of the established trend: a crossover above the moving average triggers a long entry signal in a bullish zone, and a crossunder triggers a short entry signal in a bearish zone. These signals are marked on the chart with labels and can also be sent as alerts.
DTR Trend Entry is useful for traders who prefer trend-following approaches, breakout strategies, or structure-based entries. It works well on most timeframes and helps avoid late or low-quality trades by filtering entries through trend confirmation and volatility conditions.
Santhosh Zero lag Trend change AlertThis indicator alert whenever these is a change in trend direction. Change input to match with your Asset/Index. This works well in all time frame, I recommend this for Scalping and Position trading
@Aladdin's Trading Web – Command CenterThe indicator uses standard Pine Script functionality including z-score normalization, standard deviation calculations, percentage change measurements, and request.security calls for multiple predefined symbols. There are no proprietary algorithms, external data feeds, or restricted calculation methods that would require protecting the source code.
Description:
The @Aladdin's Trading Web – Command Center indicator provides a composite market regime assessment through a weighted combination of multiple intermarket relationships. The indicator calculates normalized z-scores across several key market components including banks, volatility, the US dollar, credit spreads, interest rates, and alternative assets.
Each component is standardized using z-score methodology over a user-defined lookback period and combined according to configurable weighting parameters. The resulting composite measure provides a normalized assessment of the prevailing market environment, with the option to invert rate relationships for specific market regime conditions.
The indicator focuses on capturing the synchronized behavior across these interconnected market segments to provide a unified view of systemic market conditions.
Elite Energy Alpha MatrixThe Elite Energy Alpha Matrix indicator provides comprehensive analysis of the energy sector, focusing on the complex relationships between crude oil benchmarks, natural gas, energy-related ETFs, and the performance dynamics across various energy sub-sectors.
The indicator tracks multiple energy price data sources including WTI crude oil, Brent crude, natural gas, and oil ETFs, enabling detailed monitoring of price relationships and divergences within the energy complex.
Key analytical components include:
• Correlation analysis between major energy benchmarks
• Multi-timeframe examination of energy price relationships
• Sector rotation detection within energy sub-sectors including integrated oil majors, exploration and production companies, oilfield services, refiners, pipelines, and renewable energy
• Performance monitoring across different energy market segments
The indicator provides a structured framework for analyzing the internal dynamics of the energy sector, identifying periods of alignment or divergence between different energy price instruments, and monitoring relative performance across energy sub-sectors.
This approach enables users to assess the consistency of price movements across the energy complex and identify situations where different components of the energy market are exhibiting divergent behavior, which can provide insight into the underlying drivers affecting the sector.2.6s
Myfxschool Trade Pick v25Introducing the MyFXSchool Leading Indicator™, a next-generation market prediction tool designed exclusively for traders who want accuracy, clarity, and early trend identification. Built using advanced price-action logic, institutional order-flow concepts, and dynamic volatility algorithms, this indicator gives you a true leading advantage—not just lagging signals.
BT Aggressionv0.3.1 Beta Release
The BT Aggression Indicator is a high-resolution market sentiment and aggression tool for futures trading. It combines volume delta, volatility normalization, and dynamic smoothing to give traders real-time insight into market pressure.
Detailed description in future release.
ZY Target TerminatorThe indicator generates trading signals. The profitability displayed on the signal at the time it is generated is the maximum profitability of the trade opened with the preceding signal. Therefore, avoid trading pairs and trends where this ratio is insufficient.
Extended SOPR Indicator - SSOPR Tops (A/B toggle)Extended SOPR Indicator — SSOPR Tops and Lows (A/B toggle)
Observation-only. Data: Glassnode SOPR.
Overview
This indicator extends the classical SOPR (Spent Output Profit Ratio) to improve readability and reduce noise on charts. SOPR measures whether coins moved on-chain were spent at a profit or at a loss. In brief: SOPR > 1 → spending at profit; SOPR < 1 → spending at loss. SSOPR (from "Smoothed SOPR") applies optional log transform (centers baseline at 0), smoothing (standard or adaptive), and adds structured signals: Z‑score lows (capitulation), buy zones , and top detection after prolonged elevation.
Why extend SOPR? (SSOPR vs classical SOPR)
• Noise reduction: Raw daily SOPR can whipsaw around its baseline. SSOPR uses smoothing and (optionally) adaptive smoothing so regimes are visible without overfitting.
• Better readability: The log transform shifts the break-even line to 0, making “profit territory” (above 0) and “loss territory” (below 0) visually intuitive on oscillators.
• Actionable context: Z‑score highlights extreme lows (capitulation risk), a simple buy-zone threshold marks potential accumulation, and a structured top pattern (with a time factor) helps frame distribution phases after sustained elevation.
What the script plots
• Smoothed SOPR (SSOPR): An orange line representing the smoothed SOPR (with optional log transform and optional adaptive smoothing).
• Top markers: A red triangle appears once at the onset of a confirmed top pattern.
• Background shading:
– Soft green: Buy zone when SSOPR falls below the “Buy Threshold.” (+ Z‑score capitulation zones (extreme lows)).
– Soft red: Top‑zone shading when the top criteria are met but before the single triangle fires.
Inputs & parameters
• Smoothing Length (default 14): Base window for smoothing SSOPR. Higher values = smoother, slower response.
• Apply Log Transform (default ON): Uses log(SOPR) so the baseline is 0 (log(1)=0). Above 0 → net profit regime; below 0 → net loss regime.
• Adaptive Smoothing (default OFF): Expands smoothing length as volatility rises using a standard deviation proxy; reduces whipsaws while preserving structure.
• Z‑score Threshold for Lows (default −2.5): Highlights capitulation zones when SSOPR deviates far below its rolling mean.
• SSOPR Buy Threshold (default −0.02): Simple rule-of-thumb level for potential accumulation context when below (log scale).
• SSOPR Top Threshold (default +0.005): Minimum elevation required for “profit territory” when assessing tops (log scale).
• Min Bars Above Threshold Before Top (default 50): Ensures prolonged elevation before calling a top.
• Lookback for Peak Detection (default 50): Window used to locate the recent high.
• Drop % from Peak to Confirm Top (default 5%): Confirms the start of distribution from a local high.
• Highlight Background : Toggles shaded zones.
Top detection (indicator-only)
A top fires when ALL of the following are true:
SSOPR spent at least Min Bars Above Threshold above the Top Threshold (sustained elevation).
The rising phase test passes (Option A or B; see below).
A drop from the local peak exceeds Drop % within the Lookback window.
The peak occurred in profit territory (SSOPR > Top Threshold).
To avoid repeated signals during the decline, the script emits the triangle once, at onset.
Rising‑phase switch: Option A vs Option B
• Option A — Up‑step ratio : Over the last A: Bars for Rising Check (default 50), it requires that at least A: Required Up‑Step Ratio (default 60%) of bars were rising (each bar compared to the previous). This favors gradual, persistent advances and filters out “choppy” lifts.
• Option B — Net slope : Compares current SSOPR to its value B: Bars Back for Net Slope ago (default 50). If higher, the series is considered rising. This is simpler and reacts faster in volatile phases but can admit brief pseudo‑trends.
Guidance : Prefer A for conservative confirmation in slow, persistent cycles; use B when trend moves are strong and you need timely detection.
Interpretation guide
• Regimes (log view): Above 0 → spending at profit; below 0 → spending at loss.
• Capitulation lows: When Z‑score < threshold, conditions often reflect forced/liquidity‑driven spending. Treat as context, not signals.
• Buy zone: SSOPR < Buy Threshold flags potential accumulation conditions (combine with price structure).
• Tops: After prolonged elevation, a confirmed top often coincides with profit‑taking/distribution phases.
Recommended timeframes
• Daily : Code optimized for daily timeframe.
Method summary
• SSOPR source: GLASSNODE:BTC_SOPR (via request.security ).
• Optional log transform: sopr → log(sopr) to normalize around 0.
• Smoothing: SMA over Smoothing Length , optionally adaptive using local volatility (std dev).
• Z‑score: (SSOPR − mean) / std dev, highlighting extreme lows.
• Top: Requires long elevation above Top Threshold , rising‑phase (A/B), and a subsequent drop > Drop % from recent high.
Limitations & notes
• SOPR reflects on‑chain movements; some activity occurs off‑chain (exchanges, internal transfers). Not all moves imply sale; aggregation makes it a usable proxy for profit/loss realization.
• Higher smoothing reduces noise but delays signals; adaptive smoothing can help but is still a trade‑off.
• Treat thresholds as context markers. They are not entry/exit signals by themselves.
• Use with price structure, volume, and other on‑chain indicators (e.g., realized price bands, dormancy/CDD) for confluence.
How to use (examples)
• Advance holding above 0 (log view): Retests of 0 from above that hold—while SSOPR remains elevated—often mark absorption; look for Top conditions only after sustained elevation and a confirmed drop from peak.
• Downtrend below 0: Rejections near 0 can align with continued loss realization; extreme Z‑score lows suggest capitulation risk—context for accumulation, not a blind buy.
Recommended settings
• Weekly: Log ON, Smoothing Length 14–30, Adaptive ON, Buy Threshold −0.02, Top Threshold +0.005, Rising Method A, Min Bars 50.
• Daily: Log ON, Smoothing Length 14–20, Adaptive OFF or ON (depending on noise), Rising Method B for timely slope checks.
Credits & references
• SOPR metric: Renato Shirakashi; documentation: Glassnode , CryptoQuant , overview: Bitbo .
Disclaimer
This script is for research/education on market behavior. It is not financial advice. Indicators provide context; decisions remain your responsibility.
Tags
bitcoin, btc, on‑chain, sopr, ssopr, glassnode, oscillator, regime, distribution, capitulation
RSI Regimes + Cardwell Sweet SpotsRSI based upon Cardwell principles, with a strength evaluation based upon the ADX, VWAP, velocity of both, and Cardwell RSI principles of a sweet spot of a RSI.
Pivot Points by Pangusandhai.comPivot Points by Pangusandhai.com
This PP will usefull only for pangusandhai.com clients.
because they only know about how to use it for intraday, swing & investment purpose.
Bitcoin vs. S&P 500 Performance Comparison**Full Description:**
**Overview**
This indicator provides an intuitive visual comparison of Bitcoin's performance versus the S&P 500 by shading the chart background based on relative strength over a rolling lookback period.
**How It Works**
- Calculates percentage returns for both Bitcoin and the S&P 500 (ES1! futures) over a specified lookback period (default: 75 bars)
- Compares the returns and shades the background accordingly:
- **Green/Teal Background**: Bitcoin is outperforming the S&P 500
- **Red/Maroon Background**: S&P 500 is outperforming Bitcoin
- Displays a real-time performance difference label showing the exact percentage spread
**Key Features**
✓ Rolling performance comparison using customizable lookback period (default 75 bars)
✓ Clean visual representation with adjustable transparency
✓ Works on any timeframe (optimized for daily charts)
✓ Real-time performance differential display
✓ Uses ES1! (E-mini S&P 500 continuous futures) for accurate comparison
✓ Fine-tuning adjustment factor for precise calibration
**Use Cases**
- Identify market regimes where Bitcoin outperforms or underperforms traditional equities
- Spot trend changes in relative performance
- Assess risk-on vs risk-off periods
- Compare Bitcoin's momentum against broader market conditions
- Time entries/exits based on relative strength shifts
**Settings**
- **S&P 500 Symbol**: Default ES1! (can be changed to SPX or other indices)
- **Lookback Period**: Number of bars for performance calculation (default: 75)
- **Adjustment Factor**: Fine-tune calibration to match specific data feeds
- **Transparency Controls**: Customize background shading intensity
- **Show/Hide Label**: Toggle performance difference display
**Best Practices**
- Use on daily timeframe for swing trading and position analysis
- Combine with other momentum indicators for confirmation
- Watch for color transitions as potential regime change signals
- Consider using multiple timeframes for comprehensive analysis
**Technical Details**
The indicator calculates rolling percentage returns using the formula: ((Current Price / Price ) - 1) × 100, then compares Bitcoin's return to the S&P 500's return over the same period. The background color dynamically updates based on which asset is showing stronger performance.
Signal Vision - Divergence vs ES1!Signal Vision – Divergence vs ES1!
This TradingView indicator tracks the divergence between a chart’s RSI and the ES1 RSI. It plots an oscillator showing the difference between the two RSIs, helping identify when the asset is overperforming or underperforming the S&P 500 futures.






















