Indicator

Indicator

Liquidity Reversal Zones v2Liquidity Reversal Zones v2
Liquidity Reversal Zones is a composite reversal indicator designed to identify potential long and short reversal areas after liquidity sweeps, market overextension, and order-flow exhaustion.
The indicator builds one adaptive score from multiple market factors, including:
- Liquidity sweeps of prior highs/lows, pivot levels, rolling extremes, equal highs/lows, and round numbers
- Overbought/oversold valuation using Z-score, RSI, Stochastic, Bollinger %B, MFI, and flow pressure
- CVD, OBV, volume intensity, relative volume, and absorption
- Bullish/bearish divergence from CVD, RSI, and OBV
- Aggregated crypto Open Interest with price/OI quadrant logic
- VWAP, Anchored VWAP, volume profile POC/VAH/VAL, and level retest memory
- Higher-timeframe bias, volatility regime, ADX trend filter, and chop filter
- Optional funding-rate context for crypto markets
Positive conditions create LONG reversal zones when price sweeps liquidity below key levels and shows oversold/reversal evidence. Negative conditions create SHORT reversal zones when price sweeps liquidity above key levels and shows overbought/reversal evidence.
The indicator can display:
- Composite score as columns or histogram
- Adaptive or fixed strong/medium thresholds
- Reversal zones directly on the chart
- Zone labels with probability, RR, and capitulation flags
- Target projection and zone POC
- Dashboard with strength, confluence, volume, Open Interest, sweep direction, context, and historical hit-rate
Zones are managed through a lifecycle: Active, Tested, Confirmed, or Mitigated. Nearby zones can be merged automatically.
Alerts are included for long/short zones, strong zones, CVD divergences, and capitulation conditions.
This tool is intended for analytical and educational use. It should be combined with market structure, risk management, and the trader’s own confirmation process. Indicator

Indicator

bankstersOverview & Synergistic Concept
Banksters Workspace is a multi-component trading framework designed to combine structural market levels, momentum divergence tracking, and dynamic trend filtering into a single, cohesive workspace.
Instead of cluttering the chart with standalone scripts, this tool integrates three distinct non-redundant methodologies to help a trader identify institutional breakouts, overbought/oversold turning points, and the path of least resistance (the core trend).
1. Structural Levels (Breakouts & Retests): Automatically detects significant Swing Highs and Swing Lows using customizable pivot lookbacks. When price breaks these structural points with an impulse expansion (validated by a minimum candle body percentage), a temporary key level is generated. The script monitors this level for either a false breakout (invalidating the line) or a valid retest within a defined buffer zone.
2. Momentum Divergences (MFI & Stochastic): Utilizes the Money Flow Index (MFI) to measure volume-weighted price momentum. By comparing recent MFI peaks/troughs with actual price action across adaptive lookback periods, the script isolates hidden and regular divergences. To prevent premature entries, signals are filtered through a Stochastic Oscillator to ensure they occur strictly within overbought or oversold territories.
3. Dynamic Trend Filtering (EMA Ribbon): Implements a flexible Exponential Moving Average (EMA) matrix (defaulting to 9, 20, 50, 100, and 200 periods).
How the Components Work Together
The system is built on a "Filter, Trigger, Structure" synergy:
* The Filter (EMA): The 200 EMA and 50 EMA act as the ultimate trend filters. Traders should prioritize bullish structural breakouts when price is trading above these moving averages and bearish breakouts when below.
* The Structure (Banksters Levels): Defines the exact execution zones. An impulse break through a level shows market intent, while a subsequent retest provides an optimal risk-to-reward entry point.
* The Trigger (MFI Divergence): When a price retests a key structural level, an accompanying MFI bullish or bearish divergence serves as the ultimate exhaustion trigger, confirming that institutional order flow is defending the level.
Interface Customization
To ensure a clean charts workflow, the user interface features master toggles to completely enable or disable individual modules. All styling properties (colors, line widths, and plot shapes) have been offloaded to the native PulseWire "Style" tab for seamless visual customization.
---
Описание на русском языке / Russian Description
Banksters Workspace — это комплексный инструмент, объединяющий три независимые торговые методики для определения институциональных уровней, импульсных пробоев и зон истощения тренда.
Indicator

Schrodinger Zone Probability [JOAT]SCHRÖDINGER ZONE PROBABILITY
The most quantitatively ambitious indicator in the JOAT suite. Detects Fair Value Gaps and Order Blocks the way a serious SMC engine should — and then, before they are touched, treats each one as a superposition zone with two simultaneous probabilities: P_S (the probability it will act as Support when revisited) and P_R (the probability it will act as Resistance). The two probabilities sum to one. The zone exists in a superposition of both states until price actually touches it; at that moment the wavefunction collapses to a single classical state — S or R — driven by the bars-after-touch confirmation logic. Then the script tags the zone with the committed direction and archives the collapse.
Detection — FVGs and OBs done properly
Two independent zone types feed the superposition engine:
Fair Value Gaps — the standard 3-candle imbalance definition, ATR-filtered (minimum gap = configurable × ATR, default 0.30×) so only meaningful gaps qualify. Bull and bear FVGs both detected.
Order Blocks — three methods exposed:
Last Opposite — latest opposite-color candle before displacement.
Extreme Opposite — most extreme (lowest low / highest high) candle in the walk-back window.
Strict Volume — Last Opposite filtered by volume above MA.
Displacement (the move that creates the zone) requires a body of displacement ATR multiple × ATR (default 1.20×). A configurable walk-back window controls how far back to search for the OB origin. Configurable mitigation rule (Wick = any pierce, Close = bar must close beyond).
The headline math — three-factor superposition probability
The collapse probabilities P_S / P_R are computed as a weighted blend of three orthogonal factors:
Distance factor — distance from current price to the zone, decayed exponentially with a configurable half-life in ATR units (default 2.0 ATR). Closer zones have higher commit probability.
Direction factor — which side of the zone current price is on. Above the zone leans the read toward Support collapse; below leans toward Resistance.
Flow factor — EMA-slope alignment over a configurable flow window (default 20 bars). Bullish flow biases toward Support; bearish flow biases toward Resistance.
Each factor's weight is independently tunable. Defaults (0.45 distance / 0.30 direction / 0.25 flow) are the script's institutional calibration. The output is two probabilities that sum to 1.
A zone with P_S ≈ P_R ≈ 0.5 is in pure superposition — the model is genuinely undecided. A zone with P_S = 0.85 / P_R = 0.15 is in a state nearly committed to Support; the wavefunction has already partly collapsed.
Wavefunction collapse — the engine's headline event
When price enters the zone within a configurable touch tolerance (default 0.05 × ATR slack) and holds inside for the configurable holdBars window (default 3 bars), the zone collapses to a single classical state:
Collapse to S — price bounced; the zone acted as Support. Marker prints "(+)→S" at the centroid.
Collapse to R — price was rejected from the other side; the zone acted as Resistance. Marker prints "(+)→R".
A configurable connector line is drawn at the committed level. Collapsed zones are optionally archived (default ON) so the chart shows the full history of how superpositions resolved.
Visual system — superposition rendering
Vertical gradient fill — each zone is rendered as a stack of N sub-boxes (configurable, default 8 slices) with progressive transparency, creating a vertical gradient that visually communicates "high probability of support at the bottom of the zone, high probability of resistance at the top". This is the script's signature visual.
Glow border — configurable glow intensity; becomes thicker when uncertainty is high (P_S ≈ P_R).
Animated superposition pulse — for zones in pure superposition (P ≈ 0.5), transparency oscillates with bar_index to indicate undecided state. Configurable period and amplitude.
Probability labels — P_S / P_R values printed on each active zone.
Zone type tags — FVG_BU, FVG_BE, OB_BU, OB_BE so origin is unambiguous.
Collapse markers — fancy glyphs (+)→S / (+)→R or plain S / R, configurable.
Show-only-superposition mode — hide collapsed and archived zones for a minimalist view.
Right extension — zones project a configurable number of bars to the right.
A locked institutional palette (cyan-teal bull / magenta bear) gives the chart a distinctive quantum-finance identity.
Dashboard
Monospaced table positionable to any of nine corners. Surfaces:
Active superposition zone count and archived count.
Nearest zone with its P_S / P_R values and distance.
Last collapse direction with bars-ago.
Current flow direction.
Detection thresholds and weights in use.
Mitigation rule.
Alerts
Multiple alert conditions:
New Superposition Zone Created (FVG or OB)
Collapse to Support
Collapse to Resistance
Approaching Zone (within collapse-touch tolerance)
High-Uncertainty Zone formed (P_S ≈ P_R ≈ 0.5)
How to read it
Three reads, in order of conviction:
Collapse alert with extreme one-sided probability — e.g. a zone with P_S = 0.85 collapses to S. The model was confidently pointing at one outcome, and the market confirmed it. The highest-conviction confluence read the script produces.
Approaching a zone with sharp probability bias — when P_S or P_R is dominant before touch, the model is committed to one direction. Position toward the dominant side; if the collapse confirms, you are in early.
High-uncertainty zone (P ≈ 0.5) — stand-aside signal. The model is genuinely undecided; trade only with strong external confluence (HTF structure, news flow) or skip the zone entirely.
Suggested settings
Defaults (FVG ATR 0.30×, displacement 1.20×, OB Last-Opposite, 15-bar walk-back, weights 0.45 / 0.30 / 0.25, half-life 2.0 ATR, 3-bar hold) are tuned for 15m–4H on liquid markets. For lower timeframes drop displacement to 1.0× and hold to 2. For HTF raise FVG ATR to 0.50× to keep only large gaps. The weights are calibrated together — change one and the others rebalance the probabilities; experimenting with the weights is a legitimate way to specialise the script to your instrument.
Originality
The implementation — the dual-source zone detector (FVG + OB) with three OB methods, the three-factor probability blend (distance / direction / flow) with independent weights, the exponential ATR-halflife distance decay, the touch-with-hold collapse-confirmation state machine, the vertical-gradient zone render using N stacked sub-boxes, the uncertainty-modulated glow border, the animated superposition pulse for high-uncertainty zones, the archive-on-collapse logic, and the dashboard's probability-aware layout — is JOAT-original. No third-party code reused. The Schrödinger framing (superposition → collapse) is the original conceptual contribution; the math is purpose-built.
Limitations
The "probability" output is a heuristic blend of three factors that historically correlate with which side a zone acts as — it is a ranked confidence, not a true Bayesian posterior. The factor weights are exposed precisely because no single weighting is universally correct. The collapse confirmation requires the holdBars window to elapse, so collapse markers lag the actual touch by that window (intentional — single-bar pierces should not commit a zone). The animated pulse for high-uncertainty zones is purely visual.
-made with passion by jackofalltrades
Indicator

