Dynamic Visible AVWAPDynamic Visible AVWAP is a visible-range anchored VWAP tool designed to help traders read active price interaction with important visible swing areas.
The script automatically anchors AVWAP lines from the highest high and/or lowest low inside the currently visible chart range. This makes the tool dynamic: when the visible chart area changes, the anchors are recalculated from the new visible range.
Additional AVWAPs can be enabled with the AVWAP Count setting. When more than one AVWAP is selected, the script adds extra anchors from the next valid swing highs or swing lows. This allows multiple AVWAP references to be displayed at the same time, creating a clearer view of potential confluence zones.
Main features:
Dynamic AVWAP based on the currently visible chart range
Long, Short, or All display modes
Optional multiple AVWAPs per side
Optional deviation channels around each AVWAP
Optional channel fill
Separate style controls for AVWAP lines, channels, arrows, and anchor text
Optional anchor arrows and custom anchor label text
Adjustable text size for anchor labels
Optimized line budgeting to keep the script stable when multiple AVWAPs are displayed
How it can be used:
Dynamic Visible AVWAP can help identify areas where price is interacting with volume-weighted mean levels from important visible swing points. These levels may be useful for context, confluence, pullback analysis, trend continuation review, or mean-reversion observation.
Important note:
The anchors are based on the currently visible chart range. If you zoom, scroll, or change the visible area of the chart, the AVWAP anchors may change because the script recalculates the highest high, lowest low, and additional swing anchors from the new visible range.
This indicator should be used together with broader market analysis, such as structure, volume, liquidity, higher-timeframe levels, and personal risk management. Индикатор

Rebound V-ScoreRebound V-Score
Scores Rebound V-Fib setups across timeframes. It runs both engines - RT (long / V-bottom rebound) and Closer (short / inverted-V breakdown) - on three selectable timeframes at once (default 1H, daily, weekly) and outputs ranking scores plus per-timeframe readouts for sorting and filtering across symbols. The score is built on the same V-Fib metric (where price sits on the slanted Fib) as the rest of the family. Built for the Pine Screener; no chart drawing, but it also runs on a chart.
For US equities by default. Adjust 'Trading hours per day' for other markets (default 6.5).
Each (direction x timeframe) produces a 0-1 "readiness" - how close that setup is to firing - blended into RT Score and CL Score. Columns are suffixed A / B / C, naming the slot, not the timeframe.
SCORES (sort / filter keys, also on the status line)
RT Score / CL Score (0-3) - long / short readiness across A/B/C. Sort descending for the best long / short candidates.
V-Score (-3..+3) = RT Score - CL Score - net direction. RT/CL are kept separate too, so a timeframe conflict shows as both high.
ENTRY SIGNALS + ALERTS (both directions)
Entry L / Entry S (Any, A, B, C) - long / short trend-entry on a timeframe, gated by the opposite Score (long needs no breakdown, short needs no rebound).
Alerts "Long entry" / "Short entry" (any TF, A, B, C) - one-shot per setup. Use "Once Per Bar Close".
PER-TIMEFRAME READOUTS (Data Window + Screener)
For each of A / B / C: RT/CL V-Fib (position on the slanted Fib), RT/CL Age (bars since firing), V-Trend (RT-CL, %/day). Plus % change 3M / M / W / D (close vs 63 / 21 / 5 / 1 daily bars ago).
INPUTS
Timeframe A / B / C and their Score weights (default 6:3:1, leaning on slot A; normalized, only the ratio matters).
Entry L max CL Score / Entry S max RT Score - the opposite-direction gate for each signal.
Trend / entry thresholds and Score weights (V-Fib zone / trend / lead, default 6:3:1) - same as Rebound V-Fib RT / Closer.
Notes: Pine Screener is limited to 500 bars and 5 unique request.* calls (this uses 4). The score measures readiness, not expected return.
DISCLAIMER
This script is provided "AS IS" without warranty of any kind. It is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. The author is not liable for any losses arising from the use of this script. Trade at your own risk.
Индикатор

Support & Resistances&r mtf is a support and resistance indicator designed to display clean zones directly on the chart.
the script automatically detects support zones from pivot lows and resistance zones from pivot highs. each zone is displayed with a rectangle, a dotted center line, and an optional label.
the goal is to help the trader identify important areas where price may react, reject, break, or come back for a retest.
the mtf version allows zones from a higher timeframe to be displayed on a lower timeframe. for example, daily zones can be displayed on an h1, 30 minute, or 15 minute chart.
this script is not an automatic buy or sell system. it is designed to read market structure, prepare decision zones, and avoid trading without context.
main features
automatic support zones
automatic resistance zones
chart mode or mtf mode
display higher timeframe zones on the current chart
support only below price
resistance only above price
left zone extension
right zone extension
merge zones that touch
merge zones that are too close according to the minimum distance setting
keep the lowest support when zones merge
keep the highest resistance when zones merge
strong candle break filter
optional candle close confirmation
doji filter
atr strength filter
force percentage inside the label
support break alerts
resistance break alerts
clean display with rectangles, center lines, and labels
how the script works
the script creates a resistance zone when a pivot high is confirmed.
the script creates a support zone when a pivot low is confirmed.
a resistance is valid only when it is above the current price.
a support is valid only when it is below the current price.
if two support zones touch or are too close, they are merged and the lowest support is kept.
if two resistance zones touch or are too close, they are merged and the highest resistance is kept.
if price breaks a zone with the selected break conditions, the zone can be removed and an alert can be triggered.
chart mode
chart mode uses the current chart timeframe.
example:
if the chart is on 30 minutes, the zones are calculated from the 30 minute chart pivots.
this mode is useful for reading the exact timeframe you are trading.
mtf mode
mtf mode calculates zones from a higher timeframe and displays them on the current chart.
example:
you are on an h1 chart.
you enable mtf mode.
you choose the daily timeframe.
the script displays daily zones directly on the h1 chart.
this helps keep major market zones visible while trading intraday.
mtf use case example
if you trade on 30 minutes, you can display daily zones.
this helps avoid buying directly under a daily resistance or selling directly above a daily support.
mtf zones are often more important than small lower timeframe zones because they come from a wider market structure.
beginner tutorial
step 1: enable the module
enable the support and resistance module.
if the mode is set to chart, the script uses the current chart timeframe.
if the mode is set to mtf, the script uses the timeframe selected in the mtf settings.
step 2: choose the mode
use chart if you want zones from the current timeframe.
use mtf if you want to see zones from a higher timeframe.
simple example:
for scalping on 10 minutes, display h1 or daily zones.
for trading on h1, display daily zones.
for trading on h4, display daily or weekly zones.
step 3: watch support zones
support zones are located below price.
a support can be used as an area of interest to look for a bullish reaction.
a beginner can wait for a wick rejection, a bullish close, or a reclaim above the zone before looking for a possible long setup.
step 4: watch resistance zones
resistance zones are located above price.
a resistance can be used as an area of interest to look for a bearish reaction.
a beginner can wait for rejection, a bearish close, or a failed breakout before looking for a possible short setup.
step 5: do not trade a zone alone
a zone is not an automatic signal.
you should wait for confirmation.
possible confirmations:
price reaction
wick rejection
clean close
volume
trend alignment
confirmed breakout
zone retest
step 6: use the merge logic
if several zones touch or are too close, the script groups them together.
this helps avoid a chart filled with useless overlapping zones.
for supports, the lowest level is kept.
for resistances, the highest level is kept.
step 7: use the minimum distance setting
minimum distance helps prevent zones from being created too close to each other.
if you lower the distance, the script accepts more zones.
if you increase the distance, the chart becomes cleaner and more selective.
even if the minimum distance is low, two zones that really touch should remain merged.
input explanation
enable s/r module
turns the support and resistance module on or off.
zone source mode
selects the source of the zones.
chart uses the current timeframe.
mtf uses the selected higher timeframe.
mtf zone timeframe
selects the timeframe used to calculate mtf zones.
example:
daily to display daily zones on h1 or 30 minute charts.
weekly to display weekly zones on h4 or daily charts.
pivot length
controls pivot sensitivity.
a lower value creates more zones and reacts faster.
a higher value creates fewer zones but makes them more selective.
number of visible zones
sets the maximum number of visible zones.
a lower value gives a cleaner chart.
a higher value shows more historical structure.
show s/r labels
shows or hides zone labels.
labels can display the zone type, percentage distance, and force value.
show only 2 active zones
keeps only the latest active resistance and the latest active support.
this is useful for a very clean chart.
minimum distance between zones
sets the minimum space between zones.
the higher the value, the fewer close zones will remain.
the lower the value, the more close zones the script accepts.
zone left extension
extends zones to the left.
this helps show the visual origin of a zone.
zone right extension
extends zones to the right.
this projects the zones into the future.
confirm breaks only on candle close
when enabled, a break is confirmed only after the candle closes.
this reduces false breaks during a live candle.
break equals full body outside zone plus strong candle
when enabled, the script requires the full candle body to close outside the zone with enough strength.
this makes break detection stricter.
max doji body to range
defines when a candle is considered a doji.
a doji is a candle with a small body.
doji candles can be ignored to avoid weak break signals.
min strength body to range
defines the minimum body size compared to the full candle range.
a higher value requires a stronger candle.
min strength body greater or equal atr multiplier
defines the minimum body strength compared to atr.
the higher the value, the stronger the break candle must be.
show force percent
shows the zone penetration force inside the label.
cap force percent
limits the displayed force value to avoid very large numbers.
max cap percent
sets the maximum displayed value when the force cap is enabled.
alert break resistance
enables the alert when a resistance zone is broken.
alert break support
enables the alert when a support zone is broken.
bullish use case example
price comes back to a support zone.
the support remains below price.
the market shows a bullish reaction.
a rejection candle appears.
the trader can then watch for a possible long setup, especially if the general trend is bullish.
bearish use case example
price comes back to a resistance zone.
the resistance remains above price.
the market shows rejection.
a bearish candle appears.
the trader can then watch for a possible short setup, especially if the general trend is bearish.
mtf example
you trade on h1.
you enable mtf mode.
you choose daily.
daily zones appear on the h1 chart.
if price reaches a daily resistance, the trader avoids buying too late.
if price returns to a daily support, the trader watches for a possible reaction.
beginner tips
do not trade every zone automatically.
always wait for price reaction.
avoid buying directly below resistance.
avoid selling directly above support.
use mtf zones as major decision areas.
always use a stop loss.
use proper position sizing.
combine the zones with trend, volume, candlesticks, and market structure.
important note
this script does not guarantee results.
supports can break.
resistances can break.
the best use of this tool is to treat it as a map of important market zones, combined with strict risk management and personal confirmation before each trade.
Индикатор

Индикатор

Индикатор

