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.
Volatilität
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.
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.
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.
[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.
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.
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.
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
Volume + ATR Robust Z-Score Suite (MAD)Plots relevant volume with relevant volatility using z-core to calculta de deviations
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.
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).
CPR OI Toolkit - All in one indicatorThis is experimental indicator which is an extend my pre triple EMA indicator. I have been using this indicator to identify potential entry and exit for commodity market. I had used it for couple of week and it helps.
I would like to share with you. It is meant identify and analyze then plan your trade. I have developed this indicator using Google Antigravity , which is an awesome tool for developing trading indicator and strategies.
My CPR OI tool kit includes following.
Triple EMA
Stochastic - for trend catching
Previous Low/high base trial and visual indication
Price action concepts
Reversion logic.
Visual indication - buy / sell / setup initialization / exit
Visual dashboard.
---
## 🎨 Visual Signal Guide
| Marker | Meaning | Action |
|--------|---------|--------|
| 🔵 Tiny Blue Circle | Stochastic bullish setup START | Wait for EMA + breakout |
| 🟢 Green Triangle UP | **LONG ENTRY** - All conditions met | **ENTER LONG** |
| 🔴 Red Triangle DOWN | **SHORT ENTRY** | **ENTER SHORT** |
| 🟠 Orange Circle | **EXIT** - EMA1/2 cross | **CLOSE POSITION** |
| 💧 Aqua "R" | Mean reversion long | Scalp opportunity |
| 💜 Fuchsia "R" | Mean reversion short | Scalp opportunity |
---
## 💰 Open Interest Interpretation
| Status | Price vs Prev | OI Change | Meaning |
|--------|---------------|-----------|---------|
| **Long Accumulation**🟢 | ↑ | ↑ | Bulls building positions |
| **Short Accumulation**🔴 | ↓ | ↑ | Bears building positions |
| **Short Covering**🟡 | ↑ | ↓ | Bears exiting (bullish) |
| **Long Unwinding**🟠 | ↓ | ↓ | Bulls exiting (bearish) |
---
## 🔔 Alerts (All Enabled by Default)
1. "LONG Signal | Stochastic confirmed | EMA Bullish"
2. "SHORT Signal | Stochastic confirmed | EMA Bearish"
3. "EMA Alignment: BULLISH/BEARISH"
4. "Position CLOSED - Trailing Stop Hit"
---
Bollinger Bands + 5 Flexible MA [Ahorrador de Espacio]Description:
This "All-in-One" indicator combines classic Bollinger Bands with up to 5 fully customizable Moving Averages (MA) in a single script.
Designed specifically for traders who want to maximize their technical analysis setup without using up multiple indicator slots (ideal for Basic/Free plan users).
Key Features:
Bollinger Bands: Standard configuration (SMA 20, StdDev 2) with visual contact alerts (Triangles).
5 Independent Moving Averages:
Toggle On/Off: Activate only the lines you need.
Total Flexibility: Choose between SMA (Simple) or EMA (Exponential) for each individual line.
Customization: Full control over length, color, and line thickness.
Clean Interface: MAs 4 and 5 are disabled by default to keep your chart clean, but are ready to be activated in the settings.
How to Use:
Add the indicator to your chart.
Open the Settings (gear icon).
Select which MAs you want to display (e.g., SMA 200 for trend, EMA 9 for scalping).
Use at your own discretion as a confluence tool for trend and volatility.
Note: This script is a visualization tool. The band signals (triangles) indicate price touching the outer bands, which can signify either a potential reversal or trend continuation depending on the market context.
RSI Momentum SignalRSI Momentum Signal is a technical analysis indicator designed to highlight potential momentum-based reversal points using the Relative Strength Index (RSI).
This script combines short-term RSI momentum behavior with basic candle structure to visualize possible bullish and bearish reaction zones directly on the chart.
How It Works
A fast RSI-based momentum calculation is used to color price bars when short-term momentum reaches extreme levels.
Buy and Sell signals are generated when momentum conditions align with RSI overbought or oversold levels and basic candle direction.
All signals are plotted visually on the chart to support discretionary analysis.
Intended Use
This indicator is not a standalone trading system.
It is designed to be used as a supportive analytical tool together with other technical analysis methods such as trend structure, price action, and support/resistance levels.
Disclaimer
This script does not provide financial advice and does not guarantee any trading results.
All trading decisions remain the sole responsibility of the user.
Use this indicator for educational and analytical purposes only.
Ichimoku Bounce on Tenkan-Sen by YellowKumaIchimoku Bounce (Long/Short) on Tenkan-Sen by YellowKuma
Pure bounce signals off the Tenkan-sen • No MTF • No noise
🌊 What It Does
This indicator spots high-probability reversal zones where price reacts off the Tenkan-sen (9-period conversion line) — the fastest Ichimoku component acting as dynamic support/resistance.
✅ Long signal → Price bounces up from Tenkan-sen while trading above the cloud
✅ Short signal → Price rejects down from Tenkan-sen while trading below the cloud
✅ Kijun-sen is used only as a trend filter (Tenkan > Kijun for longs / Tenkan < Kijun for shorts) — never as a bounce level
✅ Zero MTF complexity — runs purely on your chart's native timeframe, no repainting
Signals appear as:
🟢 "L" label below the bar → Bullish Tenkan bounce
🔴 "S" label above the bar → Bearish Tenkan bounce
⏱️ Timeframe Matters — A Lot
This strategy shines on higher timeframes and struggles on low ones. Why?
📈 H4 / Daily / Weekly
→ Tenkan-sen aligns with real institutional pivot zones
→ Cloud represents weeks of consensus value — strong trend filter
→ Bounces carry momentum → larger winners, fewer whipsaws
📉 M5 / M15 / M30
→ Tenkan-sen reacts to micro-noise, not structure
→ Cloud too thin — price slices through easily
→ False bounces dominate → shallow moves, poor R:R
💡 Rule of thumb:
• Use H4 for swing entries
• Use Daily for core trend trades
• Keep a Weekly chart open to confirm macro trend (only trade bounces with the Weekly cloud)
• Avoid M15/M30 entirely — signal quality degrades sharply
⚙️ Settings (Simple & Clean)
• Tenkan-sen Period → 9 (standard) — shorter = more sensitive, longer = smoother
• Kijun-sen Period → 26 (standard) — trend filter only
• Senkou Span B Period → 52 (standard) — defines cloud thickness
• Show Long Bounces → Toggle ON/OFF
• Show Short Bounces → Toggle ON/OFF
Cloud colors:
🟢 Green fill → Bullish cloud (Senkou Span A > B)
🔴 Red fill → Bearish cloud (Senkou Span A < B)
🎯 How to Trade the Signals
1️⃣ Wait for confirmation
→ Never enter mid-bar. Wait for candle close beyond the Tenkan-sen.
2️⃣ Check cloud alignment
→ Longs only when price > cloud top
→ Shorts only when price < cloud bottom
3️⃣ Add price action confirmation (optional but recommended)
→ Bullish engulfing / hammer at Tenkan → stronger long signal
→ Bearish engulfing / shooting star at Tenkan → stronger short signal
4️⃣ Risk management
→ Stop-loss: 1–2 pips beyond bounce bar extreme OR 2×ATR(14)
→ Take-profit: Target Kijun-sen (near-term) or opposite cloud boundary (swing)
→ Minimum reward:risk = 1:3
5️⃣ Avoid these situations
→ Choppy markets (Tenkan/Kijun flat, cloud thin)
→ Major news events (FOMC, NFP) — volatility distorts Tenkan touches
→ Bounces within 15 pips of strong horizontal resistance/support against your direction
🔔 Alerts
Built-in alert conditions:
• "Long Bounce" → triggers when green "L" appears
• "Short Bounce" → triggers when red "S" appears
→ Right-click indicator → Add Alert → choose condition
💡 Pro Tips for TradingView Users
✨ Session timing: Avoid first 60 mins of London/NY open — volatility creates false Tenkan touches
✨ Combine with Weekly trend: Disable short signals when price > Weekly cloud (and vice versa)
✨ Less is more: Expect 2–5 high-quality signals per week on H4 — that's normal. Quality > quantity.
⚠️ Important
This is a price-structure tool, not a magic bullet.
Always:
• Respect the trend (trade bounces with the cloud, not against it)
• Use proper position sizing (0.5–1% risk per trade)
• Keep a trading journal — track which bounces worked and why
✨ Bottom Line
Pure. Simple. Effective.
By focusing only on Tenkan-sen bounces — and enforcing strict cloud alignment — this indicator cuts through noise and delivers clean reversal zones where institutions actually place orders.
Works best on H4 and higher.
Add it. Switch to H4. Trade the bounce. 🚀 @YellowKumo
Adaptive Pullbacks ML v2.5Adaptive Pullbacks ML - Context-Aware Trend Trading
Overview
Adaptive Pullbacks ML is a sophisticated trend-following tool that solves the biggest problem in pullback trading: "Is this a dip to buy, or the start of a reversal?"
Unlike standard indicators that use fixed percentages or static moving averages, this script uses a 5-Dimensional k-Nearest Neighbors (k-NN) machine learning engine to learn the specific characteristics of successful pullbacks for the asset you are trading.
The 5-Dimensional ML Engine
The market is dynamic. A pullback depth that works in a low-volatility lunch session might fail during a high-volatility news event. This indicator tracks 5 key dimensions for every pullback:
Depth (ATR Normalized): How deep is the pullback relative to volatility?
Trend Slope: Is the trend steep (parabolic) or flat (grinding)?
ADX: How strong is the directional energy?
VWAP Distance: Is price extended or close to value?
Time of Day: Is this a morning drive or an afternoon fade?
When a new pullback occurs, the k-NN engine finds the 5 most similar historical events across these dimensions and predicts the probability of success.
Core Features
1. Fractal Normalization
The indicator speaks the language of ATR (Average True Range). It doesn't care if you trade the 15-second chart or the Daily chart. A "1.5 ATR Pullback" is a statistically comparable event across all timeframes, allowing for robust, scale-invariant analysis.
2. HTF Stats Bridge (Higher Timeframe Data)
You can trade on lower timeframes (e.g., 1-minute) while using statistics derived from higher timeframes (e.g., 15-minute). This ensures your signals are based on significant market structure, not microstructure noise.
3. Smart Zones
The indicator plots dynamic "Value Zones" based on learning:
Cyan Zone (Avg Depth): The "Sweet Spot". High probability bounce area.
Yellow Zone (Sigma): The "Extension". Price is stretching elastic limits.
Red Zone (Deep): The "Danger/Opportunity". Statistical anomaly.
4. PQS & k-NN Filters
Two layers of filtering protect your capital:
PQS (Probability Qualification Score): Based on raw win-rate of the zone.
k-NN Probability: Based on similarity to past winners.
Settings Guide
Stats Timeframe: The timeframe to learn from (Leave empty for Chart).
Trend/Trigger Settings: Define what constitutes a trend for your strategy.
k-Neighbors: Number of historical twins to compare (Default: 5).
Min PQS / k-NN: Thresholds for filtering weak signals.
Disclaimer: This tool is for educational purposes. Past performance of the k-NN engine does not guarantee future results.
Weekly IR Breakout SignalsInspired by XO (@Trader_XO) on CT for his trading strategy
and special thanks to REBO (@@R3BOOO) for putting it together in a cheat sheet and sharing it
contact me on X: @neuromancer0x
-------------------------------------------
Timeframe Recommendations:
1H chart - Day trading (5-10 signals/month)
4H chart - Swing trading (2-5 signals/month) ⭐ Best
Daily chart - Position trading (1-2 signals/month)
-------------------------------------------
When Signals Appear:
Monday: No signals (just setting up IR)
Tuesday-Friday: Watch for breakouts
Max 1 LONG + 1 SHORT per week (indicator enforces this)
-------------------------------------------
Risk Management:
Risk 0.5-1% per trade
Never risk more than 2% in one day
If 2 losses in a row → reduce size or pause
-------------------------------------------
🔔 Setting Up Alerts
Click "Create Alert" (⏰ icon)
Condition: Select "🟢 LONG Entry" or "🔴 SHORT Entry"
Alert name: "Weekly IR Signal"
Set to: "Once Per Bar Close"
Send to: Phone/Email/App
Adaptive ML VWAP v1.0Overview
Adaptive ML VWAP is a next-generation "Smart Indicator" that moves beyond static deviations (Standard Deviation). Instead of assuming market volatility is distributed normally (Bell Curve), this indicator uses a k-Nearest Neighbors (k-NN) machine learning engine to learn the specific volatility behavior of the asset you are trading.
It answers the question: "When price extends away from VWAP, how far does it actually go before reversing?"
The Adaptive ML Engine
This script features a 5-Dimensional ML Engine that tracks every major extension or pullback event. It records:
Deviation Depth (Normalized to ATR)
Trend Slope (Is the trend steep or flat?)
ADX (Trend Strength)
VWAP Deviation (Relative Position)
Time of Day (Session Context)
When a new setup occurs, the k-NN engine instantly searches its memory for the 5 most similar historical events and calculates the probability of success based on what happened last time.
Two Strategy Modes
You can toggle the logic to suit your trading style:
1. Mean Reversion Mode (Default)
"Fade The Move"
Goal: Catch price at an exhaustion point returning to VWAP.
Signal: Triggers when price touches a Smart Band and reverses back toward the center.
k-NN Learning: Learns which conditions favor a snap-back.
Best For: Ranging markets, Lunch hours, Choppy sessions.
2. Trend Following Mode
"Ride The Move"
Goal: Catch breakouts that are launching away from value.
Signal: Triggers when price breaks out of the Inner Band (1.0).
k-NN Learning: Learns which breakouts tend to extend to the Outer Bands.
Best For: Morning Drives, News Events, Strong Trends.
Visual Guide
The indicator uses a Dynamic Gradient system to visualize risk/reward:
Cyan Mist (0.5 - 1.0): The Value Zone. Noise area. Safe for trend entries.
Deep Cyan (1.0 - 2.0): The Trend Zone. Price is moving proactively.
Orange Glow (2.0 - 3.0): The Danger Zone. Price is statistically overextended. Reversals are highly probable here.
"Fractal" Math
Unlike standard indicators that break when you change timeframes, Adaptive ML VWAP uses Fractal Normalization.
A "2.0 Band" on a 15-second chart means the same statistical extreme as a "2.0 Band" on a 4-hour chart.
Auto-Adaptive Lookback: The indicator automatically boosts the ML memory (Lookback) on lower timeframes (seconds/minutes) where more noise requires larger sample sizes, ensuring robust predictions without manual tweaking.
Settings
Auto-Adapting Lookback: (Default: True) automatically increases Lookback to 100+ for seconds charts and 50+ for minute charts.
Lookback (Events): Manual override base value (Default: 100).
Strategy Mode: Toggle between Mean Reversion and Trend Following.
k-Neighbors: The number of similar past events to structurally compare (Default: 5).
Disclaimer: This tool is for educational purposes. Machine learning performance is dependent on market conditions and historical recursion.
VWAP Tension Bands + Osc Sigma Gap [MAXmks]Hello Traders,
This indicator started as an accident. I was building a different tool — a multi-metric dashboard — and added VWAP deviation as one of the components. I expected it to help catch falling knives. It didn't.
But I noticed something else. During cooling-off periods — when volatility fades and price just sits there, not really going anywhere — VWAP deviation on lower timeframes would start climbing quietly. And more often than not, a pullback followed. Sometimes a liquidity sweep first, then a pullback. I watched this pattern for months before deciding to build a dedicated tool around it, adding oscillator confirmation to filter the noise.
This is that tool.
The core idea
Markets act like a rubber band around VWAP — the further price stretches, the higher the tension. But raw deviation isn't enough. The real question: is momentum confirming the stretch, or lagging behind?
The σ-Gap captures when these two disagree — price pushed hard, but internals haven't caught up. That's where mean-reversion setups tend to appear.
The indicator tracks VWAP deviation across 2m / 5m / 15m simultaneously and compares it against a composite of momentum oscillators (Williams %R, CVD-based metrics). Signals require multi-timeframe consensus — no single timeframe can trigger alone.
Adaptive thresholds
What counts as "extreme" isn't fixed. Distance is measured in standard deviations (σ) , not pips or percentages — so the indicator adapts to volatility automatically. Thresholds scale with regime and historical distribution, adjusting to current market conditions in real time.
Two modes
Standard — adaptive thresholds, more signals. Good for active sessions and exploration.
High Precision — adds divergence confirmation from multiple oscillators (MFI, Delta RSI, CVD Z-Score). Fewer signals, higher selectivity.
Extreme Tension
When σ-Gap exceeds 1.6× the threshold, the indicator can fire without full confirmation. Rare, but these are the "overstretched" moments worth watching.
Filters (so you don't trade ghosts)
RVOL filter blocks signals during low activity. Session close filter avoids entries near VWAP reset. 24h volume filter skips illiquid instruments. Cooldown prevents signal clustering in the same direction.
Best use case
Built for short-term mean-reversion — quick snapback plays on 5m–15m charts where price overextends and reverts within a few candles. The engine is optimized for this rhythm, not for trend-following or swings.
On-chart
Tension Bands show dynamic threshold zones around VWAP. Signals are non-repainting and confirmed on bar close. Compact HUD displays all metrics, filter states, and signal status in real time.
Alerts
Pre-signal alerts when conditions start forming. Confirmed signal alerts with full breakdown: VWAP deviation values, σ-Gap readings, divergences detected, current mode.
Volume matters
This is a VWAP-based indicator. No volume data = no signal. If your instrument shows "No Volume" in the dashboard, switch to a data feed that provides it (crypto spot, futures, stocks with real volume).
A note on expectations
I use this logic in my own research and it has shown useful results for me in my backtesting scenarios. But this is an indicator for analysis , not a magic button. Your execution, fees, slippage, and market regime all matter. Treat signals as context, not commands. DYOR.
Feedback welcome.
For educational and analysis purposes only. Not financial advice.






