Hidden Liquidity Profile [Alpha Extract]A sophisticated liquidity-mapping and support/resistance profiling framework that analyzes historical candle structure, volume, wick behaviour, and price distribution to identify hidden supply and demand zones across the chart. Hidden Liquidity Profile is designed to reveal where meaningful liquidity may be concentrated by separating sell-side and buy-side pressure into price bins, then projecting those zones forward as heat boxes, horizon lines, key price tags, and a real-time support/resistance dashboard.
Rather than relying on simple pivot highs and lows, the system evaluates how volume interacted with candle ranges, upper wicks, lower wicks, candle bodies, and recency weighting. This creates a dynamic liquidity profile that highlights where price may encounter resistance, support, absorption, or reaction zones.
🔶 Hidden Liquidity Profiling Engine
Builds separate supply and demand profiles across the selected lookback range. The system divides price into configurable bins, then distributes liquidity strength into those bins based on volume, candle range, wick size, body size, and age decay.
energy = vol * rng * decay
sellStrength = energy * (upWick * wickWeight + body * bodyWeight * sellBias)
buyStrength = energy * (dnWick * wickWeight + body * bodyWeight * buyBias)
This allows the indicator to estimate where sell liquidity and buy liquidity are most likely concentrated rather than only marking obvious visible highs and lows.
🔶 Supply & Demand Separation
The profile separates upper-wick and lower-wick pressure into two distinct liquidity maps.
Upper wick activity contributes to the supply profile, helping identify areas where sellers may have previously absorbed price movement. Lower wick activity contributes to the demand profile, helping identify zones where buyers may have previously defended price.
This separation gives traders a clearer view of whether nearby levels are more likely to behave as resistance, support, or balanced liquidity.
🔶 Age-Weighted Liquidity Decay
Applies a recency decay model so newer candles have stronger influence than older candles. This keeps the profile focused on liquidity that is more relevant to the current market environment while still preserving broader historical context.
The Age Decay Power setting controls how aggressively older liquidity fades. Higher values emphasize recent price action more strongly, while lower values retain more historical structure.
🔶 Price Bin Distribution System
Divides the analyzed price range into configurable price bins and assigns liquidity strength into each level. The Price Bins setting controls the resolution of the profile.
More bins create a finer, more detailed liquidity map. Fewer bins create a smoother, broader view of major supply and demand areas.
🔶 Distribution Radius Smoothing
Uses a configurable distribution radius to spread liquidity strength around nearby bins. This prevents the profile from becoming too fragmented and helps form smoother liquidity clusters.
This is especially useful on volatile assets where important liquidity zones often form across small ranges rather than at one exact tick.
🔶 Liquidity Heat Box Visualization
Displays supply and demand as horizontal heat boxes projected to the right side of the chart.
Supply liquidity is shown on the sell side using the selected sell color, while demand liquidity is shown on the buy side using the selected buy color. Wider and brighter boxes represent stronger normalized liquidity at that price level.
This creates a visual depth-style map that helps traders quickly identify where meaningful liquidity may be stacked above and below current price.
🔶 Forward Horizon Lines
Projects stronger liquidity levels forward using horizontal lines. These lines act as future reference zones where price may react, pause, reject, or accelerate through.
The Line Trigger setting controls how strong a liquidity level must be before it is projected. The Line Width Scale setting adjusts how visually dominant stronger levels appear.
🔶 Key Level Detection Framework
Identifies the strongest supply and demand levels from the profile and labels them directly on the chart.
The system can prioritize local peaks, helping avoid overcrowding and ensuring that selected levels represent distinct liquidity clusters rather than multiple nearby bins from the same zone.
This scoring model favors levels with strong dominant liquidity while still accounting for total combined activity.
🔶 Supply HVN & Demand HVN Labels
Marks high-volume liquidity nodes as Supply HVN or Demand HVN depending on which side of the profile dominates at that price.
Each label includes the level type, normalized strength percentage, and exact price. This allows traders to quickly identify the most important liquidity levels without manually reading the full heat map.
🔶 Nearest Support & Resistance Logic
Calculates the most relevant resistance above price and support below price using both liquidity strength and distance from current price.
Levels closer to current price receive more practical importance, while still needing enough liquidity strength to qualify. This helps the dashboard focus on actionable nearby zones instead of simply displaying the strongest level anywhere in the lookback range.
🔶 Aura Point Of Control
Identifies the strongest combined liquidity level across the profile. This Aura POC represents the price zone with the highest combined supply and demand activity.
The POC can act as a major reference point for balance, rotation, acceptance, rejection, or future retests.
🔶 Liquidity Pressure Balance
Compares total normalized demand against total normalized supply to estimate the broader pressure bias across the analyzed range.
When demand is meaningfully stronger, the dashboard shows a demand bias. When supply dominates, it shows a supply bias. When the two sides are close, the market is classified as balanced.
🔶 Real-Time S/R Dashboard
Includes a compact dashboard showing the most important liquidity information directly on the chart:
• Nearest resistance level
• Nearest support level
• Aura POC
• Supply, demand, or balanced pressure
• Active liquidity level count
• Current ticker reference
This gives traders a quick summary of where the strongest nearby reaction zones are and whether the broader liquidity profile is tilted toward supply or demand.
🔶 Customizable Visual Controls
Provides flexible display controls for heat boxes, horizon lines, key level tags, dotted key level lines, and the dashboard.
Traders can adjust the number of analyzed bars, price bin resolution, liquidity smoothing, projection distance, box width, line width, and trigger thresholds to match different assets and timeframes.
🔶 Clean Overlay Design
The full liquidity map is displayed directly on price without requiring a separate oscillator pane. Heat boxes appear to the right of the chart, while key levels and labels extend across the active lookback area.
This keeps the chart readable while still providing a detailed view of hidden supply and demand structure.
🔶 Why Choose Hidden Liquidity Profile ?
Hidden Liquidity Profile provides a more advanced way to identify potential support, resistance, and liquidity reaction zones by analyzing volume-weighted candle structure across the full price range. Instead of marking only visible swing highs and lows, it evaluates where supply and demand pressure may be concentrated based on wick behaviour, candle body participation, volume energy, and recency-weighted price distribution.
The heat boxes reveal liquidity density, the horizon lines project important levels forward, the HVN labels highlight the strongest zones, and the dashboard summarizes nearest support, resistance, POC, and pressure bias in real time.
Perfect for liquidity traders, support/resistance traders, intraday traders, swing traders, and market structure analysts who want a cleaner way to visualize hidden supply and demand zones directly on the chart. Indicator