Dynamic Gravity Attractor (DGA) [MarkitTick]💡 An advanced technical indicator designed to identify, weight, and visualize significant price zones using a physics-inspired gravitational model. By treating historical price pivots as physical masses that exert gravitational pull on the current price, this tool dynamically highlights levels of high structural importance. This offers traders a unique, quantitative perspective on support, resistance, and the overarching market equilibrium based on continuous volume and touch data.
✨ Originality and Utility
Unlike standard static support and resistance indicators that simply draw horizontal lines at arbitrary swing highs and lows, this system introduces a dynamic, weighted engine based on volume execution and touch frequency.
Traditional indicators often clutter the chart with dozens of obsolete lines. This tool resolves the issue by clustering proximate price levels using an Average True Range based spatial resolution. This synthesizes fragmented levels into cohesive, highly actionable Gravity Zones.
The core utility lies in its ability to quantify the relative strength of these zones using a gravitational constant. Instead of merely sorting by recency, it sorts by actual structural pull. This allows traders to cleanly distinguish between minor intraday speed bumps and major macroeconomic price attractors that have a high probability of influencing future price routing.
🔬 Methodology and Concepts
The script operates on a robust foundation of interconnected logical pillars, ensuring a precise reading of historical market structure:
• Pivot Detection and Clustering: The indicator identifies standard non-repainting pivot highs and lows using a defined lookback window. Instead of plotting each pivot individually and causing chart noise, it evaluates if a new pivot falls within an existing cluster radius. This radius is dynamically determined by a user-defined percentage of the 14-period Average True Range. If a match is found, the cluster aggregate price, volume, and touch count are updated using a volume-weighted average formula.
• Mass Calculation: Each clustered zone is assigned a quantitative mass. This mass is a blended metric derived from the total trading volume transacted at that specific level and the frequency of price touches it has endured. Users can dynamically adjust the weighting of these two components to favor volume-heavy execution levels or frequently tested psychological levels.
• Gravitational Pull: Applying a concept directly akin to classical physics, the indicator calculates the gravitational force of each active zone relative to the current closing price. The formula incorporates the zone calculated mass, a user-defined Gravitational Constant, and the inverse square of the absolute distance between the zone and the current price.
• Net Force and Equilibrium: By aggregating the gravitational pull of all active zones above the current price and subtracting the zones below, the script calculates a continuous Live Net Force. This net force dictates the overall directional bias of the underlying market structure.
🎨 Visual Guide
The tool provides a rich, multi-layered visual experience, utilizing dark-mode optimized palettes to allow traders to interpret complex market structures at a rapid glance:
• Gravity Zone Lines: Horizontal lines representing the clustered price levels. The strongest mathematical attractor is plotted with a solid line, while weaker zones use dashed line styles to indicate secondary importance. The thickness of the line directly correlates with its top-ranking status.
• Zone Colors: Levels situated above the current price are colored in a visual gradient from vibrant purple to deep violet, representing resistance or overhead gravity. Levels situated below are colored in a gradient from yellow to dark orange, representing support or underlying gravity. The color intensity and opacity scale dynamically with the calculated mass of each zone.
• Gravity Fields (Halos): Semi-transparent background boxes surrounding the strongest top-ranked gravity zones. The vertical height of the box represents the zone mathematical sphere of influence, calculated using the true range and the zone specific mass.
• Gravity Center: A distinct dotted cyan line plotting the weighted center-of-mass between the strongest overhead attractor and the strongest underlying attractor. This acts as the market current fulcrum.
• Dynamic Labels: Textual tags attached to the right of the gravity lines. These indicate the exact price level, an arrow denoting if the force is pushing up or down, and a percentage representing its gravitational strength relative to the maximum active zone.
• Heatmap Candles: The main chart candles are recolored based on the Live Net Force. A bullish bias paints the candles in a specific underlying color, while a bearish bias paints them in an overhead color. Border and wick colors adapt similarly to show micro-shifts in pressure.
• Gravity Dashboard: A comprehensive on-chart data table displaying the active number of tracked levels, the exact prices of the top upper and lower attractors, the Net Force bias, the current cluster size, and a visual block-bar representation of the highest active mass percentage.
📖 How to Use
• Trend Identification: Observe the Heatmap Candles and the Net Force metric on the Gravity Dashboard. A sustained bullish color bias suggests the price is being pulled upward by a stronger overhead attractor or violently pushed from a massive underlying support base. Traders should look to align their directional trades with this dominant net force.
• Targeting and Exits: Use the strongest Gravity Zone Lines as primary profit targets or areas to scale out of positions. Because these zones possess high mass, price tends to inevitably gravitate toward them over time.
• Entry Confirmation: Wait for the price to enter a Gravity Field. If price action demonstrates rejection patterns, long wicks, or volume anomalies within these specific halo zones, it provides a high-probability entry for mean-reversion trades.
• Equilibrium Trading: The Gravity Center line represents a literal point of balance between the primary opposing structural forces. Observing the price crossing, retesting, and holding this level can indicate a fundamental shift in structural control from sellers to buyers, or vice versa.
• Automated Alerts: The script includes built-in alert conditions for when the price comes within a tight proximity to the strongest above or below zones. It also fires alerts when the overall Net Force shifts direction. All alerts and webhooks are constructed as strictly formatted JSON strings designed for flawless third-party execution, dynamically calculating and including the Entry Price, the precise Take Profit target, and the exact Stop Loss invalidation price.
⚙️ Inputs and Settings
• History Depth (bars): Determines how far back in time the script looks to evaluate active pivots. A higher number tracks long-term macro zones, while a lower number focuses on immediate intraday structure.
• Number of Gravity Zones: Limits the maximum number of attractor lines drawn on the chart to prevent visual clutter.
• Level Cluster Resolution (ATR%): Controls how closely pivots must be to merge into a single, heavier zone. A higher value aggregates more historical levels together, creating fewer but stronger zones.
• Gravitational Constant G: A mathematical multiplier that scales the overall gravity calculations. Adjusting this tweaks the sensitivity of the Net Force output.
• Mass Components (Volume & Touch Weight): Fractional sliders allowing the user to adjust whether a zone mass is more heavily derived from transacted volume or the sheer number of times the price has historically tested the level.
• Minimum Touch Count: The baseline number of times a price level must be tested before it is officially registered as having enough mass to generate gravity.
• Visual Settings: Comprehensive toggles to independently turn lines, text labels, halo fields, the dashboard table, and center-of-gravity boxes on or off according to individual visual preference and chart cleanliness. All colors are fully user-configurable without hardcoding.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The tool borrows directly from classical mechanics, specifically the law of universal gravitation, to mathematically model financial market microstructure. In standard physics, the attractive force of gravity between two independent objects is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.
In the context of this script, the current market closing price acts as a dynamic point mass navigating a static field of larger, stationary masses, representing the historical support and resistance clusters. The script operationalizes this concept by calculating Mass as a composite statistical index of cumulative trading volume and historical test frequency. Volume acts as the density of the price level, representing committed capital and trapped liquidity, while touch frequency represents the psychological reinforcement and memory of the level among market participants.
By rigidly utilizing the inverse square law of distance, the indicator mathematically guarantees that nearby price levels exert exponentially more influence on current price action than distant levels. This accurately reflects the highly localized nature of market liquidity, order book depth, and slippage. Furthermore, the clustering algorithm employs a dynamic threshold based on Average True Range, introducing a volatility-normalized spatial resolution. This specific mechanism ensures that the radius of a mass point expands in highly volatile environments and contracts in tight consolidations, strictly adhering to established principles of adaptive signal processing, robust statistical smoothing, and dynamic time warping.
⚠️ 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. We 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. Индикатор

Elaris Failed Breakout DetectorFailed Breakout Detector
The **Failed Breakout Detector** is designed to help traders identify situations where price briefly breaks above resistance or below support, but fails to sustain the move and quickly returns back inside the previous trading range.
These events are commonly referred to as **failed breakouts**, **bull traps**, **bear traps**, or **liquidity sweeps**. They can indicate that buying or selling pressure was unable to maintain the breakout, potentially leading to a move in the opposite direction.
Instead of relying on a single candle pattern, this indicator combines multiple confirmation techniques to improve signal quality, including:
• Automatic support and resistance detection using confirmed swing pivots.
• Configurable breakout buffer to reduce sensitivity to minor price movements.
• Detection of failed breakout and failed breakdown events within a user-defined number of bars.
• Optional volume confirmation to require stronger participation during the initial breakout.
• Optional rejection wick analysis to identify stronger rejection candles.
• Optional EMA trend filter for users who prefer trading with the prevailing trend.
• Dynamic support and resistance zones based on ATR.
• Signal confidence score for additional context.
• Optional dashboard displaying current structure and trend information.
• Built-in alert conditions for long, short and combined signals.
How it works
**Failed Breakout (Short Setup)**
1. Price closes above a confirmed resistance level.
2. Within the specified number of candles, price closes back below that resistance.
3. Optional filters such as volume, wick rejection and trend confirmation are evaluated.
4. A bearish failed breakout signal is generated.
**Failed Breakdown (Long Setup)**
1. Price closes below a confirmed support level.
2. Price quickly closes back above that support.
3. Optional confirmation filters are applied.
4. A bullish failed breakdown signal is generated.
Inputs
The indicator allows users to customize:
• Pivot sensitivity
• ATR-based breakout buffer
• Support and resistance zone size
• Maximum number of bars allowed before the breakout is considered valid
• Volume confirmation
• Rejection wick requirements
• EMA trend filtering
• Dashboard visibility
• Signal labels
• Alert conditions
Notes
• Swing levels are created from confirmed pivot highs and lows. Because pivots require confirmation, support and resistance levels are confirmed after the selected right-side pivot bars.
• Signal markers themselves do not repaint after they appear.
• This indicator is intended as a technical analysis tool and should be used alongside sound risk management and additional market context.
• No indicator can guarantee future market direction.
If you find this indicator useful, consider leaving a like and sharing your feedback. Constructive suggestions are always appreciated and help improve future updates.
Индикатор

High/Low Resistance LiquidityDescription
Not all liquidity pools are created equal. The market behaves very differently when attacking a clean, pristine target versus when it is grinding through jagged, already-swept price action.
The High/Low Resistance Liquidity indicator is an automated structural mapping engine that programmatically identifies and categorizes liquidity pools into Low Resistance (LRLR) and High Resistance (HRLR) targets in real-time.
🎯 What is LRLR and HRLR?
LRLR (Low Resistance Liquidity Run): These are "clean" targets. When stops are perfectly clustered at the exact same price, it creates a massive, unobstructed magnetic pull for price. When price attacks these areas, it displaces quickly and aggressively.
HRLR (High Resistance Liquidity Run): These are "dirty" or swept targets. If a pivot high has already swept a previous high and rejected (a false breakout or sweep), the liquidity resting there was already purged. Price will struggle, chop, and overlap heavily if it attempts to push back into that isolated zone.
✨ Key Features
Automated Target Detection: The indicator maps structural highs and lows using customizable left/right bar pivot confirmations, and immediately evaluates their relationship to the previous market structure.
EQH/EQL Detection (LRLR): If a new structural pivot forms within a tight tick threshold of the previous pivot, it validates them as Equal Highs or Equal Lows. A solid, highly visible line is drawn forward, marking a pristine Low Resistance target.
Swept Pivot Detection (HRLR): If a new pivot extends past the old pivot and reverses, it validates a sweep. A dotted warning line is drawn forward, marking a High Resistance target where price is likely to struggle.
Real-Time Mitigation: The script actively monitors price action. The exact moment a future candle wicks or closes through an active liquidity line, the line stops extending and its label updates to "Mitigated", keeping your charts completely free of historical clutter.
Standard Liquidity Toggle: Choose whether you only want to see explicit LRLR/HRLR targets, or if you want to also track all standard, unmitigated intermediate pivots in the background.
⚙️ Settings
Pivot Strength: Fully customize how many bars are required left and right to confirm a major structural point.
EQH/EQL Tolerance (Ticks): You dictate exactly how tight the price must align to be considered "Equal". (e.g., 5-10 ticks on lower timeframes, or expand it for Daily charts).
Display Settings: Toggle the visibility of Standard Unmitigated Pivots, turn text labels on or off, and fully customize the line colors to fit your exact chart aesthetic. Индикатор

