AG Pro ADX Trend Pressure [AGPro Series]AG Pro ADX Trend Pressure
Overview / What it does
AG Pro ADX Trend Pressure is an overlay indicator that reframes ADX from a simple trend-strength reading into a pressure-state model. Instead of asking only whether ADX is high or low, the script evaluates how directional pressure is building, persisting, fading, or transitioning. The goal is to make ADX-based information easier to interpret directly on the price chart.
This script is designed for traders who want more structure than a standard ADX line, but without turning the chart into a fully automated signal engine. It combines ADX behavior, DI dominance, persistence, and cooling behavior into a state-driven visual framework. The result is a chart-first tool that emphasizes current pressure conditions rather than isolated threshold events.
The indicator uses a compact pressure ribbon, state labels, background zones, and a summary panel to show whether the market is in Compression, Early Expansion, Bull Pressure, Bear Pressure, Exhaustion, or Transition. These states are not predictions. They are structured interpretations of directional pressure conditions based on the current and recent bar sequence.
Because the script is plotted directly on the chart, it is intended to help with visual context, workflow organization, and directional reading. It can be used as a companion layer for discretionary analysis, structure work, trend continuation review, or pressure-fading observation.
Unique Edge
The main distinction of this script is that it does not present ADX as a standalone oscillator. Instead, it treats ADX as one component inside a broader pressure-state engine.
Its core difference is the shift from:
- “ADX is high or low”
to:
- “directional pressure is building”
- “directional pressure is confirmed”
- “pressure is cooling”
- “dominance is fading”
- “state transition risk is rising”
That distinction matters because many ADX-based tools stop at strength confirmation. This script tries to describe the condition around that strength: whether it is forming, maturing, weakening, or rotating.
Methodology
The script is built around a composite pressure score derived from several internal components:
1) ADX level
The script evaluates the current ADX value as a measure of directional strength participation.
2) ADX slope
It also measures whether ADX is accelerating or decelerating. This helps distinguish between pressure expansion and pressure cooling.
3) DI dominance
The spread between +DI and -DI is used to determine whether one side is meaningfully dominant, rather than merely fluctuating.
4) Persistence
Directional pressure becomes more meaningful when dominance remains intact across multiple bars. The script therefore normalizes persistence and includes it in the state logic.
5) Cooling behavior
The model penalizes conditions where momentum of pressure is fading, DI separation is shrinking, or a prior strong phase is losing quality.
These components are blended into a normalized pressure score and then interpreted through rule-based state conditions.
Pressure States
Compression
Used when ADX is relatively weak, DI separation is limited, and the directional structure is not sufficiently active.
Early Expansion
Used when pressure begins to build but has not yet qualified as confirmed directional pressure.
Bull Pressure
Used when bullish directional dominance is active and the pressure score is strong enough to confirm a bullish pressure phase.
Bear Pressure
Used when bearish directional dominance is active and the pressure score is strong enough to confirm a bearish pressure phase.
Exhaustion
Used when a previously strong pressure phase begins to cool materially and loses quality without yet becoming a clean opposite pressure phase.
Transition
Used when dominance quality deteriorates, directional structure rotates, or the market appears to be moving between pressure states.
Visual Structure
The script uses several chart elements to organize the pressure reading:
Pressure Ribbon
A compact ribbon below price summarizes the active pressure state without requiring a separate pane.
Pressure Curve
The center curve makes the pressure structure easier to read visually and helps distinguish calm phases from active directional phases.
State Labels
Labels appear only on state changes, helping reduce repeated label noise while still marking meaningful transitions.
Background Zones
Optional background zones provide broader regime context for stronger phases.
Summary Panel
The panel reports:
- State
- Pressure Score
- Directional Bias
- Pressure Phase
- Persistence
- Cooling Risk
These fields are intended to help the user interpret the current environment quickly without depending on a single line crossing or a single fixed threshold.
How to use it
This indicator is best used as a contextual tool rather than a standalone trade trigger.
Examples of practical use:
- Identify when a directional move is only beginning to organize
- Separate confirmed pressure from weak expansion
- Observe when a mature pressure phase begins to cool
- Spot when directional quality is fading into transition
- Add structure to trend-following or pullback workflows
Some users may prefer to read Bull Pressure and Bear Pressure as confirmation states, while using Early Expansion and Transition as cautionary context. Others may use Exhaustion to review whether a strong move is beginning to lose internal quality. The script does not enforce a single interpretation model.
Signals & Alerts
The script includes deterministic alert conditions for:
- Bullish Pressure Building
- Bearish Pressure Building
- Pressure State Shift
- Pressure Cooling
- Transition Risk Rising
These alerts are state-based notifications. They are not promises of continuation, reversal, or outcome. Their purpose is to notify the user that the internal pressure regime has changed according to the script’s rules.
Key Inputs
ADX Length
Controls the primary ADX and DMI calculation length.
DI Smoothing
Applies smoothing to directional movement components before pressure analysis.
Pressure Threshold
Sets the score level required before directional pressure can be confirmed.
Neutral ADX Threshold
Defines the area where the script becomes more willing to classify conditions as compression instead of directional pressure.
Cooling Sensitivity
Controls how quickly the script responds to deteriorating pressure structure.
Transition Sensitivity
Controls how readily the script recognizes potential regime rotation or dominance loss.
Persistence Length
Defines how persistence is normalized in the internal score model.
Minimum DI Gap
Sets the minimum meaningful separation between +DI and -DI.
Curve Smooth Length
Adjusts how smooth or reactive the pressure drawing appears on the chart.
Visual Controls
The script also includes display settings for:
- Pressure Ribbon
- Pressure Curve
- Active Pressure Spotlight
- Background Zones
- State Labels
- Label Size
- Panel Theme
- Panel Font Size
- Panel Position
Limitations & Transparency
This script is not a prediction model.
It does not forecast future price direction.
It does not guarantee trend continuation.
It does not guarantee reversal timing.
It does not replace risk management.
Like all state-based indicators, it can respond differently depending on volatility regime, market structure, timeframe, and instrument behavior. Strong trends, choppy ranges, and abrupt news-driven moves may produce very different state sequences.
The pressure score is an internal composite reading. It should not be interpreted as a universal probability measure. A score of 70 does not mean a 70 percent chance of success. It only means the current internal pressure components are stronger than they were in lower-score conditions.
Users should also be aware that background context and label placement are visual aids. The most important output is not the label itself, but the broader relationship between state, pressure score, bias, and how the curve behaves through time.
Who this script may be useful for
This script may be useful for traders who:
- already use ADX or DMI and want more chart context
- want a state-based trend pressure overlay
- prefer workflow tools over one-click signal tools
- want a compact visual reading of directional pressure behavior
It may be less suitable for users looking for a pure oscillator pane, a fully automated strategy, or a single-entry single-exit signal framework.
Risk Disclosure
This indicator is for chart analysis and workflow support only.
It is not financial advice.
It should not be treated as a standalone trade instruction.
Markets are risky, and no indicator can eliminate uncertainty.
Use independent judgment, confirm with your own process, and apply risk management appropriate to your market and timeframe.
Indicator

Dynamic Pivot Structure [DPS]Dynamic Pivot Structure (DPS) is a price structure analysis tool that automatically detects pivot points, classifies market structure (HH, HL, LH, LL), and generates dynamic support/resistance zones with mitigation tracking.
**Mathematical Foundation:**
The indicator uses the standard pivot point detection algorithm with configurable left and right bar confirmations. A pivot high is confirmed when the high of a bar is greater than the highs of all N bars to its left and N bars to its right. Similarly for pivot lows. This provides mathematically validated local extremes rather than arbitrary level selection.
Market structure classification follows the Dow Theory framework: Higher Highs (HH) and Higher Lows (HL) define uptrends; Lower Highs (LH) and Lower Lows (LL) define downtrends. The indicator tracks consecutive pivot sequences and labels each new pivot with its structural classification.
Support and resistance zones are generated around each pivot using the Average True Range (ATR) for zone width. This creates proportional zones that automatically adjust to the instrument's volatility. The indicator tracks zone mitigation — when price penetrates a zone, it is marked as mitigated and visually faded.
**Signal Logic:**
Buy signals fire when price is near an unmitigated support zone, above the trend EMA, with RSI below 40 or bullish structure (HH/HL), and ADX confirming a trending environment. Sell signals fire near resistance with bearish conditions.
**Features:**
- Automatic pivot high/low detection with adjustable sensitivity
- Market structure classification (HH, HL, LH, LL)
- Dynamic ATR-based support and resistance zones
- Zone mitigation tracking with visual feedback
- ADX trend strength filter
- Trend EMA overlay
- Dashboard showing structure type, ADX, and proximity status
Indicator

High-Momentum Option Breakout(MastersinMarkets)Overview
The High-Momentum Option Breakout is a technical tool designed to identify high-probability volatility expansions in equity indices. By combining price action breakouts with trend, strength, and volume filters, it aims to pinpoint specific windows where momentum is likely to accelerate.
How It Works
The script utilizes a multi-layered confirmation process to reduce "fakeouts" often found in standard breakout systems:
Breakout Engine: It monitors a user-defined lookback period to establish dynamic upper and lower bands based on recent price extremes.
Trend Hierarchy: A 200-period Exponential Moving Average (EMA) acts as a high-timeframe filter, ensuring signals align with the broader market regime.
Strength Filter (ADX): To confirm momentum, the script requires the Average Directional Index (ADX) to be above a specific threshold (default 20), indicating a trending environment rather than a sideways churn.
Volume Confirmation: Signals are only triggered when current volume exceeds the 20-period average, suggesting institutional participation in the move.
Dynamic Risk Management: The indicator plots a trailing exit level based on the Average True Range (ATR), which adjusts to market volatility to help protect capital.
How to Use
Long Bias (BUY CE): Triggered when price crosses above the upper band while trading above the 200 EMA with rising ADX and high volume.
Short Bias (BUY PE): Triggered when price crosses below the lower band while trading below the 200 EMA with rising ADX and high volume.
Momentum Exit: While the ATR-based stop is the primary defense, the script also suggests an exit if ADX begins to fall, signaling that the immediate momentum "steam" may be dissipating.
Originality and Value
This script is unique because it integrates momentum decay (falling ADX) as a specific exit trigger tailored for option buyers who need to manage time decay (Theta). It automates the confluence of four distinct technical pillars into a single, non-repainting visual interface.
Risk Disclaimer
Trading involves significant risk. This indicator is a tool for analysis and does not guarantee future profits. Past performance, including the visual signals shown on this chart, is not indicative of future results. Users should always use independent judgment and proper position sizing.
Indicator