RSI Trendlines and Divergences with alertsRSI TRENDLINES AND DIVERGENCES
OVERVIEW
An all-in-one RSI toolkit that combines four independent analytical layers in a single indicator: automatic trendlines drawn on the RSI itself, automatic support/resistance trendlines on price, classic pivot-based RSI divergence, and a separate regression-based divergence engine. Instead of stacking several scripts, you get a coordinated set of momentum and structure tools that can confirm one another.
WHAT IT DOES
1. RSI Trendlines (oscillator pane)
Detects pivot highs and pivot lows directly on the RSI line and connects consecutive pivots into dynamic trendlines. Descending lines off RSI peaks act as momentum resistance; ascending lines off RSI troughs act as momentum support. A tolerance band (in RSI points) is drawn around each line and filled, and a break is only flagged when RSI crosses the line beyond that tolerance — which filters out noise. Counter-direction lines (for example, a rising line off highs) are automatically discarded, so only meaningful trendlines stay on the pane.
2. Price Trendlines (main chart)
The same pivot-to-pivot logic applied to price highs and lows, drawn as support and resistance lines directly on the price chart. Breaks use a percentage-based tolerance to reduce false signals, and optional up/down triangle labels mark confirmed breakouts.
3. Pivot Divergence
Classic regular divergence between price and RSI. A lower low in price against a higher low in RSI marks bullish divergence; a higher high in price against a lower high in RSI marks bearish divergence. Detection is limited to a recent window so stale readings are ignored, and results are shown as connecting lines and Bull/Bear labels on the RSI.
4. Regression Divergence (independent method)
A separate, math-driven divergence engine that fits a least-squares linear regression to both RSI and price over a configurable window. When the two regressions slope in opposite directions, and the move clears a minimum magnitude filter, a regression divergence is flagged with lines on both the RSI and the price, plus optional labels. Because it does not rely on pivots, it often catches divergences the pivot method misses, and vice versa.
SETTINGS
- RSI Settings: RSI length, signal SMA length, and source.
- Pivot Settings (Trend): left/right pivot bars, line extension after the 2nd pivot, break tolerance, and max trendlines per type. All lines share PulseWire's 500-line budget, so the trendline and regression limits are balanced against each other.
- Price Trendline Settings: independent pivot bars, extension, and a percentage-based break tolerance.
- Divergence Settings: enable/disable plus pivot length for the classic method.
- Regression Divergence: window length, minimum RSI slope, line and label toggles, number of stored line pairs, and colors.
- Style Settings: full color and transparency control for every element on both the RSI pane and the price chart.
ALERTS
Ready-made alert conditions for: bullish and bearish pivot divergence, upper and lower RSI trendline breaks, price resistance and support breaks, and regression bullish and bearish divergence.
HOW TO USE
Use the trendline breaks to time momentum shifts, the price trendlines for structural support and resistance, and treat agreement between the two divergence engines as stronger confluence. Combine these signals with your own market-structure and trend context — the tools highlight conditions, they are not standalone buy or sell calls.
CREDITS
Built on the RSI trendline concept by Uncle_the_shooter. The regression-divergence module is adapted from faytterro's "RSI Divergence." Thanks to both authors.
This script is for educational and informational purposes only and is not financial advice. Test on your own data and always manage risk.
Indicator

Buyer Control / CVD + Volume Divergence Score v6 (CPeletz)This Pine script is beautiful. The ultimate **buyer/seller control warning system**. It does not predict the future by itself. It watches whether price, volume, and CVD-style buying pressure are agreeing or starting to split apart.
The simple version:
> **Red line = buyers may be losing control.**
> **Green line = sellers may be getting exhausted.**
> **Blue line = price and CVD are agreeing or disagreeing.**
> **Bear Div / Bull Div markers = possible reversal warnings.**
## 1. It builds a fake/proxy CVD
True CVD uses real market buys vs market sells. PulseWire usually does not give that on normal candles, so your script estimates it.
It does this:
```pinescript
if close > open
signedVol = volume
else if close < open
signedVol = -volume
else
signedVol = 0
```
So:
* Green candle = count volume as buying pressure
* Red candle = count volume as selling pressure
* Then it adds that up over time with `ta.cum()`
That creates:
```pinescript
cvd = ta.cum(signedVol)
```
So your CVD line is basically:
> “Is volume building more on green candles or red candles?”
It is not perfect order flow, but it is useful for spotting pressure shifts.
## 2. It smooths the CVD
Then it smooths CVD with an EMA:
```pinescript
cvdSmooth = ta.ema(cvd, 5)
```
This makes it less noisy so the script does not overreact to every candle.
## 3. It calculates price slope and CVD slope
This is one of the most important parts.
```pinescript
priceSlope = ta.linreg(close, slopeLen, 0) - ta.linreg(close, slopeLen, 1)
cvdSlope = ta.linreg(cvdSmooth, slopeLen, 0) - ta.linreg(cvdSmooth, slopeLen, 1)
```
In plain English:
* Is price trending up or down?
* Is CVD trending up or down?
The dangerous setup is:
> **Price slope up, CVD slope down.**
That means price is rising, but buying pressure is fading.
That is buyer exhaustion.
## 4. It calculates price/CVD correlation
```pinescript
corrCvd = ta.correlation(ta.change(close), cvdDelta, corrLen)
```
This checks whether price movement and CVD movement agree.
Correlation ranges from:
* **+1.00** = price and CVD strongly agree
* **0.00** = no clear relationship
* **-1.00** = price and CVD are moving opposite
Then your script converts it into a 0–100 visual score:
```pinescript
corrScore = (corrCvd + 1.0) * 50.0
```
So:
* **100** = very strong agreement
* **50** = neutral/choppy
* **0** = strong disagreement
This is your blue line.
If price is rising but the blue line is falling hard, the rally may be unhealthy.
## 5. It checks volume strength
```pinescript
volRatio = volume / averageVolume
```
This tells you whether current volume is strong or weak compared to normal.
Examples:
* **0.50x** = half normal volume
* **1.00x** = normal volume
* **2.00x** = double normal volume
A breakout on low volume is suspicious.
A dump on high volume is more serious.
## 6. It finds swing highs and swing lows
This part:
```pinescript
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
```
It detects local tops and bottoms.
If `pivotLen = 5`, the script waits for a swing high/low confirmed by 5 candles on each side.
That means the divergence markers appear late by design, because Pine needs confirmation.
## 7. It detects bearish divergence
Bearish divergence means:
> Price makes a higher high, but CVD or volume makes a lower high.
That tells you buyers pushed price higher, but the pressure behind the move was weaker.
The script checks:
```pinescript
currPH > prevPH and currPHCvd < prevPHCvd
```
That means:
* Current price high is higher than previous high
* But current CVD is lower than previous CVD
That creates a **Bear Div** marker.
Bear Div means:
> “Do not chase long. Buyers may be weakening.”
It does **not** mean instant short.
## 8. It detects bullish divergence
Bullish divergence means:
> Price makes a lower low, but CVD improves or sell volume weakens.
The script checks:
```pinescript
currPL < prevPL and currPLCvd > prevPLCvd
```
That means:
* Price made a lower low
* But CVD made a higher low
That creates a **Bull Div** marker.
Bull Div means:
> “Sellers may be weakening. Watch for reclaim.”
It does **not** mean instant buy.
## 9. It builds the Buyer Loss Score
This is the red line.
The script adds points when bearish warning signs appear.
### Buyer Loss gets +25 if:
```pinescript
priceSlope > 0 and cvdSlope < 0
```
Price is rising but CVD is falling.
That is a big warning.
### Buyer Loss gets +20 or +10 if:
```pinescript
corrCvd < 0
corrCvd < 0.25
```
Price and CVD are not agreeing.
### Buyer Loss gets +10 if:
```pinescript
close > close and volRatio < 0.80
```
Price is rising on weak volume.
### Buyer Loss gets +10 if:
```pinescript
rsi > 55 and rsiSlope < 0 and priceSlope > 0
```
Price is rising, RSI is above 55, but RSI is weakening.
### Buyer Loss gets +25 if:
```pinescript
recentBearDiv
```
A recent bearish divergence happened.
### Buyer Loss gets +10 if:
```pinescript
close < emaControl
```
Price is below the control EMA.
So the red line is basically saying:
> “How many buyer weakness signs are stacking together?”
## 10. It builds the Seller Exhaustion Score
This is the green line.
It adds points when sellers may be running out of pressure.
Seller Exhaustion rises when:
* Price is falling but CVD is rising
* Bullish divergence appears
* Price drops on weak volume
* RSI starts improving while price is still weak
* Price reclaims the EMA
So the green line tells you:
> “Are sellers weakening enough for a possible bounce?”
## How to trade it
### For longs
Good long environment:
* Buyer Loss under **40**
* Seller Exhaustion rising after a dump
* Bull Div appears
* Price reclaims EMA/VWAP/midline
* CVD/correlation improves
* Price makes a higher low
Bad long environment:
* Buyer Loss above **65**
* Bear Div appears
* Price below EMA/VWAP/midline
* Blue correlation line falling
* CVD not confirming price
## Main score meanings
| Score | Meaning |
| --------------------------- | ----------------------------- |
| **Buyer Loss 0–40** | Buyers okay |
| **Buyer Loss 40–65** | Buyers stalling / caution |
| **Buyer Loss 65+** | Buyers likely losing control |
| **Seller Exhaustion 0–40** | Sellers still okay |
| **Seller Exhaustion 40–65** | Sellers slowing |
| **Seller Exhaustion 65+** | Possible bottom/reclaim setup |
## Important limitation
Your script is not true CVD.
It is a **candle-direction CVD proxy**.
So it can help you see pressure changes, but you should always confirm with:
* price structure
* support/resistance
* VWAP or Bollinger basis
* BTC direction
* actual volume
* reclaim/failure candles
## The cleanest way to use it
For a top/reversal warning:
> **Bear Div + Buyer Loss over 65 + price breaks EMA/VWAP = buyers lost control.**
For a bottom/reclaim warning:
> **Bull Div + Seller Exhaustion rising + price reclaims EMA/VWAP = sellers may be losing control.**
The script’s job is not to tell you “buy now” or “sell now.”
Its job is to tell you:
> **Is the move healthy, or is pressure starting to diverge?**
Indicator