High / Low Resistance Liquidity TrendDescription
This indicator is a powerful, algorithmic tool designed for HRLR methodologies. It removes the subjectivity of identifying High Resistance Liquidity Runs (HRLR) and Low Resistance Liquidity Runs (LRLR) by dynamically mapping out the structural flow of liquidity on your chart using clean, point-to-point trendlines.
🎯 Core Concepts
In this methodology, understanding whether price will face "resistance" when drawing to a liquidity pool is critical for trade management:
Low Resistance Liquidity (LRLR): Clean, engineered liquidity. When price fails to sweep a previous structural extreme, it leaves behind smooth, resting stop-losses. This acts as a frictionless magnet for price.
High Resistance Liquidity (HRLR): Swept liquidity. When price violently takes out a previous extreme and reverses, it purges the local stop-losses. Returning to this level is a "High Resistance" run because the liquidity fuel has already been burned.
⚙️ How It Works
The script evaluates price action in real-time, detecting structural Pivot Highs and Pivot Lows. It then dynamically draws trendlines connecting adjacent pivots to reveal the underlying liquidity texture:
🟢 LRLR (Green Lines) - Failed Sweeps:
Highs: Connects a Pivot High to a subsequent Lower High.
Lows: Connects a Pivot Low to a subsequent Higher Low.
Signal: Clean trendline liquidity is building. Expect a fast, low-resistance run through this level.
🔴 HRLR (Red Lines) - Liquidity Sweeps:
Highs: Connects a Pivot High to a subsequent Higher High.
Lows: Connects a Pivot Low to a subsequent Lower Low.
Signal: A Turtle Soup / Sweep has occurred. Price may struggle to break this extreme cleanly.
✨ Visual Polish
This indicator is built with extreme attention to aesthetic detail. Rather than messy labels cluttering the wicks, the text (LRLR / HRLR) is mathematically positioned at the exact midpoint of the connecting trendlines. It features a custom Label Masking engine that dynamically cuts out the line exactly where the text sits, providing a stunning, ultra-clean look. (Note: Use the 'Chart Background Color' setting to ensure the label mask matches your specific TradingView theme).
🔧 Settings
Pivot Left/Right Bars: Fully customize the structural lookback to define exactly what constitutes a valid swing high/low for your timeframe.
Visual Customization: Full control over colors and text labels.
Chart Background Mask: Allows you to swap the label cutout color between Light Mode and Dark Mode backgrounds flawlessly. Индикатор

Ehlers Adaptive Trend Filter + Consensus Engine v13Ehlers Adaptive Trend Filter + Consensus Engine
WHAT IT DOES
This screener reads a universe of up to 40 tickers through three independent Ehlers filter pairs running in parallel on every name, then groups the names by how many of the three filters agree the trend is up. The grouping is the "phase"; the intensity and direction of each name's move is the "temperature". It describes the structural state of each name. It does not tell you what to trade.
Because the three filters react at different speeds, the number that agree is a measure of how broadly a trend is confirmed across timescales: a move that only the fastest filter sees is early or fragile; a move all three see is broadly confirmed.
THE THREE FILTERS
Fast (2-pole SuperSmoother): the most reactive. It turns first and catches short-cycle moves, at the cost of more false turns.
Core (3-pole + 2-pole): the balanced middle. Slower to turn, steadier once it does. In most conditions it is the strongest single read.
Adaptive (MAMA/FAMA): retunes itself to the dominant detected cycle rather than using a fixed period. It often turns before the other two at a genuine cycle change, which is why an Adaptive-only signal is treated as an early, unconfirmed one.
THE FOUR PHASES
Heated: all three filters agree the trend is up. The fullest agreement the engine measures.
Liquid: two of three agree; one dissents. The dissenter is where the interest lies.
Thawing: one of three agrees. The earliest single-timescale turn, not yet confirmed.
Frozen: none agree. No bullish consensus.
Within each phase a per-row temperature word (Boiling, Hot, Simmering, Warming, Cooling, Cold, Freezing) describes how far the name sits from its own normal range and whether that separation is rising or falling. Direction is shown by an arrow, so "Boiling" means an extreme move regardless of sign.
READING A ROW
A Heated-phase row might read:
NVDA (up) 14b C:1.8 F(up)+12.4 Co(up)+9.1 A(up)+15.2 -> Heated . Boiling (up)
That is: NVDA, 63-bar direction up, 14 bars in its current phase, Calmar 1.8; all three filters bullish with their separations from baseline in percent (Fast +12.4, Core +9.1, Adaptive +15.2); stop distance to the Core baseline +6.3 percent; and the state tag, Heated . Boiling (up) - all three aligned, an extreme-magnitude move, rising.
The engine also flags "clusters": several names dissenting the same way at once (Adaptive turning bearish under apparent strength, or bullish under apparent weakness), which is structural pressure forming across the universe rather than in a single name.
HOW TO READ IT, NOT WHAT TO DO
This tool is descriptive. It reports what the filters show: which names are in which phase, how hot or cold each move is, and where broad pressure is building. It does not generate buy or sell instructions, position sizes, or price targets, and nothing in it should be read as financial advice. What you do with the information is your own decision.
CREDITS
Method: the MAMA/FAMA (MESA Adaptive Moving Average) algorithm and the SuperSmoother filters are John Ehlers' work (MAMA paper: mesasoftware.com/papers/MAMA.pdf).
Implementation: the MAMA/FAMA Pine derives from Ehlers MESA Adaptive Moving Average by LazyBear , an open-source script, refactored here from series form into a per-ticker state architecture. Credit and thanks to LazyBear for the original.
Original in this script: the multi-ticker consensus engine, the phase and temperature classification, and the cluster detection are my own work. Released open-source under MPL-2.0. Индикатор

Стратегия

Индикатор

WaveTrend DivergenceWaveTrend Divergence
This indicator detects and draws regular and hidden divergences directly on your price chart, based on a WaveTrend oscillator (9/12, HLC3).
What it does
It identifies swing pivots on the WaveTrend oscillator and compares them against price to mark four divergence types:
Regular Bullish — price makes a lower low while the oscillator makes a higher low (potential reversal up)
Regular Bearish — price makes a higher high while the oscillator makes a lower high (potential reversal down)
Hidden Bullish — price makes a higher low while the oscillator makes a lower low (potential trend continuation up)
Hidden Bearish — price makes a lower high while the oscillator makes a higher high (potential trend continuation down)
Each divergence is drawn as a line connecting the two pivots, with an optional label, plotted as an overlay on price.
Customization
Everything is editable from the settings panel: line color, thickness, and style (solid/dashed/dotted) for each divergence type, label visibility, oscillator lengths, and pivot sensitivity. Built-in alerts are included for bullish and bearish signals.
How to use
Increase the pivot lookback to catch only larger swings, or decrease it for more frequent signals. Works on any market or timeframe. Best used as confirmation alongside your own analysis rather than as a standalone signal.
Note on repainting: Divergences confirm once the right-side pivot completes (after the lookback period), so a signal on the current forming candle is not final until that bar closes. Always wait for confirmation before acting. Индикатор