Prismatic Trend Matrix [JOAT]Prismatic Trend Matrix
Introduction
The Prismatic Trend Matrix is an advanced open-source multi-dimensional trend analysis system that combines Hull Moving Average, SuperTrend, ADX strength filtering, and moving average confluence into a unified trend detection engine. This indicator analyzes trend across multiple dimensions simultaneously, creating a prismatic view of market direction with gradient visualization that reveals trend strength and conviction.
Unlike single-indicator trend systems, the Prismatic Trend Matrix provides multi-layered trend intelligence through Hull MA smoothing, SuperTrend band analysis, ADX strength measurement, and EMA/SMA alignment detection. The indicator is designed for traders who understand that strong trends require confirmation across multiple analytical dimensions.
Why This Indicator Exists
This indicator addresses the need for comprehensive trend analysis that goes beyond simple moving averages. By combining four distinct trend methodologies with gradient visualization, it reveals:
Hull Moving Average: Weighted moving average with reduced lag for responsive trend detection
SuperTrend Component: ATR-based bands that identify trend direction and support/resistance
ADX Strength Filter: Measures trend strength to separate strong trends from weak/choppy conditions
Moving Average Matrix: Three EMAs and two SMAs create alignment-based trend confirmation
Trend Classification: Five-state system (Strong Bull, Weak Bull, Sideways, Weak Bear, Strong Bear)
Counter-Trend Detection: Identifies potential reversals when price moves against established trend
Prismatic Gradient: Visual fill between Hull MA and SuperTrend shows trend intensity
Core Components Explained
1. Hull Moving Average (HMA)
The Hull MA uses weighted moving averages to create a smooth trend line with minimal lag:
The calculation involves three steps:
Step 1: Calculate WMA of half-length period
Step 2: Calculate WMA of full-length period
Step 3: Calculate WMA of the difference using square root of length
The result is a moving average that responds quickly to price changes while maintaining smoothness. The indicator applies additional EMA smoothing (default 3 periods) to reduce noise.
2. SuperTrend Calculation
SuperTrend uses ATR-based bands to identify trend direction:
Source: Average of high and low (HL2)
Upper Band: Source + (ATR × Factor)
Lower Band: Source - (ATR × Factor)
Direction: Bullish when close > upper band, bearish when close < lower band
Three modes control band adjustment:
Strict Mode: Bands adjust only when price crosses or previous band is breached
Quick Mode: Bands adjust when price crosses previous band
Quicker Mode: Bands adjust immediately with price
SuperTrend provides dynamic support/resistance levels that adapt to volatility.
3. ADX Strength Measurement
The Average Directional Index measures trend strength:
DI+ (Directional Indicator Plus): Measures upward directional movement
DI- (Directional Indicator Minus): Measures downward directional movement
ADX: Smoothed average of the difference between DI+ and DI-, normalized
Threshold: ADX above threshold (default 25) indicates strong trend
Rising ADX: Indicates strengthening trend momentum
ADX filters out weak trends and choppy conditions, ensuring signals occur only during strong directional movement.
4. Moving Average Matrix
Five moving averages create a trend alignment system:
Fast EMA (9): Short-term trend direction
Medium EMA (21): Intermediate trend direction
Slow EMA (50): Primary trend direction
Fast SMA (50): Smoothed primary trend
Slow SMA (200): Long-term institutional trend
Alignment is measured by comparing the order of these averages:
Bullish Alignment: EMA9 > EMA21 > EMA50 > SMA50 (all in ascending order)
Bearish Alignment: EMA9 < EMA21 < EMA50 < SMA50 (all in descending order)
Mixed Alignment: Averages not in order (choppy or transitional conditions)
Perfect alignment indicates strong institutional conviction in the trend direction.
5. Composite Trend Classification [/b>
The indicator combines all components into a five-state trend classification:
Strong Bull (State 2): Hull rising + SuperTrend bullish + MA alignment bullish + ADX strong
Weak Bull (State 1): Hull rising + (SuperTrend bullish OR MA alignment bullish)
Sideways (State 0): Mixed signals or weak trend conditions
Weak Bear (State -1): Hull falling + (SuperTrend bearish OR MA alignment bearish)
Strong Bear (State -2): Hull falling + SuperTrend bearish + MA alignment bearish + ADX strong
This classification provides clear trend assessment at a glance.
6. Counter-Trend Detection [/b>
The indicator identifies potential reversals when price moves against established trend:
Counter-Trend Bull: Trend state neutral/bearish + close > open + price rising + DI+ > DI- + close > Hull + ADX > 20
Counter-Trend Bear: Trend state neutral/bullish + close < open + price falling + DI- > DI+ + close < Hull + ADX > 20
Counter-trend signals include anti-overlap logic to prevent signal clustering and ensure clean placement.
7. Prismatic Gradient Visualization
The indicator creates a gradient fill between Hull MA and SuperTrend:
Gradient Layers: Multiple intermediate values calculated between Hull and SuperTrend (default 15 layers)
Color Intensity: Transparency increases from Hull (solid) to SuperTrend (transparent)
Dynamic Coloring: Gradient color matches trend state (green = bullish, red = bearish, cyan = sideways)
Visual Effect: Creates a glowing prismatic effect that emphasizes trend strength
The gradient provides intuitive visual feedback on trend intensity and direction.
8. Platform Levels
Platform levels are horizontal lines at the current Hull MA value:
Extension: Lines extend forward and backward from current bar (default 7 bars each direction)
Color Coding: Platform color matches current trend state
Purpose: Provides visual reference for potential support/resistance at Hull MA level
Platforms help identify key levels where price may find support or resistance.
Visual Elements
Hull Trend Line: Thick line (3px) with regime-based coloring showing primary trend
SuperTrend Line: Medium line (2px) with step-line style showing dynamic support/resistance
EMA Matrix: Three thin lines showing fast, medium, and slow EMAs with transparency
Prismatic Gradient: Multi-layer fill between Hull and SuperTrend creating glow effect
Platform Levels: Horizontal lines at Hull MA value extending forward/backward
Counter-Trend Signals: Triangles marking potential reversal points
Background Coloring: Subtle background tint for strong bull/bear states
Information Dashboard: Displays trend state, Hull direction, ADX strength, momentum, alignment, SuperTrend, DI balance, price vs Hull, gradient zone, counter-trend status, and signal
How to Use This Indicator
Step 1: Check Trend State
Monitor the dashboard for current trend state (Strong Bull, Weak Bull, Sideways, Weak Bear, Strong Bear). Trade in the direction of strong states.
Step 2: Verify ADX Strength
Ensure ADX is above threshold (default 25) for strong trends. Low ADX indicates choppy conditions - avoid trend-following strategies.
Step 3: Confirm MA Alignment
Check if moving averages are aligned (Bullish/Bearish/Mixed). Perfect alignment confirms institutional conviction.
Step 4: Monitor Hull Direction
Hull rising = bullish bias, Hull falling = bearish bias. Hull provides the primary trend direction signal.
Step 5: Use SuperTrend for Support/Resistance
SuperTrend line acts as dynamic support in uptrends and resistance in downtrends. Breaks of SuperTrend warn of trend changes.
Step 6: Watch for Counter-Trend Signals
Counter-trend signals at extreme levels may indicate reversals. Use these cautiously and confirm with other factors.
Step 7: Assess Gradient Zone
Price in upper gradient zone (near Hull) = strong trend, price in lower zone (near SuperTrend) = weak trend or potential reversal.
Best Practices
Trade only in Strong Bull or Strong Bear states for highest probability
Avoid trading in Sideways state - wait for clear trend establishment
Use ADX as a filter - only trade when ADX > 25 for strong trends
Confirm trend with MA alignment before entering positions
Use SuperTrend as trailing stop level in trending markets
Counter-trend signals work best at extreme levels with divergence
Monitor gradient zone - price near SuperTrend may indicate trend exhaustion
Combine with higher timeframe trend for additional confirmation
Input Parameters
Hull Trend Engine:
Hull Length: Period for Hull MA calculation (default: 20)
Hull Smoothing: Additional EMA smoothing (default: 3)
SuperTrend Layer:
ATR Period: Period for ATR calculation (default: 10)
ATR Factor: Multiplier for band width (default: 3.0)
Mode: Strict, Quick, or Quicker (default: Quick)
Trend Strength:
ADX Length: Period for ADX calculation (default: 14)
ADX Smoothing: Smoothing period for ADX (default: 14)
Strength Threshold: Minimum ADX for strong trend (default: 25)
MA Matrix:
Fast EMA: Short-term EMA (default: 9)
Medium EMA: Intermediate EMA (default: 21)
Slow EMA: Primary EMA (default: 50)
Fast SMA: Smoothed primary (default: 50)
Slow SMA: Long-term institutional (default: 200)
Visual Configuration:
Bullish/Bearish Trend Colors: Customizable colors for trend states
Sideways/Weak Trend Colors: Colors for neutral and weak states
Gradient Layers: Number of gradient fills (default: 15)
Show Platforms: Toggle platform level display (default: enabled)
Platform Extension: Bars to extend platforms (default: 7)
Originality Statement
This indicator is original in its multi-dimensional trend approach. While individual components (Hull MA, SuperTrend, ADX, EMAs) are established concepts, this indicator is justified because:
It combines four distinct trend methodologies into a unified classification system
The five-state trend classification provides clear trend assessment
Prismatic gradient visualization creates intuitive trend intensity display
Counter-trend detection with anti-overlap logic identifies potential reversals
MA alignment analysis measures institutional conviction
Integration of Hull MA smoothness with SuperTrend adaptability creates balanced trend detection
The comprehensive dashboard presents all trend dimensions simultaneously
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Trend analysis does not guarantee profitable trades. Past trends do not guarantee future trends. Always use proper risk management and never risk more than you can afford to lose.
-Made with passion by officialjackofalltrades Indicator

Trend Quality Score (TQS)Trend Quality Score (TQS) is a composite indicator designed to evaluate the strength, direction, and consistency of a trend in a single normalized signal.
The indicator combines three core components derived from price action and directional movement:
Directional Strength – Measures the relative dominance of buyers vs. sellers using the difference between +DI and -DI.
Trend Strength (DX) – Captures the magnitude of directional movement, smoothed to reduce noise.
Trend Persistence – Evaluates how consistently price has been moving in one direction over a defined lookback period.
These components are weighted and combined into a single score (TQS), which fluctuates around zero:
Positive values indicate upward trend conditions
Negative values indicate downward trend conditions
Values near zero suggest weak or non-trending markets
A configurable moving average can be applied to TQS to help identify shifts in trend quality and improve signal clarity.
Key Features
Combines strength, direction, and persistence into one metric
Helps distinguish strong trends from choppy conditions
Customizable smoothing and moving average type (SMA, EMA, WMA, RMA)
Suitable for trend confirmation, filtering trades, or regime detection
How to Use
Use TQS above zero to confirm bullish conditions and below zero for bearish conditions
Look for crossovers between TQS and its moving average as potential shifts in trend quality
Avoid trading when TQS is near zero, as this indicates low-quality or sideways markets
This indicator is designed as a confirmation and filtering tool and works best when combined with a broader trading strategy. Indicator

Price Structure Zones with Trend Filter SignalsWhat the script is
This is a two-engine trading system combining two independent but complementary methodologies:
Engine 1 — Camarilla Pivot Zones (the "map")
Camarilla pivots are price levels derived from the previous period's High, Low, and Close. They act like a gravitational grid — price tends to bounce between these levels intraday. There are 5 resistance levels (U1–U5) above the previous close and 5 support levels (D1–D5) below it. The formulas are fixed constants from Franklin Ochoa's Secrets of a Pivot Boss.
Engine 2 — Momentum/ADX Filter + Range Filter (the "trigger")
The ADX (Average Directional Index) measures trend strength, not direction. When ADX is below your threshold, the market is consolidating/ranging. The script then applies a Range Filter — a smoothed band around price — to detect the precise moment price breaks out of that consolidation. That breakout becomes your entry signal, complete with SL and TP levels.
How to read each level:
U1 / D1 & U2 / D2 — Minor friction zones. Price often pauses or wicks here but doesn't reverse hard. Not great for entries; good for partial profit-taking.
U3 / D3 — The "decision zone." Price respecting U3 (failing to break above) is a short signal; price holding D3 (bouncing off support) is a long signal. These are your primary reversal trade zones.
U4 / D4 — The breakout threshold. A clean daily close above U4 = strong bullish momentum. Below D4 = strong bearish momentum. These are your breakout continuation entries.
U5 / D5 — Extreme exhaustion / spike targets. Rarely reached but useful as hard TP or warning zones when reached intraday.
How to trade the signals-
Two distinct trade setups exist:
Setup A — Reversal trade at U3/D3
When price approaches U3 from below and the ADX signal fires short (range filter steps down), that is a high-probability short. Entry at the close of the signal bar, SL above U4, TP1 at U1/MID, TP2 at D1. The reverse logic applies at D3 for longs. This is the bread-and-butter setup — it works best in ranging/sideways markets.
Setup B — Breakout trade above U4 / below D4
When price breaks and closes above U4 with the ADX signal firing long, that is a momentum continuation trade. This one requires the ADX to have been low (consolidating) before the breakout — the script's cooldown and range detection ensure you're catching the first pop out of compression, not a late chase.
How SL and TP are calculated by the script:
The risk levels are multiples of the Band Radius (a smoothed ATR-like measure). By default: SL = 0.4× band radius, TP1 = 0.5× band radius, TP2 = 1.0× band radius. This gives you roughly a 1.25:1 reward-to-risk on TP1 — conservative and achievable. TP2 is disabled by default; enable it for trending markets.
Best timeframes:
The pivot resolution (currently set to Daily "D") is independent of your chart timeframe. Here's how to think about it:
Pivot resolution "D" (Daily pivots) works best on:
5-minute to 30-minute charts for intraday scalping and day trading
1-hour charts for intraday swing entries
These are the most commonly used Camarilla applications
Pivot resolution "W" (Weekly pivots) works best on:
1-hour to 4-hour charts
Good for swing traders holding 2–5 days
Pivot resolution "M" (Monthly pivots) works best on:
Daily charts
Good for position traders holding weeks to months
Practical tips:
Confluence is everything. The best trades happen when the ADX signal fires exactly at a U3 or D3 level. An ADX signal in the middle of nowhere between levels is lower quality — skip it or reduce size.
Avoid trading through major news. The script has no awareness of fundamental events. If a signal fires 10 minutes before a Budget/central bank/RBI announcement, stand aside.
The cooldown bar setting (default 20) prevents re-entry too soon after a signal. On faster timeframes (5m), you may want to reduce it to 8–12. On 4H/Daily, increase it to 30–50.
On Indian markets specifically (NSE/BSE): Daily pivots on a 15-minute chart work very well for Nifty 50, Bank Nifty, and individual large-cap stocks. The 9:15–10:00 opening range often sets the tone, and U3/D3 levels tend to act as strong intraday magnets. Watch for the first ADX signal after 10:00 AM IST when the opening volatility has settled.
Past statistical behavior does not guarantee future results — use as context, not as a signal in isolation. Enjoy !! Indicator

Chop ShieldThe Chop Shield is an all-in-one market state indicator designed to solve the two biggest problems for intraday traders: over-trading in sideways "chop" and entering breakouts with no institutional backing.
Built specifically for high-speed environments like SPY 0DTE and Tick Charts, this script uses a multi-layered confluence of volatility, momentum, and adaptive volume to "gray out" the noise and highlight high-probability "coiled spring" releases.
### Key Features
Smart "Traffic Light" Candle Coloring:
Slate Blue (#708090): The "Neutral Zone." This triggers during volatility squeezes, low ADX (Average Directional Index), or the mid-day "Lunch Doldrums." If it’s Slate, you stay at your desk.
White/Black High-Contrast Bodies: Once the market breaks out of chop, the candles return to a clean White (Bullish) or Black (Bearish) state.
The Squeeze Engine (Orange Background):
Uses a Bollinger Band/Keltner Channel relationship to identify periods of extreme volatility contraction. These "Squeezes" are the precursor to the largest moves of the day.
High-Confidence "Pressure" Signals:
Green/Red Diamonds: These appear when a candle meets strict price action criteria (70%+ solid body, closing at extremes) paired with high relative volume.
Live Bias Arrows: "BUY/SELL" markers trigger only when the High-Confidence bar aligns with the VWAP Slope and price location.
Adaptive Session Volume (The Yellow Marker):
Standard RVOL indicators are useless at the open because volume is always high. Our Adaptive Logic uses a 2.5x threshold during the 9:30–10:15 AM window and scales down to 1.5x for the rest of the day. If you see a yellow marker, it means volume is truly abnormal for that specific time of day.
Professional Filtering:
RTH Only: Automatically hides all signals and coloring during Pre-Market and Post-Market to keep your chart clean for the opening bell.
Lunch Doldrums: Hard-coded "Gray Zone" between 11:30 AM and 1:30 PM EST to protect you from the lowest-probability trading window.
### How to Trade It
This indicator is best used as a Validation Filter for levels-based strategies (Initial Balance, ORB, or Gap Fills).
The Setup: Identify a Volatility Squeeze (Orange Background) where candles are Slate Blue.
The Trigger: Wait for the Squeeze to end and the candles to turn White or Black.
The Confirmation: Look for a Green/Red Diamond paired with an Adaptive Volume Spike (Yellow "|").
The Exit: Use the Blue VWAP Line as your dynamic trailing stop or mean-reversion target.
### Confluence
Perfect for traders using Edgeful, ICT/SMC concepts, or standard Initial Balance breakouts. It removes the "guesswork" of whether a breakout is real or a low-volume trap. Indicator

Geass SRV - Support Resistance VolumeGeass SRV - Support Resistance Volume
by MasterTony
Volume profile engine adapted from Zeiirman's work — used with respect and full credit.
Most indicators tell you where price is. This one tells you where the market lives. The Support Band + Volume Profile is built around a single idea: price gravitates toward zones where real participation has happened, and it respects dynamic boundaries defined by the market's own momentum structure. This indicator surfaces both at once — a trend-adaptive zone on price and the volume history behind it.
How It's Calculated
Trend Direction (ADX + 200 SMA)
Market direction is read continuously using the DMI system — DI+ vs DI− for directional dominance, with the 200 SMA as a tiebreaker when they are equal. There is no neutral state. The indicator always commits to bull or bear, and all colors and zone behavior follow from that.
The Support Band (SMA 20 / EMA 21)
The innermost layer is a filled zone between the 20-period SMA and the 21-period EMA. These two averages are nearly identical in length but calculated differently, so the gap between them stays tight — producing a precise dynamic level rather than a wide smear. This is the mean of the recent trend. In a bull market it is the floor price returns to on pullbacks. In a bear market it is the ceiling price fails at on rallies. Green in a bull trend, red in a bear trend.
The Kijun Band — Main Trend Support and Resistance
The outer layer is the primary structural boundary of the indicator. The Kijun-Sen and Tenkan-Sen form a filled zone that acts as the main dynamic support in uptrends and the main dynamic resistance in downtrends, derived from Ichimoku Cloud. When price holds above this band the trend is intact. When price breaks through it and cannot reclaim it, the trend is in trouble.
Both lines adapt their lengths based on market conditions — compressing when momentum is strong and price is trending cleanly, expanding when conditions are weak or choppy. This means the boundary zone tightens in fast trends and widens when the market is uncertain, automatically adjusting to the environment. The lines are colored cyan in a bull regime and magenta in a bear regime, keeping them distinct from the inner band at all times.
The Kijun line within that band is the single most important level to watch. It is the baseline the trend must hold. Everything else in the indicator gives context to what happens at the Kijun.
Volume Profile — Reading the Zones
Volume profile engine adapted from Zeiirman's original work.
The volume profile is drawn to the right of price covering the last 240 bars. It answers the question the bands cannot: how much real participation has happened at each price level. A band sitting on a high-volume node is structurally different from a band sitting in empty space.
Point of Control (POC): The price level with the highest total volume — the market's center of gravity. When the POC aligns with the Kijun or the support band, that level is not just a moving average. It is a price the market has repeatedly chosen, making it the highest-conviction read the indicator can produce.
Value Area: The central 68% of all volume, shown as the brightest bars on the profile. The edges of the Value Area are high-probability reaction levels. Price approaching from outside tends to stall at the boundary or accelerate into the core. When the band zone overlaps a Value Area edge, dynamic structure and volume history are stacked at the same level.
Buy/Sell Split: Every row is divided between buying volume (green) and selling volume (red). When one side exceeds 60% it renders as a strong single color. This shows not just where volume was high — it shows who was in control. A dominant green node below price is demand. A dominant red node above is supply.
Low Volume Gaps: Rows with very little volume are structural gaps. Price moves through them quickly with little friction and accelerates until it hits the next meaningful cluster. When the band sits at the edge of a gap, a break can be fast and directional.
Freshness Fade: Recent volume glows brighter. Older volume fades. This prevents the profile from treating a level from 200 bars ago the same as one from yesterday.
Price Pivot S/R Lines
The last three swing highs and swing lows drawn as horizontal dashed lines — red for resistance, green for support. These are price memory. The exact levels where the market has previously reversed.
Bollingerbands
Custom Bollinger bands that can be toggled on to see outer lines of directional trend
How to Read It
The zone between the support band and the Kijun boundary is the core read. Green means the corridor is support — healthy pullbacks happen here. Red means it is resistance — rallies fail here. A tight narrow zone signals strong trend momentum. A wide zone signals a slower or more uncertain market.
The Kijun line is the level that matters most. A pullback that holds above it and bounces is trend continuation. A close below it is a warning. A reclaim from below is the first sign of a potential reversal. Every trade setup built with this indicator lives or dies at the Kijun.
The volume profile tells you whether the Kijun level carries real weight. A Kijun sitting on a large green volume node has been defended by buyers repeatedly — it has structural backing. A Kijun sitting in thin faded volume is unproven. When the POC and the Kijun are at the same price, that is the strongest signal this indicator can produce.
Value Area edges add a second volume-based reference layer. Watch for the band or Kijun to overlap with the top or bottom of the Value Area — that is confluence of two independent structural forces at the same level.
Pivot lines show the nearest price structure above and below. A green pivot just below the Kijun in a bull trend means two separate historical references are stacked — structural and volume-based support reinforce each other.
How to Trade With It
Bull Trend Pullback
Band is green. Price pulls back into the support band or toward the Kijun. Check the volume profile — is there a high-volume green node or the POC near that level? If yes, the zone has volume backing. Wait for a reversal signal inside the zone. Enter long with a stop below the Kijun. The nearest green pivot below is your hard invalidation.
Bear Trend Rally
Band is red. Price rallies into the band or toward the Kijun. Check the volume profile — is there a high-volume red node or the POC near the Kijun? If yes, the resistance is volume-confirmed. Wait for rejection inside the zone. Enter short with a stop above the Kijun. The nearest red pivot above is your invalidation.
Volume Gap Move
When price breaks out of the band and enters a low-volume section of the profile, expect the move to accelerate. There is no structural resistance in that gap. Price will run until it hits the next meaningful volume cluster. Use the profile to identify where that cluster is and target it.
Trend Change Warning
When the band flips color, stop trading the previous direction. Wait for price to pull back and hold the newly-colored zone on a retest before entering the new direction. Check the POC — if it is already on the new direction's side of price, the flip has volume support and is more likely to hold.
Confluence Filter
The cleanest setups occur when everything agrees: band color matches the trade direction, price is testing the Kijun, the POC or a high-volume node is at or near that level, and a pivot line adds nearby structure. When all of that stacks at one price, the zone is as high-conviction as this indicator gets.
Credits
Volume profile engine — Gaussian volume distribution, buy/sell split, POC calculation, Value Area logic, and freshness fade — adapted from Zeiirman's original work. Full credit to Zeiirman for the foundation that powers the volume layer of this indicator. Indicator

Viprasol Multi-Timeframe Trend Signal EngineOverview
The Multi-Timeframe Trend Signal Engine is a comprehensive overlay indicator that combines SuperTrend signals, a 5-EMA trend ribbon, EMA cloud, chaos trend line, order blocks, and an RSI-based take profit system with a 6-timeframe ADX trend dashboard. The core system — originally developed by Zakaria Safri — is a mature, feature-rich trading toolkit. This version adds a confluence quantification layer that transforms the dashboard's six independent timeframe readings into a single scored consensus metric, turning passive multi-timeframe observation into an actionable alignment signal.
How It Works
SuperTrend Signal Engine:
A custom SuperTrend calculation generates buy and sell signals using ATR-based dynamic bands. All signals require bar-close confirmation to prevent repainting on confirmed bars. Two modes are available: "All Signals" shows every crossover, while "Filtered Signals" adds an EMA gate requiring price to be above (for buys) or below (for sells) the main EMA before a signal qualifies.
Multi-Timeframe ADX Dashboard:
The indicator fetches ADX trend quality from six timeframes (5m, 15m, 1H, 4H, 12H, Daily) using an anti-repaint security pattern (previous bar value with lookahead — confirmed bars only). Each timeframe is classified as Bullish, Bearish, or Neutral based on an adaptive threshold derived from the median ADX value multiplied by a configurable factor. This means trend classification adjusts to the instrument's own volatility regime rather than relying on fixed levels.
MTF Confluence Score (Viprasol Addition):
The six individual timeframe trend readings are aggregated into a Confluence Score ranging from 0 to 6. The score counts how many timeframes currently show a bullish ADX trend. A separate bear confluence count tracks bearish alignment independently. The score is color-coded in the dashboard: green at 5-6 (strong bullish consensus), yellow at 3-4 (mixed), red at 0-2 (weak or bearish-dominant). This transforms what would otherwise be six separate readings requiring manual interpretation into a single quantified alignment metric. Two dedicated alert conditions fire when 5 or more timeframes agree on direction, providing automated detection of high-confluence setups.
Trend Ribbon:
Five EMAs (20, 25, 35, 45, 55) form a color-coded ribbon. The ribbon is bullish when the fastest EMA leads and bearish when it trails, shifting state on crossover. It provides a visual trend context layer independent of the SuperTrend signal system.
EMA Cloud:
A 150/250 EMA cloud identifies longer-term structural trend direction. Green fill indicates bullish structure, red fill indicates bearish structure. This serves as a backdrop for assessing whether shorter-term signals align with the broader trend.
Chaos Trend Line:
An adaptive trend line using pivot-based detection with ATR channels. It tracks the prevailing trend using highest and lowest pivot levels and changes color on confirmed reversals, providing another independent trend perspective.
Order Blocks:
Structural order blocks based on pivot break-of-structure logic. Bullish order blocks form at swing lows when higher highs break structure; bearish order blocks form at swing highs when lower lows break structure. Boxes fade when price tests them and are removed when fully invalidated.
RSI Take Profit System:
A sequential TP system using RSI crossovers at configurable levels (default 70/85/100 for bullish, 30/15/5 for bearish). Each TP level only fires after the previous one has triggered within the current signal cycle, creating a staged exit framework. TP1 must trigger before TP2 becomes active, and TP2 before TP3.
Reversal Signals:
A 25-period RSI-based reversal detector that fires when RSI crosses above the oversold level or below the overbought level, using bar-close confirmation.
Risk Management Lines:
Visual-only TP and SL lines plotted relative to entry price. These are for reference only and do not execute trades.
Key Features
- SuperTrend buy/sell signals with bar-close confirmation (no repainting on confirmed bars)
- Two signal modes: All Signals and EMA-Filtered Signals
- 6-timeframe ADX trend dashboard (5m, 15m, 1H, 4H, 12H, Daily)
- MTF Confluence Score (0-6) quantifying multi-timeframe bullish/bearish alignment
- 5-EMA trend ribbon with directional color coding
- EMA 150/250 cloud for structural trend context
- Adaptive chaos trend line with pivot-based detection
- Structural order blocks with fade-on-test and auto-invalidation
- RSI-based sequential take profit system (TP1, TP2, TP3)
- Visual TP/SL risk management lines
- RSI reversal signals at extreme levels
- Channel breakout levels from pivot highs and lows
- Three candle coloring modes (Scalper RSI, Trend Ribbon, EMA Direction)
- RSI background zones for overbought/oversold visualization
- Configurable dashboard position and font size
- All visual elements individually toggleable
- 10 alert conditions with dynamic messages
How to Use
Reading the Dashboard:
Start with the MTF Confluence Score. A score of 5-6 out of 6 indicates strong multi-timeframe bullish alignment — the majority of timeframes from 5-minute through Daily are trending in the same direction. A score of 0-1 indicates strong bearish alignment. Scores of 3-4 represent mixed conditions where caution is warranted. The individual timeframe rows below the score show exactly where agreement and disagreement exist, letting you identify which timeframes are diverging.
Signal Workflow:
Use "Filtered Signals" mode for higher-quality entries that align with the main EMA direction. Use "All Signals" mode when you want to capture more frequent opportunities in ranging or transitional markets. Reversal signals (purple labels) flag potential exhaustion at RSI extremes. The sequential TP markers (TP1, TP2, TP3) provide staged exit targets based on RSI momentum progression.
Combining Confluence with Signals:
The confluence score is most valuable as a directional filter. A buy signal firing when the confluence score is 5 or 6 carries more weight than one firing at a score of 2. Similarly, a sell signal at confluence 0 or 1 has stronger multi-timeframe backing. This is the core analytical addition — rather than visually scanning six rows, you get a single number that quantifies alignment strength.
Suggested Starting Points:
- Scalping (1m-5m): Sensitivity 2.0, ATR Factor 8, Filtered mode
- Intraday (15m-1H): Sensitivity 2.5, ATR Factor 11, All Signals mode
- Swing (4H-1D): Sensitivity 3.0, ATR Factor 14, Filtered mode
Settings
Main Settings — Sensitivity (controls signal frequency), Signal Mode (All or Filtered), ATR Factor (band width)
Trend Settings — Toggle trend ribbon, EMA cloud, chaos trend line, order blocks; configurable main EMA period
Signal Settings — Show/hide buy-sell signals, candle coloring mode selection, RSI background zones, channel breakouts
Dashboard Settings — Show/hide dashboard, position selection, font size
Risk Management — Visual-only TP/SL lines, TP strength multiplier, individual TP level toggles
Alerts
1. Buy Signal — SuperTrend crossover buy confirmed at bar close
2. Sell Signal — SuperTrend crossover sell confirmed at bar close
3. Filtered Buy — Buy signal with price above main EMA
4. Filtered Sell — Sell signal with price below main EMA
5. Reversal Up — RSI crosses above oversold level
6. Reversal Down — RSI crosses below overbought level
7. Ribbon Turned Bullish — EMA ribbon state change to bullish (edge-detected, fires once on crossover bar)
8. Ribbon Turned Bearish — EMA ribbon state change to bearish (edge-detected, fires once on crossover bar)
9. Strong Bullish MTF Alignment — 5+ of 6 timeframes showing bullish ADX trend
10. Strong Bearish MTF Alignment — 5+ of 6 timeframes showing bearish ADX trend
All alerts include dynamic message variables: {{ticker}}, {{close}}, and {{interval}}.
Limitations & Disclaimer
- MTF data uses the anti-repaint pattern (previous bar value with lookahead) to avoid repainting on confirmed bars. The current bar's data updates in real-time until that bar closes.
- ADX trend classification uses an adaptive threshold (median ADX multiplied by a configurable factor). "Neutral" readings are relative to the instrument's recent volatility, not fixed levels. This means the same ADX value may be classified differently across instruments or time periods.
- The RSI TP system is sequential — TP2 only becomes active after TP1 fires, and TP3 after TP2. If TP1 never triggers during a signal cycle, later levels will not fire.
- Order blocks use a simplified break-of-structure method based on 3-bar pivots. They are structural levels, not institutional order flow data.
- The Risk Management TP/SL lines are visual references only — they do not place or manage trades.
- This indicator is for educational and analytical purposes only. It is not financial advice. Always use proper risk management and validate signals with your own analysis. Test on a demo account before live trading.
Credits & Attribution
This script is derived from "Multi-Timeframe Trend Indicator with Signals" v4.4 by Zakaria Safri. The original is a substantial, feature-rich indicator that provides the SuperTrend signal engine, 5-EMA trend ribbon, EMA cloud, chaos trend line, 6-timeframe ADX dashboard, order block detection, RSI sequential take profit system, TP/SL risk management lines, reversal signals, channel breakout levels, three candle coloring modes, volatility measurement, and 8 alert conditions. The vast majority of the analytical logic in this script is Zakaria Safri's work.
Viprasol's additions: MTF Confluence Score (aggregating 6 timeframe readings into a 0-6 quantified alignment metric with color coding), separate bear confluence tracking, MTF alignment alerts (firing at 5+ timeframe agreement), and ribbon trend change alerts using edge detection for single-bar precision. These additions layer a confluence quantification system on top of the original's multi-timeframe dashboard.
Published open-source per PulseWire House Rules governing derivative works of open-source scripts. Indicator

Regime Classifier [JOAT]Regime Classifier
Introduction
The Regime Classifier is a sophisticated market state detection system designed to identify and classify market conditions into distinct operational regimes. Understanding the current market regime is perhaps the most critical factor in successful trading - a strategy that works beautifully in a trending market will fail miserably in a ranging market, and vice versa. This indicator solves that fundamental problem by providing clear, actionable classification of market states, allowing traders to adapt their approach to current conditions.
This tool is built for traders who understand that markets are not random but move through distinct phases, each requiring different strategies and risk management approaches. Whether you're a systematic trader needing regime filters, a discretionary trader seeking market context, or a portfolio manager adjusting exposure, this classifier provides the institutional-grade market intelligence needed to navigate any market environment successfully.
Why This Indicator Exists
Most traders apply the same strategy regardless of market conditions, then wonder why their performance is inconsistent. This indicator addresses that critical flaw by:
Regime Classification: Identifies four distinct market states with clear characteristics
Regime Strength: Measures how strongly the market exhibits regime characteristics
Regime Persistence: Tracks how long the current regime has been in place
Regime Quality: Evaluates the reliability of the current regime classification
Session Awareness: Considers session context for regime analysis
Regime Transitions: Detects and signals regime changes for strategy adaptation
The classifier transforms the complex, often subjective process of market analysis into an objective, systematic framework that can be consistently applied across all instruments and timeframes.
Core Components Explained
1. ADX-Based Trend Detection
The Average Directional Index (ADX) is the primary tool for trend detection:
// ADX calculation
float atr_val = ta.rma(ta.tr(true), i_adx_period)
float up_move = high - high
float down_move = low - low
float plus_dm = up_move > down_move and up_move > 0 ? up_move : 0
float minus_dm = down_move > up_move and down_move > 0 ? down_move : 0
float plus_di = 100 * ta.rma(plus_dm, i_adx_period) / atr_val
float minus_di = 100 * ta.rma(minus_dm, i_adx_period) / atr_val
float adx = 100 * ta.rma(math.abs(plus_di - minus_di) / (plus_di + minus_di), i_adx_period)
ADX components:
ADX Value: Trend strength (0-100), regardless of direction
+DI: Bullish directional movement
-DI: Bearish directional movement
Trend Threshold: Minimum ADX for trend classification (default 25)
Directional Bias: +DI vs -DI for trend direction
ADX above 25 indicates a trending market, while below 25 suggests ranging or volatile conditions.
2. ATR-Based Volatility Analysis
The Average True Range (ATR) measures volatility and helps distinguish between different non-trending states:
// ATR analysis
float atr_current = ta.atr(i_atr_period)
float atr_average = ta.sma(atr_current, i_atr_period * 3)
float atr_ratio = atr_average > 0 ? atr_current / atr_average : 1.0
// Volatility thresholds
float expansion_threshold = i_atr_expansion_mult
float contraction_threshold = i_atr_contraction_mult
ATR components:
Current ATR: Recent volatility measurement
Average ATR: Long-term volatility baseline
ATR Ratio: Current volatility relative to average
Expansion Threshold: Ratio indicating high volatility (default 1.4)
Contraction Threshold: Ratio indicating low volatility (default 0.6)
ATR analysis helps distinguish between ranging (low volatility) and volatile (high volatility) markets when ADX is below the trend threshold.
3. Regime Classification Logic
The indicator classifies markets into four distinct regimes:
// Regime classification
int market_regime = 0
if adx >= i_adx_trend
market_regime := 1 // Trending
else if atr_ratio >= expansion_threshold and adx < i_adx_trend
market_regime := 3 // Volatile
else if atr_ratio <= contraction_threshold and adx < i_adx_trend
market_regime := 2 // Ranging
else
market_regime := 0 // Neutral
Regime types:
Trending (ADX ≥ 25): Strong directional movement with clear trend
Ranging (ADX < 25, ATR ratio ≤ 0.6): Low volatility, sideways movement
Volatile (ADX < 25, ATR ratio ≥ 1.4): High volatility, erratic movement
Neutral (ADX < 25, 0.6 < ATR ratio < 1.4): Transition between defined states
Each regime has distinct characteristics that require different trading approaches.
4. Regime Strength Measurement
Not all regimes are created equal - some are stronger and more reliable than others:
// Regime strength calculation
float regime_strength = 0.0
switch market_regime
1 => regime_strength := math.min(adx / 50.0 * 100, 100) // Trending strength
2 => regime_strength := math.min((1 - atr_ratio) / (1 - contraction_threshold) * 100, 100) // Ranging strength
3 => regime_strength := math.min((atr_ratio - 1) / (expansion_threshold - 1) * 100, 100) // Volatile strength
0 => regime_strength := 50.0 // Neutral default
Strength interpretation:
Trending Strength: Based on ADX value (higher ADX = stronger trend)
Ranging Strength: Based on how low volatility is (lower ATR = stronger range)
Volatile Strength: Based on how high volatility is (higher ATR = stronger volatility)
Neutral Strength: Fixed at 50% as baseline
Strength Range: 0-100% indicating regime confidence
Higher strength values indicate more reliable regime classification.
5. Regime Persistence Analysis
The duration of a regime provides additional context about its reliability:
// Regime persistence tracking
var int regime_bars = 0
var int regime_start_bar = 0
if market_regime == market_regime
regime_bars := regime_bars + 1
else
regime_bars := 1
regime_start_bar := bar_index
// Persistence score
float persistence_score = math.min(float(regime_bars) / i_persistence_lookback * 100, 100)
Persistence features:
Regime Bars: Number of consecutive bars in current regime
Regime Start: When the current regime began
Persistence Score: Normalized duration (0-100%)
Lookback Period: Reference period for normalization (default 50)
Mature Regimes: Higher persistence indicates established conditions
Long-lasting regimes are more reliable than newly formed ones.
6. Regime Quality Assessment
Quality evaluates how well the current market fits the regime characteristics:
// Quality assessment
float quality_score = 0.0
float adx_quality = adx / 50.0 * 50 // 50% weight
float atr_quality = market_regime == 2 ? (1 - atr_ratio) / (1 - contraction_threshold) * 50 :
market_regime == 3 ? (atr_ratio - 1) / (expansion_threshold - 1) * 50 : 25
quality_score := adx_quality + atr_quality
Quality components:
ADX Quality: How well trend strength matches regime expectations
ATR Quality: How well volatility matches regime expectations
Quality Score: Combined assessment (0-100%)
High Quality: Clear regime characteristics
Low Quality: Ambiguous or transitioning conditions
High quality scores indicate clear, unambiguous market conditions.
7. Session Context Integration
Market behavior varies significantly across trading sessions:
// Session analysis
bool asian_session = time(timeframe.period, "0000-0800")
bool london_session = time(timeframe.period, "0700-1600")
bool ny_session = time(timeframe.period, "1200-2100")
// Session-specific adjustments
float session_multiplier = 1.0
if london_session
session_multiplier := 1.2 // Higher volatility expected
else if asian_session
session_multiplier := 0.8 // Lower volatility expected
Session features:
Session Detection: Identifies major trading sessions
Session Multipliers: Adjusts expectations based on session characteristics
Session Persistence: Tracks regime duration within current session
Session Quality: Evaluates regime quality within session context
Session Transitions: Identifies regime changes at session opens/closes
Session context helps interpret regime changes and anticipate behavior.
Visual Elements
Regime Histogram: Color-coded bars showing current regime
Strength Meter: Visual representation of regime strength
Persistence Line: Shows regime duration over time
Quality Gauge: Quality score visualization
Background Colors: Regime-based background shading
Session Markers: Visual session boundaries
Dashboard: Real-time regime metrics
Transition Alerts: Visual regime change notifications
The dashboard displays:
1. Current market regime and confidence
2. Regime strength and persistence
3. Quality score and trend direction
4. Session context and behavior
5. Regime history and transitions
6. Recommended strategies for current regime
7. Risk management adjustments
8. Regime forecast based on patterns
Input Parameters
ADX Settings:
ADX Period: Trend strength calculation (default: 14)
Trend Threshold: Minimum ADX for trend regime (default: 25)
ADX Smoothing: Additional smoothing for ADX (default: 3)
ATR Settings:
ATR Period: Volatility calculation (default: 14)
Expansion Multiplier: High volatility threshold (default: 1.4)
Contraction Multiplier: Low volatility threshold (default: 0.6)
Analysis Settings:
Persistence Lookback: Reference for persistence score (default: 50)
Quality Smoothing: Smoothing for quality calculation (default: 5)
Session Awareness: Enable session analysis (default: true)
Visual Settings:
Color Scheme: Customizable regime colors
Background Shading: Enable regime backgrounds
Dashboard Display: Show metrics panel
Alert Settings: Configure regime change alerts
How to Use This Indicator
Step 1: Identify Current Regime
Check the dashboard for the current market regime. Each regime requires a different approach:
Trending: Use trend-following strategies, let winners run
Ranging: Use mean-reversion strategies, take profits at levels
Volatile: Reduce position size, use wider stops, or avoid trading
Neutral: Wait for clarity, reduce trading activity
Step 2: Assess Regime Strength
Higher strength indicates more reliable conditions. In strong regimes (80%+), you can be more aggressive with position sizing. In weak regimes (<50%), reduce exposure and wait for confirmation.
Step 3: Monitor Persistence
Newly formed regimes (<10 bars) may be false signals. Mature regimes (>20 bars) are more established and reliable. Consider regime persistence in your strategy selection.
Step 4: Evaluate Quality
High quality scores (>75%) indicate clear market conditions. Low quality scores (<50%) suggest ambiguity - reduce trading or wait for clarity.
Step 5: Consider Session Context
Regimes that persist across multiple sessions are more significant. Regime changes at session opens often set the tone for the session.
Step 6: Watch for Transitions
Regime transitions signal strategy changes. A shift from trending to ranging requires switching from trend-following to range-bound strategies.
Best Practices
Always adapt your strategy to the current regime - don't use a trending strategy in ranging markets
High strength + high quality = maximum confidence in regime classification
Low persistence regimes (<10 bars) may be false - wait for confirmation
Session transitions often trigger regime changes - be alert at session opens
Volatile regimes are dangerous for most traders - consider reducing activity
Regime persistence is key - the longer a regime persists, the more reliable it is
Quality scores below 50% suggest waiting for clarity
Combine regime analysis with your existing strategy for better results
Keep a regime journal to track how each instrument behaves in different regimes
Use regime transitions as signals to adjust your entire trading approach
Strategy Applications by Regime
Trending Regime:
Trend-following strategies (moving averages, ADX, momentum)
Let winners run to maximum targets
Use trailing stops to capture extended moves
Add to positions on pullbacks in trend direction
Higher position sizing due to clear direction
Ranging Regime:
Mean-reversion strategies (RSI, Stochastic, Bollinger Bands)
Take profits at support/resistance levels
Use fixed targets - don't let winners turn into losers
Fade extreme moves toward the range middle
Smaller position sizing due to limited moves
Volatile Regime:
Reduce position size significantly (50% or less)
Use wider stops to avoid premature exits
Consider sitting out until conditions improve
Focus on volatility breakout patterns if trading
Quick profit taking - volatile conditions reverse quickly
Neutral Regime:
Wait for clarity before taking new positions
Manage existing positions more actively
Reduce trading frequency
Look for regime transition signals
Focus on longer timeframe analysis for direction
Technical Implementation
Built with Pine Script v6 featuring:
Advanced ADX calculation with directional movement analysis
Multi-timeframe ATR analysis for volatility assessment
Regime classification with confirmation logic
Strength, persistence, and quality scoring systems
Session awareness with timezone handling
Comprehensive visualization with multiple display modes
Real-time dashboard with 10 key metrics
Alert conditions for regime changes and thresholds
Export functions for strategy integration
Historical regime tracking and pattern recognition
The code uses confirmed bars for all calculations to prevent repainting and ensure reliable regime classification.
Originality Statement
This indicator is original in its comprehensive approach to regime classification and market state analysis. While ADX and ATR are established tools, this indicator is justified because:
It synthesizes trend and volatility analysis into a unified regime classification system
The strength, persistence, and quality scoring provides multi-dimensional regime assessment
Session awareness adds critical context often missing from regime analysis
Regime transition detection helps traders adapt strategy changes proactively
The four-regime classification (Trending, Ranging, Volatile, Neutral) covers all market states
Quality assessment helps distinguish between clear and ambiguous market conditions
Persistence analysis identifies mature, reliable regimes versus new, potentially false ones
Comprehensive visualization makes complex regime analysis accessible and actionable
Export functions enable regime-based strategy filtering and adaptation
Each component provides unique insights: ADX shows trend, ATR shows volatility, strength shows conviction, persistence shows duration, and quality shows clarity
The indicator's value lies in transforming the abstract concept of "market conditions" into concrete, actionable classifications that traders can use to adapt their strategies systematically and consistently.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Regime classification is a tool for understanding market conditions, not a prediction system.
Market regimes can change suddenly due to news events, economic data, or changes in market structure. Past regime behavior does not guarantee future patterns. The indicator's classifications are mathematical calculations based on historical patterns and should be used in conjunction with other forms of analysis.
Always use proper risk management, including stop losses and position sizing appropriate for current market conditions. Different regimes require different risk approaches - volatile regimes may require smaller positions and wider stops.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this system.
-Made with passion by officialjackofalltrades
Indicator

TetraTrend Engine [MarkitTick]💡 The TetraTrend Engine is an advanced, multifaceted overlay indicator designed to provide traders with a comprehensive view of market structure, trend direction, and institutional liquidity levels. By capturing and freezing critical moving average data at a user-defined moment in time, it transforms lagging indicators into static support and resistance frameworks. Furthermore, it integrates a sophisticated Multi-Timeframe (MTF) confluence matrix, ADX-based chop filtering, and dynamic position sizing, making it a complete suite for methodical trade execution. Please note that if applied to non-standard charts (like Heikin Ashi or Renko), the script's calculations may repaint.
✨ Originality and Utility
Standard moving averages constantly adjust to new price data, which is useful for trailing trends but less effective for identifying historical break-and-retest zones. This script introduces a novel "Freeze Point" mechanic. At a specific, fixed date and time, the engine captures the exact values of four distinct moving averages and the Average True Range (ATR). These values are then projected forward as horizontal levels, creating a persistent architectural map of the market based on a fundamental historical event (like an earnings report, macroeconomic news release, or structural pivot). Combined with an Auto-Anchored VWAP that automatically initiates from this exact freeze date, it offers a highly unique, institutional-grade perspective on volumetric average price versus static historical momentum.
🔬 Methodology and Concepts
● Core Trend Identification
The indicator calculates four separate moving averages, with default lengths of 20, 50, 100, and 200.
Users can toggle the calculation method between Simple (SMA), Exponential (EMA), Weighted (WMA), and Volume-Weighted (VWMA) moving averages.
● The Freeze Engine
A timestamp is set by the user (defaulting to a specific date like "2025-12-31 23:59").
Once the market time crosses this threshold, the script triggers a state where calculations are locked.
It records the exact values of the four MAs and the 14-period ATR at that exact candle.
● Institutional Confluence and Risk Matrix
The script checks higher timeframe (HTF) trend alignment using a primary HTF filter (defaulting to Daily).
An optional MTF Matrix requires alignment across three custom timeframes (e.g., 240m, Daily, Weekly) before validating any bullish signals.
It incorporates an ADX threshold (default 20.0) to filter out choppy, ranging markets, ensuring signals are only generated during periods of active momentum.
🎨 Visual Guide
● Chart Overlays and Lines
MA 1 (Length 20): Plotted in bright Cyan (#00E5FF).
MA 2 (Length 50): Plotted in Teal (#14B5CB).
MA 3 (Length 100): Plotted in Royal Blue (#2979FF).
MA 4 (Length 200): Plotted in Purple (#AA00FF).
Freeze Marker: A vertical line (default Dashed, colored Gray/Blue) denotes the exact moment the historical levels were captured.
Anchored VWAP: If enabled, an Orange line (#FFB74D) plots the volume-weighted average price starting precisely from the Freeze Marker.
● Dynamic Liquidity Zones
If enabled, semi-transparent shaded bands appear around Frozen Level 1 and Frozen Level 4.
These bands represent a distance of 0.5 * Frozen ATR, illustrating expected volatility boundaries at the time of the freeze.
● Analytics Dashboard
A heads-up display table is drawn in the top-right corner, displaying a dark theme with blue/gray borders.
It lists the HTF Trend Status (Bullish in Green, Bearish in Red).
It displays the current Market State (Trending/Active vs. Chop/Low Vol) based on the ADX.
It shows current Volatility (ATR) and ADX Strength.
If enabled, it outlines the MTF Matrix Status and the mathematically calculated Dynamic Position Size.
● Signal Shapes and Labels
A green triangle pointing up (#00E676) plots below the bar when a valid Long signal is generated.
Dynamic labels attach to the right side of the frozen levels, constantly updating to show the MA length and exact price level.
📖 How to Use
● Setting the Anchor
Identify a major market event on your chart (a swing high/low, a CPI data release, or a sudden volume spike).
Open the settings and input the exact date and time of this event into the "Fixed Date/Time (Freeze Point)" input.
● Interpreting Signals
Wait for the market to interact with the freshly drawn horizontal frozen levels.
A valid Long signal (Green Triangle) will only trigger if: the price crosses above Frozen Level 1, the HTF trend is bullish, the market is not ranging (ADX > threshold), and the optional MTF matrix is fully aligned.
Monitor the Analytics Dashboard table to ensure the broader market environment supports the trade setup.
⚙️ Inputs and Settings
• Moving Average Settings
Length 1 through 4: Adjust the lookback periods for the core trend calculation.
MA Type: Dropdown to select the mathematical smoothing method (SMA, EMA, WMA, VWMA).
• Advanced Filters & Risk
Primary HTF Filter: Determines the baseline higher timeframe to establish the primary trend direction.
ADX Chop Filter Threshold: Sets the minimum ADX value required to consider the market "trending" rather than "ranging".
Risk/Reward Ratio: A multiplier used to automatically calculate Take Profit 1, 2, and 3 targets based on the dynamically calculated Stop Loss distance.
• Institutional Features (Optional)
Enable Auto-Anchored VWAP: Anchors a VWAP strictly starting from the chosen Freeze Date.
Enable MTF Confluence Matrix: Requires alignment across three separate, user-defined timeframes.
Enable Dynamic Position Sizing: Inputs for Account Size ($) and Risk Per Trade (%). The script uses the ATR-based stop loss to output exact contract/share sizing required to maintain strict risk parameters.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The TetraTrend Engine leverages several established quantitative and statistical concepts to derive its signals. Moving averages serve as low-pass filters, dampening high-frequency market noise to reveal the underlying directional component of the time series. By capturing these values statically at a user-defined vector (the Freeze Point), the script transitions from dynamic time-series analysis to fixed architectural support/resistance theory, positing that historical mean values at critical temporal nodes retain psychological and institutional relevance.
Furthermore, the integration of the Average Directional Index (ADX) relies on the statistical measurement of trend velocity and momentum dispersion. The ADX component acts as a volatility gatekeeper, mathematically ensuring that the standard deviation of directional movement exceeds a baseline threshold before capital is deployed. Position sizing calculations utilize the Average True Range (ATR)—a measure of absolute price dispersion—to dynamically scale risk exposure inversely to market volatility, ensuring normalized risk parity across varied market environments.
⚠️ 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. Indicator

Velocity Acceleration Momentum [VAM]Velocity Acceleration Momentum
Overview
VAM is a multi-layered momentum indicator that measures how fast price is moving (Velocity), whether that speed is increasing or decreasing (Acceleration), and how strong the underlying trend is (ADX). Rather than just telling you the direction of price, VAM tells you the quality and phase of the move you're in.
How It's Calculated
Velocity measures the percentage rate of change of price over a lookback period (default: 14 bars), then smooths it with a 3-period EMA. It answers: "How fast is price moving relative to where it was?"
Acceleration is the change in Velocity over a secondary smoothing window (default: 5 bars), also EMA-smoothed. It answers: "Is momentum speeding up or slowing down?"
Signal Line is an EMA of Velocity (default: 9 bars) — similar in concept to the MACD signal line. When Velocity crosses above/below the Signal Line, it can indicate momentum shifts.
ADX Histogram uses Pine's built-in DMI/ADX calculation. When DI+ > DI−, bars plot positively (green); when DI− > DI+, bars plot negatively (red). The color opacity is gradient-mapped to ADX strength — vivid bars mean a strong trend, faded bars mean a weak/ranging market.
Reading the Velocity Line Colors (Regime Detection)
The Velocity line changes color based on the combination of Velocity and Acceleration:
ColorConditionMeaning🟢 LimeVelocity > 0, Acceleration > 0Rocket — momentum is up and accelerating🟡 YellowVelocity > 0, Acceleration < 0Topping — still positive but losing steam🔴 RedVelocity < 0, Acceleration < 0Freefall — momentum is down and worsening🟠 OrangeVelocity < 0, Acceleration > 0Bottoming — still negative but recovering
How to Trade With It
High level Buy when Velocity Line Green 🟢sell when Velocity drops hard and is Red 🔴
+
ADX BARS TELL YOU THE TREND AND THE TREND STRENTH (COMBINE THIS AND THE VELOCITY LINE)
+
ACCELERATION PUROPLE AND YELLOW WAVE TELLS YOU SHARP DROPS OR ADVANCES IN ACCELERATION
Trend Entries: Look for the Velocity line turning Lime (🟢) with the ADX histogram printing vivid green bars above the +25 line. This is the highest-confidence long setup — price is accelerating upward with confirmed trend strength.
Caution / Exit Signals: When Velocity turns Yellow (🟡) and sharply drops, momentum is fading even if price is still rising. Consider tightening stops or taking partial profits.
Short / Bearish Bias🔴 : Red Velocity + vivid red ADX bars below −25 signal a strong downtrend in Freefall. Avoid longs; look for short setups.
Potential Reversals: Orange Velocity (Bottoming) combined with ADX bars beginning to fade and shift green can be an early signal that a bottom is forming — useful for scaling into longs cautiously.
Signal Line Crosses: When the Velocity line crosses above the white Signal Line, momentum is picking up. Crosses below suggest weakening. Best used as a confirmation filter, not a standalone trigger.
The ±25 Reference Lines mark the ADX threshold commonly used to separate trending (above) from ranging (below) markets. ADX histogram bars inside the ±25 zone suggest low trend conviction — reduce position sizing or wait for confirmation.
Inputs
Source — Price input (default: Close)
Velocity Length — Lookback period for rate-of-change calculation (default: 14)
Acceleration Smooth — Smoothing window for acceleration (default: 5)
Signal Line Length — EMA period for the signal line (default: 9)
ADX Length — Period for DMI/ADX calculation (default: 14)
Show Signal Line — Toggle the white signal line on/off
Show Zone Backgrounds — Toggle ADX-strength background shading
Show ADX Histogram — Toggle the ADX directional histogram Indicator

SMC Crypto Swing Sniper (MTF Edition)The "SMC Crypto Swing Sniper" is an hybrid trading system. It´s evolved it from a pure price-action script into a data-driven order flow and momentum powerhouse.
1. The Macro Compass (Trend & Momentum)
Moving away from guessing candle patterns to using hard data:
The 4H Dashboard: Tracks Bitcoin, BTC Dominance, USDT Dominance, and your current ticker on a fixed 4H basis. It combines Trend (EMA crossover), RSI, MACD, and ADX/DMI. This instantly tells you if the market has real momentum (BULL/BEAR when ADX > 25) or is just chopping sideways (WEAK when ADX < 25).
Fixed Moving Averages: The 4H EMA 50, 4H WMA 200, and the Monthly VWAP dictate your overall macro bias. They are your ultimate directional filter (e.g., only look for long setups if the price is above these levels).
2. The Battlefield (SMC Zones & S/R)
This is the Price Action core that tells you exactly WHERE to look for trades:
Static 1H Price Filter: Three horizontal lines (Resistance / Mid / Support) that strictly lock onto the high, low, and average of the last 50 hours, regardless of what timeframe you are currently viewing. This is your local playing field.
Clean Order Blocks & FVGs: The script dynamically draws institutional zones with an elegant 80% transparency and no borders. They auto-delete to keep your chart clean only when truly invalidated (price breaking completely through an OB or fully filling a gold FVG).
Market Structure: Automated BOS (Break of Structure) and CHoCH (Change of Character) lines pinpoint local trend shifts.
3. The Order Flow Trigger (Sniper Execution)
Here, we measure real money exchanging hands to time the entry:
Whale Volume: Candles paint white when the volume spikes 200% above the 20-period moving average, highlighting Smart Money stepping in.
Rolling CVD (Cumulative Volume Delta): Your strongest weapon. Instead of endlessly adding volume history, it uses a rolling 21-bar period with a sharp sensitivity (Fractal = 2). When price makes a new low, but selling pressure is visibly dying out in the CVD, the script prints a Divergence Arrow. This is your early warning system!
Your Trading Workflow Summarized:
Check the Dashboard/MAs for direction -> Wait for price to tap an SMC Zone or 1H S/R line -> Pull the trigger when CVD Divergence or Whale Volume confirms the reversal. Indicator

Indicator

AVANTI MASTER PRO FINALAVANTI MASTER PRO FINAL – Smart Intraday Trend & Breakout System
AVANTI MASTER PRO FINAL is an advanced intraday trading indicator designed to identify high-probability buy and sell opportunities using trend analysis, momentum confirmation, and breakout strength evaluation.
The indicator combines multiple technical factors such as EMA trend structure, RSI momentum, ADX trend strength, buildup analysis, breakout scoring, and multi-timeframe trend confirmation to help traders avoid sideways markets and focus on strong trending moves.
This system also automatically calculates Entry, Stop Loss, and multiple target levels (TP1, TP2, TP3) depending on the instrument being traded.
🔹 Key Features
Trend Detection
Uses EMA 9, EMA 30, and EMA 200 to identify market direction and trend structure.
Multi-Timeframe Trend Filter
Signals are confirmed only when 5-minute and 15-minute trends align, improving signal quality.
Breakout Strength Score
A scoring model evaluates multiple bullish and bearish conditions to determine breakout probability.
RSI Momentum Confirmation
Momentum validation using RSI levels to avoid weak signals.
ADX Trend Strength Filter
Signals are generated only when ADX indicates a trending market, helping to avoid sideways conditions.
Buildup Analysis
Identifies Long Buildup, Short Buildup, Short Covering, and Long Unwinding based on price and volume behavior.
Signal Strength Dashboard
Displays STRONG BUY, STRONG SELL, or WAIT signals based on combined market conditions.
Auto Target System
Automatically plots Entry, Stop Loss, and multiple target levels (TP1, TP2, TP3).
📊 Dashboard Information
The built-in dashboard provides quick insight into market conditions including:
• Trend Status
• Market Buildup
• RSI Momentum
• Breakout / Breakdown Strength
• ADX Trend Strength
• Trade Zone
• Signal Strength
⚙ Supported Instruments
Targets are optimized for:
• NIFTY
• Stock Options
• Crude Oil
• Natural Gas
⚠ Disclaimer
This indicator is created for educational and analytical purposes only.
Always manage risk and use proper risk management before taking any trade.
👨💻 Developed By
Developed by AVANTI STOCKS
Satish D. Nakhate Indicator

AVANTI MASTER PRO FINALAVANTI MASTER PRO FINAL – Smart Intraday Trend & Breakout System
AVANTI MASTER PRO FINAL is an advanced intraday trading indicator designed to identify high-probability buy and sell opportunities using a combination of trend analysis, momentum strength, breakout scoring, and smart money behavior.
This indicator integrates multiple technical factors such as EMA trend structure, RSI momentum, breakout strength analysis, buildup detection, ADX trend strength filter, and multi-timeframe confirmation to help traders avoid sideways markets and focus on strong trending moves.
The system automatically generates entry signals and calculates risk-reward targets for different instruments.
Key Features
Trend Detection
Uses EMA 9, EMA 30, and EMA 200 to determine the overall market trend.
Multi-Timeframe Trend Filter
Signals are confirmed only when 5-minute and 15-minute trends align, improving trade accuracy.
Breakout Strength Score
A scoring system evaluates multiple bullish and bearish conditions to determine breakout probability.
RSI Momentum Confirmation
RSI is used to validate market momentum before generating signals.
ADX Trend Strength Filter
Signals are generated only when ADX > 23, helping to avoid sideways markets.
Buildup Analysis
Detects Long Buildup, Short Buildup, Short Covering, and Long Unwinding based on price and volume behavior.
Auto Target System
Automatically calculates Entry, TP1, TP2, TP3, and Stop Loss depending on the instrument.
Supported Instruments
Targets are optimized for:
• NIFTY
• Stock Options
• Crude Oil
• Natural Gas
Dashboard Information
The built-in dashboard displays key market insights such as:
• Trend status
• RSI momentum
• Breakout / Breakdown strength
• ADX trend strength
• Market buildup
• Trade zone indication
Best Use
This indicator is designed for intraday trading and trend continuation setups where strong momentum and trend confirmation are present.
Works best in trending markets.
Developed by AVANTI STOCKS – Satish D. Nakhate Indicator

AVANTI MASTER PRO FINAL**AVANTI MASTER PRO FINAL – Smart Intraday Trading System with Auto RR**
AVANTI MASTER PRO FINAL is a smart intraday trading indicator designed to identify high-probability breakout and breakdown opportunities using multiple confirmations such as trend, momentum, volume behavior, and market structure.
The indicator combines EMA trend analysis, RSI momentum, ADX trend strength, volume buildup analysis, and breakout scoring to generate clear AVANTI BUY and AVANTI SELL signals. It also automatically plots Entry, Stop Loss, and three target levels (TP1, TP2, TP3) on the chart to help traders manage risk and reward effectively.
Key Features:
• Smart AVANTI BUY / AVANTI SELL signals
• Automatic Entry, Stop Loss, TP1, TP2, TP3 levels
• Breakout probability scoring system
• Trend detection using EMA 9, EMA 30, and EMA 200
• RSI momentum confirmation
• ADX based trend strength detection
• Volume buildup analysis (Long Buildup, Short Buildup, Short Covering, Long Unwinding)
• Built-in dashboard showing trend status, RSI, ADX, buildup type, and breakout probability
• Clean chart structure with automatic removal of old signals
Best Timeframes:
5 Minute and 15 Minute Intraday Trading
Recommended Instruments:
NIFTY, Stock Options, Crude Oil, Natural Gas
Developed By:
**Avanti Stocks – Satish D. Nakhate**
Note:
This indicator is created for educational and analytical purposes only. Always follow proper risk management while trading.
Indicator

Dumb Money Concepts [theUltimator5]Most people are familiar with Smart Money Concepts (SMC), which is a trading methodology focused on mapping market structure and liquidity to track the actions of institutional investors (banks, hedge funds) rather than relying on traditional technical indicators by analyzing order blocks, liquidity gaps, and market imbalances...
Well this indicator isn't that.
This indicator is the trading methodology focused on mapping emotional trading 'techniques' by retail traders and relies heavily on basic technical indicators, giving no weight to market structure and liquidity.
This is Dumb Money Concepts (DMC)
This indicator identifies key areas such as:
Chasing
Panic selling
Late breakouts
Indicator stacking
Social herding
Boredom zones
FOMO
I want to stress that while this indicator shows emotional response signals, it is a very powerful tool when analyzing your own emotional responses while watching the chart. If you are feeling that strong urge to buy or sell for no real reason, this indicator will help you identify that it may simply be a false emotional response.
This indicator was designed to help you identify emotional response zones so you can step back and analyze the price action carefully before irrationally opening a losing position.
Before getting into the dumb money signals, I will briefly describe the special features below the chart:
1) First, this indicator also has a unique Dumb Money Index (DMI) which plots the combined and normalized retail sentiment score, calculated from a combination of RSI, MACD, Bollinger Bands, Volume, and Crowd sentiment. It plots two moving averages and displays a MACD-style histogram.
The DMI shows bullish and bearish sentiment crossovers which can be used to detect trend reversals.
2) Second, there is a hidden display which can be toggled in the settings which is the Dumb Directional Index (DDX). The DDX uses the DMI to create "dumb DI" and "dumb ADX" lines, which show strength of trend.
Now here is a brief explanation of each of the unique dumb money signals.
If you don't want to memorize all these, that's OK. I put a detailed description of each when you mouse over the labels.
🔥FOMO
FOMO is when the price has been increasing rapidly, social sentiment is screaming to buy the stock and retail starts to fear they are missing their chance to go to the moon. On top of that, every single commonly used indicator is in the extremely bullish range, and everybody is looking at the same set of basic indicators. In reality, an entry here will likely mean you are the exit liquidity.
🐑HERD EXHAUSTION
Herd Exhaustion is when the price has been consistently going up and volume has been rapidly increasing. This is when everyone is piling in, but it also means that it is likely reaching buy exhaustion where there are no longer enough buyers. This tends to happen around extreme tops, and is the point where the people enter with the hopes of a quick flip and find themselves leaving as long term community members.
🏃 CHASE PRICE
Price chasing is where there is a strong bullish trend, but the bullishness is starting to fade. Many retail traders think this point is where a small pullback makes a strong entry point, when they are entering at the reversal.
😱 HOPELESSNESS
Hopelessness is the opposite of price chasing. It is where there is a strong bearish trend with bearishness starting to fade. This tends to be where social sentiment is at a low and your emotions are telling you to get out while you still have a small amount of money left in your account. This also tends to signal price reversals.
🩸 PANIC FLUSH
Panic flush is your stoploss hunting. This is when the price spikes down on heavy volume and triggers unsuspecting trader's stoploss limits. These traders get stopped out at the extreme lows and will soon make their way over to social media to complain about how the market is rigged.
😴 BORING PRICE ACTION
Boring price action is where there is no real move either way for an extended period of time. This is when you look away from the stock and go to trade something else because the price is boring and you want to see some serious returns and fast. Well you just looked away at the exact wrong time because this boring price action generally tends to happen right before large moves. Sorry, you just missed the move and now you are going to chase.
When there is a major move immediately following a boring price bar, there is a horizontal line that gets plotted halfway between the open and close of the following candle. This horizontal line is the reversion price. This is the level that the price on the chart will likely return to in the near future since there was accumulation at the 'boring' price level right before, and the price likes to revert back to areas of high concentration.
Retail also tends to have a ton of indicators on their charts which don't offer too much, and simply makes the charts look messy. This indicator also has that option. You can enable 'retail clutter' in the settings, which adds a bunch of lines onto the chart to imitate a chart you might see out of a first-day trader who just watched a tutorial on moving averages.
Other adjustable settings include:
Toggle on/off any of the signals
Change color of fill
Change moving average lengths for DMI
Add background highlights for bullish and bearish trends
Indicator

Squeeze Breakout Pro [WillyAlgoTrader]Squeeze Breakout Pro (SBP) is an overlay indicator that detects volatility compression zones where Bollinger Bands contract inside a Keltner Channel, waits for a confirmed directional breakout with volume and momentum validation, and then maps a complete trade framework: structural stop loss at the opposite side of the range, and three take-profit targets calculated as R-multiples of the range width using Fibonacci-based extensions. A built-in dashboard tracks TP hit rates across the chart's history so you can evaluate the setup's statistical behavior on any instrument and timeframe.
The concept of a "squeeze" — Bollinger Bands narrowing inside Keltner Channels — has been around for decades. What SBP adds is a structured decision pipeline: it doesn't just flag the squeeze, it qualifies it with ADX to confirm a genuine range-bound condition, requires volume confirmation on the breakout bar, defines exact entry/SL/TP levels, and tracks how often each target is reached — turning a raw volatility observation into a repeatable trade setup with measurable outcomes.
🔍 WHAT MAKES IT ORIGINAL
1. Squeeze qualification via ADX filter. A standard BB-inside-KC squeeze fires frequently and includes many false compressions during trending pullbacks. SBP adds an ADX filter that requires the Average Directional Index to be below a user-defined threshold (default 21) during the squeeze phase. This ensures the consolidation is a genuine range-bound condition — not a brief pause in a strong trend that would produce a low-quality breakout. The combination of BB/KC compression + low ADX produces significantly fewer but higher-quality squeeze zones.
2. Minimum squeeze duration requirement. Not every momentary BB/KC overlap deserves attention. SBP requires a configurable minimum number of consecutive squeeze bars (default 5) before the range is considered valid. Short, fleeting compressions are ignored. This filters out the noise that plagues most squeeze indicators on lower timeframes.
3. Structural stop loss with ATR padding. Instead of a fixed-pip or fixed-percentage stop, SBP places the stop loss at the opposite boundary of the detected consolidation range — the natural structural level — plus a configurable ATR-based padding (default 20% of ATR). For a bullish breakout, SL sits below the range low; for bearish, above the range high. This gives the stop a structural reason to exist, tied to the actual price action that formed the squeeze.
4. R-multiple targets using Fibonacci extensions. Take-profit levels are calculated as multiples of the range width projected from the entry price:
— TP1 at 0.618× range width (conservative, first scale-out)
— TP2 at 1.0× range width (full range projection)
— TP3 at 1.618× range width (golden ratio extension)
All three multipliers are fully configurable. The range width serves as the natural "R" unit because it represents the energy stored during compression — wider ranges store more energy and project further.
5. Built-in TP/SL hit-rate tracking. The dashboard counts every breakout signal on the visible chart and tracks how many times each TP level was reached versus how many times the SL was hit. This gives you an instant statistical profile of the setup's behavior on the current instrument and timeframe — no external backtesting tool required. The hit rates update in real time as new signals form.
6. Overlap prevention. An optional toggle (on by default) prevents a new squeeze zone from forming if it would overlap with the previous one, avoiding redundant signals in choppy markets where squeezes cluster.
⚙️ HOW IT WORKS
Step 1 — Squeeze detection:
On each bar, the script calculates Bollinger Bands (SMA ± StdDev × multiplier) and a Keltner Channel (SMA ± ATR × multiplier) using the same base length. When both BB boundaries sit inside both KC boundaries (upper BB < upper KC AND lower BB > lower KC), the market is in a squeeze. If the ADX filter is enabled, the squeeze is only valid when ADX is also below the threshold — confirming low directional momentum.
Step 2 — Range construction:
While the squeeze is active, the script tracks the highest high and lowest low across all squeeze bars, building a dynamic range box. When the squeeze condition ends (BB expands beyond KC or ADX rises), the range is locked — but only if the squeeze lasted at least the minimum required bars. The locked range defines the consolidation zone for breakout detection.
Step 3 — Breakout confirmation:
After the range is locked, the script watches for a confirmed bar close above the range high (bullish breakout) or below the range low (bearish breakout). If volume confirmation is enabled, the breakout bar must also have volume exceeding the SMA(volume) × the configured multiplier. All breakout signals require barstate.isconfirmed — they trigger only on bar close and do not repaint.
Step 4 — Trade framework:
On breakout, the script calculates and plots:
— Entry: the breakout bar's close price
— SL: opposite range boundary ± ATR padding
— TP1 / TP2 / TP3: entry ± (range width × configured multipliers)
These levels extend forward as horizontal lines with a risk/reward fill zone until a target or stop is hit. When TP3 or SL is reached (bar close), the trade is closed and levels stop extending.
Step 5 — Hit tracking:
Each TP level and the SL are monitored on every confirmed bar after entry. When price touches (via high/low) a TP level, it is marked as hit. If SL is hit before TP3, the trade closes at a loss. The dashboard aggregates these outcomes across all signals on the chart.
Volume on forex:
On instruments without volume data (common on forex), the volume filter is automatically bypassed — so the indicator works seamlessly across asset classes without manual adjustment.
📖 HOW TO USE
Reading the chart:
— Yellow-tinted boxes = detected squeeze zones (consolidation ranges)
— "Long" label below bar = confirmed bullish breakout
— "Short" label above bar = confirmed bearish breakout
— Green line = entry level
— Red dashed line = stop loss
— Dotted/solid green lines = TP1 / TP2 / TP3
— Green-tinted fill between entry and TP3 = reward zone
— Red-tinted fill between entry and SL = risk zone
Suggested workflow:
— Wait for a squeeze zone to form and lock (box appears, disappears when squeeze ends)
— Dashboard shows "Pending" when a valid range is ready for breakout
— On breakout, evaluate the signal: check TP/SL levels, assess the range width, and decide position size based on the distance to SL
— Use TP1 for conservative partial exit, TP2 for second scale-out, TP3 for runner
— Review the TP1/TP3 hit rates in the dashboard to calibrate your expectations for the current instrument
Timeframe guidance:
— Scalping (1–5min): Squeeze Length 10–15, Min Squeeze Bars 3–5, ADX threshold 25
— Intraday (15min–1H): Squeeze Length 15–20, Min Squeeze Bars 5–8, default settings
— Swing (4H–Daily): Squeeze Length 20–30, Min Squeeze Bars 8–15, ADX threshold 18–20
— The longer the squeeze and higher the timeframe, the more energy stored → larger projected targets
⚙️ KEY SETTINGS REFERENCE
— Squeeze Length (default 13): shared period for BB and KC — higher = detects longer consolidations
— BB Multiplier (default 2.0): Bollinger Bands standard deviation multiplier
— KC Multiplier (default 1.2): Keltner Channel ATR multiplier — the gap between BB and KC multipliers controls how easily a squeeze triggers
— ADX Filter (default On): require low directional movement during squeeze
— ADX Threshold (default 21): maximum ADX value for valid squeeze — lower = stricter
— Volume Confirmation (default On): require volume spike on breakout bar (auto-disabled on forex)
— Volume Spike Mult (default 1.3): breakout volume must exceed SMA × this multiplier
— Min Squeeze Bars (default 5): minimum consecutive squeeze bars for valid range
— Prevent Overlap (default On): no new squeeze zone if it overlaps the previous one
— TP1 / TP2 / TP3 (default 0.618 / 1.0 / 1.618): take-profit as R-multiples of range width
— SL Padding (default 0.2): extra padding beyond range boundary, as fraction of ATR
📊 Dashboard
The info panel (adjustable to any chart corner) displays:
— Current squeeze status (Active with bar count, or None)
— Trade direction (Long / Short / —)
— Signal state (Active / Pending / Wait)
— ADX value with color coding (green if below threshold, red if above)
— Total breakout count (Long / Short split)
— TP1 and TP3 hit rates as percentages across all signals on chart
— Current timeframe and indicator version
⚠️ IMPORTANT NOTES
— This indicator does not repaint. All breakout signals require bar-close confirmation (barstate.isconfirmed).
— The TP hit rates shown in the dashboard are historical statistics on the current chart , not predictions. They depend entirely on the instrument, timeframe, and date range visible. A 70% TP1 hit rate on past data does not guarantee 70% going forward.
— SBP provides a structured trade framework (entry/SL/TP), but it is not a complete trading system . Position sizing, risk management, and trade selection remain the trader's responsibility.
— Not every squeeze produces a clean breakout. Some ranges resolve with choppy, directionless price action. The ADX filter and volume confirmation reduce this, but cannot eliminate it entirely.
— The indicator works across all asset classes — stocks, crypto, forex, futures, commodities. Volume features auto-adapt to instruments without volume data. Indicator

Adaptive Volatility Trend [WillyAlgoTrader]Adaptive Volatility Trend (AVT) is a trend-following overlay indicator that dynamically adjusts its sensitivity to market conditions using the Kaufman Efficiency Ratio and ATR-based volatility bands.
Unlike static moving averages or fixed-width channels, AVT continuously adapts: it accelerates in strong directional moves and slows down during choppy, range-bound price action — reducing whipsaws where most trend indicators fail.
🔍 WHAT MAKES IT ORIGINAL
The core innovation is a self-tuning mechanism built on three adaptive layers:
1. Kaufman Efficiency Ratio (ER) as an adaptive engine. The ER measures how "efficient" price movement is — the ratio of net directional change to total path traveled over N bars. An ER near 1.0 means price moved in a clean straight line (strong trend); near 0.0 means it went sideways with lots of noise. AVT uses the smoothed ER to dynamically blend between a fast constant (2-period EMA speed) and a slow constant (30-period EMA speed), producing an Adaptive Moving Average that responds quickly in trends and becomes sluggish in chop.
2. ER-scaled ATR bands. The volatility channel doesn't just use raw ATR × multiplier. It incorporates the Efficiency Ratio to narrow the bands during trending conditions (where ER is high) and widen them during ranging markets (where ER is low). This means the channel contracts when the trend is clean — keeping signals tight — and expands when price is noisy — filtering out false breakouts.
3. Composite Signal Scoring System (0–100). Every signal receives a quality score based on three weighted components:
— Trend strength (0–40 pts): derived from the Efficiency Ratio magnitude
— Momentum (0–30 pts): RSI distance from the neutral 50-level in the signal direction
— Volume confirmation (0–30 pts): current volume relative to its 20-period average
Only signals exceeding the user-defined minimum score threshold are displayed — letting you filter out low-conviction setups.
⚙️ HOW IT WORKS
Trend detection:
The indicator calculates an Adaptive Moving Average using the Kaufman method. The slope of this line determines trend direction: if the line rises by more than 5% of current ATR, the trend is classified as bullish; if it falls by the same threshold, bearish. A small dead zone (ATR × 0.05) prevents noise from flipping the trend.
Signal generation:
A BUY signal fires when:
— Trend flips from bearish/neutral to bullish (slope turns positive)
— Price is above the adaptive line
— RSI is not in overbought territory (if RSI filter is enabled)
— Volume exceeds its moving average × threshold (if volume filter is enabled; auto-disabled on forex)
— Composite score meets the minimum threshold
— Bar is confirmed (close-based, no repainting)
SELL signals use the mirror logic.
Anti-repaint compliance:
All signals require barstate.isconfirmed — they only trigger on the close of the bar and never change on historical data. A warmup period (minimum 50 bars or 2× Trend Length) prevents unreliable early signals.
Volume filter on forex:
The indicator automatically detects instruments with no volume data (common on forex pairs) and bypasses the volume filter for those symbols, so it works seamlessly across asset classes.
📖 HOW TO USE
Reading the chart:
— Green trend line + upward slope = bullish regime
— Red trend line + downward slope = bearish regime
— Yellow trend line = neutral / transitioning
— ▲ labels below bars = confirmed BUY signal
— ▼ labels above bars = confirmed SELL signal
— The shaded channel around the trend line shows volatility-adjusted support/resistance zones
Quick-start presets:
— Conservative (Length 30 / ATR 20 / Mult 2.5): fewer signals, higher reliability — suited for swing trading on 4H–Daily
— Default (Length 20 / ATR 14 / Mult 2.0): balanced for most timeframes
— Aggressive (Length 12 / ATR 10 / Mult 1.5): more signals — suited for 15min–1H
— Scalping (Length 8 / ATR 7 / Mult 1.2): fast response — optimized for 1–5min charts
Signal quality:
Use the Score value in the dashboard to gauge conviction:
— 70–100: strong trend + momentum + volume alignment
— 40–69: moderate setup, consider additional confluence
— Below threshold: signal filtered out (not shown)
Dashboard panel:
Displays current trend direction, last signal with its score, Efficiency Ratio %, RSI value, timeframe, and indicator version. Position is adjustable to any corner of the chart.
Alerts & automation:
Supports both standard PulseWire alert messages and JSON webhook format for integration with 3Commas, Alertatron, or custom bots. Alert messages include ticker, price, timeframe, and signal score.
⚙️ KEY SETTINGS REFERENCE
— Trend Length (default 21): lookback for adaptive MA — higher = smoother, lower = faster
— ATR Length (default 14): period for volatility bands — higher = wider bands
— Band Multiplier (default 2.0): ATR multiplier for channel width — higher = fewer false signals
— RSI Filter (on by default): blocks buy signals when RSI > 70, sell signals when RSI < 30
— Volume Filter (on by default): requires volume > SMA(20) × 1.2 — auto-disabled on forex
— Min Signal Score (default 40): minimum composite score for signal display
— Efficiency Smoothing (default 5): EMA smoothing of the Kaufman ER
⚠️ IMPORTANT NOTES
— This indicator does not use future data. No lookahead, no repainting.
— Past performance shown on any chart does not guarantee future results.
— AVT is a tool for identifying trend direction and generating signal candidates — it is not a complete trading system. Always use proper risk management and consider additional confluence before entering trades.
— The indicator works best in trending markets. In prolonged sideways conditions, even filtered signals may produce whipsaws — the Efficiency Ratio in the dashboard helps you assess whether the current market is trending enough for signal reliability. Indicator

Indicator

Directional Logistic Oscillator | GainzAlgoOverview
The Directional Logistic Oscillator (DLO) is a momentum-based indicator designed to measure directional market strength and identify potential trend reversals or mean-reversion opportunities. It builds on the classic Directional Movement Index (DMI) by transforming its components (+DI, -DI, and ADX) into probabilistic signals using logistic functions, then combining them into a bounded oscillator that oscillates between approximately -1 and +1.
Unlike traditional oscillators like RSI or MACD, DLO emphasizes directional probability by estimating the likelihood of bullish or bearish dominance while factoring in overall trend strength (via ADX). This makes it particularly useful for:
Spotting overbought/oversold conditions in ranging markets.
Confirming trend shifts in trending markets.
Generating reversal signals based on oscillator cycles.
The oscillator is plotted as histogram bars (columns) for visual clarity, with color-coding to highlight strength and direction. Positive values indicate bullish momentum, negative values bearish, and crossings of key levels can signal trading opportunities.
How It Works
At its core, DLO processes DMI data through a logistic transformation to create "probabilities" of directional movement:
1. DMI Calculation : Uses the standard DMI with a user-defined length (default 14) to compute +DI (upward movement), -DI (downward movement), and ADX (trend strength).
2. Logistic Probability : Each DMI component is normalized against its long-term mean and passed through a logistic (sigmoid) function. This creates smooth probabilities between 0 and 1.
The logistic function is defined as:
logistic_prob(series, mean_lb, slope, smooth_len) =>
mean = ta.sma(series, mean_lb)
z = (series - mean) * slope
prob_raw = 1.0 / (1.0 + math.exp(-z))
ta.ema(prob_raw, smooth_len)
This step makes the indicator adaptive to market conditions, with the "slope" controlling how sharply it reacts to deviations from the mean.
3. Net Directional Strength : Bullish minus bearish probability, scaled by ADX probability and a user-defined multiplier, then bounded using a hyperbolic tangent (tanh) function to keep values between -1 and +1.
net_dir = prob_plus - prob_minus
strength_raw = net_dir * prob_adx * osc_scale
strength_bound = tanh(strength_raw)
Tanh ensures smooth, bounded output without clipping extremes unnaturally.
4. Smoothing and Signals: The raw strength is smoothed with EMA, then further processed into SMA and EMA lines for signal generation. Percentile-based thresholds (adaptive over a lookback period) detect extreme zones for mean-reversion signals.
The result is a visually intuitive oscillator: Green bars for bullish, red for bearish, with varying intensity based on momentum.
Inputs
DLO offers customizable settings grouped for ease of use. Defaults are tuned for balanced performance on daily charts.
DMI Settings
DI Length (default: 14): Controls DMI sensitivity. Shorter lengths react faster to price changes but add noise; longer lengths smooth signals for trends.
Mean Lookback (default: 360): The period for calculating the long-term average of DMI components. Higher values provide a more stable baseline, reducing false signals from short-term volatility. Lower values make the indicator more responsive but noisier
Difference between high and low mean lookback period, lower length can pick up on new trends faster but at the cost of increased noise.
Logistic Probability Settings
LR Slope (higher = steeper) (default: 0.18): Adjusts the steepness of the logistic curve. Lower values create gradual transitions (smoother oscillator); higher values make sharp shifts, emphasizing extremes.
Probability Smoothing (EMA) (default: 3): Short EMA to reduce noise in probabilities. Keep low (1-5) for responsiveness; higher for smoothness.
Oscillator Settings
Oscillator Scale (pre-tanh) (default: 2.5): Multiplies net strength before bounding. Higher values increase sensitivity and amplitude (larger swings); lower values compress the range for subtler signals.
Comparison of 4 different settings for Oscillator scale, showing that as the scale parameter increases, the oscillator output becomes more pronounced, exhibiting higher amplitude compression toward the bounds and spending more time saturated near the extreme values of +1 and −1.
Oscillator Smoothing Length (default: 7): Period for SMA/EMA smoothing of the final oscillator. Longer = smoother, fewer signals; shorter = more reactive.
Color & Display Settings
Buy Color / Sell Color: Customize colors for bullish/bearish visuals.
Plot Reversion Signals (default: true): Shows arrows for cycle reversals (local highs/lows).
Plot Mean-Reversion Signals (default: true): Arrows for crossings from extreme percentile zones.
Plot Oscillator MA (default: false): Overlays an SMA on the oscillator for additional confirmation.
Allow Intrabar Updating (default: true): Enables real-time updates within incomplete bars (may cause minor repainting).
Visuals
Oscillator Histogram: Columns colored green (bullish) or red (bearish), with lighter shades for weaker momentum. Crosses above/below zero signal momentum shifts.
Horizontal Lines: Zero (neutral), +0.5 (strong bullish), -0.5 (strong bearish).
Background Highlights: Subtle green/red shading when in strong zones.
Bar Colors: Mirrors oscillator direction on the price chart.
Color-coded trend regimes: green/teal highlight strong and weak uptrends, red/purple mark strong and weak downtrends, while the oscillator histogram confirms direction and strength through its polarity and amplitude.
Signals
Mean-Reversion (MR) Signals : Triangles (▲/▼) when the smoothed oscillator crosses up from low percentiles (oversold) or down from high percentiles (overbought). These are adaptive, using historical data for dynamic extremes.
Buy: Oscillator crosses above lower threshold (e.g., 10th/5th percentile).
Sell: Crosses below upper threshold (e.g., 90th/95th percentile).
Reversion Signals : Arrows (⬆/⬇) at local turning points in the oscillator cycle, indicating potential reversals.
Zero-Line Crosses : Basic bullish/bearish momentum changes.
Usage Tips
Trend Confirmation: Use in trending markets—persistent positive/negative values confirm up/down trends. Pair with moving averages for entries.
Mean-Reversion: In sideways markets, trade MR signals from extremes. Combine with support/resistance.
Divergences: Look for price making new highs/lows while DLO doesn't for reversal setup.
Alerts
MR Buy/Sell: Extreme zone crosses (percentile-based).
Reversion Up/Down: Cycle turning points.
Osc Bullish/Bearish Cross: Zero-line crosses.
Limitations
Like all oscillators, DLO can lag in strong trends or produce false signals in choppy markets, use with confirmation.
Percentile thresholds adapt over time but may vary by asset volatility.
Not a standalone system; always combine with risk management.
Indicator

Absorption ReversalAbsorption Reversal detects institutional absorption patterns at the extremes of a trading range. When price reaches a range boundary, large limit orders from institutional players can "absorb" aggressive market orders — this creates a characteristic candle with high volume and a long rejection wick. The indicator identifies these setups and waits for confirmation before signaling a reversal.
Free & Open Source — no invite-only access, no paywall. Full source code, fully transparent.
## The Concept: What Is Absorption?
In order flow terms, absorption occurs when resting limit orders at a price level absorb incoming market orders without allowing price to break through. This is a core concept in Wyckoff analysis (Effort vs. Result) and institutional trading:
- High volume (Effort) + small price movement / long wick (no Result) = absorption
- The wick shows that price was pushed to the extreme but immediately rejected
- This typically happens at range boundaries where institutional players defend levels
The indicator automates this detection process with quantifiable rules.
## How It Works
The signal generation follows a strict 6-step process:
Step 1 — Range Detection: A Donchian Channel (highest high / lowest low) defines the current trading range boundaries.
Step 2 — Range Width Filter: The channel width must be below its own average — confirming the market is sideways/contracting, not expanding into a trend.
Step 3 — ADX Trend Filter: Wilder's ADX must be below the threshold (default 25) — no strong trend active. Absorption setups work best in range-bound markets.
Step 4 — Proximity Check: Price must be in the upper or lower proximity zone of the range (default: outer 15%). Absorption in the middle of a range is meaningless.
Step 5 — Absorption Bar: A candle that shows:
- Volume spike (default 1.5x average — significant participation)
- Long rejection wick (default 66% of candle range — strong rejection)
- Located at the range extreme (within proximity zone)
Step 6 — Confirmation: Within the next N bars (default 3), a follow-up candle must close back inside the range in the expected reversal direction. No confirmation = no signal.
## Chart Elements
- Range Lines — Donchian Channel upper (red) and lower (green) boundaries
- Proximity Zones — Optional shaded areas showing where absorption signals can trigger
- Orange Diamonds — Absorption bars detected (before confirmation)
- Green/Red Triangles + BUY/SELL Labels — Confirmed reversal signals only
## Dashboard
The real-time dashboard displays:
- Market Regime — Range or Trending (based on ADX + channel width)
- ADX Value — Current trend strength with classification
- Range Width — Contracting or Expanding
- Position — Where price sits in the range (Near High / Near Low / Middle)
- Volume — Current volume relative to average + spike detection
- Pending — Active absorption bars awaiting confirmation (with countdown)
## Settings
Range Detection: Donchian Channel Length (default 20), Proximity Zone % (default 15%)
Trend Filter: ADX Filter ON/OFF (default ON), Range Width Filter ON/OFF (default ON)
Absorption Criteria: Min Wick/Range Ratio (default 0.66), Volume SMA Length (default 20), Volume Spike Multiplier (default 1.5x)
Confirmation: Max Confirmation Bars (default 3)
## Alerts
4 alert conditions:
- Absorption Buy Signal — confirmed bullish reversal at range low
- Absorption Sell Signal — confirmed bearish reversal at range high
- Bullish Absorption Detected — absorption bar found, awaiting confirmation
- Bearish Absorption Detected — absorption bar found, awaiting confirmation
## Best Used For
- Identifying high-probability reversal setups at range boundaries
- Spotting institutional absorption activity via volume + wick analysis
- Range-trading strategies with clear entry signals
- Confluence tool alongside other indicators
- Works on all instruments: stocks, forex, crypto, futures, indices
## Technical Notes
- Pine Script v6 (latest version)
- Signals on confirmed bars only — no repainting
- State-based confirmation logic
- Open source, no external dependencies
- All inputs have tooltips
## Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. No signals should be interpreted as buy or sell recommendations. Past performance is not indicative of future results. Always implement proper risk management. Trade at your own risk. Indicator