AlphaSpark Levels v6AlphaSpark Levels v6
Complete trading levels indicator with Volume Profile, VWAPs, Liquidity Swings, Previous Session H/L, and Gamma Exposure (GEX) Levels.
Features:
• Volume Profile (periodic + developing)
• VWAPs (Daily/Weekly/Monthly) with naked levels
• Liquidity Swings (15m, 4h, Daily, Weekly)
• Previous Session H/L (Daily, Weekly, Monthly) with labels
• GEX Levels (Gamma Flip, Call Wall, Put Wall, Highest OI, 0DTE Magnet)
• Dashboard widget with level summary
• Alerts for level crosses
How to use GEX Levels:
1. Join Discord for live GEX updates (link in comments)
2. Copy values from Discord posts
3. Paste into indicator inputs
4. Levels appear on chart automatically
Based on market maker hedging mechanics. Free for community members. Indicator

Indicator

Multi-Tilson MA[WR]Multi-Tilson MA with Crossover HL Gap (EN/KR)
The Multi-Horizon Tilson MA is a premium-grade trend intelligence engine designed to solve the ultimate dilemma of technical moving averages: The trade-off between lag and smoothness.
By processing price data through a 6-stage cascading exponential moving average, it delivers unmatched smoothness with almost zero lag compared to standard EMAs. This script supercharges the original T3 logic by stacking three distinct time horizons (Short, Mid, Long) and introduces a proprietary Crossover HL Gap system to map historical liquidity pivots.
🔑 Key Features
1. 6-Stage Tilson T3 Smoothing (Volume Factor = 0.7)
Unlike lagging standard moving averages, the T3 calculation employs Tim Tillson's rigorous mathematical dampening formula. It effectively filters out volatile market noise while reacting instantly to real structural trend shifts.
2. Triple Horizon Trend Matrix (Short / Mid / Long)
Plots 3 adaptive Fast/Slow T3 assemblies simultaneously.
Set 1 (Short-Term): Designed for immediate scalping momentum and micro-reversals.
Set 2 (Mid-Term): Tracks intra-day structural trends and swing entries.
Set 3 (Long-Term): Establishes the macro institutional trend bias (The Ultimate Guide).
3. Proprietary Crossover HL Gap (Historical S/R Blocks)
The indicator dynamically locks and prints the precise price levels whenever a T3 Fast/Slow crossover or crossunder occurs. It stretches this range forward as a colored horizontal channel, visualizing exactly where structural trend-changing decisions were finalized.
⚙️ Settings Guide & My Personal Setup
💡 Developer's Personal Setup: I engineered this multi-horizon layout for professional intraday trade execution. I personally use this on the Bitcoin (BTC) 3-minute chart for high-frequency scalping. I leave Short (Set 1) and Mid (Set 2) enabled to ride micro-trends, while using the ultra-heavy 480/640 Long (Set 3) cloud as my absolute baseline for macro institutional support/resistance.
T3 Display Options: Toggle Short, Mid, or Long sets individually to keep your chart canvas clean according to your trading style.
T3 HL Gap: Toggle this to reveal the exact historical price brackets where trend crossovers happened. These gaps act as highly reliable mitigation blocks and support/resistance flips when retested.
3중 틸슨 MA & 크로스오버 갭 시스템
📝 개요 (Description)
Multi-Horizon Tilson T3는 모든 이동평균선의 고질적인 한계인 '지연 시간(Lag)과 부드러움(Smoothness)의 모순'을 수학적으로 해결한 고성능 추세 추적 엔진입니다.
🌟 주요 기능 (Key Features)
1. 6단계 틸슨 T3 추세 필터링 (Volume Factor = 0.7 고정)
횡보 장세에서 캔들이 조금만 흔들려도 가짜 신호(휩소)를 연발하는 일반 이평선과 다릅니다. T3 알고리즘은 미세한 소음은 완벽하게 감쇠시키면서, 실제 추세가 터지는 순간에는 그 어떤 이평선보다 민첩하게 반응합니다.
2. 3중 시간 프레임 결합 (단기 / 중기 / 장기 매트릭스)
서로 다른 호흡을 가진 3쌍의 Fast/Slow T3 라인을 차트에 동시에 시각화합니다.
Set 1 (단기): 마이크로 파동의 흐름을 읽고 단기 스캘핑 진입 타점을 잡는 용도입니다.
Set 2 (중기): 당일 주도적인 스윙 추세의 기준점 및 트레일링 스탑의 기준이 됩니다.
Set 3 (장기): 시장의 거대한 기관급 대추세(Macro) 방향성을 정의하는 마스터 라인입니다.
3. 크로스오버 HL 갭 (추세 전환 매물대 블록)
Fast 라인과 Slow 라인이 골든크로스(Crossover) 혹은 데드크로스(Crossunder)를 일으키는 그 역사적인 순간의 가격 축을 지표가 기억하여 수평 밴드(HL Gap) 형태로 길게 뿌려줍니다. 추세의 성격이 바뀐 핵심 자리이기 때문에 향후 가격이 되돌아올 때 매우 강력한 지지/저항 역할을 합니다.
⚙️ 세팅 가이드 & 개발자 실전 활용법
💡 개발자 실전 팁: 저는 주로 비트코인(BTC) 3분봉 차트에서 단기 스캘핑(Scalping)을 진행할 때 이 지표를 기본 베이스로 깔아둡니다. 단기(Set 1)와 중기(Set 2) 클라우드의 색상 변화로 즉각적인 타점을 진입하고, 수치가 무거운 장기(Set 3, 480/640) 클라우드를 배수진 삼아 대추세 역추세 매매를 방지합니다.
T3 HL Gap 옵션 활성화: 평소 지지 저항 작도가 어려우신 분들은 이 옵션을 켜보세요. 이평선 교차가 일어났던 주요 매물대 구간이 차트에 자동으로 고정(Lock)되어 표시되므로, 기막힌 리테스트 반등 타점을 직관적으로 찾아낼 수 있습니다. Indicator

Indicator