[ A L P H A X ] CATALYST - Volatility & Regime Prediction EngineAlphaX CATALYST — Volatility Ignition & Regime Prediction Engine: Compression Cycle Detection, Bias Vector Scoring, 6-Stage Regime State Machine & Ignition Probability Gate
AlphaX CATALYST is a professional-grade volatility prediction system built on a fundamentally different philosophy from every other indicator in the AlphaX suite. Where VOID, SURGE, FORTRESS, and ANCHOR all detect setups after price has established a structural context, CATALYST reads the market before the move happens. It does not wait for a breakout to confirm entry — it measures the energy compressing inside the market during quiet periods and predicts the ignition point before the explosion occurs. The core insight is simple but profound: markets breathe in cycles. They compress, coil, and then release energy in directional bursts. CATALYST quantifies every stage of that cycle — from the first signs of volatility contraction through full coil, ignition, trending expansion, and exhaustion — and fires signals only when the compression is deep enough, the directional bias during the coil is strong enough, and the higher timeframe structure confirms the direction. The result is a system that positions you at the moment of ignition — not a bar after the breakout has already occurred. Designed for volatility-aware traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌬 The Philosophy — Markets Breathe
Every major directional move in every liquid market is preceded by a period of compression. Price range contracts. Volume dries up. Volatility percentile falls toward historic lows. The Bollinger Bands compress inside the Keltner Channels. Narrow range bars form consecutively. This compression is not random — it is the mechanism by which institutional positions are accumulated quietly, without moving price, before the delivery move begins.
Most traders see this compression phase as boring or unreadable and look elsewhere for setups. CATALYST is built on the opposite premise: the compression phase is the most important and readable phase of the entire price cycle . The depth of the compression tells you how much energy is coiling. The directional bias during the compression tells you where that energy is most likely to be released. The higher timeframe alignment tells you whether that release is likely to be with or against the macro institutional flow.
By the time the breakout candle is obvious to everyone, CATALYST has already been tracking the setup for multiple bars — measuring compression depth, monitoring accumulation bias, and computing the ignition probability score in real time. When ignition fires, it fires with advance conviction — not reactive confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ The 6-Stage Regime State Machine
CATALYST is built around a deterministic 6-stage regime cycle that every market passes through on every timeframe. Understanding the regime is the foundation of using CATALYST correctly — the dashboard, background colors, and regime flip labels all communicate exactly which stage the market is in at every bar.
Stage 0 — QUIET
The market is dormant. No significant compression is building (score below 35). Volatility is neither low nor building toward a setup. This is the baseline state — the market is between cycles. Gray background tint. No actionable context.
Stage 1 — BUILDING
Compression is beginning to develop (score between 35 and 75). One or more compression signals are present — the squeeze may be turning on, narrow range bars may be forming, volume may be beginning to dry. The coil is winding up. Orange background tint intensifies slightly. The bias vector label appears on the current coil box to indicate which direction accumulation is occurring.
Stage 2 — COILED
Maximum compression state (score 75+, full BB/KC squeeze active). The spring is fully wound. Energy is at maximum concentration. This is the highest pre-ignition alert state. Deeper orange background tint. The coil box is rendered with higher opacity. The COILED flip label appears on the chart. Dashboard shows COMPRESS at 75%+ and SQUEEZE ON. This is the state you watch most closely — ignition can occur at any bar from here.
Stage 3 — IGNITION
A single-bar flash state. The regime transitions through IGNITION on the bar where all ignition conditions are simultaneously met — compression deep enough, bias directional enough, expansion candle large enough, ATR expanding. The cyan background tint and IGNITION flip label mark this bar. The IGNITE signal label fires on this bar. This is the entry bar. Immediately transitions to TRENDING on the next bar.
Stage 4 — TRENDING
The expansion phase. Price is in directional delivery. The regime holds TRENDING until one of the exhaustion conditions fires: RSI reaching extreme levels with climax volume, a significant wick rejection candle in the trend direction, a squeeze reforming during the trend (stall), or a reversal candle closing through the 21 EMA. Yellow-green tint during bull expansion, red tint during bear expansion.
Stage 5 — EXHAUSTION
The expansion energy is spent. One of the exhaustion conditions has triggered. Purple diamond markers appear above or below price. This is the early warning that the trend leg is ending — not necessarily the trend itself, but the current momentum leg. After EXHAUSTION, the regime resets: if compression begins building again, it cycles back to BUILDING; if not, it returns to QUIET and the cycle begins again.
Why the state machine matters: Every signal in CATALYST is regime-gated. Ignition signals can only fire from the COILED state. Exhaustion warnings can only fire from the TRENDING state. This ensures signals are always contextually appropriate — you cannot get an ignition signal without prior compression, and you cannot get an exhaustion warning without a prior trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📉 The Compression Score Engine — Measuring the Coil
The compression score is a 0–100 composite reading that quantifies exactly how tightly the market is coiling at any given bar. It is the primary input to the regime state machine and is displayed live on the dashboard.
Six compression components and their weights:
Squeeze State (up to 30 points):
The BB/KC squeeze is the most powerful single compression signal. When Bollinger Bands are fully inside Keltner Channels, the market is at maximum volatility contraction — 30 points. If the squeeze fired on the previous bar (just released), 15 points are still awarded, capturing the residual compression energy at the moment of release.
Narrow Range Pattern — NR (up to 20 points):
The current bar's high-low range is measured against the lowest range over the lookback period (default: 7 bars). When the current bar has the narrowest range in the lookback window, 20 points are awarded. This is the NR7 pattern generalized to a configurable lookback — the classic volatility contraction signal.
NR Streak (up to 15 points):
Consecutive narrow range bars amplify the coil energy. When the NR count over the minimum coil duration reaches the threshold, 15 additional points are awarded. Multiple consecutive NR bars indicate the market has been compressing for a sustained period — a deeper, more energetic coil.
Volume Dry-Up (up to 15 points):
Current volume below the configurable fraction of its moving average (default: 65% of the 20-bar SMA) confirms institutional accumulation is occurring quietly — institutions are building positions without creating visible volume signals. 15 points awarded when volume is dry.
Volume Dry Streak (up to 10 points):
Multiple consecutive bars of volume dry-up, identical logic to the NR streak. Sustained low volume over multiple bars is a stronger coil signal than a single dry bar.
ATR Percentile Rank (up to 10 points):
The current ATR is ranked against its own history over the configurable lookback (default: 100 bars). When ATR is in the bottom 25th percentile of its historical range — meaning volatility is at a historic low for this instrument on this timeframe — 10 points are awarded. Below the 40th percentile scores 5 points. This ensures the compression is genuine historically, not just temporarily quiet in an already volatile market.
Reading the score:
0–35 — QUIET, no meaningful compression building
35–55 — BUILDING, compression developing but not yet actionable
55–74 — COILING, significant compression present
75–100 — FULLY COILED, maximum compression, squeeze active. Ignition-ready state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧭 The Bias Vector — Who Is Accumulating During the Coil?
Compression tells you the market is coiling. The Bias Vector tells you which direction institutions are accumulating during that coil. A range of -100 (fully bearish) to +100 (fully bullish), the bias vector is a composite of five independent directional pressure readings — each measuring accumulation from a different angle.
Volume Delta (up to ±25 points):
The estimated directional volume pressure — bull volume EMA minus bear volume EMA — forms the primary bias input. When delta is positive and rising (buyers accelerating), 25 points are added. When delta is positive but not accelerating, 10 points. The inverse applies for bear delta. This is the most direct measure of whether buyers or sellers are winning the quiet accumulation battle during compression.
Close-Position Bias (up to ±20 points):
Where closes fall within each bar's high-low range, averaged over the lookback period (default: 10 bars). When the average close position is in the upper 55%+ of the range — candles are consistently closing near their highs — buyers are controlling the candle closes. ±20 points based on whether the close bias is bullish (above 0.55) or bearish (below 0.45). This is a subtle but powerful measure of who is controlling the close during the coil.
Micro Structure (up to ±20 points):
Higher highs or higher lows over the structure lookback (default: 20 bars) vote bullish. Lower lows or lower highs vote bearish. ±20 points. Micro structure during compression tells you whether the coil is forming as a higher low (bullish coil) or a lower high (bearish coil) — the internal structure of the compression box reveals directional intent.
HTF Bias (up to ±20 points):
The higher timeframe EMA alignment (default: 60-minute, 50-period EMA). When HTF close is above the HTF EMA — the macro trend is bullish — +20 points. When below, -20 points. When Require HTF Alignment is disabled, this component is neutral. The HTF bias ensures the coil's directional reading is contextualized against the macro institutional flow.
Price vs BB Basis (up to ±15 points):
Whether the current close is above or below the BB basis (Bollinger Band midline). Price above the basis during compression means the coil is forming above fair value — a mild bullish signal. Price below the basis is mildly bearish. ±15 points. This adds a relative positioning dimension to the bias.
Reading the bias vector:
+35 to +100 — bull bias. Buyers are accumulating during the coil. Long ignition is favored
-35 to -100 — bear bias. Sellers are distributing during the coil. Short ignition is favored
-34 to +34 — neutral bias. No clear directional accumulation. Ignition may fire in either direction — lower conviction
Bias Arrow:
During BUILDING and COILED regime stages, a live bias arrow label appears below (bull bias) or above (bear bias) the coil box on the current bar, showing the directional score in real time. As new bars form, the arrow updates continuously — you can watch the bias building or shifting during the coil.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔥 The Ignition Score — 0 to 100 Probability Gate
Every bar in the COILED regime, CATALYST computes two separate ignition scores — one for long ignition, one for short. These scores gate whether a signal fires. Only when the score meets the configured minimum threshold (default: 62) does a signal become eligible.
Long ignition score components:
Compression depth (up to 20 points) — fully coiled scores 20, isCoiling scores 10, moderate compression scores 10
Squeeze state (up to 20 points) — squeeze release scores 20 (maximum — the spring just released), squeeze still active scores 10
Bias vector alignment (up to 25 points) — bias above +50 scores 25, above +35 scores 15, below 0 deducts 15
HTF alignment (up to 15 points) — HTF bullish scores 15, disabled scores 15 (neutral)
Expansion candle quality (up to 15 points) — strong bull body above ATR threshold scores 15, any bullish close scores 8
ATR expansion (up to 5 points) — ATR expanding above its short-term average confirms the coil is releasing
Volume delta confirmation (up to 10 points) — accelerating buy delta scores 10, positive delta scores 5
The short ignition score mirrors this structure with all conditions inverted.
What the score thresholds mean in practice:
90–100 — near-perfect setup. All components aligned. Extremely rare
75–89 — elite setup. Multiple high-weight components confirmed simultaneously
62–74 (default threshold) — high-quality setup. Sufficient confirmation to fire
50–61 — moderate quality. Available if you lower the threshold, but carries more false signals
Below 50 — low-quality ignition conditions. System will not fire at any reasonable threshold setting
The live long and short scores are displayed in real time on the dashboard as IGNITE L and IGNITE S — color-coded yellow-green or red when they meet the threshold, neutral otherwise. You can watch the ignition score building toward threshold in real time during the coil phase.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ The Ignition Signal — IGNITE Entry
The IGNITE label is CATALYST's primary entry signal. It fires when all of the following conditions are simultaneously confirmed on a bar close:
Hard requirements (all must be true):
Regime is in COILED state (compression score 75+, squeeze active)
The expansion candle body meets or exceeds the configured minimum (default: 1.15× ATR) — the breakout candle is large and directional
The bias vector is aligned with the signal direction (+35 or higher for long, -35 or lower for short)
ATR is actively expanding above its short-term average — the volatility expansion has begun
Squeeze has released on this bar or was releasing on the previous bar (when Require Squeeze Release is enabled)
Ignition score meets the minimum threshold (default: 62)
Session filter is satisfied (when enabled)
Signal cooldown has elapsed since the last signal
Signal label: A large IGNITE label appears below the bar (long) or above (short) on the exact ignition bar. Yellow-green for long, red for short.
Why this is fundamentally different from a standard breakout signal: A standard breakout indicator fires when price closes above a resistance level or a band. It reacts to what has already happened. CATALYST fires on the ignition bar only after verifying that the preceding compression was deep enough (COILED regime), that the directional bias during the coil was confirmed (bias vector), that the breakout candle itself is sufficiently large (body ATR check), and that the volatility is genuinely expanding (ATR expansion). Every component addresses a specific failure mode of basic breakout trading — false breakouts, weak breakouts, counter-HTF breakouts, and low-compression breakouts are all filtered before the signal fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔮 The Compression Coil Box
When the compression score crosses 55 and the BUILDING regime begins, CATALYST draws a live Coil Box — an orange-tinted rectangle spanning the high-low range of the entire compression period from the first coiling bar to the current bar.
What the coil box represents: The coil box is the visual representation of the spring being wound. Every bar that the coil remains active, the box extends to the right and expands to incorporate the new bar's range. The box's height represents the total price range of the compression period — the tighter this range, the more compressed the energy.
Box opacity: The box becomes more opaque when the compression reaches the fully COILED state (score 75+, squeeze active). This visual intensity progression gives you an immediate sense of compression depth — a faint box means early-stage building, a deep orange box means maximum coil.
Box on ignition: When ignition fires, the box remains on the chart at the coil range, giving you a clear visual reference for the compression zone that preceded the move. The coil box range is also used for structural stop loss placement — the SL Beyond Coil Box Edge setting places the stop loss beyond the coil box boundary rather than a fixed ATR distance from entry.
Box cleanup: When the regime returns to QUIET (compression fully dissipated without ignition), the box is deleted. When ignition occurs, the box is retained as a reference.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Exhaustion Radar — Early Warning System
The Exhaustion Radar monitors the TRENDING regime for signs that the expansion energy is being spent. When exhaustion conditions are met, purple diamond markers appear above (bull trend exhaustion) or below (bear trend exhaustion) the bar — a warning that the current momentum leg is likely approaching its end.
Exhaustion conditions (any one is sufficient):
RSI climax with volume spike — RSI above the overbought threshold (default: 72) in a bull trend with volume exceeding the configured climax multiple (default: 2.2×). This combination of extreme RSI and high volume is the classic climax top pattern — buyers are exhausting their buying capacity simultaneously
RSI climax with volume spike (bear) — RSI below the oversold threshold (default: 28) with climax volume in a bear trend. Sellers exhausting
Wick rejection in trend direction — a bar with a rejection wick exceeding the configured minimum percentage (default: 55%) in the direction of the trend. A bull trend bar with a massive upper wick indicates aggressive selling into the highs — supply overwhelming demand at the extreme
Trend stall squeeze — when a squeeze (BB inside KC) forms during the trending phase while volume is also drying up. This indicates the expansion move has stalled into a new compression without resolution — energy is being absorbed rather than continuing
Reversal candle through 21 EMA — a strong opposing candle that closes through the 21-period EMA in the trend direction. In a bull trend, a strong bearish close through the 21 EMA indicates the trend's immediate momentum structure has been broken
How to use exhaustion signals: Exhaustion diamonds are not reversal signals. They indicate that the current momentum leg is likely complete — not that the trend has ended. Use them to take partial or full profit on trend trades, tighten trailing stops, or wait for the next CATALYST compression cycle to develop before re-entering.
━━━━━━━━━━━━━━━━━════════════════════════
🎯 Coil-Anchored Risk Guidance System
On every IGNITE signal, CATALYST draws forward-projecting risk guidance levels for the duration of the trade.
Stop Loss (SL):
When SL Beyond Coil Box Edge is enabled (default: on), the stop is placed beyond the coil box boundary — below the coil box low (long) or above the coil box high (short) — plus a small ATR buffer. The coil box represents the full compression range: if price returns into and through the opposite side of the coil box after ignition, the breakout has failed and the setup is invalidated. This gives the stop structural meaning beyond just an ATR distance. When the coil SL is less conservative than the fixed ATR SL, the system uses whichever is further from entry to ensure adequate protection.
TP1 — First Target:
2.0× ATR from the entry close (configurable). The initial partial profit target. At TP1, consider scaling out 50% of the position.
TP2 — Extended Target:
4.0× ATR from entry (configurable). The full expansion target for the remaining position — allowing the trailing stop or regime-based exit (exhaustion signal) to manage the remainder.
Level visualization: All three levels are drawn as horizontal dashed or dotted lines extending 12 bars forward from the signal bar, with price labels at the right edge showing exact levels. SL in red, TP1 in dim yellow-green, TP2 in bright yellow-green.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 14-row real-time dashboard displays every internal state of the CATALYST engine on every bar.
REGIME — current stage: QUIET / BUILDING / COILED / IGNITION / TRENDING / EXHAUSTION. Color-coded by regime type
COMPRESS — live compression score 0–100%. Orange when above 50%, deeper orange when above 75%
SQUEEZE — ON (BB inside KC, maximum coil), RELEASE (squeeze just fired — highest-quality ignition condition), or OFF
ATR RANK — current ATR percentile versus its 100-bar history. Orange when below 30th percentile (historically low volatility — coil energy building)
VOL DRY — YES when current volume is below the dry-up threshold, NO otherwise. Orange when YES
BIAS VECTOR — the composite directional accumulation score with + or - sign. Yellow-green above +35, red below -35, neutral otherwise
HTF BIAS — higher timeframe EMA direction: BULL, BEAR, or FLAT
VOL DELTA — BUYERS when bull volume dominates, SELLERS when bear volume dominates
IGNITE L — live long ignition probability score 0–100. Highlights yellow-green when at or above the minimum threshold
IGNITE S — live short ignition probability score 0–100. Highlights red when at or above threshold
COIL BARS — number of bars the current coil has been active. Orange when at or above the minimum coil duration
COIL RANGE — the high-low range of the current coil box in price terms
SESSION — ACTIVE or FILTERED based on the session filter state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Compression Coil Box (orange) — live orange-tinted box spanning the full high-low range of the current compression period. Brightens on full coil. The core visual centerpiece of CATALYST
Regime Background Tints — subtle full-bar background colors for each regime: gray (QUIET), light orange (BUILDING), deeper orange (COILED), cyan (IGNITION), yellow-green or red (TRENDING), purple (EXHAUSTION)
IGNITE Label (below bar, yellow-green) — bull ignition signal. All conditions confirmed
IGNITE Label (above bar, red) — bear ignition signal
◆ Exhaustion Diamond (above bar, purple) — bull trend exhaustion warning
◆ Exhaustion Diamond (below bar, purple) — bear trend exhaustion warning
Bias Vector Arrow Label — appears near the coil box on the current bar during BUILDING and COILED phases, showing ▲ BIAS +xx or ▼ BIAS -xx in real time
Regime Flip Labels — small text labels marking every regime transition: BUILDING, COILED, IGNITION, TRENDING, EXHAUSTION. Color-coded by regime
SL Dashed Line (red) — stop loss guide extending 12 bars from ignition bar
TP1 Dotted Line (dim yellow-green) — first take-profit guide
TP2 Dotted Line (bright yellow-green) — extended take-profit guide
SL / TP1 / TP2 Price Labels — exact price levels labeled at the right end of each guide line
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX CATALYST — Step by Step
Step 1 — Monitor the Regime
Check the dashboard REGIME row. If it shows QUIET, nothing actionable is developing. If it shows BUILDING, a compression cycle is beginning — start paying attention
Watch COMPRESS build toward 75+. When SQUEEZE shows ON simultaneously, the market is in maximum coil state. This is your highest-alert pre-signal phase
Note the Coil Box forming and narrowing on the chart. The tighter the box, the more energy compressed inside
Step 2 — Assess the Bias During the Coil
Watch the Bias Arrow label near the coil box. Is it showing ▲ BIAS or ▼ BIAS? A strong positive bias (+50 or above) during a tight coil is the strongest possible pre-ignition setup
Check HTF BIAS on the dashboard — does it confirm the bias arrow direction? HTF alignment is worth 15 ignition score points and significantly increases the probability of a clean directional ignition
Watch VOL DELTA — are BUYERS or SELLERS winning the accumulation battle during the quiet phase?
If the Bias Vector is below ±35, the coil does not have strong directional conviction. Lower your size expectations or wait for bias to build
Step 3 — Watch the Ignition Scores Approach Threshold
As the coil deepens, watch IGNITE L and IGNITE S scores on the dashboard climbing toward the minimum threshold. When a score crosses the threshold and highlights, the system is primed — ignition can fire on the next qualifying expansion bar
The squeeze release (SQUEEZE shows RELEASE) is the most important single event in the ignition sequence. When the squeeze releases on a strong expansion candle in the bias direction, ignition fires immediately if the score is sufficient
Step 4 — Enter on the IGNITE Label
The IGNITE label marks the exact ignition bar. Enter on the close of the signal bar or the open of the following bar
The SL is placed beyond the coil box edge — below the coil low (long) or above the coil high (short). This is your structural invalidation: if price re-enters and closes through the opposite side of the coil box, the breakout has failed
TP1 at 2.0× ATR — scale out 50% here. Move the remainder to breakeven
Let TP2 or the first exhaustion diamond manage the remaining position
Step 5 — Exit on Exhaustion or Regime Shift
A purple diamond marks the exhaustion condition. Take profit on the remaining position or tighten the stop aggressively
The dashboard shows EXHAUSTION regime — the trend energy has been identified as spent
If no exhaustion fires and price continues, the system will track the regime as TRENDING — let the move run until exhaustion appears
After EXHAUSTION, the regime resets. Watch for a new compression cycle to build in the updated directional context
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Regime is QUIET and COMPRESS is below 35 — no cycle is developing. CATALYST has nothing actionable and no signal can fire. Do not force entries
Regime reaches COILED but Bias Vector is below ±35 — the coil is real but the directional accumulation is inconclusive. Ignition in this environment carries reduced directional probability. Reduce size significantly or wait for bias to develop clarity
HTF BIAS opposes the bias vector direction — a bearish HTF while the bias vector is bullish means the coil is building against the macro institutional flow. Counter-HTF ignitions have a significantly lower success rate. Wait for HTF alignment
IGNITE L and IGNITE S scores are both below threshold — the market is compressing but neither a long nor short setup has sufficient confirmation quality. No signal will fire. Wait for the scores to build
Multiple regime cycles in rapid succession without trending — BUILDING → COILED → QUIET → BUILDING cycles that never reach IGNITION indicate a market in deep chop or accumulation. Do not try to anticipate the breakout direction — wait for the cycle to complete cleanly
Session shows FILTERED — the session filter has blocked the current time window. No signals will fire
COIL BARS is below the minimum coil duration — the compression has been too brief to build meaningful energy. A coil of 2 bars has far less stored energy than a coil of 8+ bars. Prioritize setups with longer coil durations
The ideal CATALYST setup:
COMPRESS at 80+, SQUEEZE ON for multiple bars
Bias Vector at +50 or above (long) or -50 or below (short)
HTF BIAS aligned with the bias direction
VOL DELTA confirming the bias direction (BUYERS for long, SELLERS for short)
IGNITE L or S score approaching 75+
COIL BARS at 5 or more — sustained compression
Squeeze RELEASE on the ignition bar — the spring snapping
Strong body expansion candle in the bias direction
When all these conditions align, CATALYST produces its highest-conviction ignition signals — setups where the compression depth, directional accumulation, HTF alignment, volume pressure, and expansion quality are all confirming simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🌬 6-stage regime state machine — QUIET → BUILDING → COILED → IGNITION → TRENDING → EXHAUSTION. Every bar is classified and every signal is regime-gated
📉 Multi-component compression score — BB/KC squeeze, NR patterns, NR streaks, volume dry-up, volume dry streaks, and ATR percentile rank combined into a single 0–100 score
📦 Live compression coil box — orange-tinted box tracking the full range of the compression period in real time, brightening at maximum coil depth
🧭 5-component bias vector — Volume Delta, Close-Position Bias, Micro Structure, HTF EMA alignment, and BB Basis positioning combined into a -100 to +100 directional accumulation score
⚡ Live bias arrow label — directional score displayed near the coil box on the current bar, updating in real time during BUILDING and COILED phases
🔥 Dual ignition probability scores — separate 0–100 long and short scores computed every bar with a configurable minimum threshold gate
💥 IGNITE signal — fires only from COILED state on the exact bar where compression, bias, expansion candle, and ATR all confirm simultaneously
⚠ Exhaustion radar — RSI climax volume, rejection wick, trend stall squeeze, and reversal candle conditions produce early exhaustion warnings during the TRENDING phase
📡 HTF EMA bias filter — pulls higher timeframe directional structure into both the bias vector and the ignition scoring system
🎯 Coil-anchored SL placement — stop loss placed beyond the compression box structural boundary rather than a fixed ATR distance
🎨 Regime background tints — full-bar background colors for every regime stage, providing constant visual awareness of where the market is in the cycle
🏷 Regime flip labels — small text labels at every regime transition point on the chart history
📊 14-row live dashboard — Regime, Compress, Squeeze, ATR Rank, Vol Dry, Bias Vector, HTF Bias, Vol Delta, Ignition Scores, Coil Bars, Coil Range, Session updated every bar
🔔 5 alert conditions — Ignite Long, Ignite Short, Fully Coiled, Squeeze Release, Exhaustion Warning
⚙ Fully configurable — all ATR/BB/KC parameters, NR lookback, volume dry-up threshold, ATR percentile length, HTF timeframe and EMA, delta and structure lookbacks, ignition threshold, body size filter, exhaustion RSI/volume/wick parameters, SL/TP multiples, session windows, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Volatility Engine
ATR Length — ATR calculation lookback used across the engine (default: 14)
BB Length / BB Mult — Bollinger Band parameters for squeeze detection (defaults: 20 / 2.0)
KC Length / KC Mult — Keltner Channel parameters (defaults: 20 / 1.5)
NR Pattern Lookback — bars for narrow range comparison. NR fires when current range is the narrowest in this window (default: 7)
Volume Dry-Up Length — lookback for volume moving average (default: 20)
Max Vol vs Avg (coil) — maximum volume as a fraction of average for the dry-up condition (default: 0.65)
ATR Percentile Lookback — history window for ATR percentile rank (default: 100)
Min Coil Duration (bars) — minimum consecutive bars needed for streak bonuses (default: 3)
Bias Vector
HTF Bias Timeframe — higher timeframe for EMA bias pull (default: 60-minute)
HTF EMA Length — EMA period on the higher timeframe (default: 50)
Require HTF Alignment — when on, HTF opposing direction deducts points from ignition scores
Volume Delta Length — EMA smoothing for volume delta estimation (default: 14)
Close-Position Bias Len — lookback for average close position within bar range (default: 10)
Structure Lookback — bars for micro higher high / lower low detection (default: 20)
Ignition Signals
Min Ignition Score (0–100) — threshold below which no signal fires (default: 62). 58–68 is practical range
Min Ignition Body (xATR) — expansion candle body must exceed this multiple of ATR (default: 1.15)
Require Squeeze Release — when on, ignition must occur on or after BB/KC squeeze releases
Show Ignition BUY/SELL Labels — toggle IGNITE signal labels
Show Exhaustion Warnings — toggle exhaustion diamond markers
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Exhaustion Radar
RSI Overbought / Oversold — RSI thresholds for climax exhaustion detection (defaults: 72 / 28)
Climax Volume (x avg) — volume multiple above average required for RSI climax condition (default: 2.2)
Min Rejection Wick % — minimum wick as fraction of bar range for wick rejection exhaustion (default: 0.55)
Risk Guidance
Show SL / TP Guides on Signal — toggle level lines and labels
SL Distance (xATR) — ATR-based SL floor distance (default: 1.2)
TP1 Distance (xATR) — first take-profit target distance (default: 2.0)
TP2 Distance (xATR) — extended take-profit target distance (default: 4.0)
SL Beyond Coil Box Edge — places SL at the structural coil boundary rather than fixed ATR only (default: on)
Session Filter
Enable Session Filter — toggle the session restriction
London (08:00–13:00 UTC) — toggle London session inclusion
London/NY Overlap (13:00–17:00 UTC) — toggle the highest-volume overlap session
NY Afternoon (17:00–21:00 UTC) — toggle NY afternoon session
Display
Show Compression Coil Box — toggle the live orange coil box
Regime Background Tint — toggle the full-bar regime background colors
Show Bias Vector Arrow — toggle the live bias label near the coil box
Dashboard Position — Top Right / Top Left / Top Center / Bottom Right / Bottom Left / Bottom Center
Dashboard Size — Normal / Bigger
Theme
Bull Primary / Bright / Dim — yellow-green family for all bullish elements
Bear Primary / Bright / Dim — red family for all bearish elements
Coil / Squeeze — orange for all compression and coil elements
Ignition — cyan for the ignition regime flash
Exhaustion — purple for exhaustion regime and warning diamonds
Neutral — gray for QUIET regime and neutral states
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (5 total)
Signal Alerts
CATALYST Ignite Long — all long ignition conditions confirmed. IGNITE label fired below bar
CATALYST Ignite Short — all short ignition conditions confirmed. IGNITE label fired above bar
State Alerts
CATALYST Fully Coiled — regime has entered COILED state (compression 75+, squeeze active). Ignition may be imminent — prepare
CATALYST Squeeze Release — BB has expanded outside KC on this bar. Maximum-quality ignition condition active
CATALYST Exhaustion — exhaustion conditions detected in the TRENDING regime. Trend energy fading
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Min Ignition Score at 62 — strong quality gate while allowing frequent enough signals on intraday timeframes
HTF at 60-minute — meaningful macro context for M5–M15 trading. The squeeze and ignition on M5 confirmed by H1 EMA alignment is the core multi-timeframe framework
ATR Percentile Lookback at 100 — calibrated for intraday volatility cycles on liquid instruments
NR Lookback at 7 — captures classic NR7 patterns while remaining sensitive enough for fast-moving instruments
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce ATR Percentile Lookback to 50, reduce NR Lookback to 5, reduce Min Ignition Score to 58, shorten Cooldown to 3 bars
H1–H4 swing trading — set HTF to Daily or Weekly, increase ATR Percentile Lookback to 200–250, increase Min Ignition Score to 68–72, increase TP2 to 6.0–8.0× ATR for wider swing targets
Crypto (BTC, ETH) — increase KC Mult to 2.0–2.5 and BB Mult to 2.5 to account for wider natural volatility, increase Climax Volume threshold to 2.8–3.5 for crypto's naturally higher volume spikes
Higher signal frequency — lower Min Ignition Score to 55–58, reduce NR Lookback to 5, reduce Min Coil Duration to 2
Ultra-selective signals only — raise Min Ignition Score to 72–78, require Squeeze Release on, HTF Alignment on, increase Min Coil Duration to 5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
💥 Volatility breakout and expansion traders — CATALYST is purpose-built for traders who want to enter at the moment of volatility ignition, not after the move has already extended significantly
⚡ Squeeze traders and NR pattern traders — the compression engine formalizes and quantifies every squeeze and narrow range pattern into a single score, eliminating subjective judgment about whether a coil is "tight enough"
🔮 Anticipatory traders who want to read the market before it moves — the bias vector and ignition score system provides pre-signal intelligence during the coil that no reactive indicator can match
📊 Multi-timeframe traders — the HTF bias integration means every CATALYST signal is contextualized against the higher timeframe institutional flow
🧠 Systematic traders — every component of the compression score, bias vector, and ignition score is quantified and configurable. There is no subjectivity in what constitutes a "good enough" coil
🎯 Risk-conscious traders — the coil-anchored stop loss is structurally meaningful — placed at the exact level that invalidates the breakout thesis
📈 Traders across all asset classes — the ATR normalization and percentile-ranked volatility detection means CATALYST works consistently on gold, forex, crypto, and indices without manual recalibration between instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Regime state, compression score, bias vector, and ignition scores all finalize on confirmed bars
The regime state machine is sequential — IGNITION can only be reached from COILED. This means no signal can fire without prior confirmed compression regardless of how strong the expansion candle is
The ATR percentile rank requires the configured lookback history to be available. On charts with fewer bars than the ATR Percentile Lookback setting, the rank may underperform until sufficient history accumulates. This warm-up effect resolves naturally
The bias arrow label is drawn only on the last bar and refreshes on every tick during live trading. It does not appear on historical bars — only the current bar during BUILDING and COILED regimes
The SL / TP guide lines are redrawn on every new ignition signal. Previous signal levels are deleted when a new signal fires
Maximum 500 labels, 500 lines, and 100 boxes are rendered. The coil box, regime flip labels, and SL/TP levels all count toward these limits. On very active charts with long history, the oldest labels may be removed by TradingView's rendering limits
The session filter uses UTC hours rather than exchange-specific sessions, making it instrument-agnostic across all markets globally
The indicator does not track open positions or P&L — the regime state tracks the expansion direction (bull or bear) from ignition through exhaustion, but does not connect to any broker or account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that the most powerful moment to enter a market is not when everyone can see the move — it is the bar before, when the coil finally snaps. Индикатор

