DEMA Volatility SuperTrend | RakoQuantDEMA Volatility SuperTrend is a clean trend-regime indicator built for volatile markets such as crypto.
It combines a Double Exponential Moving Average (DEMA) baseline with a standard deviation volatility envelope, then applies classic SuperTrend trailing logic to produce persistent bullish and bearish regimes.
This tool is designed for traders who want a smooth but responsive trend structure without relying on ATR alone.
Core Concept
This indicator answers one simple question:
Are we currently in a bullish trend regime or a bearish trend regime?
It does this by building a dynamic volatility corridor around a DEMA baseline and flipping only when price breaks beyond the active band.
How It Works
1. DEMA Baseline (fast + low lag)
A DEMA is used instead of a normal EMA to reduce lag while maintaining smooth trend behavior.
2. Volatility Engine (Standard Deviation)
Volatility bands are created using:
Raw Source Volatility
Classic standard deviation behavior
Residual vs Baseline Volatility
Measures deviations from the DEMA baseline for cleaner regime detection
Band formula:
Upper Band = baseline + multiplier × stdev
Lower Band = baseline − multiplier × stdev
3. SuperTrend Trailing Regime Logic
Instead of flipping every touch, the bands trail using SuperTrend persistence rules:
Bull regime → active lower band acts as support
Bear regime → active upper band acts as resistance
Flips occur only when price breaks beyond the trailing band.
Visual System
Bull regime: Ice-Blue active band
Bear regime: Violet active band
Optional faint inactive bands provide structure
Optional fill highlights the active regime corridor
Optional candle painting matches the regime state instantly
Alerts Included
Bull Flip Alert → regime turns bullish
Bear Flip Alert → regime turns bearish
Perfect for automation or regime-based filtering.
How to Use
✅ Trend filter for swing trading
✅ Regime confirmation layer for systems
✅ Works best on higher timeframes (4H / 1D)
✅ Combine with momentum or breakout triggers for entries
Inputs Summary
DEMA Length → baseline responsiveness
Volatility Length + Multiplier → band width + sensitivity
Volatility Mode → raw vs residual volatility
Flip Source → Close or HL2 for regime switching
Visual toggles → fill, candles, inactive rails
Screenshot Placement
📸 Example chart / screenshot:
Tip: show one bullish flip + one bearish flip with candle painting enabled.
ボラティリティ
STDV Extension Zones from Daily Open - OnlyFlowSTDV Extension Zones from Daily Open
This indicator plots standard deviation extension zones based on the current day’s opening price. At the start of each trading day, it calculates the daily standard deviation using a configurable lookback and projects price zones at ±0.5 and ±1.0 standard deviations above and below the daily open.
Each zone is displayed as a horizontal band with a center line and a customizable thickness, extending forward throughout the session. Zones automatically reset and lock in place when a new day begins, preserving prior sessions for historical context.
The indicator is designed to visually highlight statistically significant price extensions relative to the daily open, helping users quickly identify areas where price may be stretched, balanced, or reacting around volatility-based levels.
Worldclassedge [Patrick nill]plotshape(long, title="BUY", text="Long▲", style=shape.labelup, textcolor=color.white, size=size.auto, location=location.belowbar, color=color.green)
plotshape(short, title="SELL", text="Short▼", style=shape.labeldown, textcolor=color.white, size=size.auto, location=location.abovebar, color=color.red)
alertcondition(long, title="BUY", message="Long▲")
alertcondition(short, title="SELL", message="Short▼")
// VWAP
anchor = input.string("Session", title="Anchor Period")
MILLIS_IN_DAY = 86400000
dwmBarTime = timeframe.isdwm ? time : request.security(syminfo.tickerid, "D", time)
dwmBarTime := na(dwmBarTime) ? nz(dwmBarTime ) : dwmBarTime
var periodStart = time - time
makeMondayZero(dayOfWeek) => (dayOfWeek + 5) % 7
isMidnight(t) => hour(t) == 0 and minute(t) == 0
isSameDay(t1, t2) => dayofmonth(t1) == dayofmonth(t2) and month(t1) == month(t2) and year(t1) == year(t2)
isOvernight() => not (isMidnight(dwmBarTime) or request.security(syminfo.tickerid, "D", isSameDay(time, time_close), lookahead=barmerge.lookahead_on))
tradingDayStart(t) => timestamp(year(t), month(t), dayofmonth(t), 0, 0)
numDaysBetween(t1, t2) =>
diff = math.abs(tradingDayStart(t1) - tradingDayStart(t2))
diff / MILLIS_IN_DAY
tradingDay = isOvernight() ? tradingDayStart(dwmBarTime + MILLIS_IN_DAY) : tradingDayStart(dwmBarTime)
isNewPeriod() =>
var isNew = false
if tradingDay != nz(tradingDay )
isNew := switch anchor
"Session" => na(tradingDay ) or tradingDay > tradingDay
"Week" => makeMondayZero(dayofweek(periodStart)) + numDaysBetween(periodStart, tradingDay) >= 7
"Month" => month(periodStart) != month(tradingDay) or year(periodStart) != year(tradingDay)
"Year" => year(periodStart) != year(tradingDay)
=> false
isNew
srcVWAP = hlc3
var float sumSrc = 0
var float sumVol = 0
if isNewPeriod()
periodStart := tradingDay
sumSrc := 0
sumVol := 0
if not na(srcVWAP) and not na(volume)
sumSrc += srcVWAP * volume
sumVol += volume
vwapValue = sumSrc / sumVol
plot(vwapValue, title="VWAP", color=color.red, linewidth=3)
// =
enableCloud = input.bool(false, "Enable Cloud")
lenn = input.int(20, "Period")
mult = input.float(2.5, "StdDev Multiplier")
tc = input.int(25, "Gauge Size", minval=3)
upColor = input.color(#00ffbb, "Up Color")
downColor = input.color(#ff1100, "Down Color")
basis = ta.sma(close, lenn)
upper1 = basis + ta.stdev(close, lenn) * mult
lower1 = basis - ta.stdev(close, lenn) * mult
// TP
var int position = 0
if long
position := 1
else if short
position := -1
Beta Coefficient & RSI Table (Midcaps vs Majors)Beta Coefficient & RSI Table (Midcaps vs Majors)
This script builds a comprehensive beta comparison framework between midcap assets and majors for benchmarks, enhanced with a simple RSI midline strategy for clean entry and exit signaling.
In addition to beta-based relative analysis, the script:
Computes raw RSI values on midcap assets for standalone trend qualification
Evaluates every midcap/major ratio combination using the same RSI-based regime logic
Produces binary (0 / 1) signals suitable for systematic filtering and automation
Designed with automation in mind, this script is perfect for daily alerts that can send webhooks externally, and is fully compatible to reliably daily close updates for:
Ratio beta comparisons (midcaps vs majors)
Binary RSI crossover signals on each ratio
Base midcap trend state (RSI > 45 indicating an active uptrend) - 45 made for a slightly faster entry signal if used as a preliminary filter
This makes the table ideal for automated system building, signal aggregates, and hands-off portfolio logic.
Full credits to @MarktQuant and @NianiaFrania🐸 for the original script source.
[AboBassel] RS + RS.ROC + Inverted ATR (Unified Channel)
This is a multi-indicator channel tool combining Relative Strength (RS), RS Rate of Change (RS.ROC), and Inverted ATR Percentage (ATRP) into a single unified channel for clear visual trend analysis.
Features:
• All three lines are normalized into one visual channel with five distinctive threshold levels (Upper/Lower Curbs, Inner Bands, and Middle).
• RS , ATR , ROC Lines all are invertable for better follow up on trends
• RS.ROC period and timeframe are editable independently from RS.
• ATR time frame and lookback period are fully adjustable.
• Channel thresholds are fully editable. Lines can exceed upper/lower curbs, showing extreme conditions.
• Suitable for trend detection, swing trading, and risk assessment.
Usage Tips:
• Look for lines crossing bands or curbs for potential trade setups.
• Observe background color for overall market sentiment.
• Major blue arrows indicate strong shifts in trend direction.
Ideal For: Swing traders, trend followers, and advanced technical analysts who want combined momentum, volatility, and relative strength insights in a single chart.
Std Dev Channel [fmb]What it is
A professional regression channel that combines standard deviation divisions, an extreme price envelope, and a trend quality gauge. It is designed for fast read-and-act decisions on any timeframe, with sensible presets and log-space math for instruments that trend exponentially.
Why it’s different
Most channels draw fixed ±1σ and ±2σ around a regression line. This tool adds:
- Fibonacci-spaced σ divisions for precise scaling
- An objective MaxEnvelope of actual extremes with optional 1.272 and 1.618 extensions
- Pearson’s R labelling that classifies the trend as Strong Up, Moderate, Weak, or Strong Down
- A log-space option so channels behave correctly on long trends and high beta charts
How it works
Base line
- Linear regression of the last Length bars, drawn as a ray.
- Optional colour change by regime using Pearson’s R.
Divisions (StdDev or MaxEnvelope)
- StdDev basis: σ of residuals around the regression line.
- MaxEnvelope basis: distances from the base line to the farthest highs and lows in the lookback.
- Divisions can be Fibonacci multiples (0.382, 0.618, 1.000, 1.272 by default) or uniform steps.
Outer rails
- ENV 1.0 touches the farthest highs and lows within the window.
- Optional extensions at 1.272 and 1.618 highlight stretch and breakout zones.
Trend quality (Pearson’s R)
- R is computed on the same series and window.
- Default thresholds: Strong when |R| ≥ 0.70, Weak when |R| < 0.40.
- The label reads: R 0.XXX • Class, plotted near the most recent base value.
Log-space math
- When enabled, the model runs on ln(price) and converts the outputs back to price.
- Safer on multi-year charts and large percentage trends.
Presets
- Swing: Length 125, StdDev basis, Fib divisions, ENV 1.0 and 1.272 on
- Intraday: Length 240, StdDev basis, simple ±1 and ±2 style divisions, ENV off by default
- Position: Length 200, StdDev basis, compact Fib set for higher timeframes
You can turn preset overrides off to make every input respond instantly.
Inputs you will actually use
- Length, Source, Log-space ON or OFF
- Basis: StdDev or MaxEnvelope
- Divisions: Fib list or Step and Max multiple
- Outer rails: show ENV 1.0, show 1.272, show 1.618
- Labels and sizes, extend left or right
- Hide divisions or outer rails automatically when the regime is Weak
Alerts included
- Close crosses above or below ENV 1.0
- Close crosses above or below ENV 1.272 and 1.618 (if enabled)
Practical playbook
Trend following
- In Strong Uptrend: buy pullbacks near 0.382 to 0.618 above the base with stops just beyond the next lower division.
- In Strong Downtrend: sell bounces into 0.382 to 0.618 below the base with stops just beyond the next upper division.
Mean reversion
- When R is Moderate or Weak, fade moves that tag ENV 1.0 back toward the base.
- If price closes through an ENV extension, treat it as potential regime change and stand down on fades.
Breakouts
- A close through ENV 1.0 with R rising toward Strong often precedes trend acceleration.
- Use the next division or the 1.272 rail as the first target and trail on the base.
Tips
- Keep Length stable across symbols you compare. Consistency beats curve fitting.
- Use log-space on multi-year equities and crypto. Use linear for short intraday work.
- If you want a classic look, disable Fib and rails, set Step 1.0 and Max 2.0.
Notes
- The tool draws more lines when Fib divisions are active. If it feels busy, show divisions only and hide labels, or keep ENV 1.0 plus one extension.
- Pearson’s R is descriptive, not predictive. Combine with price structure and volume for entries.
Volume Weighted LR Z ScoreThis indicator calculates the Volume Weighted Linear Regression
Z-Score (VWLRZS). Unlike a standard Z-Score which measures
deviation from a static mean, this oscillator measures the
statistical distance of price from a dynamic Volume-Weighted
Linear Regression Line (Analysis of Residuals).
Key Features:
1. **Volatility Decomposition:** The indicator separates volatility
based on the 'Estimate Bar Statistics' option.
- **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates
standard Regression Residuals using the selected `Source`
for both the regression line (baseline) and the signal.
- **Decomposition Mode (`Estimate Bar Statistics` = ON):**
Uses a hybrid statistical approach:
a) **The Model (Baseline):** Uses an estimator to calculate
the 'within-bar' mean and fits the Linear Regression
through these statistical centers. This creates a
stable, trend-following expectation model.
b) **The Signal (Observation):** Compares the actual `Source`
(e.g., Close) against this regression line.
(Result: A Z-Score that measures deviations from the current
trend slope rather than a flat average).
2. **Visual Decomposition Logic:** Total Standard Deviation (of
Residuals) is the primary metric displayed. Since Standard
Deviations are not linearly additive (sqrt(a+b) != sqrt(a)+sqrt(b)),
this indicator calculates the *exact* Total Z-Score and partitions
the area underneath based on the Variance Ratio. This ensures the
displayed total volatility remains mathematically accurate while
showing relative composition.
3. **Normalization (Exponential Regression):** Includes an optional
'Normalize' mode. When enabled, the indicator calculates the
Linear Regression on logarithmic data. Mathematically, this
transforms the baseline into an **Exponential Regression Curve**,
making it ideal for analyzing assets with compounding growth
characteristics (constant percentage trend).
4. **Full Divergence Suite (Class A, B, C):** The indicator's
primary feature is its integrated divergence engine. It
automatically detects and plots all three major divergence
classes between price and the Z-Score:
- Regular (A): Signals potential trend exhaustion and reversals.
- Hidden (B): Signals potential trend continuations during pullbacks.
- Exaggerated (C): Signals weakness at double tops/bottoms.
5. **Divergence Filtering and Visualization:**
- **Price Tolerance Filter:** Divergence detection is enhanced
with a percentage-based price tolerance (`pivPrcTol`) to
filter out insignificant market noise, leading to more
robust signals.
- **Persistent Visualization:** Divergence markers are plotted
for the entire duration of the signal and are visually
anchored to the oscillator level of the confirming pivot.
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library
6. **Note on Confirmation (Lag):** Divergence signals rely on a
pivot confirmation method to ensure they do not repaint.
- The **Start** of a divergence is only detected *after* the
confirming pivot is fully formed (a delay based on
`Pivot Right Bars`).
- The **End** of a divergence is detected either instantly
(if the signal is invalidated by price action) or with
a delay (when a new, non-divergent pivot is confirmed).
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Calculation:** The Z-Score line *itself* can be calculated on a
higher timeframe, with standard options to handle gaps
(`Fill Gaps`) and prevent repainting (`Wait for...`).
- **Limitation:** The Divergence detection engine (`pivDiv`)
is designed for the active timeframe. Using it in MTF mode
is not recommended as step-data can lead to inaccurate
pivot detection.
8. **Integrated Alerts:** Includes a comprehensive set of built-in
alerts for the Z-Score crossing the neutral line, the configured
Threshold levels, and the start/end of all divergence types.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
ST | ATR Trailing StopA precise volatility-based Trailing Stop designed for momentum trading. This indicator helps remove emotional decision-making from exits by trailing the price based on the Average True Range (ATR).
ADR% - Average Daily Range % by TrinhDuongSMWThe ADR% (Average Daily Range Percentage) is a volatility measurement tool designed to help traders understand the typical price movement of a stock over a specific period. Unlike the standard ATR (Average True Range) which uses absolute price points, ADR% expresses volatility as a percentage of the stock's price, making it easier to compare volatility across different tickers regardless of their share price.
Volatility Heatmap & ATR Pane# Volatility Heatmap & Synchronized ATR Pane
This indicator provides a comprehensive view of multi-symbol volatility, displaying a dynamic heatmap table and a synchronized ATR (Average True Range) panel. It is designed to help traders identify periods of abnormal market activity or "volatility squeezes" across multiple assets simultaneously.
## Methodology & Calculation:
The core metric of this tool is **Relative Volatility (Rel. Vol %)**. It compares the current ATR to its historical baseline to determine if the current price movement is expanding or contracting relative to the norm.
The calculation logic is as follows:
1. **ATR Calculation:** We calculate the ATR over a user-defined period (default is 14).
2. **Baseline SMA:** We calculate a Simple Moving Average of that ATR (default is 50).
3. **Relative Percentage:**
$$Rel. Vol \% = (Current ATR / SMA(ATR)) * 100$$
## Key Features:
* **Multi-Symbol Dashboard:** Monitor up to 10 custom symbols (e.g., BINANCE:BTCUSDT, BINANCE:ETHUSDT) in a single table.
* **No-Repaint MTF Logic:** Uses `request.security()` with `lookahead = barmerge.lookahead_off` to ensure data integrity and prevent any historical rewriting.
* **Dynamic Status Alerts:**
* **SLEEPING (<70%):** Extremely low volatility.
* **NORMAL (100-130%):** Standard market movement.
* **EXTREME (>200%):** Significant volatility spike, often preceding trend exhaustion or breakouts.
* **Synchronized Pane:** The bottom panel displays the raw ATR and its average for the chart's current symbol, perfectly aligned with the dashboard's timeframe.
## How to Use:
1. Add the script to your chart.
2. In the settings, input your preferred symbols under the "Symbols 1-10" section.
3. Use the "Volatility Timeframe" input to lock the calculation to a specific timeframe (e.g., 1D) or leave it empty to sync with your current chart.
4. Watch the "Rel. Vol %" column to spot assets that are starting to "wake up" (moving from Blue/Low to Green/Rising).
Volume + ATR Robust Z-Score Suite (MAD)Plots relevant volume with relevant volatility using z-core to calculta de deviations
Relative Strength Leadership Engine v2.0Relative Strength Leadership Engine v2.0OverviewThe Relative Strength Leadership Engine v2.0 is a context-first diagnostic tool designed to identify true market leadership. Instead of simple ratio lines, this script employs a multi-layered scoring model to determine if a symbol is truly outperforming its benchmark (e.g., SPY) or simply riding market beta.The Problem It SolvesMany relative strength indicators fail to distinguish between idiosyncratic leadership and market correlation. A stock might look strong simply because it is a high-beta names moving in lockstep with a rising index. This engine uses Pearson Correlation Filtering and Volatility Normalization to decouple these factors.How It Works (The Math)To ensure full transparency for the TradingView community, the "Leadership Score" (0–100) is calculated based on four proprietary technical pillars:Baseline Alignment (30 pts): Measures if the $Price / Benchmark$ ratio is above its 21-period EMA.Volatility-Normalized Momentum (25 pts): We calculate a Z-score of the RS slope and divide it by the asset's ATR % of price. This ensures momentum is measured by "clean" price action rather than high-beta volatility spikes.Beta-Decoupling (20 pts): Using ta.correlation, the script penalizes "Market Huggers." Points are awarded when a stock shows strength independent of the benchmark's immediate fluctuations.Freshness & Highs (25 pts): Points are awarded for proximity to 252-day relative strength highs, identifying stocks entering a "Power Zone" of leadership.Interpreting the StatesThe dashboard in the bottom-right identifies three distinct permission states:ENGAGE (Score 80+): Full leadership permission. The asset is outperforming with idiosyncratic strength and clean momentum (See FDX example in the gallery).OBSERVE (Score 50–79): Leadership is present but aging or overly correlated to the market (See MU example in the gallery).STAND DOWN (Score <50): Leadership is broken; the asset is a relative laggard (See CBLL example in the gallery).Technical FeaturesMulti-Timeframe Validation: Optional Weekly/Monthly RS confirmation to filter out "noise."Benchmark Timing Filter: A built-in gate that checks if the broader market (Benchmark) is in a "Risk-Off" regime.Non-Repainting: All security calls use lookahead=barmerge.lookahead_off to ensure historical accuracy.Customizable UI: Toggle the dashboard on/off via the "Style" menu for a cleaner workspace.DisclaimerThis script is an informational diagnostic tool and does not generate trade signals, entries, or exits. Educational use only.
Core IC 2.0
## 📌 NIFTY Weekly Option Seller — Core Regime & Risk Framework
This indicator is designed for **systematic weekly option selling on NIFTY**, focused on **Iron Condors (IC), Put Credit Spreads (PCS), and Call Credit Spreads (CCS)**.
It is **not a scalping tool** and **not a signal generator**.
Instead, it provides a **structured decision framework** to help option sellers decide:
* *What structure to deploy* (IC / PCS / CCS)
* *How aggressive to be* (position size & distance)
* *When to adjust* (defend / harvest / regime change)
---
## 🔍 What the Indicator Does
### 1️⃣ Market Regime Detection
The script continuously evaluates the market and classifies it into one of three regimes:
* **IC (Range / Mixed)** – neutral, mean-reverting conditions
* **PCS (Trend Up)** – bullish trend continuation
* **CCS (Trend Down)** – bearish trend continuation
Regime selection is based on:
* EMA structure
* ADX (trend strength)
* VWAP positioning
* Higher timeframe (daily) trend alignment
---
### 2️⃣ Independent Conviction Scores
The indicator computes **three independent scores (0–5)**:
```
IC / PCS / CCS
```
These scores represent **conviction strength**, not trade signals.
* Higher score = stronger suitability for that structure
* All three scores are always visible for transparency
Only **one active score** (based on the current regime) is used for:
* Position sizing
* Strike distance suggestions
* Risk management logic
---
### 3️⃣ Risk-First Position Guidance
Based on the active score, the indicator suggests:
* **Position Size** (100% / 50% / 25%)
* **Short strike distance** (ATR-based, dynamic)
* **Defend / Harvest conditions**
* **Regime change alerts**
This helps traders remain **consistent and disciplined**, especially during volatile weeks.
---
### 4️⃣ Visual Decision Panel
A compact panel displays all key information at a glance:
* Regime (IC / PCS / CCS)
* ATR & ADX
* Suggested size
* Suggested short distance
* IC / PCS / CCS scores
* Key reference levels (H3 / L3, VWAP)
No guesswork, no over-trading.
---
## 🕒 Recommended Usage
* **Best timeframe:** 1H or 4H
* **Ideal style:** End-of-day or limited-check traders
* **Designed for:** Weekly option sellers (not intraday scalpers)
Adjustments are intended to be made **at fixed checkpoints**, not every candle.
---
## ⚠️ Important Notes
* This is **not financial advice**
* The indicator does **not place trades**
* Works best when combined with:
* Defined stop-loss rules
* Fixed risk-reward discipline
* Proper position sizing
---
## 🎯 Who This Is For
✔ Rule-based option sellers
✔ Traders focused on consistency over excitement
✔ Professionals who value structure and risk control
❌ Not for discretionary scalpers
❌ Not for beginners without options knowledge
TradeX ORB SniperTradeX ORB Sniper — Multi-Range Opening Breakout Framework
TradeX ORB Sniper is a closed-source analytical framework designed to study how price interacts with structured opening ranges across different market regimes.
It is not a simple ORB line tool and is not a mashup of existing indicators. All logic is developed in-house and operates under a unified internal rule engine.
The script’s purpose is to standardize how opening ranges are defined, measured, and visualized so traders can objectively evaluate breakout behavior across multiple session models.
Core Concept
ORB Sniper implements four internally coded range definitions. Each mode calculates its range differently based on time, session structure, and market behavior:
• Pre-market session range
• 5-minute opening range
• 15-minute opening range
• Volume-adaptive range model
Rather than using generic fixed boxes, each range model applies a consistent internal rule set so breakout behavior can be studied within a controlled and repeatable structure.
This allows users to compare how price reacts to different opening range constructions without changing tools or visual logic.
Breakout Detection Logic
A breakout is defined only when a candle closes outside the active range.
When this occurs, the framework highlights that candle as a visual event marker (“Get Ready Candle”).
This highlight is informational only.
It does not generate trade signals and does not imply entry or exit instructions.
Its purpose is to clearly identify when price has structurally exited the defined range area according to the framework’s rules.
Range-Based Projection Zones
To provide contextual structure after a breakout, the framework projects two calculated zones:
Risk Zone
Derived directly from the size and structure of the selected opening range.
Continuation Zone
Projected from the same range logic using proportional displacement.
These zones are not random drawings or static multipliers.
They are mathematically linked to the internally calculated range and update dynamically based on the active mode.
The purpose of these zones is to visually map potential expansion and retracement behavior relative to the opening range, allowing users to study how price behaves after range resolution.
Customization & Inputs
All visual components can be adjusted through user inputs:
• Range Mode (V1–V4)
• Risk zone color
• Continuation zone color
• Breakout candle highlight color
• Optional status line display
This allows traders to adapt the framework to different chart layouts while preserving the underlying logic.
Development Methodology
The range models and projection logic were originally prototyped and tested in Python using historical market data.
Variations in volume behavior, volatility structure, and session timing were iterated to refine how ranges are defined and how post-range behavior is measured.
The most stable rule sets were then implemented into Pine Script as a closed-source framework to ensure consistency and prevent discretionary reinterpretation of the model.
Intended Use
This script is designed for visual and structural market analysis only.
It does not:
• generate trade signals
• execute trades
• claim profitability
• provide automated entries or exits
It is intended to help users objectively observe how price behaves around different opening range definitions under a unified framework.
Default settings are provided for demonstration purposes only.
Users should adjust configurations based on their own instruments, sessions, and timeframes.
Originality Statement
TradeX ORB Sniper is a proprietary TradeX Labs framework.
While it utilizes well-known market concepts such as opening ranges and volume behavior, it applies them through an original internal rule structure governing:
• how ranges are calculated
• how breakouts are defined
• how projections are derived
• how all modes remain behaviorally consistent
It is not a mashup of public indicators and does not rely on built-in strategy templates or public-domain scripts.
OB/OS Environment MTFThis indicator identifies overbought and oversold price environments — not reversal signals — using a multi-timeframe regime filter combined with volatility-adjusted stretch and confluence logic.
The goal is to highlight when price is objectively extended relative to trend, so traders can:
reduce chasing,
size appropriately,
manage risk,
or look for mean-reversion / pause scenarios without assuming a top or bottom.
How it works
1. Higher-Timeframe Regime (Stable)
Intraday charts → Daily regime
Daily charts → Weekly regime
Weekly charts → Monthly regime
Monthly charts → Monthly regime
Regime is determined using HTF close vs HTF EMA (optionally slope-filtered).
This keeps environments stable and avoids intrabar regime flipping.
2. Volatility-Adjusted Stretch
Price extension is measured as:
distance from EMA
normalized by ATR (z = (price − EMA) / ATR)
This allows the same logic to work across:
5m / 30m / 1h
Daily / Weekly / Monthly
3. Confluence Scoring (N-of-M)
An OB/OS environment only triggers when stretch and a minimum number of confirmations are present:
RSI extreme
Bollinger %B excursion
Stretch percentile vs its own history
Large candle relative to ATR
User-configurable confirmation count helps reduce noise.
4. Environment State (Sticky)
Once an overbought or oversold environment is detected:
the state persists until price decompresses or regime breaks
optional background shading visualizes the environment
arrows mark entry into the environment (not exits)
What this is / is not
This is:
an environment/context tool
multi-timeframe aware
volatility-normalized
designed to work across assets and timeframes
This is NOT:
a buy/sell signal
a reversal system
predictive of timing tops or bottoms
Strong trends can remain overbought/oversold for extended periods — by design.
Best use cases:
Risk management in strong trends
Avoiding late entries
Scaling decisions
Mean-reversion setups with confirmation
Context for options traders (IV, spreads, diagonals)
Feedback welcome
This is an early public release.
I’m specifically interested in feedback on:
confluence logic
regime behavior
parameter defaults by timeframe
false positives vs missed environments
If you have ideas or improvements, please comment — especially if you test across multiple markets or higher timeframes.
Volume Weighted Z ScoreThis indicator calculates the Volume Weighted Z-Score (VWZS), a
statistical oscillator that measures the number of standard deviations
the price is removed from its mean. It combines robust volatility
decomposition with advanced divergence detection.
Key Features:
1. **Volatility Decomposition:** The indicator separates volatility
based on the 'Estimate Bar Statistics' option.
- **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates
a simple (Volume-Weighted) Standard Deviation using the
selected `Source` for both the baseline and the signal.
- **Decomposition Mode (`Estimate Bar Statistics` = ON):**
Uses a hybrid statistical approach:
a) **The Model (Baseline):** Uses an estimator to calculate
the 'within-bar' mean and volatility. This creates a
stable, mathematically idealized expectation value (mu).
b) **The Signal (Observation):** Compares the actual `Source`
(e.g., Close) against this statistical baseline.
(Result: A Z-Score that combines a noise-filtered trend
baseline with a highly reactive price signal).
2. **Visual Decomposition Logic:** Total Standard Deviation is the
primary metric displayed. Since Standard Deviations are not
linearly additive (sqrt(a+b) != sqrt(a)+sqrt(b)), this indicator
plots the *exact* Total StdDev and partitions the area underneath
based on the Variance Ratio. This ensures the displayed total
volatility remains mathematically accurate while showing relative
composition.
3. **Normalization (Geometric Average):** Includes an optional
'Normalize' mode. When enabled, the indicator uses a
Geometric Moving Average (GMA) as its baseline and applies a
statistical correction for the log-normal distribution
ensuring symmetry between upside and downside movements.
4. **Full Divergence Suite (Class A, B, C):** The indicator's
primary feature is its integrated divergence engine. It
automatically detects and plots all three major divergence
classes between price and the Z-Score:
- Regular (A): Signals potential trend exhaustion and reversals.
- Hidden (B): Signals potential trend continuations during pullbacks.
- Exaggerated (C): Signals weakness at double tops/bottoms.
5. **Divergence Filtering and Visualization:**
- **Price Tolerance Filter:** Divergence detection is enhanced
with a percentage-based price tolerance (`pivPrcTol`) to
filter out insignificant market noise, leading to more
robust signals.
- **Persistent Visualization:** Divergence markers are plotted
for the entire duration of the signal and are visually
anchored to the oscillator level of the confirming pivot.
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library
6. **Note on Confirmation (Lag):** Divergence signals rely on a
pivot confirmation method to ensure they do not repaint.
- The **Start** of a divergence is only detected *after* the
confirming pivot is fully formed (a delay based on
`Pivot Right Bars`).
- The **End** of a divergence is detected either instantly
(if the signal is invalidated by price action) or with
a delay (when a new, non-divergent pivot is confirmed).
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Calculation:** The Z-Score line *itself* can be calculated on a
higher timeframe, with standard options to handle gaps
(`Fill Gaps`) and prevent repainting (`Wait for...`).
- **Limitation:** The Divergence detection engine (`pivDiv`)
is designed for the active timeframe. Using it in MTF mode
is not recommended as step-data can lead to inaccurate
pivot detection.
8. **Integrated Alerts:** Includes a comprehensive set of built-in
alerts for the Z-Score crossing the neutral line, the configured
Threshold levels, and the start/end of all divergence types.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Bit Secure - Index Structure Engine ( Hybrid )Bit Secure – Index Structure Engine
( RSI Caution + No-Trade Range)
Bit Secure – Index Structure Engine is a structure-first intraday indicator designed for index traders (NIFTY / BANKNIFTY / FINNIFTY) who want clarity, discipline, and noise-free execution.
This tool focuses on EMA structure, VWAP context, priority opening moves, and intelligent RSI caution signals — without blocking valid trades.
🔹 Core Philosophy
“Trade structure first, momentum second, confirmation last.”
The indicator separates:
Trend entries (CORE & FAST)
Opening opportunity (PRIORITY)
Early reversal awareness (RSI Caution)
Sideways / no-trade zones (Manual Range Filter)
🚀 FEATURES
✅ EMA STRUCTURE ENGINE
EMA 9 & EMA 21 for core trend detection
EMA 5–21 fast entries (optional)
Clean crossover-based logic (no repaint)
⚡ CORE & FAST SIGNALS
BUY / SELL CORE → Main trend confirmation
FAST signals → Early continuation entries
Fully optional, toggle-controlled
🎯 PRIORITY OPENING ENTRY (09:15–09:45)
One-time high-probability retest / crossover entry
Designed for first 30 minutes volatility
Automatically resets every trading day
📉 VWAP NOISE FILTER (Optional)
Blocks trades when price is too close to VWAP
Helps avoid choppy & mean-reversion zones
⚠️ RSI CAUTION SIGNALS (NON-BLOCKING)
⚠️ These are alerts, NOT trade entries
RSI caution appears only when:
Cross happens inside OB / OS
Cross on zone exit
Cross just after zone exit
❌ No random mid-zone RSI noise
❌ No sideways false alerts
Perfect for:
Spotting early trend exhaustion
Managing open trades
Avoiding over-trading in trends
🚫 MANUAL NO-TRADE RANGE (Power Feature)
Manually define price range
ALL signals blocked inside this zone
(CORE / FAST / PRIORITY / RSI)
Range is visually highlighted on chart
Best use cases:
Event days
Option decay zones
Choppy consolidation areas
🎛️ FULL CONTROL
Every module is independently switchable:
FAST EMA
PRIORITY Entry
VWAP Filter
RSI Caution
Manual No-Trade Range
👉 Trade your style, not forced logic.
📊 BEST TIMEFRAMES
5-minute (Recommended)
Works on Index charts only
NIFTY
BANKNIFTY
FINNIFTY
⚠️ IMPORTANT NOTE
This is NOT a buy/sell recommendation
RSI signals are caution alerts, not entries
Use with proper risk management
💡 WHO IS THIS FOR?
✔️ Serious intraday traders
✔️ Price-action + structure followers
✔️ Traders tired of over-signals
✔️ Those who want clarity over complexity
🔒 Built for discipline.
🔥 Designed for structure.
🎯 Powered by context, not noise.
ATR Box Compact TR vs ATR 2.0Updates to ATR Box:
Fields added to set the location of ATR Box on the chart.
Daily Range is shown (also with %) to the ATR D1 14.
The color of the box can be modified to the % of the TR (five levels can be definened).
Application of the ATR Box
This indicator is used when trading stock reversals. It is used in conjunction with other indicators. I needed additional, concise information about the daily range compared to the ATR D1 14. For better visualization, I created different levels, color-coded according to the percentage value of the TR compared to the ATR.
Squeeze Momentum + ADX MemoThis indicator is a comprehensive technical analysis tool that combines the volatility detection of the Squeeze Momentum with the trend strength of the ADX (Average Directional Index). It is optimized to provide a clear reading of price action across multiple timeframes.
Unlike standard oscillators, this customized version by Memo integrates a dynamic Multi-Timeframe (MTF) info panel and a visual scaling system, allowing you to monitor strength and momentum in a single pane without cluttering your price chart.
🛠 KEY FEATURES
Squeeze Momentum: Identifies compression phases (red dots) and volatility breakouts (green dots).
Dynamic ADX: ADX and DI+/DI- lines are proportionally scaled to the histogram for intuitive visualization.
Multi-Timeframe Analysis (MTF): A dedicated dashboard shows trend strength and direction (EMA 200) for both the current chart and a higher timeframe (e.g., 1D).
Divergence Detector: Automatically identifies Bullish and Bearish divergences (BULL/BEAR DIV).
Signal Labels: LONG and SHORT markers triggered when trend strength is confirmed.
📘 DETAILED USER GUIDE
1. Understanding the Elements
Histogram: Cyan/Blue (Bullish), Red/Maroon (Bearish).
Center Dots: Red dots indicate the market is "squeezing" (price compression/accumulation). Green dots indicate the squeeze has released and a trend is underway.
White Line (ADX): Above the Critical Level (23) indicates a strong trend. Below 23 suggests a range-bound or "choppy" market.
2. Trading Strategy (High Probability Setup)
LONG Entry (Buy):
Squeeze: Red dots must be present (accumulation phase).
Shift: Histogram starts moving up or changes to recovery colors.
Strength: The ADX (white line) crosses above the critical level (23).
Confirmation: DI+ (green) must be above DI- (red).
Macro Filter: The dashboard must show a BULLISH trend on the Higher Timeframe.
SHORT Entry (Sell):
Squeeze: Red dots must be present.
Shift: Histogram starts dropping with increasing momentum.
Strength: The ADX crosses above the critical level (strength is gaining on the downside).
Confirmation: DI- (red) must be above DI+ (green).
Macro Filter: The dashboard must show a BEARISH trend on the Higher Timeframe.
3. Divergences & Exits
Use the BULL DIV and BEAR DIV labels as warning signals. A divergence against your current position is a clear sign to take profits or tighten your Stop Loss.
4. Info Panel (Dashboard)
ADX Metric: If both timeframes (Current and Higher) are green, the probability of a successful trend trade increases significantly.
Trend: Based on the 200 EMA. Memo's Golden Rule: Avoid trading against the higher timeframe trend to stay away from "fakeouts."
Reverse/Bounce LiteReverse/Bounce Indicator Lite
(EN) Indicator shows expected price rebound/reverse positions.
Calculations starts at first tick of every new bar/candlestick. In settings you can set range for calculations, text on label, label color and text color. Alerts working only on 15M timeframe or less. Feel free to contact me and leave comments when you have questions or suggestions.
(RU) Индикатор показывает ожидаемые места отскока/разворота цены.
Расчеты начинаются с первого тика каждой новой свечи/бара. В настройках вы можете задать диапазон для расчетов, текст на метке, цвет метки и цвет текста. Оповещения работают только на таймфрейме 15 минут или меньше. По вопросам и предложениям обращайтесь пишите в личные сообщения или оставляйте комментарии.
Mid Line📌 Mid Line – Volatility-Based Equilibrium Levels
This indicator draws horizontal mid lines at the midpoint of high-volatility candles.
When a candle exceeds the defined volatility threshold, its midpoint is marked as a potential short-term equilibrium level. These levels often act as temporary support or resistance, especially after strong impulsive moves.
If price pulls back, it may react around the mid line before continuing or breaking, helping traders identify reaction zones, pullback areas, and momentum shifts.
Key features:
Detects strong candles based on body volatility
Draws midpoint equilibrium levels automatically
Adjustable line length (up to 6 bars)
Designed for clean price action and intraday analysis
Best used on lower and intraday timeframes after impulsive moves.
Manual "Frozen" ATR Multi-Levels [Fixed Fibonacci Style]Overview
This tool is designed for traders who use ATR (Average True Range) to set their take-profit and stop-loss levels but are tired of standard ATR indicators that "wiggle" or move as volatility changes during the trade.
Unlike standard indicators, this tool behaves like a drawing tool (similar to a Fibonacci Retracement). You click your entry price once, input the current ATR value, and the script "freezes" 8 perfectly horizontal, dashed levels on your chart.
Key Features
Custom Entry Anchor: Click anywhere on the chart to set your "Open Price."
No-Wiggle Levels: Once placed, the lines stay perfectly straight, regardless of how the live ATR fluctuates.
Strategic Labels:
+1 to +5 ATR: Clear upside targets for scaling out.
-2 ATR STOP LOSS: Automatically labeled for disciplined risk management.
-3 ATR EMER STOP: A final "Emergency Stop" level for high-volatility events.
High Visibility: Heavy dashed lines with color-coded labels (Green for Profit, Red for Risk, Gray for Entry).
Fully Customizable: Toggle any level on/off to keep your chart clean.
How to Use
Note the current ATR value from your preferred timeframe.
Load this script and click your Entry/Open Price on the chart.
In the Settings box that appears, type the ATR value into the "Manual ATR Value" field.






