Buy-Sell with Liquidity Breakout PRO using Volume Confluence# Liquidity Breakout PRO with Volume Confirmation — Swing Edition
A professional major swing breakout indicator designed to identify important liquidity breakout and breakdown zones using confirmed swing highs, confirmed swing lows, volume confluence, smart stop-loss modes, Fibonacci-based targets, and historical risk-reward boxes.
This indicator is built for traders who want cleaner breakout signals, structured trade planning, and visual performance review directly on the chart.
--------------------------------------------------
## What This Indicator Does
Liquidity Breakout PRO helps identify major breakout and breakdown opportunities after price crosses an important confirmed swing level.
Instead of reacting to every small move, this indicator focuses on major swing highs and swing lows. These levels often act as liquidity zones where stop orders, breakout traders, and institutional activity may become visible.
When price closes above a confirmed major swing high, the indicator marks a bullish breakout setup.
When price closes below a confirmed major swing low, the indicator marks a bearish breakdown setup.
Each confirmed signal comes with:
✅Entry level
✅Stop-loss level
✅Fibonacci-based target levels
✅Risk zone
✅Reward zone
✅Historical risk-reward box
✅Volume confirmation
✅Dashboard panel
--------------------------------------------------
## Core Concept
Markets often move from one liquidity zone to another.
A major swing high usually represents an area where sellers previously defended price. When price closes above that area with volume confirmation, it may suggest breakout strength.
A major swing low usually represents an area where buyers previously defended price. When price closes below that area with volume confirmation, it may suggest breakdown weakness.
This indicator is designed around that simple idea:
✅Identify major liquidity level
✅Wait for confirmed close beyond that level
✅Check volume confluence
✅Plot entry, stop loss, and Fibonacci targets
✅Keep the setup on chart for future performance review
--------------------------------------------------
## Key Features
📊 1. Major Swing Detection
The indicator uses confirmed pivot highs and pivot lows to identify important swing levels.
These are not random support and resistance lines. They are confirmed swing points based on user-defined left and right pivot strength.
This helps reduce noise and focuses only on important market structure level s.
--------------------------------------------------
📊 2. Non-Repainting Logic
Signals are generated only after candle close.
The indicator uses confirmed pivot levels and candle-close breakout confirmation. This means signals are not designed to appear and disappear during live candle movement.
Important note: pivot-based swing levels naturally confirm after the selected right-side candles are completed. This delay helps improve swing reliability and reduces false signals.
--------------------------------------------------
📊 3. Volume Confluence
Breakout signals become stronger when supported by volume.
The indicator includes a volume filter that checks whether current volume is greater than the average volume multiplied by the selected volume multiplier.
This helps avoid weak breakout attempts where price crosses a level without strong participation.
--------------------------------------------------
📊 4. ATR Breakout Buffer
Many breakouts fail because price barely crosses a level and then quickly reverses.
To reduce such weak signals, the indicator includes an optional ATR-based breakout buffer.
This means price must close beyond the swing level with a minimum volatility-adjusted distance before a signal is generated.
--------------------------------------------------
📊 5. Multiple Stop-Loss Modes
Different traders use different stop-loss styles, so this indicator provides multiple SL calculation modes.
Available stop-loss modes:
✅Previous Candle
✅ATR
✅Major Swing Level
✅Breakout Candle
✅Previous Candle + ATR Buffer
This gives flexibility for intraday traders, swing traders, and positional traders.
--------------------------------------------------
## Stop-Loss Modes Explained
📊 Previous Candle
For a buy breakout, stop loss is placed below the previous candle low.
For a sell breakdown, stop loss is placed above the previous candle high.
This is useful for traders who prefer tighter and structure-based stop losses.
--------------------------------------------------
📊 ATR
For a buy breakout, stop loss is calculated below entry using ATR.
For a sell breakdown, stop loss is calculated above entry using ATR.
This is useful for traders who want volatility-adjusted stop losses.
--------------------------------------------------
📊Major Swing Level
For a buy breakout, stop loss is placed near the last confirmed major swing low.
For a sell breakdown, stop loss is placed near the last confirmed major swing high.
This is useful for traders who prefer wider structure-based stops.
--------------------------------------------------
📊 Breakout Candle
For a buy breakout, stop loss is placed below the breakout candle low.
For a sell breakdown, stop loss is placed above the breakout candle high.
This is useful when traders want the breakout candle itself to define risk.
--------------------------------------------------
📊 Previous Candle + ATR Buffer
This mode uses the previous candle high or low with an added ATR cushion.
For a buy breakout, stop loss is placed below the previous candle low with ATR buffer.
For a sell breakdown, stop loss is placed above the previous candle high with ATR buffer.
This is a balanced stop-loss method because it gives slightly more breathing room than a pure previous candle stop.
--------------------------------------------------
##Separate Fibonacci Target Calculation
One important feature of this indicator is that Fibonacci targets are calculated separately from stop loss.
This means if stop loss becomes wider, targets do not automatically become wider.
Targets are based on a separate target range calculation, not on risk distance.
This avoids unrealistic target expansion when using wide stop-loss methods.
--------------------------------------------------
## Fibonacci Target Base Options
The indicator provides different target base modes:
✅Major Swing Range
✅Breakout Candle Range
✅ATR Range
📊Major Swing Range
Targets are calculated using the range between the latest major swing high and major swing low.
This is suitable for swing trading and higher timeframes.
📊Breakout Candle Range
Targets are calculated using the breakout candle range.
This is useful for intraday traders who want more practical and closer targets.
📊 ATR Range
Targets are calculated using ATR.
This gives volatility-adjusted target levels.
--------------------------------------------------
## Risk-Reward Boxes
Every confirmed signal plots a visual risk-reward structure on the chart.
✅The red box shows the risk zone.
✅The green box shows the reward zone.
✅Fibonacci target zones are displayed visually so traders can instantly understand where TP1, TP2, and TP3 are placed.
Historical boxes can remain on the chart, allowing traders to review past signal performance visually. Those who dont want any noise on the chart can opt out from historical boxes in the Settings menu.
This helps users observe:
✅Which signals reached target
✅Which signals hit stop loss
✅How price reacted after breakout
✅How often TP1, TP2, or TP3 was reached
✅Whether breakout continuation was strong or weak
--------------------------------------------------
## Visual Features
This indicator includes multiple visual enhancements:
✅Premium color themes
✅Risk-reward box styles
✅Layered Fibonacci target zones
✅Signal candle highlight
✅Breakout background flash
✅Signal glow effect
✅Custom line styles
✅Dashboard panel
✅Historical setup plotting
These features are designed to make the chart more readable, more professional, and easier to analyze.
--------------------------------------------------
## Best Default Settings
For a balanced setup:
Pivot Left Strength: 20
Pivot Right Strength: 20
ATR Breakout Buffer: ON
ATR Buffer Multiplier: 0.15
Volume Confluence: ON
Volume Multiplier: 1.3
Stop Loss Mode: Previous Candle + ATR Buffer
SL Buffer ATR Multiplier: 0.20
Fibonacci Target Base: Major Swing Range
Targets: 1.0 / 1.618 / 2.618
Keep Previous Target/SL Boxes: ON
--------------------------------------------------
## Suggested Intraday Settings
For 15-minute or lower timeframes:
Pivot Left Strength: 10
Pivot Right Strength: 10
ATR Breakout Buffer: 0.10
Volume Multiplier: 1.2
Stop Loss Mode: Previous Candle or Previous Candle + ATR Buffer
Fibonacci Target Base: Breakout Candle Range
Risk-Reward Box Extension: 20–25 bars
--------------------------------------------------
## Suggested Swing Trading Settings
For 1H, 4H, or daily charts:
Pivot Left Strength: 20–30
Pivot Right Strength: 20–30
ATR Breakout Buffer: 0.15–0.30
Volume Multiplier: 1.3–1.5
Stop Loss Mode: Previous Candle + ATR Buffer or Major Swing Level
Fibonacci Target Base: Major Swing Range
Risk-Reward Box Extension: 25–40 bars
--------------------------------------------------
## How To Use
1. Wait for a major swing high or swing low to form.
2. Let price break and close beyond the swing level.
3. Check whether the signal is volume confirmed.
4. Observe the plotted entry, stop loss, and Fibonacci targets.
5. Use the risk-reward box to understand the trade structure.
6. Avoid taking signals directly into strong nearby support or resistance.
7. Use higher timeframe trend direction for stronger confirmation.
--------------------------------------------------
## Bullish Signal
A bullish breakout signal appears when price closes above a confirmed major swing high with required confluence.
This suggests that buyers may be taking control above a previous liquidity zone.
--------------------------------------------------
## Bearish Signal
A bearish breakdown signal appears when price closes below a confirmed major swing low with required confluence.
This suggests that sellers may be taking control below a previous liquidity zone.
--------------------------------------------------
## Best Use Cases
📊Breakout trading
📊Liquidity breakout analysis
📊Market structure trading
📊Swing high and swing low breakout setups
📊Intraday breakout confirmation
📊Multi-timeframe analysis
📊Risk-reward planning
--------------------------------------------------
⚠️ Important Notes
⚠️ No indicator can predict the market with certainty.
⚠️ This tool is designed to help with structure, confirmation, and visual trade planning.
⚠️ Always combine signals with market context, higher timeframe direction, support and resistance, risk management, and your own trading plan.
⚠️ Avoid using any breakout signal blindly. This indicator itself suggests that using Stoploss is more important than Targets. Always use stoploss to protect the capital.
--------------------------------------------------
Trading Rules & Best Practices
✅ When to Use This Indicator
Trend-Following Setups: Use on trending charts where swing levels have clear structure
Breakout Trading: Ideal for breakout traders targeting support/resistance breaks
Range Identification: Works well when price oscillates between major highs/lows
Multi-Timeframe Analysis: Use higher timeframes (4H, 1D) to identify major swings for entry on lower timeframes
⚠️ When NOT to Use
Choppy/Ranging Markets: In sideways markets, many false breakouts may occur
Low Liquidity Assets: Volume filter may never trigger; consider disabling it
Highly Volatile Instruments: Increase ATR buffer multiplier to reduce noise
--------------------------------------------------
## Risk Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice, investment advice, or guaranteed trading signals.
Trading and investing involve risk. Always use proper risk management and do your own analysis before taking any trade.
--------------------------------------------------
Test it on different timeframes and comment which SL mode works best for your trading style.
Feedback and improvement suggestions are welcome. Indicator