Индикатор

Индикатор

Индикатор

Auto Supply & Demand Zones [Proozac]# Auto Supply & Demand Zones
**Pine Script v6 — Overlay Indicator**
---
## What It Does
Automatically identifies and draws **Supply** and **Demand** zones using a consolidation-then-impulse approach. Instead of drawing arbitrary rectangles around wicks or candles, this indicator marks the precise origin of impulsive moves — the base where institutions accumulated or distributed positions before the explosive move began.
Zones update dynamically: they extend to the current bar as long as they are active, fade when price re-enters them (tested), and can be removed automatically when fully mitigated.
---
## Core Concept
Supply and Demand zones are based on the observation that before a strong directional move, price always consolidates in a narrow range. This consolidation is where orders were placed. When price eventually returns to that origin area, those resting orders become relevant again.
```
DEMAND ZONE (base before impulsive UP move)
────────────────────────────────────
← zone drawn here
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ ← impulsive bullish candle
SUPPLY ZONE (base before impulsive DOWN move)
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ ← impulsive bearish candle
← zone drawn here
────────────────────────────────────
```
---
## Detection Logic
### Step 1 — Identify the Base (Consolidation)
A "base" is a sequence of `Consolidation Bars` consecutive candles where every candle body is **smaller than the ATR**:
```
For each candle in the base window:
body = |close - open|
if body > ATR → not a base
```
This filters out directional candles and keeps only tight, sideways price action — the footprint of institutional accumulation/distribution.
### Step 2 — Detect the Impulse
An impulse candle is a strong directional candle **immediately after** the base:
```
Bullish impulse: base confirmed AND close > open AND (close - open) > ATR × Impulse Strength
Bearish impulse: base confirmed AND close < open AND (open - close) > ATR × Impulse Strength
```
The `Impulse Strength` multiplier controls how strong the breakout candle must be relative to ATR. At 1.5× ATR, only genuinely strong moves qualify.
### Step 3 — Draw the Zone
The zone is drawn over the **range of the consolidation base** (highest high to lowest low across all base candles):
```
Zone top = max(high) across base candles
Zone bottom = min(low) across base candles
```
- Bullish impulse → **Demand zone** (green box)
- Bearish impulse → **Supply zone** (red box)
---
## Zone Lifecycle
| State | Visual | Condition |
|-------|--------|-----------|
| **Active** | Full color, solid border | Price has not returned to the zone |
| **Tested** | Price is currently inside the zone | Background flashes, border highlights |
| **Mitigated** | Faded to high transparency | Price closed through the zone's far edge |
| **Deleted** | Removed from chart | Only if "Keep Tested Zones" is off |
Zone mitigation rules:
- Demand zone → mitigated when `low < zone bottom` (price broke below it)
- Supply zone → mitigated when `high > zone top` (price broke above it)
---
## Inputs
| Input | Default | Description |
|-------|---------|-------------|
| **Consolidation Bars** | 3 | Number of tight candles required to form a base. More bars = stricter, rarer zones |
| **Impulse Strength (×ATR)** | 1.5 | How strong the breakout candle must be vs ATR. Higher = stronger impulses only |
| **ATR Length** | 14 | Period for the ATR used in base and impulse detection |
| **Max Active Zones** | 10 | Maximum number of zones kept per side (oldest removed first) |
| **Demand Zone Color** | Teal/green | Fill color for demand zones |
| **Supply Zone Color** | Red | Fill color for supply zones |
| **Demand/Supply Border** | Darker tint | Border color |
| **Tested Zone Transparency** | 92 | Opacity of mitigated zones (higher = more transparent) |
| **Show Zone Labels** | true | Draws "Demand" / "Supply" text inside each box |
| **Keep Tested Zones (Faded)** | true | When off, mitigated zones are deleted entirely |
---
## Visual Output
| Element | Description |
|---------|-------------|
| Green box | Active demand zone (base of a bullish impulse) |
| Red box | Active supply zone (base of a bearish impulse) |
| Faded green box | Demand zone that has been mitigated |
| Faded red box | Supply zone that has been mitigated |
| Green triangle below bar | New demand zone created this bar |
| Red triangle above bar | New supply zone created this bar |
| Green background flash | Price is currently inside a demand zone |
| Red background flash | Price is currently inside a supply zone |
---
## How to Use
**Basic trade setup:**
1. Wait for price to return to an active zone.
2. Look for a confirmation signal inside the zone — a rejection candle, a sweep of the zone's inner extreme, or a divergence from an oscillator.
3. Enter with a stop beyond the zone's outer edge.
4. Target the next supply zone (from demand) or next demand zone (from supply).
**Confluence checklist:**
- Zone is fresh (not previously tested)
- Zone aligns with a higher timeframe level
- MTF Dashboard (indicator 02) shows agreement on the entry direction
- A Liquidity Sweep (indicator 03) fired near the zone entry
**Zone freshness matters:** The first time price returns to a zone, the fill rate is significantly higher than on second or third tests. After a zone is mitigated, treat it as much weaker.
---
## Configuration Tips
| Scenario | Suggested settings |
|----------|--------------------|
| Clean, infrequent zones | Consolidation: 4–5, Impulse: 2.0× |
| More zones, active markets | Consolidation: 2, Impulse: 1.2× |
| Crypto (volatile, wide spreads) | ATR: 20, Impulse: 2.0–2.5× |
| Forex (tight spreads) | ATR: 14, Impulse: 1.5× |
| Equities / indices | ATR: 14, Impulse: 1.5–2.0× |
---
## Alerts
Two built-in `alertcondition` entries:
- `Price in Demand Zone` — fires on every bar where close is inside an active demand zone
- `Price in Supply Zone` — fires on every bar where close is inside an active supply zone
Recommended alert settings: **Once per bar close** to avoid repeated triggers within the same bar.
Индикатор

