Risk Adjusted Geometric Exponent [VynthraQuant]RAGE Index (Risk-Adjusted Geometric Exponent)
Overview
The RAGE Index is a quantitative momentum oscillator that measures the efficiency and quality of an asset's price trend. Standing for Risk-Adjusted Geometric Exponent , this indicator goes beyond simple price action by evaluating the average logarithmic growth rate relative to the asset's volatility.
In institutional finance, it is not just about how much an asset moves, but how it moves. RAGE identifies trends that exhibit high compounding growth with minimal "noise" or volatility.
The Logic Behind RAGE
The indicator is built on two core quantitative pillars:
1. Geometric Exponent (GE): Instead of simple percentage changes, we calculate the geometric mean of log-returns. This represents the true compounding "velocity" of the price.
2. Volatility Normalization: We divide the GE by the standard deviation of returns (Volatility) over a specific lookback period.
How to Interpret the RAGE Index
* The Zero Line: The most critical level. When RAGE crosses above 0, the asset has entered a state of positive geometric growth. Below 0, the asset is in a state of efficient decay.
* Trend Quality: A rising RAGE value indicates that the trend is becoming more "efficient", growth is increasing while volatility is staying low or decreasing.
* Color-Coded Candles: The script features a `force_overlay` function that colors the candles on your main chart.
* Bullish Color: Efficient growth detected (Long bias).
* Bearish Color: Efficient decay detected (Short bias).
Key Features
* Logarithmic Accuracy: Uses log-returns to ensure time-additivity and eliminate the bias found in standard percentage calculations.
* Adaptive to Volatility: Unlike a standard RSI or MACD, RAGE penalizes "choppy" price action, helping you stay out of sideways markets.
* Optimized Performance: Written in Pine Script v6 with high-efficiency math to ensure fast loading even on lower timeframes.
Settings
* GE Lookback: The window used to calculate the average growth rate.
* Volatility Lookback: The window used to measure the "risk" or noise of the price action.
General Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice. The creator bears no responsibility for any financial decisions or losses resulting from its use. Past performance is not indicative of future results.
Islamic Disclaimer
All trading activity should be approached with awareness of halal and haram principles. Ensure your investments, instruments, and methods align with Islamic ethical standards. This tool does not promote speculative or impermissible practices.
指標和策略
Geometric Exponent [VynthraQuant]Overview
The Geometric Exponent is a specialized momentum and trend-strength indicator designed to quantify the average logarithmic growth rate of an asset over a specific lookback period. Unlike standard moving averages, this indicator focuses on the geometric mean of returns, providing a more accurate representation of compounded growth or decay.
By smoothing out the noise of daily price fluctuations through log-returns, the Geometric Exponent helps traders identify the underlying "velocity" of a trend.
How it Works
The indicator calculates the log-return for each bar within the user-defined GE Lookback period. It then computes the arithmetic mean of these log-returns, which mathematically represents the exponent of the geometric growth over that window.
Positive Values: Indicate a period of geometric growth (upward trend).
Negative Values: Indicate a period of geometric decay (downward trend).
Zero Line: Acts as the equilibrium point where there is no net growth.
Key Features
Log-Return Basis: Better suited for financial time series analysis than simple percentage changes, as log-returns are time-additive.
Customizable Lookback: Adjust the GE Lookback to fit your trading style, from fast-reacting scalping to long-term trend following.
Clean Visuals: An oscillator-style plot that makes it easy to spot momentum shifts and divergences.
How to Use
Trend Confirmation: Look for the Geometric Exponent to stay consistently above zero for long-term bullish trends and below zero for bearish trends.
Mean Reversion: Extreme peaks or valleys in the exponent may suggest that the current growth rate is unsustainable, potentially signaling an upcoming retracement.
Divergence: If price makes a new high but the Geometric Exponent makes a lower high, it suggests the "compounding power" of the trend is weakening.
General Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice. The creator bears no responsibility for any financial decisions or losses resulting from its use. Past performance is not indicative of future results.
Islamic Disclaimer
All trading activity should be approached with awareness of halal and haram principles. Ensure your investments, instruments, and methods align with Islamic ethical standards. This tool does not promote speculative or impermissible practices.
QuantLabs MASM Correlation TableThe Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close/close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed by QuantLabs
Pivot Edge ProOverview
Smart Pivot Analytics is a highly accurate technical analysis tool designed to identify and validate significant price levels. Unlike standard pivot indicators that only mark recent highs, this tool backtests each identified pivot against thousands of historical candlesticks to calculate its real-world “success rate.”
Key Features
Historical Backtesting: The indicator scans up to 4,900 historical columns to find every instance where price interacted with a specific pivot level.
Strength Score (%): Each level is assigned a percentage score based on its reversal rate. It calculates how many times the price has successfully reached and rejected the level, providing a statistical “hit rate.”
Dynamic Hit Counter: Displays the exact number of times a level has been tested (hit), helping traders distinguish between new levels and established “old” levels.
Smart Filtering: To keep the chart clean, the indicator automatically filters out weak levels and prevents “clutter” by merging levels that are too close together.
Infinite Left Projection: Lines extend left to infinity, allowing traders to see the historical significance of a level across the entire price history at a glance.
How to Trade with It
Red Levels (High Power > 75%): These are “Top Reaction Zones”. Expect a strong price rejection or significant breakout when these levels are tested.
Orange Levels (Medium Power): Suitable for profit targets or as secondary confirmation for entering a trade.
Encounter: Use these levels in conjunction with your existing strategy. When a high power pivot aligns with your entry signal, the probability of a successful trade increases significantly.
Technical Parameters
Lookback Period: Defines how far back in history the script calculates power.
Touch Radius: The "sensitivity" of the level (how close the price has to get to be considered a "hit").
Minimum Strength: A filter to show only the most reliable levels.
Box Theory [Interactive Zones] PyraTimeThis script combines Nicholas Darvas’s "Box Theory" with modern Supply and Demand (Premium/Discount) concepts. It automatically identifies the most recent Swing High and Swing Low to delineate the current trading range.
The purpose of this tool is to visualize market structure and help traders identify when price is relatively expensive (Premium) or cheap (Discount) within a defined range.
Visual Guide: What You Are Seeing
The Box: Represents the active trading range defined by the most recent significant Swing High and Swing Low.
Red Zone (Premium): The top 25% of the range. Mathematically, prices here are considered "expensive" relative to the current structure.
Green Zone (Discount): The bottom 25% of the range. Prices here are considered "cheap" relative to the current structure.
Grey Zone (Equilibrium): The middle 50% of the range. This is the area of fair value where price often consolidates.
Dashed Line (EQ): The exact 50% midpoint of the range.
Tutorial: How to Trade Using This Indicator
Method 1: Mean Reversion (Range Trading) This method applies when the market is moving sideways.
Identify Structure: Wait for a box to form.
Wait for Extremes: Do not trade when price is in the middle (Grey/White area). Wait for price to enter the Red or Green zones.
Entry Trigger:
Shorts: When price enters the Red Zone, look for a rejection (wicks leaving the zone) or a lower timeframe breakdown. Target the EQ (Midline) as your first take profit.
Longs: When price enters the Green Zone, look for support formation. Target the EQ (Midline) as your first take profit.
Method 2: Trend Continuation (Breakouts) This method applies when the market is trending strongly.
Breakout: Monitor the alerts. A close outside the box indicates a potential shift in market structure.
Retest: After a breakout up, the old "Red Zone" (Resistance) often flips to become new Support. Wait for price to pull back to the top of the old box before entering.
Configuration Guide (Settings)
Pivot Left/Right Bars (Sensitivity):
Default (20/20): Best for Swing Trading. It filters out market noise and only draws boxes based on major structural points.
Lower (5/5): Best for Scalping. It will create smaller, more frequent boxes but increases the risk of false signals.
Zone Percentage:
Default (25%): Standard deviation for Supply/Demand zones.
Alternative (15%): Use this for "sniping" entries at the absolute extremes of the range.
Multi-Timeframe (MTF):
Enable "Use Higher Timeframe" to see Daily or Weekly ranges while trading on lower timeframes (like the 15m or 1H). This helps keep your intraday trades aligned with the major trend.
Technical Note on "Lag" This indicator uses Pivots to draw the box. A pivot is only confirmed after a certain number of bars have passed (the "Pivot Right Bars" setting).
Example: If "Pivot Right Bars" is set to 20, the box will update 20 bars after the actual high or low occurred. This is necessary to confirm that the point was indeed a Swing High/Low. Do not treat the box lines as predictive; they are reactive to confirmed structure.
Adaptive Scaled LevelsThis indicator allows users to manually define a list of price levels (e.g., round or psychological numbers) and automatically scales them to fit any asset's current price range using an intelligent anchor point. It then plots dynamic horizontal zones ideal for identifying potential supply/demand or reaction areas.
How It Works (Technical Methodology)
Manual Price List Input
Users enter a comma-separated list of price levels via a text area input (default example: 50,100,...,1400). These act as a "template" grid – often round numbers, psychological levels, or custom targets.
Auto-Scaling Logic (Core Innovation)
When enabled:
Calculates the average of the input list.
Determines a smart anchor price:
Default (Lock = 0): Close price of the highest-volume bar in the last user-defined lookback period (default 200 bars), fetched from a selectable timeframe (default Daily) via request.security().
Override: User can manually lock the anchor to any fixed price.
Computes a scale factor = Anchor / List Average.
Multiplies every input level by this factor to adapt the entire grid to the current market (e.g., scales low-price templates to BTC's 60k+ range).
Zone Construction
For each scaled level:
Creates a horizontal box centered on the level.
Height = Level × user-defined percentage (default 0.5%) for volatility-adjusted thickness.
Zones extend infinitely to the right for continuous reference.
Supply/Demand Coloring
Levels above current close: Supply color (default light gray) – potential resistance/overhead supply.
Levels below current close: Demand color (default cyan) – potential support/underlying demand.
Visual Elements
Transparent filled boxes with borders.
Optional labels showing "S" (Supply) or "D" (Demand) plus exact price.
Clean, non-cluttering design – redraws only on last bar for performance.
How to Use
This tool is perfect for plotting adaptive psychological/round number grids across any asset without manual adjustment.
Common Template: Use evenly spaced round numbers (e.g., 100 increments) as input – the script handles scaling.
BTC/ETH/Crypto: Enable auto-scaling with Daily timeframe anchor for high-volume alignment (often near fair value).
Forex/Stocks: Lower zone height % for tighter zones; use shorter lookback or lock anchor for stability.
Trading Applications:
Anticipate reactions/bounces at scaled levels (confluence with price action, volume, or order blocks).
Supply zones (above price): Potential short entries or take-profit targets.
Demand zones (below price): Potential long entries or stop-loss placement below.
Override anchor for specific analysis (e.g., lock to all-time high).
Best Practices: Combine with trend direction, higher-timeframe structure, or liquidity concepts for higher-probability setups.
Highly versatile – works on any timeframe/asset, especially volatile ones like cryptocurrencies where fixed levels quickly become irrelevant.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
RegimeLens [JOAT]RegimeLens — Market Regime Detection and Classification
RegimeLens identifies whether the market is in a Trending, Ranging, or Volatile state using a proprietary combination of trend strength analysis, volatility measurement, and percentile-based classification. Understanding the current market regime helps traders adapt their approach to current conditions—because the strategy that works in a trend will fail in a range.
Why This Script is Protected
This script is published as closed-source to protect the proprietary regime classification algorithm and the specific threshold calibration methodology from unauthorized republishing. The unique combination of ADX analysis, Bollinger Band width percentiles, ATR percentile ranking, and the transition zone logic represents original work that goes beyond standard regime detection approaches.
What Makes This Indicator Unique
Unlike simple trend indicators, RegimeLens:
Classifies markets into four distinct regimes, not just "trending" or "not trending"
Uses percentile-based volatility analysis for more adaptive classification
Includes a transition zone logic to prevent rapid regime flip-flopping
Tracks regime duration and strength for additional context
Provides visual regime changes with on-chart labels
What This Indicator Does
Classifies market into four regimes: Trend Up, Trend Down, Ranging, or Volatile
Displays Bollinger Bands colored according to current regime
Marks regime changes with on-chart labels
Colors price bars according to detected regime
Tracks regime duration and strength metrics
Provides comprehensive dashboard with all regime metrics
Core Methodology
The indicator analyzes multiple market dimensions to determine the current regime:
Trend Strength Analysis (ADX) — Measures directional movement strength regardless of direction. High ADX indicates trending; low ADX indicates ranging.
Directional Bias (DI+ vs DI-) — Determines whether bullish or bearish forces dominate when a trend is detected.
Volatility Expansion/Contraction (BB Width) — Tracks Bollinger Band width relative to historical norms using percentile ranking.
ATR Percentile Ranking — Compares current ATR to its historical distribution to identify abnormally high volatility conditions.
Regime Definitions
Trend Up (Green) — ADX above trending threshold with DI+ > DI- and price above basis. Strong directional movement with bullish bias confirmed.
Trend Down (Red) — ADX above trending threshold with DI- > DI+ and price below basis. Strong directional movement with bearish bias confirmed.
Ranging (Yellow) — ADX below ranging threshold indicating sideways consolidation. Low directional strength suggests mean-reversion strategies may work better.
Volatile (Purple) — Both ATR percentile AND BB width percentile above the high volatility threshold. Indicates unstable, potentially dangerous conditions where normal strategies may fail.
The classification uses a priority system where high volatility conditions take precedence, followed by trend strength evaluation, with ranging as the default state for low-activity periods.
Regime Strength Calculation
Each regime has an associated strength score (0-100%) that indicates how firmly the market is in that state:
For trends: Based on ADX relative to threshold plus BB percentile
For ranging: Based on inverse ADX plus inverse BB percentile
For volatile: Based on ATR percentile
This helps identify when regime transitions may be approaching—declining strength often precedes regime changes.
Visual Features
Regime-Colored Bollinger Bands — Upper, basis, and lower bands all colored by current regime
Band Fill — 85% transparent fill between bands in regime color
Background Highlighting — Optional 90% transparent background in regime color
Regime Change Labels — On-chart markers when regime changes (arrows for trends, diamond for range, X for volatile)
Bar Coloring — Optional price bar coloring by regime
Color Scheme
Trend Up Color — Default: #00C853 (bright green)
Trend Down Color — Default: #FF1744 (bright red)
Range Color — Default: #FFD600 (yellow)
Volatile Color — Default: #AA00FF (purple)
Dashboard Information
The on-chart table (top-right corner) displays:
Current regime name with color coding
ADX value (highlighted if above trend threshold)
DI+ / DI- comparison with directional coloring
Bollinger Band width percentage
Volatility percentile (highlighted if above volatile threshold)
Regime strength percentage
Duration in bars since last regime change
Inputs Overview
Detection Settings:
ADX Length — Period for ADX/DI calculation (default: 14, range: 5-50)
BB Length — Period for Bollinger Bands (default: 20, range: 10-100)
BB Multiplier — Standard deviation multiplier (default: 2.0, range: 1.0-4.0)
ATR Length — Period for ATR calculation (default: 14, range: 5-50)
Thresholds:
Trending ADX Threshold — ADX level above which market is considered trending (default: 25, range: 15-50)
Ranging ADX Threshold — ADX level below which market is considered ranging (default: 20, range: 10-40)
High Volatility Percentile — Percentile above which volatile regime is triggered (default: 75, range: 50-95)
Visual Settings:
Trend Up/Down/Range/Volatile Colors — Fully customizable color scheme
Show Background — Toggle regime-colored background
Show Regime Bands — Toggle Bollinger Bands display
Show Dashboard — Toggle the information table
Color Price Bars — Toggle bar coloring by regime
How to Use It
Strategy Selection:
Trend Up/Down — Use trend-following strategies (breakouts, pullbacks, moving average systems)
Ranging — Use mean-reversion strategies (support/resistance bounces, oscillator extremes)
Volatile — Reduce position size, widen stops, or stay flat until conditions stabilize
For Regime Change Trading:
Watch for regime change labels as potential entry points
Trend regime starting often signals breakout opportunity
Ranging regime starting after trend may signal consolidation before continuation
Volatile regime is a warning to be cautious
For Risk Management:
Increase position size during strong trend regimes
Decrease position size during volatile or ranging regimes
Use regime strength to gauge conviction
Monitor duration—very long regimes may be due for change
Alerts Available
MRD Trend Up — Market regime changed to trending bullish
MRD Trend Down — Market regime changed to trending bearish
MRD Ranging — Market regime changed to sideways consolidation
MRD Volatile — Market regime changed to high volatility state
MRD Any Change — Notification on any regime transition
Best Practices
Don't fight the regime—adapt your strategy to current conditions
Volatile regime is a warning sign, not a trading signal
Use regime strength to gauge how established the current state is
Combine with other indicators appropriate for the detected regime
This indicator is provided for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
— Made with passion by officialjackofalltrades
Position Avg Line + P/L Table - SightLine LabsPosition Avg – SLL is a lightweight position-tracking indicator designed to display a persistent average price level on the chart along with a real-time position summary table.
This script is non-trading and does not generate signals, entries, or exits. It is intended strictly for position awareness and visual reference.
What this indicator does:
Plots a persistent horizontal average price line (dashed by default)
Displays a live position statistics table showing:
Shares owned
Average price
Current price
Unrealized profit/loss in dollars
Unrealized profit/loss in percent
Updates automatically as price changes
Works across all timeframes
Does not depend on broker integration or strategy logic
Key features:
Average Price Line:
User-defined average price input
Persistent across the entire chart
Adjustable color and width
Visibility toggle
Position Table:
Six selectable table positions:
Top Left, Top Center, Top Right, Bottom Left, Bottom Center, Bottom Right
Adjustable text size (Tiny through Huge)
Optional table background fill
Optional inner grid lines
Optional outer frame border
Independent color control for:
Header background
Header text
Value text
Positive and negative P/L values
Chart Overlay Options:
Optional chart background tint
Does not modify the global chart theme
Inputs overview:
Position Settings:
Shares Owned
Average Price
Visual Settings:
Show or hide average price line
Line color and width
Table Settings:
Table position
Table text size
Color Settings:
Header background and text colors
Value text color
Positive and negative P/L colors
Optional table background, grid, and frame colors
How to use:
Add the indicator to a chart
Open the settings panel
Enter the number of shares and the average price
Adjust table position, size, and colors as desired
Use the average price line and table as a visual reference for trade and risk management
Notes and limitations:
This indicator does not place trades
It does not connect to any broker
All values are manually entered
Unrealized P/L is calculated using the chart’s current price
Commissions, fees, and slippage are not included
Disclaimer:
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trade signals. All trading decisions are the sole responsibility of the user.
Developed by SightLine Labs.
Option Price SR (csgnanam)## ⚖️ Disclaimer
This script is provided for **educational and analytical purposes only**.
It does not constitute financial advice.
Use proper risk management and trade responsibly.
---
## 📌 Indicator Concept & Trading Logic
This is a rule-based reference indicator designed to interpret **option price behavior** using **previous-day derived equilibrium levels**.
The indicator helps traders classify the market into **range-bound, breakout, or invalid trade zones** by observing how **ATM Call (CE) and Put (PE)** prices react around these levels.
All levels are **fixed for the trading day** and recalculated only on the next session.
---
## 📊 Core Levels Explained
The indicator plots the following **daily-anchored reference levels**:
* **PDH / PDL** – Previous Day High / Low of the option
* **PDC** – Previous Day Close
* **100% AVG (Breakout Zone)**
Average of previous-day CE and PE prices for the same strike
* **75% AVG (Midzone)**
Balance / decision zone
* **50% AVG (Support Zone)**
Lower acceptance / decay boundary
These levels act as **reaction zones**, not prediction lines.
---
## 🧠 Market Interpretation Logic
### 1️⃣ Range-Bound Market Condition
* When **both ATM CE and ATM PE** are **trading within the 100% AVG (Breakout) level**,
the market has a **high probability of remaining range-bound**.
* Premium expansion is limited on both sides.
* Ideal environment for **non-directional strategies**.
---
### 2️⃣ Breakout Validation
* A **true directional move** requires **asymmetry** between CE and PE.
* If **one side moves into breakout**, the **opposite side must stay suppressed**.
**Example:**
* If **CE breaks down below Midzone**,
then **PE must be above Breakout or at least above Midzone**.
* The same logic applies inversely for PE breakdowns.
This confirms **capital rotation**, not random premium decay.
---
### 3️⃣ Midzone (75%) – Reversal Watch Area
* The **Midzone** is a **high-probability reaction area**.
* Many intraday reversals initiate from this level.
* Price acceptance or rejection here defines:
* Continuation
* Mean reversion
* Failed breakout
This zone should be **closely monitored for structure and volume behavior**.
---
### 4️⃣ Support Zone (50%) – Trade Invalidation
* When an option price trades **below the Support (50%) level**:
* That option side becomes **non-tradable**
* Premium strength is lost
* Risk increases significantly
Trades **below support** are considered **low probability** and should be avoided.
---
## ⚠️ Important Usage Notes
* This indicator is **not a buy/sell signal generator**
* It is a **context and decision-filter tool**
* Best used in combination with:
* Price action
* Structure
* Spot/index behavior
* Time-of-day context
All levels are **session-anchored** and do **not repaint intraday**.
---
## 🎯 Intended Use Case
* Intraday option traders
* ATM / near-ATM focus
* Range vs directional market identification
* Premium behavior analysis
* Trade filtering and risk control
---
Trend Stress Quant [MarkitTick]💡This indicator combines a liquidity-based stress model with a dynamic linear regression channel to identify potential market exhaustion points and assess trend quality. By merging volume impact analysis with statistical deviation, this tool aims to highlight moments where price action may be overextended relative to the underlying liquidity conditions.
● Originality and Utility
Standard volatility indicators often rely solely on price range (like Bollinger Bands). This script introduces a Stress Engine that normalizes the relationship between Price Range (True Range) and Volume. This helps distinguish between healthy price movements and liquidity-stress events (illiquidity). Furthermore, instead of using a fixed-length channel, this tool offers a Dynamic Mode that anchors the regression channel to recent pivot points, ensuring the statistical analysis aligns with the current market structure rather than an arbitrary timeframe.
● Methodology
The script operates on two distinct mathematical models:
• Illiquidity Stress Engine
The core formula calculates a raw illiquidity metric based on the log-normal distribution of the ratio between True Range and Volume. A Z-Score (standard score) is then derived from this data over a specific lookback period. High Z-Scores indicate that price is moving disproportionately fast relative to the available volume, often a signature of panic selling or euphoric buying (exhaustion).
• Linear Regression Channel
The script calculates an Ordinary Least Squares (OLS) regression line (the line of best fit) to determine the mean price trend.
Standard Deviation Bands are plotted parallel to this mean.
Pearson Correlation Coefficient (R) is calculated to quantify the strength of the linear trend. Values closer to 1 or -1 indicate a strong trend, while values near 0 indicate a chaotic or ranging market.
📑 How to Use
Traders can utilize the visual outputs for mean reversion or trend continuation context:
• Exhaustion Signals (SE / BE Labels)
SE (Seller Exhaustion): Appears when the market is in a downtrend, but the Stress Engine detects a statistical anomaly (High Z-Score) on a down candle. This suggests panic selling may be peaking.
BE (Buyer Exhaustion): Appears when the market is in an uptrend, but the Stress Engine detects high stress on an up candle, suggesting a potential blow-off top.
• Regression Channel
The dashed middle line represents the fair value (mean) of the current trend.
The outer bands represent statistical extremes. Price interacting with the outer bands (default 2 Standard Deviations) while coincident with an Exhaustion Signal provides a high-confluence area of interest.
• Metrics Dashboard
A dashboard displays the current Trend Regime, Exhaustion Status, and Channel Width (volatility percentage).
● Settings
• Exhaustion Model
Trend Filter Length: Sets the baseline EMA to determine if the market is bullish or bearish.
Stress Threshold (Sigma): The Z-Score required to trigger an exhaustion signal (default is 2.0).
• Channel Configuration
Dynamic Pivot Mode: If enabled, automatically calculates the channel length based on recent pivots. If disabled, uses the Fixed Length.
Standard Deviations: Controls the width of the inner and outer channel bands.
📖This guide explains how to interpret and utilize signals for trading:
The script is designed primarily for Mean Reversion and Exhaustion trading strategies.
● The Core Strategy: Volatility Exhaustion
The script uses a "Stress Engine" to identify when price movement is statistically overextended relative to the available liquidity (Volume).
• Setup A: The "Seller Exhaustion" (Bullish Bounce)
Look for this setup during a downtrend to catch a temporary bottom or a reversal.
Trend Condition: The dashboard shows Bearish (Price is below the trend filter).
Trigger: The label SE (Seller Exhaustion) appears below a candle.
Why? This indicates that selling pressure was intense but likely panic-driven (High Z-Score/Stress) and may be drying up.
Confluence: Ideally, this signal appears when the price is touching or piercing the Lower Channel Band (dotted or solid lines).
Action: Traders often use this as a signal to close Short positions or enter a speculative Long (counter-trend) targeting the middle line.
• Setup B: The "Buyer Exhaustion" (Bearish Pullback)
Look for this setup during an uptrend to catch a local top.
Trend Condition: The dashboard shows Bullish .
Trigger: The label BE (Buyer Exhaustion) appears above a candle.
Why? This indicates euphoric buying on low liquidity or extreme volatility that is statistically unsustainable.
Confluence: Look for price rejection at the Upper Channel Band.
Action: Traders often use this to close Long positions or enter a Short targeting the mean.
● The Filter: Trend & Correlation
The script includes a Linear Regression Channel that quantifies the quality of the trend.
• Channel Slope
If the channel is angling steeply up or down, the trend is strong.
• Pearson R (Correlation)
The script calculates the Pearson R coefficient.
Weak Correlation: If the channel turns Gray/Neutral (or the fill becomes weak), it means the correlation is below the threshold (default 0.5).
Trading Rule: Avoid trading exhaustion signals when the channel is Gray/Neutral, as the market is likely chopping sideways with no clear direction.
● Risk Management & Targets
• Stop Loss
Since this is a volatility tool, a common technique is to place stops just outside the Outer Deviation Band (the widest line). If price expands beyond the outer band with no exhaustion signal, the trend may be entering a "runaway" phase.
• Take Profit
Target 1: The Middle Regression Line (The dashed center line). Prices tend to revert to this mean after an exhaustion event.
Target 2: The opposite channel band (e.g., if you bought at the bottom, hold until the top).
● Summary of Dashboard Metrics
The table on your chart provides a quick snapshot:
Trend Regime: Tells you if you should fundamentally look for Shorts (Bearish) or Longs (Bullish).
Seller/Buyer Status: Alerts you if the current bar is EXHAUSTED or Normal .
Channel Width %: Indicates volatility. If the width is very low (percentage is small), a breakout might be imminent (squeezing). If high, be careful of chop.
⚙️ Indicator settings
• Signal Parameters
Exhaustion & Stress Model: Controls signal sensitivity.
Trend Filter: Decides if the market is Bullish or Bearish.
Stress Threshold (Sigma): Higher values (e.g., 2.5) make the script stricter, showing fewer but potentially stronger signals.
• Channel Configuration
Dynamic Pivot Mode: If ON, the channel length auto-adjusts to recent market pivots. If OFF, it uses the Fixed Length you set.
Channel Bands: Adjusts the channel width.
Outer Deviation: The boundary for "extreme" moves. Price hitting this often signals a reversal.
• Quality Filter
Filter Weak Correlations: If enabled, the channel turns gray during choppy/sideways markets to warn you not to trust trend signals.
• Visuals
Display Options: Toggles the "Stats" dashboard and adjusts volatility coloring.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Quantum Ribbon Pro📊 WHAT IS QUANTUM RIBBON PRO?
Quantum Ribbon Pro is a trend trading system built on a 5-layer adaptive EMA ribbon with multi-timeframe confirmation, advanced risk management, and custom alert automation.
It's designed for traders who want clear entries, precise risk control, and the flexibility to automate their trading — all from one indicator.
If you've used Quantum Ribbon Lite, this is the full system with HTF filtering, partial take profits, break-even automation, session control, and webhook-ready alerts.
🚀 PRO FEATURES
Multi-Timeframe Confirmation
Filter your signals using a secondary timeframe for trend alignment. Choose any timeframe from 15m to Weekly. Option to display the MTF ribbon directly on your chart.
Partial Take Profits
Scale out of positions like a professional. Set TP1, TP2, and final target levels with customizable percentages. The indicator tracks your remaining position size in real-time.
Break-Even Protection
Automatically move your stop loss to entry price after hitting TP1 or TP2. Lock in gains and let winners run with zero risk.
Session Filter
Trade only during your preferred market hours. Fully customizable start and end times. Avoid choppy overnight sessions or news events.
Custom Alert Templates
Four built-in alert formats including JSON for webhook and bot integrations. Or build your own template using placeholders for entry price, stop loss, take profit, position size, and more.
Custom Signal Codes
Add your own identifiers to each signal for automation workflows. Useful if you're routing alerts to multiple bots or tracking different setups.
🔧 HOW THE CORE SYSTEM WORKS
The Ribbon System
The indicator uses 5 pairs of EMAs (10 moving averages total) that create colored "clouds" on your chart:
Blue/Teal ribbons indicate bullish alignment
Red/Pink ribbons indicate bearish alignment
Mixed colors indicate neutral or transitional periods
The ribbon spacing automatically adjusts from a fast EMA (21) to a slow EMA (60), creating layers that show trend strength and direction.
Signal Generation
Signals appear when multiple conditions align:
For LONG signals:
Fast EMAs above slow EMAs
Price momentum positive and strong (> 0.5 ATR)
Volume above average (> 1.1x)
Ribbon confirms bullish state
Confidence threshold met
MTF trend aligned (if enabled)
Within active session (if enabled)
For SHORT signals:
Opposite conditions apply.
Green "BUY" or Red "SELL" labels appear at candle close. All signals confirmed — no repainting.
Risk Management Lines
Lines appear when you have an active position:
White dotted line = Entry price
Red dotted line = Stop loss level
Green dotted lines = Take profit targets (TP1, TP2, Final TP in Pro)
Performance Dashboard
The stats table shows:
Current position status (In Long/Short or Waiting for signal)
Entry, stop, and target prices when in a trade
Win/loss record
Win rate percentage with color coding
⚙️ SETTINGS
Signal Settings
Signal Sensitivity (1-10): Controls the minimum time between signals (cooldown period)
1 = 2 bars between signals (most frequent)
5 = 10 bars between signals (balanced)
10 = 20 bars between signals (most selective)
Signal Mode: Choose ribbon-based or momentum-based signal generation
Break-Even
Break-Even Trigger: Choose which TP level moves stop to entry
Options: After TP1 / After TP2 / Disabled
Multi-Timeframe
Enable MTF Confirmation: Filter signals by higher/lower timeframe trend
Select from 15m, 30m, 1H, 2H, 4H, Daily, Weekly
Display higher/lower timeframe ribbon directly on your chart
Session Filter
Enable Session Filter: Only generate signals during specified hours
Session Start: Set start time (e.g., 09:30)
Session End: Set end time (e.g., 16:00)
Timezone: Select your local timezone
Alerts
Alert Format: Choose from 4 formats
Standard: Basic signal info
Detailed: Full trade parameters
JSON: For webhook/bot integrations
Custom: Build your own templat
🎯 RISK MANAGEMENT
Stop Loss Calculation
Stops are based on ATR (Average True Range) which measures recent price volatility:
In quiet markets: Stops are placed closer to entry
In volatile markets: Stops are placed further away
This adaptive approach helps prevent stop-hunting while maintaining appropriate risk levels.
Alternatively, use percentage-based stops for fixed distance regardless of volatility.
Take Profit Calculation
Targets are calculated as a multiple of your stop distance:
If stop is 50 points away and you use 2R, target is 100 points away
Maintains consistent risk-reward ratios across all trades
Partial Take Profits
Scale out of positions to lock in profits while letting winners run
TP1: Close first portion (e.g., 50%) at conservative target
TP2: Close second portion (e.g., 25%) at intermediate target
Final: Remaining position (e.g., 25%) runs to full target
Combined with break-even protection, this creates a "risk-free" trade after TP1.
Required Win Rates
To break even after fees:
1.5R requires ~40% win rate
2R requires ~34% win rate
3R requires ~25% win rate
📊 RECOMMENDED USAGE
Timeframes
Daily charts show strongest performance in testing
1H, 4H works well with HTF confirmation enabled
Lower timeframes generate more signals but reduced quality — use tight filters
Markets
Works on all instruments: Stocks, Forex, Crypto, Futures, Indices
Best suited for trending markets
May generate false signals in tight ranges or choppy conditions
Use HTF filter to avoid counter-trend trades in ranging markets
Works on any market (Forex, Crypto, Stocks, Futures, Indices)
Free Lite version available for testing core functionality before purchase. No leverage recommendations — risk management is your responsibility.
📌 DISCLAIMER
This indicator is a tool to assist your trading decisions, not a guarantee of profits. Past performance does not guarantee future results. Always use proper risk management and never trade with money you cannot afford to lose. You are solely responsible for your trading decisions.
Crypto Compass | QuantEdgeBIntroducing Crypto Compass | QuantEdgeB
Overview
Crypto Compass | QuantEdgeB is a multi-asset market regime indicator that decodes the collective momentum and sentiment of the cryptocurrency space. By computing correlation-adjusted valuation across a basket of major tokens and blending them with the chart’s own momentum pulse, it delivers a real-time “compass” of risk-on/off regimes. Plotted as dual EMAs and color-coded candles, and accompanied by a comprehensive dashboard table, Crypto Compass guides traders through broad market cycles instead of isolated price swings.
Key Features
• Correlation-Adjusted Valuation Aggregation
Computes individual valuation for the top 30 Market Cap tokens plus total-market indices; weights each by its correlation to Bitcoin, then averages.
• Large-Cap-Only Mode
Optionally restricts the basket to the top 10 by market cap for a streamlined “blue-chip” sentiment readout.
• Composite Momentum Blend
Mixes the basket average with the chart’s own valuation to capture both cross-asset and local momentum.
• Dual EMA Overlay & Candle Coloring
Plots 12- and 21-period EMAs colored by the composite valuation gradient; candles are likewise color-filled to reflect regime strength.
• Interactive Dashboard Table
Live “Crypto Compass Dashboard” shows, for each asset:
o Current value & prior bar value
o Rate of Change (direction arrow)
o Duration since last EMA crossover
o Current trend state (“Bullish” / “Bearish”)
• Regime Labels & Risk-On/Off Signal
Translates the composite valuation into four regimes—Contraction, Weak, Recovery, Strong—with a clear risk-on/off indicator banner.
How It Works
1. Data Fetch & Valuation Computation
o Retrieves price and a simple TPI (12 vs 21 EMA cross) for each symbol via request.security.
o Calculates a rolling standard deviation over a lookback (length) for each asset and the chart.
2. Correlation Weighting
o Measures each asset’s correlation to Bitcoin
o Multiplies each asset’s value by its correlation coefficient to emphasize high-beta relationships.
3. Basket Averaging
o Averages the top-N weighted value (10 if “Large Cap Only” is true, else all )
o Blends the final average with the chart’s own valuation
4. Visual & Table Overlays
o EMAs (12, 21) and candles are colored via a gradient tied to zsumad thresholds.
o A table grid at the bottom-right displays per-asset metrics and computes duration since TPI crossovers to flag trend longevity.
5. Regime Mapping
≤ –1.5 ⇒ Contraction (Risk Off)
–1.5 to 0 ⇒ Weak (Risk Off)
0 to 1.5 ⇒ Recovery (Risk On)
1.5 ⇒ Strong (Risk On)
How to Use / Who Should Use It
• Crypto Portfolio Managers seeking a holistic market-wide directional bias before allocating capital.
• Swing & Position Traders looking to confirm if cross-asset strength aligns with their primary coin.
• Systematic Strategy Developers integrating regime filters into algorithmic models.
• Risk-Conscious Allocators wanting an early warning on risk-off contractions vs. risk-on expansions.
Default Settings
• Plot EMA: On
• Value Lookback Length: 90
• BTC Correlation Length: 195
• Large Cap Only: True
Conclusion
Crypto Compass distills complex cross-asset dynamics into a single, actionable gauge. By combining correlation-weighted valuation, blended momentum, and dynamic regime mapping—visualized through color-coded EMAs, candles, and a rich dashboard—it empowers traders to navigate the broader crypto market cycle with clarity and confidence.
🔹 Disclaimer : Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice : Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
TriPulse Volume Bounds | QuantEdgeBTriPulse Volume Bounds | QuantEdgeB
🔍 Overview
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) is a volume-weighted, volatility-adaptive oscillator built to spot high-conviction expansion moves. It first applies a triple-smooth price engine as a refined input, then computes a VWMA anchored to volume participation and measures how far price deviates from it (in %). Dynamic upper/lower bounds are then generated from the oscillator’s own volatility (standard deviation), creating a self-adjusting channel. When the oscillator breaks above/below these bounds, 𝓣𝓟𝓥𝓞 flips into clear Long / Short regimes—supported by rich visuals, alerts, optional backtest tables, and a dedicated TPVO Sensor table that grades momentum/impulse/drive and conviction strength.
✨ Key Features
1. 🧠 TriPulse Source Engine (Triple-Smooth Input)
- Uses a triple-smoothed price series as the oscillator’s “signal-grade” input to reduce noise while staying responsive.
2. 📊 Volume-Weighted Anchor (VWMA)
- Builds a VWMA baseline using volume as weight, so moves backed by participation matter more than thin-market drift.
3. 📏 Percent Deviation Oscillator
- Computes oscillator value as: 100 × (close − VWMA) / VWMA, producing a clean “distance-from-value” readout.
4. ⚡ Dynamic Volatility Bounds
- Upper/lower thresholds are derived from stdev(avwo) over a lookback length and scaled by:
– Adaptive Multiplier (volatility scaling)
– Upper/Lower multipliers (asymmetric sensitivity)
5. 🎯 Regime Signals
- Long when AVWO > Upper Bound
- Short when AVWO < Lower Bound
- Neutral otherwise (inside bounds)
6. 🎨 Visual & Alerts
- Plots the oscillator with regime-sensitive coloring and fill behavior.
- Highlights the active bound when a long/short is triggered.
- Colors candles to match the current regime.
- Optional Long/Short labels on confirmed flips.
- Alert conditions on regime crossovers.
7- 📊 Backtest Table (Optional)
- Built-in backtest table from a chosen start date.
- Two display modes: standard table or overlaid table.
8. ♞ TPVO Sensor Table (Built-In Intelligence Layer)
- A dedicated on-chart dashboard that summarizes direction + quality of the current move using strength bars and momentum staging.
💼 Use Cases
• Breakout Confirmation: Catch expansion moves only when deviation exceeds adaptive bounds.
• Volume-Validated Momentum: Filter out weak pushes that aren’t supported by volume-weighted structure.
• Trend Regime Filter: Use TPVO state (Long/Short/Neutral) to gate entries from other strategies.
• Market Condition Read: Quickly determine whether price is drifting (neutral) or expanding (signal).
🎯 For Who
• Momentum & breakout traders who want confirmation beyond simple crosses.
• Volatility-aware traders who prefer thresholds that expand/contract automatically.
• System builders who need a robust regime variable plus strength grading.
• Discretionary traders who want fast visual clarity (fills, candle colors, sensor table).
⚙️ Default Settings
• Tripple Smooth Length (VWMA base input): 30
• Volume Weighted Length: 30
• Threshold Volatility Length: 27
• Upper Threshold Multiplier: 1.8
• Lower Threshold Multiplier: 0.8
• Adaptive Multiplier: 0.85
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
• Backtest Table: On (toggleable)
• Backtest Table Overlaid: On (toggleable)
• Backtest Start Date: 09 Oct 2017
• TPVO Sensor Table Position: Top Right (default input)
♞ TPVO Sensor Table (What It Shows)
The TPVO Sensor is an on-chart dashboard designed to summarize both direction and signal quality:
• Direction:
o “Up / Down / Flat” determined by the oscillator’s short-term slope.
• Momentum:
o A normalized rate-of-change read, labeled as Positive / Negative / Neutral.
• Impulse:
o A velocity label derived from smoothed momentum (Strong / Weak / Stalling).
• Drive:
o A staged classification combining momentum + velocity:
o Strong Upside / Fading Upside / Strong Downside / Fading Downside / Neutral
• Bull / Bear Strength Bars:
o Two progress bars that visualize current strength as a percentage.
o In neutral regimes, it shows potential; in active long/short regimes, it shows conviction.
• Signal Line:
o Displays: Signal ⟹ Long / Short / Cash, matching the active TPVO regime.
📌 Conclusion
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) combines a triple-smooth input, a volume-weighted anchor, and adaptive volatility bounds to produce a clean oscillator that highlights true expansion moves. With regime states, rich fills, alerts, backtest options, and the TPVO Sensor table for momentum/impulse/drive + strength grading, it’s a compact all-in-one tool for spotting and validating regime shifts.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Adaptive ML Trailing Stop [BOSWaves]Adaptive ML Trailing Stop – Regime-Aware Risk Control with KAMA Adaptation and Pattern-Based Intelligence
Overview
Adaptive ML Trailing Stop is a regime-sensitive trailing stop and risk control system that adjusts stop placement dynamically as market behavior shifts, using efficiency-based smoothing and pattern-informed biasing.
Instead of operating with fixed ATR offsets or rigid trailing rules, stop distance, responsiveness, and directional treatment are continuously recalculated using market efficiency, volatility conditions, and historical pattern resemblance.
This creates a live trailing structure that responds immediately to regime change - contracting during orderly directional movement, relaxing during rotational conditions, and applying probabilistic refinement when pattern confidence is present.
Price is therefore assessed relative to adaptive, condition-aware trailing boundaries rather than static stop levels.
Conceptual Framework
Adaptive ML Trailing Stop is founded on the idea that effective risk control depends on regime context rather than price location alone.
Conventional trailing mechanisms apply constant volatility multipliers, which often results in trend suppression or delayed exits. This framework replaces static logic with adaptive behavior shaped by efficiency state and observed historical outcomes.
Three core principles guide the design:
Stop distance should adjust in proportion to market efficiency.
Smoothing behavior must respond to regime changes.
Trailing logic benefits from probabilistic context instead of fixed rules.
This shifts trailing stops from rigid exit tools into adaptive, regime-responsive risk boundaries.
Theoretical Foundation
The indicator combines adaptive averaging techniques, volatility-based distance modeling, and similarity-weighted pattern analysis.
Kaufman’s Adaptive Moving Average (KAMA) is used to quantify directional efficiency, allowing smoothing intensity and stop behavior to scale with trend quality. Average True Range (ATR) defines the volatility reference, while a K-Nearest Neighbors (KNN) process evaluates historical price patterns to introduce directional weighting when appropriate.
Three internal systems operate in tandem:
KAMA Efficiency Engine : Evaluates directional efficiency to distinguish structured trends from range conditions and modulate smoothing and stop behavior.
Adaptive ATR Stop Engine : Expands or contracts ATR-derived stop distance based on efficiency, tightening during strong trends and widening in low-efficiency environments.
KNN Pattern Influence Layer : Applies distance-weighted historical pattern outcomes to subtly influence stop placement on both sides.
This design allows stop behavior to evolve with market context rather than reacting mechanically to price changes.
How It Works
Adaptive ML Trailing Stop evaluates price through a sequence of adaptive processes:
Efficiency-Based Regime Identification : KAMA efficiency determines whether conditions favor trend continuation or rotational movement, influencing stop sensitivity.
Volatility-Responsive Scaling : ATR-based stop distance adjusts automatically as efficiency rises or falls.
Pattern-Weighted Adjustment : KNN compares recent price sequences to historical analogs, applying confidence-based bias to stop positioning.
Adaptive Stop Smoothing : Long and short stop levels are smoothed using KAMA logic to maintain structural stability while remaining responsive.
Directional Trailing Enforcement : Stops advance only in the direction of the prevailing regime, preserving invalidation structure.
Gradient Distance Visualization : Gradient fills reflect the relative distance between price and the active stop.
Controlled Interaction Markers : Diamond markers highlight meaningful stop interactions, filtered through cooldown logic to reduce clustering.
Together, these elements form a continuously adapting trailing stop system rather than a fixed exit mechanism.
Interpretation
Adaptive ML Trailing Stop should be interpreted as a dynamic risk envelope:
Long Stop (Green) : Acts as the downside invalidation level during bullish regimes, tightening as efficiency improves.
Short Stop (Red) : Serves as the upside invalidation level during bearish regimes, adjusting width based on efficiency and volatility.
Trend State Changes : Regime flips occur only after confirmed stop breaches, filtering temporary price spikes.
Gradient Depth : Deeper gradient penetration indicates increased extension from the stop rather than imminent reversal.
Pattern Influence : KNN weighting affects stop behavior only when historical agreement is strong and remains neutral otherwise.
Distance, efficiency, and context outweigh isolated price interactions.
Signal Logic & Visual Cues
Adaptive ML Trailing Stop presents two primary visual signals:
Trend Transition Circles : Display when price crosses the opposing trailing stop, confirming a regime change rather than anticipating one.
Stop Interaction Diamonds : Indicate controlled contact with the active stop, subject to cooldown filtering to avoid excessive signals.
Alert generation is limited to confirmed trend transitions to maintain clarity.
Strategy Integration
Adaptive ML Trailing Stop fits within trend-following and risk-managed trading approaches:
Dynamic Risk Framing : Use adaptive stops as evolving invalidation levels instead of fixed exits.
Directional Alignment : Base execution on confirmed regime state rather than speculative reversals.
Efficiency-Based Tolerance : Allow greater price fluctuation during inefficient movement while enforcing tighter control during clean trends.
Pattern-Guided Refinement : Let KNN influence adjust sensitivity without overriding core structure.
Multi-Timeframe Context : Apply higher-timeframe efficiency states to inform lower-timeframe stop responsiveness.
Technical Implementation Details
Core Engine : KAMA-based efficiency measurement with adaptive smoothing
Volatility Model : ATR-derived stop distance scaled by regime
Machine Learning Layer : Distance-weighted KNN with confidence modulation
Visualization : Directional trailing stops with layered gradient fills
Signal Logic : Regime-based transitions and controlled interaction markers
Performance Profile : Optimized for real-time chart execution
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Tight adaptive trailing for short-term momentum control
15 - 60 min : Structured intraday trend supervision
4H - Daily : Higher-timeframe regime monitoring
Suggested Baseline Configuration:
KAMA Length : 20
Fast/Slow Periods : 15 / 50
ATR Period : 21
Base ATR Multiplier : 2.5
Adaptive Strength : 1.0
KNN Neighbors : 7
KNN Influence : 0.2
These suggested parameters should be used as a baseline; their effectiveness depends on the asset volatility, liquidity, and preferred entry frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Excessive chop or overreaction : Increase KAMA Length, Slow Period, and ATR Period to reinforce regime filtering.
Stops feel overly permissive : Reduce the Base ATR Multiplier to tighten invalidation boundaries.
Frequent false regime shifts : Increase KNN Neighbors to demand stronger historical agreement.
Delayed adaptation : Decrease KAMA Length and Fast Period to improve responsiveness during regime change.
Adjustments should be incremental and evaluated over multiple market cycles rather than isolated sessions.
Performance Characteristics
High Effectiveness:
Markets exhibiting sustained directional efficiency
Instruments with recurring structural behavior
Trend-oriented, risk-managed strategies
Reduced Effectiveness:
Highly erratic or event-driven price action
Illiquid markets with unreliable volatility readings
Integration Guidelines
Confluence : Combine with BOSWaves structure or trend indicators
Discipline : Follow adaptive stop behavior rather than forcing exits
Risk Framing : Treat stops as adaptive boundaries, not forecasts
Regime Awareness : Always interpret stop behavior within efficiency context
Disclaimer
Adaptive ML Trailing Stop is a professional-grade adaptive risk and regime management tool. It does not forecast price movement and does not guarantee profitability. Results depend on market conditions, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates structure, volatility, and contextual risk management.
SD-Range Oscillator | QuantEdgeBSD-Range Oscillator | QuantEdgeB
🔍 Overview
SD-Range Oscillator | QuantEdgeB (SDRO) is a normalized momentum oscillator that compresses a low-lag trend core into a 0–100 style range using standard-deviation (SD) bands. It builds a smooth baseline from a fast triple-smoothed average, wraps it with ±2×SD volatility bounds, then normalizes the core value inside that envelope. Clear Long/Short regimes trigger when the normalized value crosses user-defined thresholds, with optional labels, regime-colored candles, and intuitive filled zones.
✨ Key Features
1.⚡ Low-Lag Core (Triple-Smooth Engine)
- Uses a fast, low-lag triple-smoothed average as the oscillator’s primary signal input.
- Helps keep momentum readings responsive while filtering noise.
2. 📏 SD Volatility Envelope (±2×SD)
- Builds a volatility channel around a smoothed baseline using standard deviation.
- Automatically adapts to changing market turbulence.
3. 🧮 Normalized Range Output
- Converts the core signal into a normalized value by mapping it between the upper/lower SD bounds.
- Makes readings consistent across assets and timeframes.
4. 🎯 Threshold-Based Regimes
- Long when the normalized value exceeds the Long threshold.
- Short when it falls below the Short threshold.
- Includes an additional safety filter to reduce “forced” longs when price is already extended near the upper envelope.
5. 🎨 Visual Clarity & Zones
- Regime-colored oscillator line and candles.
- Filled SD bands around the baseline for quick volatility context.
- Optional highlight fills between the oscillator and thresholds to show active long/short phases.
- Extra OB/OS background zones for quick overextension awareness.
6. 🔔 Signals & Alerts
- Optional “Long/Short” labels on confirmed regime flips.
- Alert conditions fire on long/short regime crossovers.
💼 Use Cases
• Momentum Confirmation: Validate breakouts by requiring SDRO to hold above the Long threshold.
• Mean-Reversion Awareness: Watch for extreme normalized readings near upper/lower bounds.
• Regime Filtering: Use SDRO state (Long/Short/Neutral) to filter trades from other systems.
• Cross-Market Comparison: Normalization makes it easier to compare momentum across different tickers.
🎯 For Who
• Trend traders who want a clean momentum filter with adaptive volatility context.
• System builders needing a simple regime variable (1 / -1 / neutral) to gate entries.
• Discretionary traders who like visual confirmation (fills, candle coloring, threshold zones).
• Multi-asset traders who benefit from normalized, comparable oscillator readings.
⚙️ Default Settings
• TEMA Period: 7
• Base Length (SMMA): 25
• Long Threshold: 55
• Short Threshold: 45
• SD Multiplier: 2× (fixed in code)
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
📌 Conclusion
SD-Range Oscillator | QuantEdgeB blends a low-lag triple-smoothed core with an adaptive SD envelope to produce a normalized, easy-to-read momentum signal. With clear threshold regimes, volatility-aware context, and strong visuals (fills + candle coloring), SDRO helps separate meaningful momentum shifts from noise across any asset or timeframe.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Whale Pivots ProWhale Pivots Pro
Institutional Pivot, Volume & Strength Analysis Tool
Whale Pivots Pro is an advanced market-structure and participation analysis tool designed to highlight institutional pivot zones, whale activity, and buyer/seller strength across Forex, Crypto, Stocks, and Futures.
Whale Pivots Pro combines price structure, volume expansion, and divergence-based strength modeling to help traders identify high-impact pivot levels, trend continuation, and potential reversals with precision.
________________________________________
Whale Pivot Zones
Whale Pivots represent key price levels where large participants are likely active.
These pivots are derived from multi-bar price structure combined with volume confirmation, highlighting areas where institutions accumulate or distribute.
Pivot Classification
Whale Pivots are categorized by aggressiveness:
• Hyper-Aggressive
• Aggressive
• Measured
• Passive
• Or All (combined view)
Each category reflects how forcefully price and volume align, helping traders filter between early, confirmed, and defensive institutional behavior.
Pivot zones are visualized using:
• Colored horizontal levels
• Filled zones between key levels
• Clear bullish and bearish separation
________________________________________
Buyer / Seller Strength (BE / SE Labels)
The script includes a Buyer–Seller Strength Engine that evaluates:
• Price movement
• Delta-style volume pressure
• Trend context
• Divergence between price and participation
Labels
• BE (Bearish Exhaustion)
• SE (Sell-side / Bullish Exhaustion)
These labels appear only when strict structural and strength conditions are met.
Strength-Based Coloring
Each label is color-coded by strength level:
• Weak → Low conviction
• Normal → Moderate participation
• Strong → High institutional conviction
Strength is calculated on a 0–100 scale, combining price divergence and participation divergence.
________________________________________
Trend & Context Awareness
Whale Pivots Pro is trend-aware, meaning:
• Bullish signals are favored in bullish structure
• Bearish signals are favored in bearish structure
• False counter-trend signals are filtered
This makes the tool effective for:
• Trend continuation trading
• Pullback entries
• Reversal identification near institutional pivots
________________________________________
Multi-Market Volume Intelligence (Ultra Data)
When enabled, Ultra Data Mode aggregates volume from multiple exchanges and brokers, providing a broader view of true market participation, especially useful for:
• Forex
• Crypto
• Synthetic symbols
________________________________________
Key Use Cases
Identify institutional pivot zones
Track whale accumulation & distribution
Confirm trend continuation vs exhaustion
Improve entries, exits, and invalidation levels
Filter low-quality signals using participation strength
________________________________________
Closed-Source & Proprietar y
Whale Pivots Pro uses custom, proprietary algorithms combining:
• Multi-bar structural pivots
• Volume-weighted confirmation
• Divergence-based strength modeling
• Market-aware filtering
To protect this methodology from duplication or misuse, the script is released as closed-source.
This is a market-structure and decision-support tool, not a buy/sell signal generator.
It is designed to provide context, not standalone trade entries.
For best results, always combine this tool with Market Balance, Imbalance, and Price Discovery analysis, along with Buy-Side and Sell-Side Passive Order levels, to properly assess:
• Market acceptance vs initiative activity
• Continuation vs exhaustion
• Breakout, retracement, or reversal conditions
Bal - ImBal MAPBal – ImBal MAP
Market Balance, Imbalance & Price Discovery Tool
Bal – ImBal MAP is a market structure framework built on Market Balance, Market Imbalance, and Price Discovery concepts.
It is designed for all commodity futures and equities, where price continuously alternates between acceptance, imbalance, and discovery.
________________________________________
What is Bal – ImBal MAP?
Bal – ImBal MAP is a contextual market structure tool, It helps traders objectively identify:
1. Market Balance (Acceptance)
2. Market Imbalance (Initiative Activity)
3. Price Discovery (Expansion / Trend Phase)
It is especially effective on:
• Futures (ES, NQ, CL, GC, ZB, etc.)
• Highly liquid equities and indices
• Any auction-based market
________________________________________
Market Balance (BAL)
Market Balance occurs when price is accepted by both buyers and sellers, resulting in two-sided trade.
Balance Area Mapping
The tool:
• Draws Balance Areas using blue lines
• Clearly marks:
o Upper Balance Limit
o Lower Balance Limit
• When a balance area shifts:
o Visually indicates whether the shift is bullish or bearish
o Applies color-coded Balance Area Shifts (BA Shift) based on direction
Balance areas represent value acceptance zones, where mean-reversion behavior dominates.
________________________________________
Market Imbalance (IMBAL)
Market Imbalance begins when one side takes control, breaking acceptance and initiating directional movement.
Imbalance Conditions
Imbalance is identified by:
• Break of the balance range
• Break of Buyside Passive Orders
• Break of Sellside Passive Orders
• Reversal from either side when price fails to break:
o Buyside Passive Orders
o Sellside Passive Orders
These events signal a transition from responsive behavior to initiative activity.
________________________________________
Price Discovery (DISCOVERY)
Price Discovery is the process of exploring new value, where no prior market reference exists and price operates outside established balance areas.
Discovery Identification & Management
The tool is designed to:
• Identify when price is in discovery
• Detect when discovery ends
• Determine when a new Balance or Imbalance forms
• Support both:
o Continuation trades during discovery
o Reversion trades once discovery exhausts
Visual Representation
• Blue-colored boxes mark the Price Discovery phase
• As market flow becomes clearer, box colors dynamically change:
o Light Green → Bullish discovery
o Pink → Bearish discovery
This visual shift helps assess:
• Directional conviction
• Strength of initiative activity
• Transition back into Balance or Imbalance
Discovery Reference Lines (Extended Levels)
• After discovery, the tool extends key reference lines
• These act as decision points for:
o Breakout continuation
o Retracement entries
o Reversal target zones
• Lines are plotted as:
o Bold Green (bullish discovery)
o Bold Red (bearish discovery)
These levels define:
• Risk management zones
• Continuation confirmation
• Potential exhaustion and reversal areas
________________________________________
Point of Balance (POB)
The Point of Balance (POB) represents the price level of maximum acceptance, where buyers and sellers are most actively engaged.
POB Visualization
• Displayed as a yellow horizontal line
• Automatically labeled at the active balance level
• Updates dynamically as balance evolves
Market Significance
The POB acts as the core reference point for:
• Buyer and seller presence
• Key auction activity
• Acceptance vs rejection behavior
POB – Market Gravity Concept
The POB acts as the gravitational center of the Bal–ImBal MAP.
Unless strong initiative activity is present, price tends to:
• Rotate back toward the POB
• Rebalance around value
• Re-establish two-sided trade
This makes POB critical for:
• Mean reversion during imbalance
• Measuring directional conviction when price moves away from value
________________________________________
IM Mark – Imbalance Candles
The IM Mark identifies imbalance candlessignalinginitiative activity.
Logic
An IM Mark appears when:
• A candle shows imbalance relative to recent candles
• Activity and directional intent increase
Contextual Significance
• Inside balance → early initiative / potential imbalance
• Outside balance or discovery → strong directional imbalance and continuation
________________________________________
Bar Colors – Trend & Market Movement Identification
Bars use three intensity levels for both directions:
Bullish (Green)
• Light → Low buyer participation
• Normal → Moderate participation
• Bold → Strong initiative buying
Bearish (Red)
• Light → Low seller participation
• Normal → Moderate participation
• Bold → Strong initiative selling
Bar colors reveal:
• Participation strength
• Movement quality
• Initiative vs responsive behavior
________________________________________
Buyside&Sellside Passive Orders
Key liquidity zones where institutions / large participants are positioned.
Visual Marking
• Color-coded labels
• Matching boxes
• Extended horizontal lines
Imbalance Logic
• Break → liquidity consumed, continuation likely
• Failure → defended liquidity, reversal or rotation expected
________________________________________
Pivot Points – Trend & Reversal Reference
• Marked with bold black arrows
• Identify key swing highs and lows
Trend Logic
• Trend remains intact until a pivot is broken
Reversal Significance
• Pivot breaks confirm:
o Trend reversal
o Failure of continuation
o Shift back into balance
________________________________________
Why the Script Is Closed-Source
Bal – ImBalance MAP uses a custom, self-protected market-structure framework combining balance mapping, imbalance detection, and discovery sequencing.
It includes proprietary logic for:
• Balance area shifting
• Passive order detection
• IM candle validation
• Discovery tracking
• POB gravity modeling
• Pivot-based trend validation
• Participation and initiative filters
To protect this original methodology from duplication and reverse-engineering, the source code is intentionally closed-source, ensuring consistency, integrity, and performance.
Momentum Echo Oscillator [Community Edition]Concept: The Momentum Echo Oscillator (MEO) is a modern take on classical momentum oscillators. Most indicators only look at the "now". MEO introduces the concept of Momentum Echoes—historical momentum harmonics that are weighted and blended back into the current price velocity.
Why use MEO? Standard momentum tools (like ROC or RSI) can be very "jittery" or noisy. By integrating historical echoes, MEO provides a smoother, more rhythmic representation of price flow, making it easier to spot genuine trend reversals.
Key Elements:
Primary Momentum: The immediate speed of price.
Echo Harmonics: Two adjustable lookback points that act as a "memory" for the indicator, filtering out false breakouts.
Dynamic Histogram: Visualizes the gap between the Echo Engine and the Trigger Line, highlighting acceleration and deceleration.
Settings:
Echo Weight: Adjust how much "memory" you want the indicator to have.
Smoothing: Clean up the signals for higher timeframes.
This is an open-source tool for the TradingView community. Enjoy!
S&P Discipline SystemS&P Discipline System - User Guide By Macro-Guy
Welcome to the S&P Discipline System. This indicator is designed to enforce trading discipline, help you avoid "chasing" the market, and ensure you only trade when high-probability conditions align.
Follow me (Macro-Guy) on TradingView for script updates and market insights.
WHAT THIS INDICATOR DOES
Session Filtering: Identifies optimal US trading hours (Blue Tint).
Entry Zones: Signals pullbacks to the 21-period Moving Average (Yellow Line).
Short Protection: A built-in filter to stop you from shorting into "oversold" or "strong trend" conditions.
Risk Management: Provides ATR-based and Swing-based stop loss levels.
QUICK START GUIDE
Apply to Chart: Best used on SPX, SPY, ES, or US500.
Check the Status Table: Located in the top-right.
Green Action: Good to go.
Red Action: Stay out/Wait.
Wait for Signals:
Green "BUY ZONE": Look for long entries.
Red "SHORT ZONE": Look for short entries.
Muted Labels: Setup is forming but it is currently outside US Session hours.
UNDERSTANDING THE VISUALS Background Colors:
Light Green: Bullish trend; favor longs.
Light Red: Bearish trend; shorts permitted.
Gray: Choppy market; exercise caution.
Blue Tint: Active US trading session.
Orange Tint: Outside US hours (Observe only).
Moving Averages:
Yellow (21 MA): The primary entry zone for pullbacks.
Blue (50 MA): Intermediate trend filter.
White (200 MA): Major institutional trend direction.
THE SHORT FILTER (IMPORTANT) To prevent "shorting the bottom," the indicator only permits shorts when:
Price is below the 50 MA.
The 21 MA and 50 MA are both sloping down.
RSI is between 45-65. If the table says "NO SHORTS," do not fight the algorithm.
HOW TO TRADE THE SYSTEM For Longs:
Wait for Green background (Bullish).
Price must pull back to the Yellow 21 MA line.
"BUY ZONE" label must appear during the US Session (Blue tint).
Enter Long. Place stop at the Red Circle or Orange Cross.
For Shorts:
Wait for Red background (Bearish).
Price must bounce up to the Yellow 21 MA line.
Table must show "SHORTS OK" in green.
Enter Short. Place stop at the Red Circle or Orange Cross.
SETTING UP ALERTS
Right-click chart > Add Alert.
Select S&P Discipline System as the condition.
Choose: Buy Zone - US Session or Short Zone - US Session.
DISCLAIMER This indicator is a tool to assist with discipline and timing. It does not guarantee profits. Always manage your risk and never trade more than you can afford to lose. Past performance does not guarantee future results.
Happy Trading!
Quantum Elasticity Overview: Quantum Elasticity is a sophisticated Mean Reversion Engine based on the law of statistical probability. It models market price action as an elastic system that revolves around a dynamic equilibrium point (Linear Regression).
The Core Logic: Markets are rarely efficient. When price deviates significantly from its historical mean, it creates "Statistical Tension." This script measures that tension using dynamic standard deviation envelopes (Sigma Bands).
Equilibrium: The center line represents the fair value of the asset.
Elasticity Zones: When price enters the "Extreme" bands, the probability of a snap-back towards the mean increases exponentially.
Unique Features:
Non-Lagging Linear Regression: Unlike SMA/EMA, our equilibrium line adapts to the slope of the trend without the heavy lag of traditional indicators.
Dynamic Tension Index: The built-in HUD displays the real-time elasticity of the market, helping traders identify exhaustion points.
Reversion Alerts: "REVERT" signals appear when the market reaches a 1.5x Sigma deviation, indicating a critical oversold/overbought state.
How to obtain access: This is an "Invite-only" script. To gain access, please visit my profile or send a private message for subscription details.
ICT ORB Killzones by MaxN (15 / 30m)Trading session London, Asia, New York
orb 15/30 min selectable breakout zones with buy/sell signals
Fractal Chaos & Kalman Trajectory Overview: The Fractal Chaos & Kalman Trajectory is a professional-grade market regime detection tool designed to distinguish between efficient trends and random market noise. Unlike traditional moving averages that suffer from significant lag, this script utilizes a Kalman Filter to estimate the price's true trajectory in real-time.
Core Methodology:
Kalman Filter Engine: An iterative mathematical process that minimizes the mean square error of the price data, providing a smooth line that reacts faster than EMA/SMA.
Hurst Exponent (Fractal Dynamics): This script calculates the fractal dimension of the market.
H > 0.5 (Trend): Indicates persistent market memory; the trend is likely to continue.
H < 0.5 (Mean Reversion): Indicates anti-persistent behavior; the price is likely to revert to the mean.
H = 0.5 (Chaos): Represents Brownian motion; the market is purely random.
How to Use:
AWAKE Signals: Occur when the market breaks out of a chaotic state (Hurst > 0.5) and aligns with the Kalman Trajectory.
Trend Zones: Highlighted backgrounds indicate high-conviction trend environments.
Bar Coloring: Grey bars indicate a "Wait" zone where the market is either random or mean-reverting.
This script is closed-source to protect the proprietary integration of these two quantitative methods.
--
ICT ORB Killzones by MaxN (15 / 30m)Trading session open/close with first 15/30 min orbs
will just have to adjust time zones to your current time line
GMT +0
I use
Asia 23.00 - 06.00
London 07.00 - 16.00
New York 12.00 - 22.00






