SMT w AlertsThis script is a Smart Money Tool (SMT) Divergence Indicator written in PulseWire's Pine Script v6. It automatically detects and visualizes instances where highly correlated assets (like NQ, ES, and YM) fall out of sync at major price swings.
Here is a breakdown of how the script works and its key features:
1. Core Logic (Pivot Tracking)
The script uses ta.pivothigh and ta.pivotlow to identify swing highs and swing lows on your main chart based on a window of bars (default 3 bars left and right). It remembers the most recent pivot and the one right before it so it can compare the two.
2. Dual-Symbol Comparison
When a pivot is confirmed on your main chart, the script immediately looks at the price action of two comparison symbols (e.g., MNQ and MES) at that exact same time.
Tolerance Window: Because assets like NQ and ES don't always peak on the exact same 1-minute or 5-minute candle, the script includes a "Comparison Tolerance" input. It looks a few bars before and after the pivot on the comparison symbols to find their true peak/valley.
3. Divergence Detection
The script compares the slope of the pivots on your chart against the comparison symbols:
Bearish SMT (Highs): If your chart makes a Higher High, but the comparison symbol makes a Lower High (or vice versa). This indicates underlying weakness in the buying pressure.
Bullish SMT (Lows): If your chart makes a Lower Low, but the comparison symbol makes a Higher Low (or vice versa). This indicates underlying strength in the selling absorption.
It checks both comparison symbols simultaneously — if an SMT forms against either of them, it triggers the signal.
4. Visuals & Aesthetics
The SMT Bracket: When an SMT is detected, it draws a clean bracket (or "bridge") connecting the two diverging pivots. It draws horizontal tick marks at the pivots, vertical lines extending outward, and a horizontal bridge connecting them with a small "SMT" label. The bracket dynamically sizes itself using ATR (Average True Range).
Unused Pivots: Pivots that do not result in an SMT divergence are optionally connected with subtle grey dashed lines so you can see the market structure.
Bar Coloring: The candle where the SMT is officially confirmed is highlighted with a subtle background color.
5. Dashboard & Alerts
Dashboard: A clean table in the top right corner tracks how many Bearish and Bullish SMTs have occurred on the chart, and how many bars ago the most recent one fired.
Alerts: The script exposes alert conditions (alertcondition) that you can hook into PulseWire's alert system to receive notifications when a Bullish or Bearish SMT forms. Indicator

Indicator

Indicator

Adaptive Smart Money Liquidity Sweep Levels [AlgoAlpha]🟠 OVERVIEW
Adaptive Smart Money Liquidity Levels tracks liquidity resting above and below price by detecting swing highs and lows across multiple lookback periods. Instead of displaying every historical level equally, it stores active liquidity zones, updates them over time, and removes them once price mitigates them.
The indicator also estimates the amount of liquidity accumulated around nearby levels using traded volume. This information is displayed through level opacity, a near-range liquidity balance chart, and an orderbook-style liquidity depth profile to provide context around where liquidity is concentrated.
🟠 CONCEPTS
Liquidity Level — Swing highs and swing lows detected from fast, medium, and slow lookback windows. Nearby levels are merged together to reduce duplicate levels. These levels are used to estimate the location of stop-loss orders, and volume + candle direction are used to estimate the buying/selling (and thus concentration of stop-loss orders) to determine the magnitude of orders at these levels.
Liquidity Depth — Volume is assigned to the nearest active liquidity levels based on candle direction and configurable distance weighting. The accumulated volume forms a depth profile around current price.
Mass Liquidation — Triggered when a candle body moves through two or more active liquidity levels on the same side, indicating multiple liquidity pools were cleared within a single move.
Stop-runs and Liquidity Dynamics — This script takes advantage of the concept of resting limit orders, and resting stop-loss orders. When a bar wicks a liquidity level instead of strongly trading through it, it implies a stronger amount of opposing pressure from both limit and market-orders than the pressure coming from clustered stop-losses, preventing a stop run and signalling a higher chance of that level holding and potentially a rebound. In simple terms, this indicator can be used as part of ICT and Smart Monet Concepts to help better understand a real liquidity sweep (marked by ▲▼) vs liquidation events (marked by highlighted candles) as both events usually require vastly different actions to capitalize on correctly.
🟠 FEATURES
Adaptive Liquidity Levels . Displays the nearest active liquidity above and below price.
• Level opacity increases as more volume accumulates.
• Levels automatically disappear after mitigation or when they exceed the selected maximum age.
• Levels represent accumulating stop loss orders as more trades occur (using volume and candle direction to estimate market orders)
Near Range Liquidity Balance . Shows the relative liquidity accumulated of the 3 nearest levels above and below current price using a two-column comparison chart.
Liquidity Depth Curve . Draws an orderbook-style cumulative depth profile beside price to visualize how liquidity builds further away from the current market.
Liquidation And Sweep Signals . Highlights candles that clear multiple liquidity levels and marks wick-only liquidity sweeps with directional markers.
🟠 HOW TO USE
Monitor liquidation labels and wick sweep markers to distinguish between full liquidity removals and liquidity that was only briefly tested. Liquidity removals imply weak levels while those that were wicked imply strong concentration of limit orders, useful for planning where to place stop losses or to time trade entries.
Watch the nearest liquidity levels to identify where resting liquidity is currently concentrated around price.
Compare the Near Range Liquidity Balance to see whether more liquidity is currently stacked above or below the market.
Use the Liquidity Depth Curve to estimate how liquidity changes as price moves further away from its current location.
🟠 CONCLUSION
Adaptive Smart Money Liquidity Levels combines multi-scale liquidity detection, volume-weighted liquidity accumulation, and mitigation tracking into a single view. By displaying active liquidity, nearby liquidity balance, and cumulative liquidity depth together, it provides additional context for where price is interacting with resting stop orders and how that structure changes over time. A key detail to note is that this script estimates the position and concentration of orders with proxies like swing levels and volume, and that the levels represent stop-loss orders, not limit orders. Indicator

Strategy