MTF Trend Dashboard [Proozac]# MTF Trend Dashboard
**Pine Script v5 — Overlay Indicator**
---
## What It Does
Displays a compact table showing the trend direction, RSI value, and a trading bias for up to **6 timeframes simultaneously** — all from a single indicator on any chart.
The core idea: before entering a trade, confirm that the higher timeframes agree with your direction. A long setup on the 15m is far stronger when the 1H, 4H, and Daily are all bullish. This dashboard makes that check instant.
---
## Detection Logic
### Trend — EMA Cross
For each timeframe, the indicator fetches two EMAs (fast and slow) using `request.security`. The trend is determined by their relative position:
```
Bullish : Fast EMA > Slow EMA
Bearish : Fast EMA < Slow EMA
```
Default: Fast EMA = 20, Slow EMA = 50. These can be changed to any values (e.g. 50/200 for longer-term bias).
### RSI
The RSI (default length 14) is fetched for each timeframe alongside the EMAs. It provides momentum context within the trend:
- RSI > 70 → overbought (cell turns red)
- RSI < 30 → oversold (cell turns green)
- 30–70 → neutral
### Bias Column
A simple confluence rule combining trend and RSI:
```
Long : Bullish trend AND RSI < 65 (trending up, not yet overbought)
Short : Bearish trend AND RSI > 35 (trending down, not yet oversold)
Wait : Any other combination
```
### Composite Score
The bottom row counts how many of the 6 timeframes are bullish (0–6). When 5 or 6 are bullish, the background flashes green. When 1 or 0 are bullish, it flashes red. Triangles appear on the price chart only when all 6 timeframes align.
---
## Inputs
| Input | Default | Description |
|-------|---------|-------------|
| **TF 1–6** | 5, 15, 60, 240, D, W | The six timeframes to analyse. All are fully customisable |
| **Fast EMA** | 20 | Fast EMA length applied on every timeframe |
| **Slow EMA** | 50 | Slow EMA length applied on every timeframe |
| **RSI Length** | 14 | RSI period applied on every timeframe |
| **Table Position** | Bottom Right | Where the table appears on the chart |
| **Composite Bias Background** | true | Flashes background green/red when 5+ or 1- TFs align |
---
## Table Layout
```
┌──────────┬────────────┬───────┬───────┐
│ TF │ Trend │ RSI │ Bias │
├──────────┼────────────┼───────┼───────┤
│ 5 │ ▲ BULL │ 58.3 │ Long │
│ 15 │ ▲ BULL │ 62.1 │ Long │
│ 60 │ ▼ BEAR │ 44.7 │ Wait │
│ 240 │ ▲ BULL │ 55.0 │ Long │
│ D │ ▲ BULL │ 67.2 │ Wait │
│ W │ ▲ BULL │ 71.4 │ Wait │
├──────────┼────────────┼───────┼───────┤
│ Score │ 5 / 6 Bull│ │ │
└──────────┴────────────┴───────┴───────┘
```
| Column | Color logic |
|--------|-------------|
| **Trend** | Green background = bullish, Red = bearish |
| **RSI** | Red = overbought (>70), Green = oversold (<30), Neutral otherwise |
| **Bias** | Green = Long, Red = Short, Neutral = Wait |
| **Score** | Green = 5–6 bull, Red = 0–1 bull, Neutral otherwise |
---
## Visual Signals on the Chart
| Signal | Condition |
|--------|-----------|
| Green triangle below bar | All 6 timeframes bullish simultaneously |
| Red triangle above bar | All 6 timeframes bearish simultaneously |
| Green background flash | 5 or 6 TFs bullish (composite bias) |
| Red background flash | 1 or 0 TFs bullish (composite bias) |
---
## How to Use
**Trend-following filter:**
Use the dashboard as a go/no-go filter. Only take long trades when 4 or more timeframes show bullish, and short trades when 4 or more are bearish. This eliminates trades taken against the dominant trend.
**Recommended TF combinations by trading style:**
| Style | Suggested TF set |
|-------|-----------------|
| Scalping | 1, 3, 5, 15, 30, 60 |
| Day trading | 5, 15, 30, 60, 240, D |
| Swing trading | 60, 240, D, W, M, 3M |
| Position trading | D, W, M, 3M, 6M, 12M |
**EMA combinations:**
| Goal | Fast / Slow |
|------|-------------|
| Short-term momentum | 9 / 21 |
| Default (balanced) | 20 / 50 |
| Macro trend | 50 / 200 |
---
## Important Notes
- The table only updates on the **last bar** (`barstate.islast`) to avoid performance overhead on large datasets.
- `request.security` uses `lookahead=off` to prevent future data leakage — values shown are confirmed closed-bar data from each higher timeframe.
- On timeframes below the chart's current timeframe, data will not be available — always set TF 1 equal to or higher than the chart timeframe.
- The "All TF" triangle signals (all 6 aligned) are rare but high-conviction. They can be used as standalone alerts without additional filters.
---
## Setting Up Alerts
The indicator fires visual signals but does not include `alertcondition` entries by default (the table updates on the last bar only). To alert on alignment:
1. Add the indicator to the chart.
2. Create an alert using **"Any alert() function call"** if you add custom alert logic, or monitor the background color signal manually.
Alternatively, combine this dashboard with any of the other indicators in this suite (SMC, Divergence Hunter) and only take their signals when the MTF score is 4+.
Индикатор

Liquidity Sweep Detector [Proozac]# Liquidity Sweep Detector
**Pine Script v6 — Overlay Indicator**
---
## What It Does
Detects two related concepts from institutional liquidity theory:
1. **Equal Highs / Equal Lows (EQH / EQL)** — price levels where the market reached the same high or low on two separate occasions. These levels concentrate retail stop orders (buy stops above EQH, sell stops below EQL) and act as magnets for institutional order flow.
2. **Liquidity Sweep** — when price breaks through an EQH or EQL with a wick but *closes back on the opposite side*. This is the signal that institutions triggered the stops, absorbed that liquidity, and are now positioned in the opposite direction — the classic "stop hunt" or "liquidity grab."
---
## Detection Logic
### Equal Highs / Equal Lows
```
EQH: two pivot highs within a configurable % tolerance of each other
EQL: two pivot lows within a configurable % tolerance of each other
```
The indicator finds swing highs and lows via `ta.pivothigh` / `ta.pivotlow`. For each new pivot it compares against the 5 most recent ones. If the relative difference is within the `Equal Level Tolerance %` threshold, a dashed line is drawn between the two points and labelled `EQH` or `EQL`.
### Bullish Sweep (long signal)
```
wick_low < EQL AND close > EQL AND open > EQL
```
The wick pierces below an equal low but the candle body closes above it. Price swept the sell stops and snapped back — potential bullish reversal.
### Bearish Sweep (short signal)
```
wick_high > EQH AND close < EQH AND open < EQH
```
The wick pierces above an equal high but the candle body closes below it. Price swept the buy stops and snapped back — potential bearish reversal.
---
## Inputs
| Input | Default | Description |
|-------|---------|-------------|
| **Swing Length (Pivot)** | 10 | Bars required on each side to confirm a swing. Higher = fewer but more reliable pivots |
| **Equal Level Tolerance %** | 0.1 | Percentage margin for two pivots to be considered "equal". Increase for volatile assets |
| **Max Lookback for Equal Levels** | 50 | How far back to search for matching pivot levels |
| **Equal Highs Line Color** | Red | Color for EQH lines |
| **Equal Lows Line Color** | Green | Color for EQL lines |
| **Bearish Sweep Color** | Bright Red | Color for bearish sweep signal and candle |
| **Bullish Sweep Color** | Bright Green | Color for bullish sweep signal and candle |
| **Show Equal Level Lines** | true | Toggle EQH/EQL lines on/off |
| **Show Sweep Signals** | true | Toggle triangle signals on/off |
| **Show Sweep Labels** | true | Toggle "BULL SWEEP" / "BEAR SWEEP" labels on/off |
---
## Visual Signals
| Element | Description |
|---------|-------------|
| Red dashed line + "EQH" label | Liquidity pool at highs |
| Green dashed line + "EQL" label | Liquidity pool at lows |
| Green triangle below bar + label | Bullish sweep detected (potential long entry) |
| Red triangle above bar + label | Bearish sweep detected (potential short entry) |
| Candle color change | The sweep candle is highlighted in the signal color |
---
## How to Use
**Basic setup:**
1. Add to any chart (works best on 15m, 1H, 4H timeframes).
2. Look for confluence: a sweep on an EQL that also sits on a demand zone or Order Block produces the highest-conviction signals.
3. Enter on the candle after the sweep, stop below the sweep candle's wick low (bullish) or above the wick high (bearish).
**Setting up alerts:**
Three `alertcondition` entries are built in and ready to use:
- `Bullish Liquidity Sweep`
- `Bearish Liquidity Sweep`
- `Any Liquidity Sweep`
In TradingView: Alerts → Condition → select the indicator → choose the desired alert type.
---
## Configuration Tips
| Asset type | Recommended tolerance |
|---|---|
| Forex majors | 0.05 – 0.1 % |
| Crypto (BTC/ETH) | 0.2 – 0.5 % |
| Futures / indices | 0.05 – 0.15 % |
- A higher `Swing Length` (15–20) produces fewer, more confirmed signals. A lower value (5–7) is more reactive but generates more false positives.
- EQH/EQL lines do not extend into the future — they naturally disappear once swept, which is exactly the point of interest.
---
## Conceptual Background
Based on the **ICT (Inner Circle Trader)** and **Smart Money Concepts** framework: large operators need liquidity to fill their positions. Equal highs and equal lows are the zones where retail stop orders accumulate. The institutional player pushes price into those levels, harvests the liquidity, then reverses — that reversal move is the entry opportunity.
This is different from a breakout strategy. A sweep signal is *not* a breakout confirmation — it is a **failed breakout** that indicates smart money is positioned against the breakout direction.
Индикатор