Fractal Dimension Index [JOAT]FRACTAL DIMENSION INDEX
A proper Higuchi-method Fractal Dimension Index that tells you whether the market is currently trending (D approaches 1.0 — a smooth, linear path), chopping (D approaches 2.0 — a noisy, plane-filling random walk), or somewhere in between. Unlike volatility, FDI does not care about how much price moved — it cares about how convoluted the path was getting there . That makes it the single cleanest regime-classification number in technical analysis.
What FDI measures
The fractal dimension of a curve is a number between 1.0 (a perfect line) and 2.0 (a curve dense enough to fill a plane). For price series:
D ≈ 1.0–1.4 — the price path is close to a straight line. The market is trending; momentum tools work, reversion tools don't.
D ≈ 1.4–1.6 — the path is in a transitional regime. Use neutral tools.
D ≈ 1.6–2.0 — the path is chaotic and self-intersecting. The market is chopping; reversion tools work, momentum tools whipsaw.
The Higuchi-paper canonical thresholds are 1.4 (trend) and 1.6 (chop); both are configurable.
Higuchi algorithm — done properly
The implementation is the standard Higuchi method:
For each k from 1 to k_max (configurable, default 8), compute the average curve length L(k) across k starting offsets, normalised by the window length N.
Build the k_max pairs (log k, −log L(k)) .
Fit a least-squares line through those pairs; the slope is the fractal dimension D .
Apply optional EMA smoothing (configurable, default 5 bars) to suppress per-bar jitter.
A minimum-valid-pairs guard (default 3) prevents D from being computed when too few (k, L) pairs are finite, and a warmup-bars gate (default 50) prevents wild D values on sparse early data.
Regime classification with hysteresis
Raw D is mapped to one of three regimes — Trending / Random / Chop — using the two-threshold scheme. Two extra alert thresholds ( Extreme Trend D < 1.30 and Extreme Chop D > 1.70) flag the high-conviction tail cases.
Visual system
Background tint by regime — pastel mint for trend, coral for chop, cream for random. Transparency configurable (default 88, institutional-subtle).
Regime-change markers — tiny up/down/circle glyphs above price at every confirmed flip.
Optional candle tinting by regime (off by default to preserve user's chart style).
Optional D-line companion — when enabled, the smoothed D is plotted as a series. Because the script is overlay, pin the line to its own scale (right-click → Pin to scale → No Scale). For a true sub-pane, add the indicator a second time and drag that instance into a new pane.
Right-side floating label — anchored N bars right of the live close showing current D and a regime glyph. Configurable size, offset, regime text.
Optional reference horizontal lines at D = 1.4 / 1.5 / 1.6 when the D-line is shown.
A locked Pastel palette (mint trend / coral chop / cream random on a warm-white ground) gives the indicator a distinctive soft-institutional look.
Dashboard
Monospaced table positionable to any of nine corners. Surfaces:
Current D value and smoothed D value.
Regime classification with glyph.
Bars in current regime.
Distance to nearest threshold.
Extreme-state badge when in tail regions.
Alerts
Four alert conditions, each independently controllable:
Regime Flip (any classification change)
Extreme Trend (D crosses below 1.30)
Extreme Chop (D crosses above 1.70)
D Series Crosses 1.5 (the random-walk centre)
How to read it
Two reads, in order of conviction:
Regime classification + bars in regime — the more bars the current regime has persisted, the more reliable the read. Brand-new flips can flicker; multi-bar confirmed regimes do not.
Extreme regime alerts — when D crosses below 1.30, the market is in an extremely directional regime — momentum trades are the highest-conviction setups. When D crosses above 1.70, the market is in pathological chop — fade extremes, do not chase breakouts.
The single most useful workflow is to use FDI as a meta-filter — pair every signal-generating indicator with FDI regime. Trend signals from a momentum tool become high-conviction when D < 1.4; reversion signals from a Z-score oscillator become high-conviction when D > 1.6. The Suggested JOAT Indicator dashboard rows in Hurst Regime Sentinel and Entropy Oscillator follow exactly this principle.
Suggested settings
Defaults (window 30, k_max 8, EMA smoothing 5, warmup 50) are tuned for 15m–1H. For lower timeframes drop window to 20 and EMA to 3. For HTF (4H+) raise window to 50 and EMA to 8. The Higuchi-paper thresholds (1.4 / 1.6) are intentionally classical — tighten only if you find the regime classification too sensitive on your instrument.
Originality / what's reused
The Higuchi fractal-dimension algorithm is the textbook 1988 method — a public-domain piece of applied mathematics, implemented from the paper. The implementation here — the bounded-loop Higuchi pipeline with minimum-pairs guard and warmup gate, the two-threshold regime classifier with extreme-tail alerts, the pastel-palette regime tint, the pin-to-scale D-line companion logic, the right-side floating label, and the dashboard — is JOAT-original. No third-party code reused.
Open source
Published open-source under the default Mozilla Public License 2.0. The Higuchi loop, the regime classifier, the alert logic, and the dashboard are isolated modules — adapt any single piece without reading the whole file. Forks welcome with credit.
Limitations
Higuchi D is statistical — it tells you about recent path complexity , not future direction. A trending regime (D < 1.4) does not say which way; it says momentum tools should work. Combine with a directional indicator. The algorithm uses bounded Pine loops; very large window values increase compile cost. D is smoothed (EMA-filtered) by default, which trades some lag for substantially reduced flicker; turn smoothing off to see raw D.
—
-made with passion by jackofalltrades
Indicator

Market Structure [Proozac]Market Structure — HH · HL · LH · LL
Labels every significant swing as a Higher High, Higher Low, Lower High, or Lower Low, then draws Break of Structure (BOS) and Change of Character (CHoCH) lines automatically. The result is a clean structural map of the market directly on the price chart, with no manual markup required.
How it works
The indicator uses Pine's built-in pivot detection to find confirmed swing highs and lows. A swing is only confirmed after `Swing Length` bars have closed on each side — meaning labels always appear slightly to the left of the current bar, which is the correct behavior for non-repainting detection.
Pivot High logic:
- If the new swing high is above the previous swing high → labeled **HH** (bullish continuation)
- If the new swing high is below the previous swing high → labeled **LH** (bearish continuation)
- When a HH forms after a bearish trend → a **CHoCH** line is drawn (first sign of structural flip)
- When a HH forms during an already-bullish trend → a **BOS** line is drawn (continuation confirmed)
Pivot Low logic:
- If the new swing low is below the previous swing low → labeled **LL** (bearish continuation)
- If the new swing low is above the previous swing low → labeled **HL** (bullish continuation)
- When a LL forms after a bullish trend → **CHoCH** (structural reversal signal)
- When a LL forms during a bearish trend → **BOS** (continuation confirmed)
The zig-zag line connects consecutive pivot points in chronological order, giving a quick visual read of the overall swing sequence.
Visual output
- 🟢 HH label (above bar) → Higher High — bullish structure
- 🟢 HL label (below bar) → Higher Low — bullish pullback held
- 🔴 LH label (above bar) → Lower High — bearish structure
- 🔴 LL label (below bar) → Lower Low — bearish continuation
- 🔵 Dashed line + BOS +/− label → Break of Structure (trend continuation)
- 🟠 Dashed line + CHoCH +/− label → Change of Character (potential reversal)
- Gray zig-zag line → swing sequence connector
- Subtle background tint → green during bullish bias, red during bearish bias
- Live label on last bar → current structural bias ("Bullish" / "Bearish" / "Undefined")
Configurable parameters
Detection
- Swing Length — number of bars required on each side to confirm a pivot (default 10). Lower values = more sensitive, more noise. Higher values = fewer but more significant pivots
- Show Zig-Zag — toggle the connecting line between swings
- Show BOS / CHoCH — toggle the structural break lines and labels
Labels
- Individual toggles for **HH**, **HL**, **LH**, and **LL** labels
Colors
- Bullish Structure — color used for HH and HL labels (default teal)
- Bearish Structure — color used for LH and LL labels (default red)
- Zig-Zag Line — color of the swing connector
- BOS — color for Break of Structure lines (default blue)
- CHoCH — color for Change of Character lines (default orange)
Recommended use
Start with the default swing length of 10 on your primary timeframe and only adjust if the swing count feels too noisy (lower it) or too sparse (raise it). On 15m and 1H charts, 10 works well for most instruments. On daily charts, consider dropping to 5–7.
CHoCH is the early signal — it's the first opposite-direction structural break after a trend. BOS confirms the new trend is continuing. The highest-probability setups occur when you see a CHoCH, then a pullback that holds as a HL or LH, followed by a BOS in the new direction.
Pair this indicator with the Liquidity Sweep Detector: a sweep of the last HL (in a bullish structure) followed by a BOS to the upside is one of the cleanest confluences available in price action trading.
Indicator

High Volume Pivot Support & Resistance Zones [BigBeluga]High Volume Pivot Support & Resistance Zones is a market-structure indicator built for PulseWire. It helps traders find key support and resistance levels by looking for major pivot points backed by institutional volume.
Instead of drawing simple unweighted lines, this tool tracks the volume of swing highs and lows. When a high-volume pivot is found, the script creates a dynamic zone box on your chart and fits a live Cumulative Volume Delta (CVD) trendline inside it. This lets you monitor real-time buying and selling pressure exactly where the market is most likely to reverse.
🔵 MAIN ENGINE & VOLUME ZONE LOGIC
1. Volume-Validated Pivots
Swing Isolation Fields: The tool uses customizable lookback settings ( Resistance/Support Pivot Length ) to find prominent structural swing highs and lows.
Institutional Volume Filters: Every new swing point is checked against a volume baseline ( Volume MA Length ). A zone is only plotted if the pivot bar's volume beats the baseline multiplier ( Volume Threshold Multiplier ), filtering out weak retail moves.
2. Embedded Zone CVD Lines
Intra-Box Order Flow Tracking: The script counts the volume delta (buying volume minus selling volume based on candle closes) from the exact bar the pivot formed.
Normalized Inside the Box: Using custom polylines, the script scales and plots the rolling CVD trend directly inside the height of the zone box. This lets you see order-flow accumulation without cluttering your screen with bottom dashboard panels.
Live Labels: A small text readout updates on the leading edge of the box, showing the current net CVD volume.
// Normalize and scale running CVD values perfectly inside the zone box coordinates
normalizeDeltaToBox(float currentDelta, float minDelta, float maxDelta, float boxBottom, float boxTop) =>
float rangeDelta = maxDelta - minDelta
float rangeBox = boxTop - boxBottom
rangeDelta == 0 ? boxBottom + rangeBox / 2 : boxBottom + (currentDelta - minDelta) / rangeDelta * rangeBox
🔵 DYNAMIC ZONE FLIPS & SIGNALS
1. Support and Resistance Flips
Automatic Re-Coloring: When a strong candle close breaks entirely through a zone, the script changes its role. Broken resistance boxes switch to your Support Zone Color (yellow), and broken support boxes turn into your Resistance Zone Color (blue).
Border Style Changes: The box outline instantly switches from a solid line to a dashed line the moment a zone is breached, flagging a clear shift in institutional liquidity.
2. Retest and Breakout Plots
Breakout Arrows: The system prints clean triangle up or down arrows ( ▲ or ▼ ) on your chart labeled "Res Breakout" or "Sup Breakdown" the exact bar a zone boundary fails.
Proximity Retest Shapes: It plots tiny circle markers when price pulls back to successfully test a normal support/resistance hold. If price tests a broken zone that has reversed roles, it prints a diamond marker to flag an advanced flipped S/R retest.
// Zone Breakout and Role Inversion Logic snippet
if close > rTop
box.set_bgcolor(lastResBox, color.new(supColor, 90))
box.set_border_color(lastResBox, supLine)
box.set_text_color(lastResBox, supLine)
box.set_border_style(lastResBox, line.style_dotted)
if not resBroken
triggerResBreak := true
resBroken := true
🔵 TRADING STRATEGIES & RISK
CVD Absorption Entries: When price rallies up into a blue resistance box, check the internal dotted CVD line.
If price pushes high into the box but the internal CVD trend slopes down, sellers are absorbing the buy orders. This sets up a high-probability short entry.
Flipped Support Re-Entries: When a bullish breakout triggers a "Res Breakout" arrow, wait for price to pull back to the top border of the broken box. A clean bounce marked by a diamond shape confirms the old resistance has flipped to support, offering a safe continuation trade.
Clear Risk Invalidation floors: You can use the exact borders of the generated boxes to place your stop loss. If you buy a support hold retest, your clear risk invalidation point sits right below the bottom line of that specific support box.
🔵 SETTINGS & CONFIGURATION
Pivot Geometry Controls: Easily fine-tune lookback lengths and volume multipliers to adapt the indicator for volatile crypto assets, indexes, or liquid forex pairs.
Visual Zone Overrides: Adjust background colors, transparency levels, and text label sizing to match your dark or light charting interface seamlessly.
Clean up your layout and trade with volume-weighted precision using the High Volume Pivot Support & Resistance Zones terminal. Indicator

Ultimate Smart Money & Retail Suite [USR] V9# 🚀 Ultimate Smart Money & Retail Suite V8 (USR Suite)
## 📌 Overview
The **Ultimate Smart Money & Retail Suite** is a comprehensive sentiment and volume analysis tool that combines multiple institutional-grade techniques into a single, unified oscillator. It helps traders identify:
- When **Smart Money** is accumulating or distributing.
- When **Retail traders** are trapped in FOMO or panic.
- **Volume Spread Analysis (VSA)** climaxes and stop-volumes.
- **Bullish/Bearish divergences** with strength scoring.
- **Exhaustion** and **regime shifts** (Trend, Range, Manipulation, Chop).
This is not a simple indicator—it's a complete trading suite designed for serious traders who want a 360° view of market psychology.
---
## 🧠 Core Components
### 1. Smart Money Proxy (🔵)
Combines three non-correlated metrics to estimate institutional activity:
- **MFI (Money Flow Index)** – measures buying/selling pressure with volume.
- **CMF (Chaikin Money Flow)** – captures accumulation/distribution over a longer period.
- **CVD Momentum** – detects acceleration in cumulative volume delta.
These three are normalized, smoothed with a Hull Moving Average, and displayed as the **blue line**.
---
### 2. Retail Sentiment Proxy (🔴)
Captures crowd behavior using:
- **RSI (14)** – identifies overbought/oversold extremes.
- **Percent Rank of Price (14)** – shows where price sits relative to recent range.
These are normalized, averaged, and smoothed to form the **red line**. When retail is >70, the crowd is chasing; when <30, they are panic-selling.
---
### 3. Volume Spread Analysis (VSA)
Detects high-volume anomalies with narrow/wide spreads:
- **⚪ Stop Volume** – high volume + red close + narrow spread → potential selling exhaustion (Smart Money absorbing).
- **⚫ Buying Climax** – ultra-high volume + green close + wide spread → potential distribution (Smart Money offloading).
---
### 4. Divergence Detection with Strength Scoring
Bullish and bearish divergences are identified using **confirmed pivots** (5-bar lookback). Each divergence is scored from ⭐ to ⭐⭐⭐⭐⭐ based on:
- CVD momentum alignment.
- VSA confirmation events.
- Retail depth (deeper panic / stronger FOMO).
- Smart Money strength at the pivot.
Divergences are plotted on the oscillator panel with **triangle markers** and labeled on the chart with **🔵 Smart Buy / 🔴 Smart Sell** (with dynamic cooldowns to avoid spam).
---
### 5. CVD & Delta Histogram
Displays real-time **bar delta** (buying vs selling volume) as columns on the oscillator panel:
- **Green columns** = net buying.
- **Red columns** = net selling.
- A 50-bar moving average normalizes the height for consistency.
---
### 6. Fear & Greed Index (Composite)
Combines RSI, ATR, volume direction, and Stochastic into a single 0–100 metric, displayed as an orange line on the oscillator.
---
### 7. Adaptive Zones
Overbought/oversold levels are **not fixed** at 80/20. Instead, they are calculated using **percentile ranks** (user-defined lookback), adapting to changing market volatility.
---
### 8. Real-Time Dashboard
A compact dashboard (top-right corner) displays:
- Market Control (Smart Money vs Retail).
- Current Regime (Trend / Range / Manip / Chop).
- MTF Trend (200/800 EMA alignment).
- Exhaustion status.
- CVD Trend & Current Delta.
- Fear & Greed Index.
- RSI & MACD state.
- Last VSA event.
- Divergence Strength (stars).
- Daily Timeframe Sentiment.
---
## 🔔 Signal Emojis & Cooldowns
All signals include **dynamic cooldowns** to prevent repeated alerts:
| Emoji | Signal | Description |
|-------|--------|-------------|
| 🔥 | FOMO | Breakout to new 50-bar high + RSI > 80 + 2x avg volume. |
| 🩸 | Panic | New 50-bar low + high volume + bull trend context. |
| 🐑 | Herd | 4+ green bars out of 5 + high volume + RSI > 70. |
| 🏃 | Chase | Smart Money distribution starting + Retail > 60. |
| 😴 | Bored | ADX < 14 + low volume (range-bound market). |
| 😱 | Hopeless | Smart Money accumulation + Retail < 40 + bull trend. |
| ⚡ Bull/Bear Exh | Exhaustion | Retail & Smart both at extremes + momentum reversal. |
| ⚪ Stop Vol | VSA Stop | High volume, red close, narrow spread. |
| ⚫ Buy Climax | VSA Climax | Ultra-high volume, green close, wide spread. |
---
## 📊 Trade Manager Overlay
When enabled, the indicator automatically plots **Stop-Loss and Take-Profit levels** on the price chart based on:
- **ATR (14)** – for volatility-adjusted stops.
- **Risk/Reward Ratio** – user-defined (default 2:1).
Levels appear after a bullish or bearish divergence is confirmed.
---
## ⚙️ Key Settings Overview
| Group | Key Inputs | Purpose |
|-------|------------|---------|
| **Core** | Normalization Lookback, Smoothing, Pivot Length | Controls sensitivity of the oscillator and divergence detection. |
| **VSA** | High/Ultra Volume Multipliers, Spread Multipliers | Fine-tunes Volume Spread Analysis sensitivity. |
| **Herd/Chase** | Green Bars, Volume Multiplier, RSI Threshold | Adjusts crowd behavior detection. |
| **Cooldowns** | Per-signal cooldown lengths | Prevents signal spam. |
| **Trade Manager** | ATR Multiplier, Risk/Reward Ratio | Controls SL/TP placement. |
All settings are fully configurable for different assets (crypto, stocks, forex).
---
## 🚨 Important Notes
1. **Divergences are confirmed** — they appear after the pivot is confirmed (no repainting once plotted). The built-in cooldowns also prevent re-triggering on the same pivot.
2. **Volume is required** — MFI and CMF fall back to RSI-based calculations only if volume is entirely absent (practically never in live markets).
3. **Best used on 15m – 4H timeframes** for intraday trading, but works on any timeframe.
4. **Performance** — the script is optimized with a 500-label limit and efficient calculations. Suitable for most chart setups.
---
## 📝 Recommended Workflow
1. **Identify the Regime** – Check the dashboard: is the market Trending, Ranging, or in Manipulation?
2. **Look for Divergences** – Bullish/Bearish divergences with 4–5 stars are high-probability setups.
3. **Confirm with VSA** – Stop Volume on a pullback increases confidence in bullish divergences. Buying Climax on a rally increases confidence in bearish divergences.
4. **Use the Trade Manager** – Let the indicator suggest SL/TP levels based on current volatility.
5. **Monitor the Dashboard** – Watch for shifts in Smart/Retail control and CVD direction.
---
## 📜 License
This source code is subject to the terms of the **Mozilla Public License 2.0** at mozilla.org
Feel free to use it for personal analysis. If you find it helpful, a **like** and **follow** are greatly appreciated!
---
## 🙏 Credits
Built by ** ** – combining years of market psychology, volume analysis, and Pine Script development into one unified tool.
*This indicator is for educational and analytical purposes only. Always conduct your own research and manage risk appropriately.* Indicator