Precision Price Gamma [PGamma]Here's the full updated description with all the fixes — car analogy corrected, image captions added, ready to copy:
Precision Price Gamma (PGamma) is a second-derivative momentum indicator that measures the acceleration of momentum, not momentum itself.
━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY PGAMMA IS DIFFERENT
━━━━━━━━━━━━━━━━━━━━━━━━━━
Most momentum indicators tell you how strong a move is. PGamma tells you whether that strength is increasing or fading — going one step further by measuring whether momentum is strengthening or weakening. This allows PGamma to identify changes in market pressure before many trend-following indicators respond.
━━━━━━━━━━━━━━━━━━━━━━━━━━
THE FOUR STATES
━━━━━━━━━━━━━━━━━━━━━━━━━━
Γ↑ Accelerating — Bullish momentum is positive and still strengthening.
Γ⌃ Bull Weakening — Bullish momentum remains positive, but buying pressure is beginning to fade.
Γ↓ Bear Pressure — Bearish momentum is dominant and selling pressure continues to strengthen.
Γ⌄ Bear Exhaustion — Bearish momentum remains negative, but selling pressure is beginning to weaken.
━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━
PGamma smooths the source series, then computes the slope of that smoothed series — the first derivative, or Momentum. It then smooths Momentum and computes its slope — the second derivative, or Price Gamma. The four states are determined by the sign of both values simultaneously.
Momentum determines the current direction of market pressure. Gamma determines whether that pressure is strengthening or weakening. They often disagree near turning points — and those disagreements are often the most informative signals PGamma produces.
Think of it like driving a car. Momentum is your speed. Gamma is whether you are pressing the gas or the brake. You can be moving backward while pressing the brake — still moving backward, but slowing. That is negative momentum with positive gamma. In market terms, price may still be making lower lows, but each push down is losing force. That often precedes consolidation, a bounce, or a reversal.
Two examples of this disagreement are illustrated in the first two snapshots — a red candle during a green Gamma Timeline, and a green candle during an amber Gamma Timeline. The third snapshot illustrates when Momentum and Gamma align, showing a green candle with a green Gamma Timeline during Accelerating state.
━━━━━━━━━━━━━━━━━━━━━━━━━━
THE STATE MATRIX
━━━━━━━━━━━━━━━━━━━━━━━━━━
Momentum | Gamma | State
+ | + | Accelerating
+ | - | Bull Weakening
- | - | Bear Pressure
- | + | Bear Exhaustion
Momentum and Gamma often disagree near turning points. A positive Gamma reading while Momentum remains negative does not mean the market is bullish — it means bearish momentum is losing acceleration. Those disagreements are where PGamma is most useful.
━━━━━━━━━━━━━━━━━━━━━━━━━━
UNDERSTANDING THE DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━━━━━
State — Combines Momentum and Price Gamma into one of the four market conditions above. Read the State row first.
Momentum — The first derivative of price. Positive = bullish momentum dominates. Negative = bearish momentum dominates.
Gamma — The second derivative of momentum. Above Zero = momentum is accelerating. Below Zero = momentum is decelerating. Gamma often changes direction before Momentum, making it useful for identifying transitions in market pressure.
Bias — A simplified interpretation combining Momentum and Gamma into a single directional context label.
━━━━━━━━━━━━━━━━━━━━━━━━━━
GAMMA TIMELINE
━━━━━━━━━━━━━━━━━━━━━━━━━━
The Gamma Timeline displays the historical sequence of Price Gamma states as a continuous color band along the bottom of the chart. Each colored segment represents one bar, allowing traders to quickly identify transitions between acceleration, weakening, pressure, and exhaustion without obscuring price action. Green for Accelerating, amber for Bull Weakening, red for Bear Pressure, sky blue for Bear Exhaustion. Toggle on or off in Display settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━
GETTING STARTED
━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Add PGamma to any chart. It works on all instruments and timeframes.
2. In Settings → Display, choose your panel position and size.
3. In Settings → Calculation, adjust Momentum Smoothing, Momentum Length, and Gamma Length to suit your timeframe. Default values are calibrated for intraday 1m–60m charts.
4. Read the State row first. Then use Momentum and Gamma to understand why the state is what it is.
5. Use Bias as a quick at-a-glance directional context.
6. Use the Gamma Timeline to read state history across the session at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━
PGamma is not a buy or sell signal. Think of PGamma as a market condition indicator rather than a trade signal. Use it as a confirmation layer alongside your existing methodology. Typical applications:
• Confirming trend continuation when State shows Accelerating.
• Identifying weakening rallies before reversals when State shows Bull Weakening.
• Recognizing building pressure before visible breakdowns when State shows Bear Pressure.
• Spotting exhaustion during extended trends when State shows Bear Exhaustion.
When used alongside a GEX level tool, price approaching a Call Wall with Γ⌃ Bull Weakening is a different setup than price approaching the same level with Γ↑ Accelerating. PGamma makes that distinction visible.
Because PGamma analyzes smoothed momentum rather than candle color, bullish candles can appear during Bear Pressure and bearish candles can appear during Bull Weakening. This reflects underlying momentum conditions rather than individual price bars — and is often an early warning of what is developing beneath the surface.
━━━━━━━━━━━━━━━━━━━━━━━━━━
WORKS WELL ALONGSIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━
PGamma complements indicators that identify where important price levels exist.
• Trend indicators
• Moving averages
• Volume Profile
• VWAP
• Options Gamma Exposure (GEX)
• Support and Resistance
• Market Structure
These tools identify where price may react. PGamma helps evaluate how price is behaving as it approaches those levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS TOOL IS NOT
━━━━━━━━━━━━━━━━━━━━━━━━━━
PGamma measures changes in momentum. It does not predict future prices or guarantee reversals. Use it as analytical context alongside your existing trading methodology.
━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━
Calculation: Source, Momentum Smoothing, Momentum Length, Gamma Length
Display: Show Dashboard, Panel Position (6 locations), Panel Size (Small / Normal / Large), Show Gamma Timeline Индикатор

Velocity Hybrid Oscillator (VHO)🚀 VELOCITY HYBRID OSCILLATOR
The Velocity Hybrid Oscillator (VHO), engineered by gunebak4n, is a dual-momentum normalization and trend velocity detection framework designed to isolate high-probability cyclical turning points and structural trend regimes.
VHO is built on the principle that true market velocity cannot be captured by a single momentum lookback or absolute price changes alone. By structurally merging the trend-following smoothing of the Price Momentum Oscillator (PMO) with the reactive cyclicality of the Relative Strength Index (RSI), and processing both through a rolling Min-Max normalization matrix, the system projects multi-dimensional momentum fields onto a fixed boundary.
Unlike conventional oscillators that frequently pin at extremes or trigger premature counter-trend signals during strong expansions, VHO normalizes relative strength and price velocity over a wide structural lookback, anchoring the final hybrid signal to a highly scannable, noise-filtered trend baseline.
💡 CORE DESIGN PRINCIPLE
🧭 Multi-Dimensional Momentum Convergence
VHO interprets market momentum not as an isolated price derivative, but as a convergence of absolute velocity (PMO) and internal strength velocity (RSI). True trend shifts emerge when these two fields align within a normalized range.
🧬 Absolute Velocity–Internal Strength–Smoothing Model
The system evaluates three interacting structural layers:
• Absolute Velocity: Double-smoothed Price Momentum Oscillator tracking rate of change.
• Internal Strength: Relative Strength Index tracking gains versus losses.
• Min-Max Normalization: Rescaling both metrics to a dynamic 144-period lookback.
The mathematical aggregation of these layers defines the final hybrid trend line.
💡 KEY FEATURES
📊 Double-Smoothed Absolute Velocity (PMO)
The system extracts clean, absolute price velocity by calculating a custom Price Momentum Oscillator. This process applies two sequential exponential moving averages to custom daily rate-of-change inputs, effectively filtering out high-frequency market noise before normalization.
🧪 Cyclical Internal Strength Layer (RSI)
To capture real-time overbought and oversold conditions without lagging the underlying price discovery, the system integrates a classical relative strength layer, subsequently smoothed by a simple moving average to align its frequency with the PMO.
📦 Dynamic Min-Max Normalization Matrix
To prevent standard indicator drift and pinning, both the raw PMO and smoothed RSI values are dynamically rescaled between 0 and 100 based on a fixed rolling lookback. This anchors all historical data points to identical relative boundaries.
📈 Velocity Hybrid Line Aggregation
The normalized absolute velocity and normalized internal strength are synthesized into a single "Sharp Line," which is then subjected to an exponential smoothing filter to generate the final, high-conviction "Hybrid Line."
🧠 Asymmetric Color & Directional Logic
The main signal line features an adaptive, four-state color architecture that reacts instantly to directional changes relative to the 50-midline pivot, shifting hue based on whether the velocity is expansionary or decaying.
🎨 Structural Divergence Detection Engine
VHO automatically maps multi-factor divergence signals across structural price action. High-probability continuation or reversal points are highlighted by identifying localized asymmetries where price makes new extremes while the Hybrid Line prints decaying peaks or troughs.
🔬 MATHEMATICAL STRUCTURE
Price Rate of Change (ROC):
ROC = ((Close - Close ) / 1) * 100
Double-Smoothed PMO:
PMO = EMA(EMA(ROC, Length1), Length2)
PMO_Raw = (PMO + PMO_Signal) / 2
RSI Internal Strength:
RSI = ta.rsi(Source, Length)
RSI_MaRaw = SMA(RSI, RSI_MA_Length)
Min-Max Normalization Function (f_normalize):
Min = Lowest(Source, Length)
Max = Highest(Source, Length)
f_normalize = 100 * (Source - Min) / max(Max - Min, 0.000001)
Hybrid Line Aggregation:
SharpLine = (f_normalize(PMO_Raw, n) + f_normalize(RSI_MaRaw, n)) / 2
HybridLine = EMA(SharpLine, k)
Divergence Signal Matrix:
BearishDiv = ta.rising(High, 5) and ta.falling(HybridLine, 5) and HybridLine > 70
BullishDiv = ta.falling(Low, 5) and ta.rising(HybridLine, 5) and HybridLine < 30
This structure ensures that cyclical overextended states are measured against a standardized historical baseline, rather than floating nominal boundaries.
🛠️ USAGE FRAMEWORK
1. Midline Pivot Evaluation
Treat the 50 level as the structural axis of equilibrium. Hybrid Line values sustained above 50 dictate a dominant bullish regime, while values below 50 confirm bearish structural control.
2. Directional Velocity Scaling
Monitor the four-state line coloration. A bright cyan (#00ffbb) or bright red (#ff5252) signal line denotes maximum acceleration in trend direction, while darker tones indicate velocity decay or potential consolidation.
3. Symmetrical Overextended Extremes
Utilize the 70 and 30 dashed reference levels to identify standard overbought and oversold thresholds. The dotted 90 and 10 parameters act as absolute extreme volatility caps.
4. Multi-Factor Divergence Validation
When the system prints red (bearish) or green (bullish) circles on the Hybrid Line, cross-reference these divergence zones with major support/resistance levels to time high-probability counter-trend reversals.
5. Regime Background Filtering
Leverage the optional "Trend Background" fill to maintain clear macro-bias context, allowing short-term hybrid fluctuations to be scaled within the overarching directional environment.
⚙️ SYSTEM CHARACTERISTICS
• Dual-engine absolute and internal velocity integration
• Fixed-boundary rolling Min-Max normalization matrix
• Four-state direction-and-regime sensitive line coloring
• Automatic high-probability divergence mapping
• Multi-layered zone fill for enhanced visual scannability
• Fully parameterized smoothing filters to match any operational asset class
📌 CREDIT
Velocity Hybrid Oscillator (VHO) is developed by gunebak4n as a structural momentum normalization and trend velocity detection framework for TradingView.
The system is designed for identifying statistically significant cyclical shifts emerging from multi-factor momentum compression, rather than isolated price-action breakouts.
⚠️ DISCLAIMER
VHO is a probabilistic analytical model. It does not predict market outcomes or guarantee trading performance. All signals must be interpreted within a disciplined risk management framework and validated with broader market context. Индикатор

Индикатор
