Classic Strategy Reality Check [Tessen]Pick a famous strategy and see what it actually did on the chart you're looking at — after fees.
Five classics, selectable in settings:
- Golden Cross (SMA 50/200 flip)
- RSI 30/70 mean reversion
- MACD histogram momentum
- Bollinger Band reversion
- Stochastic 20/80
The panel books every state flip as a trade on candle close, charges your fee input per side, and reports: closed trades, win rate, average net per trade in basis points, total compounded return vs simply buying and holding the same window, and max drawdown. An open trade is excluded, not hidden.
What it is NOT: signals, alerts, or a recommendation. One symbol's history is not evidence of an edge — a strategy that "works" on this chart may be riding one trend it will give back. The verdict line says so to your face, including the case most tools won't show you: positive after fees but still worse than holding.
Every number is computed locally from the chart you're viewing. No repainting: state flips are evaluated on closed candles only.
1. If the win rate looks great but avg net is negative, you've met the win-rate trap.
2. If total return is positive but below buy & hold, the strategy cost you money twice — in fees and in foregone gains.
3. If it survives all of that on YOUR chart: demand out-of-sample evidence before trading it. History that picked the strategy can't also be the proof. Penunjuk

Volatility Squeeze Breakout [JOAT]Volatility Squeeze Breakout
Finds volatility compression — when Bollinger Bands contract inside the Keltner Channel — and signals the directional release with a built-in energy gauge.
What it is
Markets alternate between coiling and expanding. This indicator detects the coil using the classic squeeze relationship between two well-known volatility envelopes, quantifies how much energy has built up, and then signals the breakout in the direction momentum actually resolves. It is an original implementation with a charge model and full trade framing, not a bare squeeze dot script.
How it works
• The squeeze — a squeeze is on when the Bollinger Bands (price standard deviation) contract entirely inside the Keltner Channel (ATR-based). This means realised volatility has fallen below its typical range and the market is compressing.
• Charge / energy — while the squeeze persists, the tool tracks how long and how tightly the market has been coiled and expresses it as a 0–100 charge. A longer, tighter coil stores more potential energy for the eventual expansion.
• Momentum direction — a smoothed momentum measure determines which way the coil is leaning, so the breakout is read directionally rather than as a neutral event.
• The release — a Buy fires when the squeeze releases with rising positive momentum; a Sell fires when it releases with falling negative momentum. The release is a discrete event, and a minimum-gap control prevents repeated prints around the same break.
Trade levels
On a signal, a red risk box marks entry to the ATR stop and a green reward box marks entry to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples.
The dashboard
An adjustable energy-gauge panel shows the squeeze state, the charge that had accumulated at the moment of release, the momentum direction, a conviction estimate, the active signal, and a live first-target-before-stop tally from closed bars only.
How to use it
• Works on any asset and timeframe; volatility cycles exist at every scale.
• Watch the charge build during a squeeze, then act on the release in the momentum direction.
• Higher charge readings indicate a longer coil, which some traders treat as a higher-quality setup — but a big coil can still resolve in either direction, so the momentum gate matters.
Settings
Bollinger length and multiplier, Keltner length and ATR multiplier, momentum length, release and charge options, risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The squeeze concept is public domain; the value added here is the charge model that turns coil duration and tightness into a readable energy figure, the directional momentum gate on the release, and the integrated non-repainting trade framing — combined and explained so a trader can see exactly why each breakout is flagged.
Notes and limitations
• Squeeze breakouts can fail or fake out; a release does not guarantee follow-through.
• The charge measures compression, not direction — always confirm with the momentum reading and your own context.
• The tally reflects only past bars on the current chart and is not a prediction.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Penunjuk

Robust Bollinger Bands"First and foremost, full credit and massive respect to John Bollinger for inventing the original Bollinger Bands, an absolute cornerstone of technical analysis. This script does not aim to replace his legendary work, but rather to build upon his core philosophy by applying modern robust statistics to solve extreme outlier scenarios."
Description:
Overview
The "Institutional Robust Bollinger Bands" is a highly advanced, mathematically robust volatility indicator designed to solve the most common flaws of the classic Bollinger Bands. Standard Bollinger Bands rely on a Simple Moving Average (SMA) and Standard Deviation. Because standard deviation squares the distance from the mean, extreme market events (flash crashes, large gaps, or massive outlier wicks) artificially inflate the bands. This creates a "ghosting effect" where the bands remain irrationally wide long after the volatile event has passed, leading to false signals (fakeouts).
This script completely rebuilds the volatility model using Robust Statistics, Huber Weights, Kaufman-inspired Efficiency Ratios, and Asymmetric Expansion.
How It Solves the Classic Bollinger Bands Problem
Median (Q50) vs. SMA: Instead of using an SMA for the Basis line, this indicator uses the Median (Q50). The Median is statistically immune to single-bar manipulation. Even if a massive outlier wick occurs, the Basis line remains stable, completely ignoring the "fake" movement.
Huber Weighted Dispersion vs. Standard Deviation: Instead of squaring outliers, this script uses Median Absolute Deviation (MAD) and Huber Weights. Price action that falls outside a statistical threshold (1.345 * MAD) receives heavily penalized weights. This means the bands measure true continuous volatility rather than being skewed by one-off anomalies.
Asymmetric Bands: Financial markets do not follow a perfect normal distribution (Bell Curve); they exhibit skewness and fat tails. This script calculates the Skewness (Q75 + Q25 - 2 * Q50) and Kurtosis (Q95 - Q05). If the trend is aggressively skewed to the upside, the upper band expands further while the lower band tightens, adapting to the directional momentum asynchronously.
The Role of Classic Indicators & Custom Volatility Engines
While the core logic replaces classic averages with quantiles, we still utilize the classic Simple Moving Average (SMA) for a very specific, underlying purpose: Smoothing dynamic mathematical engines.
Efficiency Ratio (ER): We calculate a raw directional efficiency (netDisp / hlRange) inspired by Perry Kaufman's methodology. We then apply an SMA to smooth this raw data. This smoothed ER dynamically adjusts the Lambda (Skewness) multiplier. When the market is trending cleanly, the asymmetry expands automatically.
Gap & Body Volatility: We measure real tick-by-tick shock (disp = body + gap). We use an SMA to compare the short-term volatility of this calculation against its long-term average. This dynamically adjusts the Mu (Fat Tail) multiplier, fortifying the bands automatically when market gaps increase.
Key Features for Traders
Self-Adaptive Multipliers: You don't need to manually change settings for different assets. The internal Efficiency Ratio and Volatility engines automatically scale the Skewness and Kurtosis multipliers based on the asset's current state.
Percentile-Based Squeeze Detection (Yellow Background): Instead of looking for an absolute lowest value (which often breaks in prolonged ranging markets), the script uses a Percentile Rank logic. If the current bandwidth falls within the narrowest 15% (adjustable) of the last 100 bars, the background turns Gold/Yellow. This provides a highly stable visual cue that a major volatility breakout is building up.
QUICK COMPARISON: CLASSIC BB vs. ROBUST BB
1. BASIS LINE (MIDDLE BAND)
Classic: SMA (Simple Moving Average) - Sensitive to spikes.
Robust: Median (Q50) - Completely immune to single-candle manipulation.
2. VOLATILITY MEASUREMENT
Classic: Standard Deviation (Squared errors) - Outliers cause "Ghosting Effect".
Robust: Huber Weighted Dispersion - Punishes outliers, keeping bands stable.
3. BAND STRUCTURE
Classic: Perfectly Symmetric - Ignores market trend bias.
Robust: Asymmetric Expansion - Adapts to price skewness (Bullish/Bearish bias).
4. DYNAMIC MULTIPLIERS
Classic: Static (User-defined) - Requires manual tuning.
Robust: Self-Adaptive - Automatically scales Kurtosis and Skewness via Efficiency Ratios.
5. SQUEEZE DETECTION
Classic: Manual observation.
Robust: Percentile-Rank Based - Background turns yellow when bandwidth is in the narrowest 15% of recent history.
Usage
Use this indicator exactly as you would use classic Bollinger Bands, but with the confidence that outlier wicks will not distort your analysis. Look for continuous Squeeze (yellow) zones to prepare for breakouts, and observe the asymmetric expansion of the bands to understand the true strength and bias of a trend.
Disclaimer: This script is for educational and analytical purposes only. It does not constitute financial advice.
Penunjuk

Bollinger Bands Width % Normalizer## Overview
The **Bollinger Bands Width % Normalizer** is an advanced volatility oscillator designed to isolate tight market squeezes and major breakout points.
While the standard Bollinger Bands Width (BBW) is highly effective at displaying compression, its absolute values shift drastically depending on the asset's price scale and regime. This indicator solves that flaw by **normalizing the bandwidth into a strict, universal 0–100 scale** using a rolling historical lookback window. Now, you can instantly identify low-volatility dead zones and explosive trend initiations on any asset (Crypto, Forex, Stocks) with a single, unified rule.
---
## How It Works
1. **Bandwidth Calculation (BBW):** The indicator first calculates standard Bollinger Bands and determines the current bandwidth ($ NYSE:BBW = \frac{Upper Band - Lower Band}{Basis}$$).
2. **0–100 Rescaling (Normalization):** It scans the historical data over a user-defined period (`Normalization Lookback Period`) to locate the absolute maximum and minimum bandwidths. The current BBW is then plotted relative to that history on a **0 to 100** scale.
---
## Key Features & Settings
* **BB Length (Default: 20):** Adjusts the baseline moving average period for the Bollinger Bands.
* **BB Standard Deviation (Default: 2.0):** Standard deviation multiplier defining the outer bands.
* **Normalization Lookback Period (Default: 100):** The historical window used to benchmark the highest and lowest compression states.
* **Squeeze Alert Coloring:** The line dynamically turns **Orange** when the normalized score drops below 10, signaling a prime contraction phase.
---
## How to Trade with This Indicator
### 1. Filtering Out the Noise (The Squeeze Zone)
* When the score drops **below 10**, the plot turns **Orange**.
* This tells you that the bands are currently tighter than 90% of the recent price action.
* **Action:** Avoid trading trend-continuation or mean-reversion strategies inside this zone, as price movement will be suffocated and flat.
### 2. Anticiapting the Coiled Spring (Breakout Preparation)
* Extreme market compressions always precede massive, explosive trend expansions.
* If the indicator sits entrenched in the orange zone (below 10) for an extended duration, a severe volatility breakout is brewing.
* **Action:** Set alert zones at local highs/lows. Prepare your breakout triggers for when the score hooks sharply out of the extreme low zone.
### 3. Exhaustion & Climax Detection
* A surge **above 90** flags that the current trend expansion is reaching extreme historical widths relative to the lookback window.
* **Action:** Exercise caution if you are holding a mature trend position, as a widening of this magnitude often points to an exhaustive climax or impending mean reversion. Penunjuk

Modern Bollinger Bands [GBB]Modern Bollinger Bands
I rebuilt Bollinger Bands. Not because the original is bad, John Bollinger's work has held up for forty years, but because the defaults everyone uses were designed for daily stock charts in the 1980s and we're putting them on crypto perps at 3am.
WHAT'S WRONG WITH THE CLASSIC
Five things, in my view.
The window is always 20 bars. Doesn't matter if the market is in a fast news week or a dead summer range, you get the same 20.
The bands assume returns follow a bell curve. Asset returns have fat tails, so price pokes outside a two sigma band far more often than the theory says it should.
A band touch has no meaning on its own. In a range, fading the touch works okay. In a trend, price walks down the band and runs over every single fade. The classic gives you nothing to tell those two situations apart, and that's the flaw that costs people real money.
The SMA basis is slow. Equal weight on every bar means the middle line describes the market as it was roughly ten bars ago.
And band width isn't comparable to anything. What counts as narrow on one chart means nothing on another, so squeeze thresholds end up being eyeballed.
WHAT I CHANGED
The length adapts. An Ehlers homodyne discriminator measures the dominant cycle in price and the window becomes half of it, between 10 and 50 bars. When there's no measurable cycle because the market is trending too hard, the length freezes at the last good value instead of guessing.
The basis is a KAMA instead of SMA. It speeds up when price is actually going somewhere and almost stops updating in chop.
The bands are percentile bands, not sigma bands. 97.5th and 2.5th percentile of the real deviations around the basis, nearest rank, over a longer window. Your market's actual tails, not a textbook bell curve.
I added a regime filter: Kaufman efficiency ratio, percentile ranked against the last 252 bars, with 70/55 hysteresis so it doesn't flip flop on the boundary. Blue bands are RANGE, orange bands are TREND, and the signals respect the color.
And the squeeze is a score from 0 to 100. Percentile rank of band width against the last year of bars. A score of 8 reads the same on every symbol and every timeframe.
THE SIGNALS
Three types, that only trigger on candle close, so there is nothing repainted.
Singal1: Blue triangles. The classic fade, but only where it belongs. Price closes outside a band, the next bar closes back inside, and the regime is RANGE. In TREND this signal simply doesn't exist.
Singal2: Orange circles. Trend pullback. Price dips into a zone around the basis, then closes back in the trend direction. TREND only and with the trend only. One thing about the chart markers: in a long trend this setup can fire on several nearby bars, so the chart draws the first circle of a cluster and skips the repeats for a few bars, so the chart does not get too cluttered.
Signal3: Diamonds. Squeeze release after at least 5 bars of squeeze, then the squeeze ends and price closes outside a band on that same bar. Important: While this is the most intuitive setup of the three and it's the one my testing supports least. Release events showed the same forward 20 bar volatility as typical bars from the same hours. Volume confirmation didn't help either, I tested that separately. The diamonds mark a real event, compression ended and price left the bands, but whether that's worth anything is a question my data answered with no. I included the signal and alert for it anyway, because I know many of you will want it.
SETTINGS
Everything above is a toggle. The groups match the settings dialog, so here's what each one actually does and when you'd touch it.
Adaptive length: Length mode switches between Adaptive and Fixed. Adaptive is the point of this indicator. Fixed with the default of 20 exists for two reasons: reproducing the classic, and for people who want to trust their own number. The fixed length input only matters in Fixed mode.
Basis / bands: Basis picks KAMA or SMA for the middle line, bands picks Robust (percentile) or Stdev (classic sigma). Set Fixed 20 plus SMA plus Stdev and you have exact 1980s Bollinger Bands, that combination is deliberately supported. The stdev multiplier (2.0) only applies in Stdev mode. The robust percentiles (97.5 and 2.5) set where the bands sit in the deviation distribution, pull them toward 95/5 if you want more touches and more signals, push them out if you want only the extremes. The robust window multiplier and floor control how much history the percentile estimate uses, 4 times the adaptive length with a floor of 80 bars by default. Shorter windows react faster to volatility shifts but the tail estimates get noisy, I would leave these alone unless you know why you're changing them. KAMA fast and slow (2 and 30) are the standard Kaufman speeds, the basis moves between a 2 period and a 30 period EMA depending on how efficient the move is.
Regime / squeeze: KER length (20) is the window for the efficiency ratio itself. The percentile rank window (252) is what "recent history" means for both the regime and the squeeze score, about one year of daily bars, about ten days on 1h. TREND enter (70) and TREND exit (55) are the hysteresis levels: the market has to rank above the 70th percentile in efficiency to be called TREND and drop back below the 55th to be called RANGE again. Widen the gap and the regime switches less often but later, narrow it and you get earlier calls with more flip flops. These defaults sat on a flat plateau in sensitivity testing, meaning nearby values gave nearly identical results, so there's no magic in 70/55, but there's also nothing to gain from tuning them. Squeeze threshold (20) defines squeeze as band width below the 20th percentile, and min bars in squeeze (5) stops one bar dips from counting as compression.
Signals: One input, the S2 touch fraction (0.25). It sets how close to the basis a pullback has to come, measured as a fraction of the band halfwidth. Smaller means stricter pullbacks and fewer S2 signals.
Display: Clean display preset strips everything down to the three lines, no fill, no markers, no panel. The info panel (regime, KER percentile, adaptive length with its frozen flag, squeeze score, last signal) is off by default, turn it on when you want to see what the indicator is "thinking". Signal markers and the squeeze heat on the band fill can be switched off separately. The S2 marker debounce (5) is the cosmetic cluster filter from the signals section, set it to 0 if you want every circle drawn.
Parity: You can ignore this group for trading. It pins the computation start to a fixed timestamp so every value on the chart can be reproduced bar for bar against a Python reference implementation. It's how the validation was done and it stays in so anyone can check my work.
ALERTS
Six per signal alerts plus the combined JSON one with symbol, timeframe, signal, regime, squeeze score and band levels. Once per confirmed bar close, built for webhook bots.
No indicator prints money, this one included. It tells you regime, structure and volatility state, with the evidence behind each part published, nulls and all. Trade safe. Penunjuk

YES RSI + BB SniperYES RSI + BB Sniper — Mean-Reversion Setup Tool with Auto Entry/SL/Targets
What it does:
This indicator combines RSI and Bollinger Bands to identify mean-reversion setups, then automatically plots a complete trade plan — Entry, Stop Loss, and three Targets — with a live dashboard tracking every level.
Signal Logic:
LONG: Price tags the lower Bollinger Band AND RSI crosses back above the oversold level (default 30) — exhaustion + momentum shift confirmation
SHORT: Price tags the upper band AND RSI crosses back below overbought (default 70)
Optional EMA-200 trend filter to trade only with the larger trend
Auto Trade Levels:
Entry: Signal candle close
Stop Loss: Beyond the band/swing extreme with an ATR-based buffer (adjustable)
Target 1: BB Basis (the mean — natural magnet in mean-reversion), minimum 1R
Target 2: Opposite band, minimum 2R
Target 3: Configurable Risk:Reward runner (default 1:3)
Dashboard shows: Signal status with bar count, RSI value, %B, Bandwidth (squeeze detection below 4%), trend direction, all trade levels with real-time hit-tracking (✔/✖), and Risk:Reward ratios.
Alerts: Built-in alert conditions for both LONG and SHORT setups.
How to use: Works best on Daily and 1H timeframes for swing trades. Wait for the signal candle to close, verify the R:R on the dashboard suits your plan, and always size positions according to your risk management.
This is an educational tool, not financial advice. Always do your own analysis before trading.
Penunjuk

MACD Pullback Validation with Divergence Filters [algo_aakash]MACD Pullback Validation with Divergence Filters is a momentum confirmation indicator designed to identify continuation opportunities after temporary pullbacks rather than generating signals from every MACD crossover.
Instead of relying on a single event, the script evaluates multiple stages of market behavior. It begins by detecting pullbacks within an existing momentum cycle, waits for momentum recovery, confirms that price and the MACD histogram are no longer weakening, and optionally verifies that the setup occurs near significant price locations using pivot-derived support/resistance levels or Bollinger Band extremes.
The objective is to reduce low-quality MACD signals by requiring several independent conditions to align before a bullish or bearish signal is displayed.
Problem Statement
Traditional MACD crossover signals frequently occur during ranging markets or immediately after short-lived momentum fluctuations. Likewise, divergence signals alone often appear too early and do not necessarily indicate that momentum has already shifted back in the anticipated direction.
This indicator addresses that limitation by requiring multiple confirmation stages rather than treating each condition as an independent trading signal.
Instead of responding to isolated events, it evaluates whether a pullback has occurred, whether momentum is rebuilding, whether a recent divergence supports the move, and whether price is located in an area where reversals may be more meaningful.
Methodology
The analytical framework consists of several sequential validation layers.
First, MACD crossover events occurring above or below the zero line are monitored to identify temporary pullbacks within an existing momentum cycle. These crossover events establish the recent pullback state.
Next, the script monitors the MACD histogram. Bullish momentum requires the histogram to remain above zero while increasing relative to the previous bar. Bearish momentum requires the histogram to remain below zero while decreasing.
The indicator then waits for the MACD line itself to cross the zero line, treating this as evidence that momentum has shifted back in the direction of the prevailing move.
Histogram divergence is calculated using confirmed pivot highs and pivot lows. Regular bullish divergence requires price to form a lower low while the histogram forms a higher low. Regular bearish divergence requires price to form a higher high while the histogram forms a lower high. Hidden divergence calculations are also available for users who wish to visualize continuation-type divergence.
Finally, optional contextual filters may be enabled.
The Support/Resistance filter checks whether the current price is interacting with recently confirmed pivot-based levels.
The Bollinger Band filter requires bullish setups to occur after closing below the lower band and bearish setups after closing above the upper band, helping identify momentum reversals from statistically extended price conditions.
Signals are generated only after every enabled validation layer has been satisfied.
Signal Workflow
Bullish workflow
1. Detect a recent bearish MACD crossover occurring above the zero line to identify a pullback.
2. Confirm a regular bullish MACD histogram divergence using pivot comparisons.
3. Require the MACD histogram to begin strengthening.
4. Wait for the MACD line to cross back above the zero line.
5. Optionally require interaction with recent pivot-based support.
6. Optionally require price to close below the lower Bollinger Band.
7. Display a bullish signal.
Bearish workflow
1. Detect a recent bullish MACD crossover occurring below the zero line.
2. Confirm a regular bearish MACD histogram divergence.
3. Require bearish histogram acceleration.
4. Wait for the MACD line to cross below the zero line.
5. Optionally require interaction with recent pivot-based resistance.
6. Optionally require price to close above the upper Bollinger Band.
7. Display a bearish signal.
Why This Indicator Is Different
Many MACD indicators generate signals immediately after crossovers, while divergence indicators typically evaluate price and momentum independently.
This script integrates these concepts into a sequential validation framework where each condition serves a different analytical purpose.
The pullback logic identifies temporary counter-trend momentum.
The histogram evaluates whether momentum is rebuilding.
The zero-line crossover confirms broader momentum alignment.
Divergence provides evidence that momentum and price are no longer moving in agreement.
Optional pivot interaction and Bollinger Band filters add market-location confirmation before a signal is produced.
Rather than displaying every crossover or every divergence, the indicator waits until multiple independent conditions align before producing a trading signal.
Inputs
The script includes configurable parameters for:
* MACD fast, slow, and signal periods
* Pullback lookback window
* Divergence pivot lengths
* Divergence range settings
* Optional hidden divergence display
* Optional Support/Resistance validation
* Pivot sensitivity
* Optional Bollinger Band confirmation
* Bollinger Band length and standard deviation
Alerts
Built-in alert conditions are available for:
* Bullish Signal
* Bearish Signal
* Regular Bullish Divergence
* Hidden Bullish Divergence
* Regular Bearish Divergence
* Hidden Bearish Divergence
Practical Usage
The indicator is intended for traders who prefer waiting for momentum confirmation after temporary pullbacks instead of reacting to every MACD crossover.
Optional Support/Resistance and Bollinger Band filters can be enabled to make signal selection more restrictive when additional price-location confirmation is desired.
Limitations
MACD histogram divergence relies on confirmed pivot highs and lows, so divergence signals are only confirmed after the required pivot bars have formed.
Support and resistance levels are derived from pivot calculations and represent algorithmically identified swing points rather than manually drawn market structure.
Like any momentum-based indicator, performance may vary across different market conditions and should be evaluated alongside a broader trading plan and appropriate risk management.
Notes
This indicator is intended as an analytical decision-support tool. It combines momentum analysis, pullback recognition, divergence detection, and optional contextual filters into a structured confirmation process rather than relying on any individual condition as a standalone trading signal.
Penunjuk

Squeeze Momentum Pro - TTM Squeeze, Volatility Breakout & MomentSqueeze Momentum Pro - TTM Squeeze, Volatility Breakout & Moment is a modern volatility squeeze and momentum indicator for TradingView that shows you exactly when the market is coiling (building energy) and the precise moment that energy fires into a trend. It combines the classic TTM Squeeze concept — Bollinger Bands contracting inside the Keltner Channel — with a multi-tier compression engine (Squeeze Pro) and a glowing momentum histogram, so you can trade breakouts, momentum, trend continuation and volatility expansion on any market and any timeframe: forex, crypto, stocks, indices, futures, gold (XAUUSD), Bitcoin (BTCUSD), NASDAQ, S&P 500, oil and more. Built in Pine Script v6, it adds neon momentum candles, rare high-conviction squeeze fire signals and a live dashboard — a clean, professional upgrade over a plain squeeze momentum oscillator. Keywords: squeeze momentum, squeeze pro, TTM squeeze, volatility squeeze, momentum indicator, Bollinger Bands, Keltner Channel, breakout indicator, volatility breakout, momentum oscillator, trend, buy sell signals, scalping, day trading, swing trading, no repaint.
◆ WHY THE SQUEEZE WORKS
When Bollinger Bands contract inside the Keltner Channel, volatility is compressing — the market is coiling like a spring. Low volatility is always followed by high volatility. The squeeze tells you a big move is building; the momentum histogram tells you which direction it is most likely to release. Trading the release of a squeeze is one of the highest-reward, lowest-risk setups in technical analysis.
◆ WHAT IT DOES
3 compression tiers (Squeeze Pro): HIGH (BB inside KC x1.0, tightest coil), MID (x1.5), LOW (x2.0), and EXPANSION (bands released). Tier is shown by colour-coded dots on the zero line.
Neon momentum histogram: linear-regression momentum that glows brighter as it extends and dims as it fades — instant read of strength and direction.
Squeeze Fire signals: rare, high-conviction arrows that fire only when a real coil (HIGH/MID) releases — filtered to remove noisy weak releases.
Neon momentum candles: your chart candles are tinted by momentum (turquoise up / magenta down).
Live dashboard: State, a unique Coil Energy gauge (stored energy of the coil), Momentum strength, Signal and Bias.
◆ HOW IT WORKS (under the hood)
Bollinger Bands (length/multiplier) measure compression; Keltner Channel (ATR-based) is the volatility reference. A squeeze is active when both BB edges sit inside the KC edges.
Three KC multipliers create three compression tiers so you can tell a mild coil from a maximum-tension coil.
Momentum is a linear regression of price versus the average of the Donchian midline and the moving average (LazyBear method).
The script tracks the tightest tier reached during each coil; a fire is only flagged when the coil reaches your chosen tier and then releases — so arrows mean something.
Coil Energy accumulates from how long and how tightly price has been compressed, and discharges on release — a unique read of stored breakout potential.
◆ HOW TO USE IT
Wait for a squeeze (especially a HIGH tier — tightest spring). The dashboard shows State and rising Coil Energy.
On the Squeeze Fire arrow, enter in the direction of the histogram colour (teal = long, magenta = short).
Stay in while momentum keeps extending (bars growing, bright colour); exit as momentum fades (bars shrinking, dim colour) or flips across the zero line.
Use Fire on release from to control signal frequency: HIGH only (rare, strongest) → MID+ → Any (more signals).
Works on all symbols and timeframes; combine with your own support/resistance, structure or trend tools for confluence.
◆ SETTINGS
Squeeze Engine: BB length & multiplier, KC length, KC multipliers for HIGH/MID/LOW tiers.
Momentum: linear-regression length.
Fire Signals: release tier threshold (HIGH only / MID+ / Any).
Histogram / Candles: glow, tint chart candles by momentum, optional squeeze-zone shading, fire markers.
Panel: show/hide, position, background, accent colour.
◆ ALERTS
Squeeze Fire Long / Short
High Squeeze started (maximum compression)
Momentum crossed zero
◆ LIMITATIONS
This is a momentum/volatility tool, not a complete system — always confirm with price action and risk management.
On forex and crypto, volatility (ATR) and momentum reflect the data feed of your broker/exchange; results can vary slightly between feeds.
A squeeze signals that a move is building, not its direction with certainty — the momentum colour gives the probable bias, not a guarantee.
With "HIGH only" some calm instruments may rarely reach the tightest tier; loosen the KC HIGH multiplier or switch to "MID+" if you want more signals.
◆ NON-REPAINTING
Every value comes from confirmed bar data with no lookahead and no security() smoothing tricks. A signal printed on a closed bar stays. As with any live tool, the current forming bar updates in real time and settles on close.
Squeeze Momentum Pro - TTM Squeeze, Volatility Breakout & Moment is an educational analysis tool, not financial advice. Always do your own research and manage risk. © LunqFX. Penunjuk

Reversion Setup - Bollinger Bands + RSI Live Dashboard📊 REVERSION SETUP — Bollinger Bands + Live RSI Dashboard
A focused mean-reversion tool combining Bollinger Bands with a real-time
RSI dashboard — built to spot potential reversal zones without cluttering
your chart or burning extra indicator slots.
✅ Bollinger Bands — fully configurable (period, deviation, source, color)
✅ Live RSI Dashboard — current RSI value, overbought/oversold levels,
and real-time alert status, shown in a clean table instead of a
separate pane
🎯 WHY THIS COMBO
Bollinger Bands highlight when price stretches to a statistical extreme,
while the RSI dashboard confirms whether momentum actually backs up that
move. When price tags a band AND RSI flags overbought/oversold at the
same time, that's your reversion signal — two confirmations, one chart.
🔧 FULLY CONFIGURABLE
— Adjust Bollinger period, deviation, source, and color
— Set your own RSI period and overbought/oversold levels
— Adjust dashboard text size
💡 HOW IT WORKS
The RSI dashboard updates live as new candles form, showing:
— Current RSI value
— Upper/Lower band levels
— Alert status (Overbought ↑ / Oversold ↓ / Neutral →)
🔗 PAIRS WELL WITH
Check out my Trend Setup (EMA 50/100/200 + RSI Dashboard) for the
trend-following counterpart to this mean-reversion tool.
💬 Suggestions for the next setup? Drop a comment below — more tools
coming based on community feedback.
If this helped your charts, a like goes a long way 🙏 Penunjuk

Dynamic Price Oscillator Overlay (Zeiierman)█ Overview
Dynamic Price Oscillator Overlay (Zeiierman) is a volatility-adjusted momentum overlay that transforms oscillator behavior directly onto the price chart.
Instead of displaying momentum in a separate pane, the indicator wraps a dynamic oscillator around an adaptive price anchor, allowing traders to visualize momentum expansion, contraction, and directional bias directly within price action.
The calculation combines long-term price displacement with volatility-adjusted movement and then applies Bollinger Band analysis to identify statistically stretched market conditions.
The result is a dynamic price-following structure that highlights momentum extremes, trend transitions, and overextended conditions while remaining visually integrated with the chart.
█ How It Works
⚪ Volatility-Adjusted Price Engine
The indicator begins by measuring market volatility using True Range.
volAdjPrice = ta.ema(trueRange(high, low, close), length)
This creates a dynamic volatility component that adapts to changing market conditions.
⚪ Dual Momentum Calculation
The oscillator combines two independent measurements:
• Long-term price displacement
priceChange = close - close
• Volatility-adjusted price movement
priceDelta = close - volAdjPrice
These components are blended together and smoothed.
oscillator = ta.ema(math.avg(priceDelta, priceChange), smoothFactor)
The result is a momentum engine that reacts to both directional movement and changing volatility.
⚪ Dynamic Oscillator Bands
The oscillator is surrounded by two Bollinger Band structures.
Standard bands identify elevated momentum conditions while expanded bands identify extreme momentum conditions.
= bollingerBands(oscillator, length * 5, 1)
= bollingerBands(oscillator, length * 5, 2)
These bands create adaptive thresholds that expand and contract as market behavior changes.
⚪ Dynamic Mean
The indicator calculates a central equilibrium level using the midpoint of the expanded Bollinger Bands.
mean = math.avg(bbHighExp, bbLowExp)
This serves as the oscillator's primary trend reference.
⚪ Price Overlay Projection
Rather than plotting the oscillator separately, the indicator wraps the oscillator around a moving price anchor.
priceAnchor = ta.ema(close, anchorLength)
The oscillator is projected directly onto the chart:
overlayOsc = priceAnchor + oscillator - mean
This creates a momentum structure that follows price while preserving oscillator behavior.
█ How to Use
⚪ Dynamic Price Oscillator Overlay
• When the oscillator line remains above the Dynamic Mean, momentum conditions are generally bullish.
• When the oscillator line remains below the Dynamic Mean, momentum conditions are generally bearish.
⚪ Mean Crosses
The Dynamic Mean acts as the primary trend reference.
• Bullish Cross:
The oscillator line crosses above the mean.
• Bearish Cross:
The oscillator line crosses below the mean.
These signals often represent transitions between bullish and bearish momentum regimes.
⚪ Mean Retests
The Dynamic Mean acts as the primary momentum equilibrium level.
• Bullish Retest:
The price pulls back toward the mean from above and holds.
• Bearish Retest:
The price rallies back toward the mean from below and rejects.
Successful retests suggest the current momentum regime remains intact and may continue in the prevailing direction.
⚪ Bollinger Breakouts
The standard Bollinger Bands identify strong momentum expansions.
• Bullish Breakout:
The oscillator line closes above the upper band.
• Bearish Breakout:
The oscillator line closes below the lower band.
These conditions suggest momentum is becoming unusually strong. Bullish breakouts above the upper band may indicate overbought conditions, while bearish breakouts below the lower band may indicate oversold conditions.
⚪ Expanded Bollinger Extremes
The expanded Bollinger Bands represent statistically extreme momentum conditions.
• Bullish Extreme:
The oscillator line exceeds the expanded upper band.
• Bearish Extreme:
The oscillator line exceeds the expanded lower band.
These events occur less frequently and often identify powerful directional moves or temporary exhaustion phases.
⚪ Momentum Context
The indicator should not be viewed as a simple overbought or oversold tool.
Instead, it measures how far momentum has deviated from its dynamic equilibrium while continuously adapting to current volatility conditions.
The interaction between the oscillator, mean, and adaptive bands provides a framework for identifying:
• Trend continuation
• Momentum expansion
• Momentum exhaustion
• Volatility shifts
• Regime transitions
The result is a price-integrated momentum model that provides both trend context and extreme-condition analysis within a single overlay.
█ Related Scripts
Dynamic Price Oscillator (Zeiierman)
█ Settings
Length: Controls the primary lookback period used throughout the oscillator calculations and Bollinger Band framework.
Smoothing Factor: Controls the responsiveness of the oscillator. Higher values produce smoother movement while lower values increase sensitivity.
Price Anchor Length: Determines the EMA length used to anchor the overlay structure to price.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Penunjuk

Squeeze Vector [Gabremoku]Squeeze Vector is a squeeze-based volatility breakout tool that combines Bollinger/Keltner compression detection, directional pressure flow, and a first-expansion state machine to help traders identify high-probability post-squeeze breakout setups.
The core idea is simple: compression precedes expansion. When Bollinger Bands shrink inside Keltner Channels, the market is coiling — and when that squeeze releases, the first directional signal can carry strong momentum. This script gives that process a structured visual and logical framework.
Core Concept — Squeeze → Release → Direction
A BB/KC squeeze occurs when Bollinger Bands, which reflect price volatility through standard deviation, contract inside Keltner Channels, which reflect typical range through ATR. This gap between the two envelopes is used as a proxy for volatility compression.
When BB width becomes smaller than KC width, the script identifies a Squeeze state. When it releases, the script enters an Armed state and opens a short post-squeeze window during which it looks for the first valid directional expansion.
Importantly, the squeeze release alone does not confirm direction. That is why the script adds multiple expansion confirmation filters before triggering a signal.
What it shows
Squeeze Vector Oscillator — a single line that rises as BB/KC compression increases. When it crosses above 50, the squeeze is active. The oscillator turns purple during squeeze states for fast visual identification.
Pressure Flow Histogram — a volume-weighted directional pressure value that reads where price closed within the candle range and weights it by volume relative to its moving average. Positive values indicate bullish pressure, negative values indicate bearish pressure.
Bollinger Overlay on Price — during squeeze states, the script renders Bollinger Bands directly on the main chart with gradient fills, making it easy to see where price is relative to the compressed structure.
LONG / SHORT signals — primary directional signals are placed on the main chart after a post-squeeze expansion bar meets all required conditions. Optional lighter repeat markers can be shown for follow-through confirmation.
Dashboard with live checklist — the on-chart dashboard shows the current state, regime, pressure, vector value, and a 6-point checklist for both long and short setups, with filled/empty circles to show how many conditions are currently met.
Signal Logic
The signal engine works as a state machine with three phases:
Squeeze — BB/KC compression is active. No signal is generated. The dashboard shows SQUEEZE.
Armed — the squeeze just released. The script opens a short expansion window and waits for directional confirmation. The dashboard shows ARMED.
Expansion signal — within the expansion window, if a valid directional bar forms with sufficient pressure, body size, and break condition, a LONG or SHORT label is placed on the main chart.
Signal direction is confirmed by checking:
Basis side: price above or below the BB basis
Pressure: smoothed directional pressure above threshold
Strong pressure: optional stronger filter
Body quality: minimum body-to-candle-range ratio
Break condition: higher high or lower low
Regime: optional EMA 200 trend filter
When both long and short conditions are simultaneously valid, the stronger pressure side wins. If pressure is equal, raw pressure bias decides.
States and Dashboard
The dashboard tracks the full machine at a glance:
Row Content
SQZ Squeeze ON / OFF
SEQ ARMED or READY
REG Trend regime (BULL / BEAR / OFF)
BIAS Current directional pressure bias
P Pressure Flow value
V Vector Oscillator value
Checklist 6-point LONG and SHORT condition matrix
The checklist can be set to appear only during Squeeze or Armed states to reduce visual noise when no setup is forming.
Features
✅ Bollinger/Keltner squeeze detection via ratio oscillator
✅ Volume-weighted directional pressure flow
✅ Post-squeeze first expansion state machine
✅ Armed → signal transition logic
✅ 6-point entry checklist for both long and short
✅ EMA 200 regime filter
✅ Bollinger overlay with gradient fill during squeeze
✅ LONG / SHORT signal labels on main chart
✅ Optional follow-through repeat markers
✅ Repeat window filter to suppress signal clustering
✅ Strategy mode: Long, Short, or Both
✅ Fully configurable dashboard with size and offset settings
✅ Alert conditions for BUY, SELL, and squeeze activation
How to use
A practical workflow:
Watch for the Vector Oscillator to cross above 50 and turn purple — that is the squeeze state.
When it releases below 50, the dashboard switches to ARMED.
In the expansion window, check the checklist: more filled circles on one side indicate stronger directional alignment.
A LONG or SHORT label confirms a valid first expansion signal.
Use the Pressure Flow histogram to gauge how strong and consistent the directional push is.
The squeeze release alone is not a signal. Direction is only confirmed when the expansion bar quality, pressure, and structure checks all align.
Notes
Like all squeeze-based tools, Squeeze Vector is most effective when used alongside price structure context. Squeezes release into strong moves, but not every release produces a sustained trend — volume, higher timeframe context, and support/resistance levels can all affect follow-through quality.
Author: Gabremoku
Pine Script v6 Penunjuk

Crucible Range Compression [JOAT]Crucible Range Compression
Crucible Range Compression detects volatility-compression episodes by blending three independent contraction proxies — Bollinger Band Width percentile, ATR percentile, and body-range Z-score — into a single intensity score. While compressed, the script tracks Cumulative Volume Delta inside the compression window to predict breakout direction. On confirmed compression exit it projects a chamber-width target line. A history strip records each completed compression with its outcome.
What makes it different
Single-metric volatility-contraction indicators (BBW or ATR alone) can be misled by price-level changes. The composite intensity uses three normalized metrics, each over a percentile lookback, so contraction across multiple lenses is required for a true compression read.
The compression chamber is drawn as a dynamic box (top and bottom bounds expanding while the compression remains active) with three nested concentric rings that visually tighten as intensity increases. A clear visual countdown to breakout.
Inside the chamber, CVD slope predicts breakout direction before the breakout occurs. A direction-bias gauge surfaces this prediction in a 21-segment vertical scale.
Two forward projection lines appear AFTER compression exits but BEFORE the breakout candle confirms — bull target at chamber-high plus width, bear target at chamber-low minus width. Once the direction confirms, only the active target survives.
A false-breakout signal fires when price breaks in the opposite direction of CVD's bias. A high-value warning that a fast reversal is likely.
How it works
Bollinger Band Width equals (upper minus lower) divided by basis. Convert to percentile rank over a 100-bar lookback.
ATR(14) percentile rank over the same lookback.
Body range equals the absolute distance between close and open. Body Z equals (body minus sma(body, 20)) divided by stdev(body, 20). Map to a 0-1 score where small bodies equal 1.
Intensity equals 0.40 times (1 minus BBW%) plus 0.40 times (1 minus ATR%) plus 0.20 times body score. Range 0 to 1 where 1 equals maximum compression.
Compression active when intensity exceeds the user threshold (default 0.7). Chamber bounds are the running max / min of high / low while active.
CVD inside the chamber: delta equals plus volume on up bars, minus volume on down bars, zero otherwise, summed since chamber start. Slope equals total delta divided by bars in chamber.
On exit (intensity drops below threshold), if close above chamber high and CVD bias above 0, bull breakout. If close below chamber low and CVD bias below 0, bear breakout. If price breaks one way but CVD predicted the other, false-breakout signal.
Target on confirmed direction equals breakout close plus or minus chamber width.
Reading the chart
Outer compression chamber box, transparency-modulated by intensity, anchored at compression start.
Three nested concentric rings inside the chamber, smaller and smaller, tinted by direction bias.
Iridescent candle recolor scales transparency with intensity (faded while compressed, vivid on expansion).
Forward projection lines (bull target and bear target) appear at compression exit and disappear when one direction confirms.
A confirmed target line plus price label persists until hit or expired.
bgcolor pulses: 3-bar fade on compression entry, 2-bar fade on confirmed breakout (bull / bear).
Chamber exit pulse: border alpha cycles for 3 bars when compression exits.
A right-edge intensity gauge label with intensity %, state, bias, bars in.
A right-side 21-segment direction-bias gauge mirroring CVD slope.
Pre-compression bgcolor highlight when intensity is approaching the threshold.
An intensity history mini-strip on the right edge showing the last 10 intensity values as colored line segments.
A compression history strip (last 10 completed compressions with outcomes).
A daily compression counter.
Signals
Compression entry (intensity crosses above threshold)
Compression exit (intensity drops below threshold, breakout pending)
Bull breakout confirmed
Bear breakout confirmed
False breakout (direction mismatch with CVD bias)
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Compression : BB length, BB stdev multiplier, percentile lookback, activation threshold, chamber initial length, target line extension bars.
Visual : bullish, bearish, neutral colors. Chamber, nested rings, candles, target line, pulses, gauge toggles.
On-chart : compression history, intensity strip, pre-compression highlight, bias gauge, projection lines, target hit/miss labels, false-breakout revert line, state block, cycle counter, exit pulse.
Dashboard : position, size.
How traders use this
Breakout entries : wait for the confirmed bull / bear breakout signal AND the CVD-bias gauge to be aligned. False-breakout signals when these disagree are reasons to pass or fade.
Range trading : while compression is active (chamber visible), reactions to chamber high / low are intra-range scalp setups.
Target management : once the breakout fires and the target line appears, common practice is to scale out at chamber-mid first, then chamber-target. The chamber width is the implied move.
Compression history : see how previous compressions resolved on the current instrument. A series of Win entries means the setup has been productive recently.
Limitations
Compression detection requires warm-up history (100 bars for the percentile calculations). On very young charts the script is inert.
CVD bias inside a chamber is a probability, not a guarantee. False breakouts happen when liquidity sweeps stops on the predicted side first.
For instruments with very thin volume data, the CVD direction signal is less reliable.
The chamber width is a measured-move proxy. Actual move size can exceed or fall short.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol, any timeframe (more bars equals more reliable percentile context). No request.security calls.
Defaults
20-bar BB, 2.0 BB stdev, 100-bar percentile lookback, 0.7 activation threshold, 20-bar initial chamber length, 40-bar target extension, mint / red / gray palette, top-right medium dashboard.
Penunjuk

Signal Forge [LuxAlgo]The Signal Forge indicator is a modular technical analysis engine that allows users to blend 11 distinct technical filters into a unified signal and backtest the results in real-time. This tool aims to simplify strategy development by providing a visual framework for testing indicator confluence and risk management settings without writing code.
🔶 USAGE
The script provides a flexible logic system for generating signals based on the alignment of multiple technical components. Users can toggle specific indicators on or off and choose between "strict" mode (requiring ALL active indicators to agree) or "any" mode (where ANY active indicator can trigger a signal).
Signals are displayed on the chart as glowing orbs connected to the price action. Each signal includes a real-time historical win rate label at the moment of entry, allowing for a visual audit of the strategy's performance over time.
🔹 Indicator Selection
The tool includes 11 harmonized indicators:
SMA Crossover
RSI Filter (Levels)
MACD Crossover
Supertrend
Stochastic (Trend-based)
Bollinger Bands (Basis Filter)
EMA Crossover
Awesome Oscillator
Parabolic SAR
CCI Filter
ADX/DI Filter
🔹 Risk Management
Users can enable ATR-based Take Profit, Stop Loss, and Trailing Stop levels. When active, these levels are plotted on the chart. The Trailing Stop feature includes a specialized gradient fill that highlights the "breathing room" between the price and the exit level.
🔶 DETAILS
🔹 Dashboards
The script features two distinct dashboards to provide a comprehensive overview of the strategy:
Indicator Dashboard: Shows the real-time bullish/bearish status of all 11 indicators, their individual "standalone" win rates visualized with histograms, and their current toggle status.
Performance Dashboard: Provides a high-level summary of the combined strategy performance, including Net Profit %, Win Rate, Profit Factor, and Total Trades.
🔹 Logic Harmonization
To ensure different indicator types work together effectively, mean-reversion tools like the Stochastic and Bollinger Bands have been reconfigured to act as trend-confirmation filters. For example, the Stochastic signal is bullish when the %K is in the upper half of its range (> 50) rather than looking for oversold extremes, ensuring it aligns with trend-following components like Moving Averages.
🔶 SETTINGS
🔹 Signal Logic
Require All Enabled Indicators to Align: When enabled, every checked indicator must have the same directional bias to generate a signal.
🔹 Risk Management (ATR)
ATR Length: The period used for volatility-based exit calculations.
Take Profit/Stop Loss/Trailing Stop: Toggles and multipliers for managing trade exits.
🔹 Visuals
Orb Distance (ATR): Controls the vertical offset of signal orbs from the price candle.
Orb Base Size: Adjusts the thickness and glow intensity of the signal markers.
🔹 Dashboards
Dashboards: Enable or disable the table overlays.
Position/Size: Options to move and scale the Indicator and Performance tables to fit different screen layouts.
Penunjuk

BB-RSI - Short IndicatorBB-RSI — Short Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a fade-the-strength short DCA workflow. It tracks one virtual short position at a time, opened only when TWO independent overbought conditions align on a lower timeframe, then scales the position with up to nine safety orders as price ladders higher against entry. The indicator computes a running average entry, total deployed capital, and open PnL from the live fill ledger and renders all of it on the chart. Every event emits a webhook-ready JSON payload tailored for a DCA Bot.
- Dual confirmation entry: Bollinger Bands %B(20, 2.0) crossing up 1.00 AND RSI(7) crossing up 65, both on 30m.
- Wide deviation ladder: 0.72% to first safety order, 1.55× step multiplier — last AO at ~63% above base entry.
- Soft compounding: each safety order is sized 1.03× the previous one.
- Fixed exit: TP at 2.11% below the running average entry. No trailing, no Stop Loss.
- Eleven discrete events per cycle (entry + 9 AO fills + TP) — each one fires its own webhook payload.
🔷 Who is it for:
- Swing traders running a DCA Bot on crypto perpetuals that frequently overshoot resistance.
- Bot operators who want a chart-driven signal source that emits per-event JSON ready for a DCA Bot.
- Traders who want to monitor an evolving short position — base entry, owned AO levels, deployed capital, open PnL — directly on the chart without the strategy-tester overhead.
- Risk-conscious operators building a high-confidence, low-drawdown defensive short into a diversified portfolio.
🔷 How does it work:
Bollinger Bands %B Filter: A 30-minute Bollinger Bands(20, 2.0) is sampled via request.security and converted to %B = (close − lower) / (upper − lower). The BB gate fires when %B crosses up the configured level (default 1.00 — price exiting the upper band) at host-bar close.
RSI Filter: A 30-minute RSI(7) is sampled in parallel. The RSI gate fires when RSI crosses up the configured level (default 65 — entering overbought) at host-bar close.
Entry: When both gates align at the same host-bar close, the indicator marks a virtual short entry, captures the base entry price, seeds the cost-basis ledger, and fires the entry webhook payload.
Safety Order Ladder: After base entry, the indicator monitors close price upward against the position. When close reaches base entry × (1 + cumulative deviation), the k-th safety order is marked filled, cost-basis is updated, and the AO webhook payload is fired. Cumulative deviation grows by the step multiplier (default 1.55): 0.72%, 1.84%, 3.57%, 6.25%, 10.40%, 16.48%, 25.90%, 40.51%, 63.14%. AO USDT size grows by 1.03× per fill — soft compounding rather than aggressive martingale.
Honest Virtual Bookkeeping: Total cost and total qty are updated incrementally on every event, so the avg entry, deployed capital, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut from base entry, no synthetic averaging.
Exit: A fixed Take Profit at 2.11% below the running average entry. When close reaches the TP target, the close webhook payload fires and the virtual position resets.
🔷 Why it's unique:
- Dual-Filter Confirmation: Two independent signals on the same lower timeframe must align. %B captures volatility expansion beyond statistical bounds; RSI captures momentum overheating. Together they filter out the either-or noise that triggers single-condition strategies.
- Soft Compounding Ladder: The 1.03× size multiplier is much gentler than typical martingale (1.5–2.0×). It scales position size with adverse drift but doesn't blow up capital deployment if all safety orders fill.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Per-Event Webhook Ledger: Eleven distinct events per cycle, each with its own JSON alert payload. The indicator drives a DCA Bot end-to-end through a single TradingView alert.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for liquid crypto perpetuals on 30m–1h ranges. Default thresholds are calibrated for ATOMUSDT.P 30m. Strongly trending markets will fill the entire 9-AO ladder and hold the short while price grinds higher — the dual filter limits exposure to confirmed overbought conditions, but a regime shift to a strong trend requires manual oversight.
Cross Detection Granularity: Entries and AO fills are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Funding Rates (Perpetuals): The indicator does not account for perpetual funding rates. Sustained positive funding (longs pay shorts) improves live performance; sustained negative funding degrades it. Review the historical funding pattern before live deployment.
No Stop Loss: There is no exit signal on adverse moves beyond the 9-AO ladder. Risk is structurally capped on the bot side by the bounded position-size ladder. If a hard exchange-side stop is required, configure it on the bot directly.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a 2.5-year sample (~267 closed trades, 79.78% win rate, 1.53% max drawdown, profit factor 6.23), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 30m chart on the perpetual pair you want to trade.
🔸 Review the BB filter (timeframe / period / deviation / level) and the RSI filter (timeframe / length / level). Defaults are calibrated for ATOMUSDT.P 30m — recalibrate per asset before deploying.
🔸 Set the AO ladder parameters (count, first AO size, step, multipliers) and the Take Profit percentage to match your bot's configuration.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_ATOM).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for short entry, each safety order, and TP exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual order size for the avg-entry computation. Real sizing happens on the bot.
First AO Size (USDT): Virtual size of the first safety order; subsequent AOs scale by the Size Multiplier.
Order Size Multiplier: Factor that grows each subsequent safety order's USDT size.
Averaging Orders per Trade: Maximum number of safety orders per deal (default 9).
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
BB Timeframe / Period / Deviation / Level: Lower-timeframe Bollinger Bands %B filter on the host symbol.
RSI Timeframe / Length / Level: Lower-timeframe RSI filter on the host symbol.
Take Profit (%): Fixed distance below the running average entry where the virtual short closes.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle DCA Ladder, Avg Entry / TP plot lines, fill labels, signal triangles, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Penunjuk

[ A L P H A X ] Pulse ScalperAlphaX Pulse Scalper — 4-Layer Confluence Scalping System with ATR Trailing Exits, Squeeze Momentum Detection & Live Scoring Dashboard
AlphaX Pulse Scalper is a professional-grade multi-confluence scalping system engineered to fire only when four independent technical engines simultaneously agree on direction. Unlike single-indicator systems that generate signals from one source of information, Pulse Scalper runs a live scoring gate across an EMA Ribbon, a Squeeze Momentum engine, a Volume Delta pressure model, and a VWAP Deviation filter — every bar, on every candle. A signal only reaches your chart when at least three of the four layers confirm. The result is a dramatically lower signal count with a dramatically higher average quality per signal. Designed for active scalpers on crypto, forex, gold, and indices across the 1-minute to 15-minute timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The 4-Layer Confluence Engine — How It Works
Most scalping indicators fire from a single calculation — a crossover, a threshold breach, a momentum flip. The problem is that any single calculation is easily fooled by noise, spikes, and choppy price action. AlphaX Pulse Scalper is built on a fundamentally different architecture: four completely independent layers, each measuring a different dimension of market behavior , each casting a vote on every bar. Only when enough votes align does a signal fire.
This is not a filter applied on top of a signal. The confluence is the signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Layer 1 — EMA Ribbon (Trend Structure)
The first layer is a triple EMA ribbon using a Fast EMA (default: 8), Slow EMA (default: 21), and Signal EMA (default: 50). This layer answers a single question: is the market in a clean, structured trend right now?
Bull condition: Fast EMA above Slow EMA, Slow EMA above Signal EMA, and price closing above all three — a full stack alignment confirming upward momentum structure.
Bear condition: The full inverse — Fast below Slow below Signal, with price below all three.
Why this matters: The ribbon does not react to a single crossover. All three EMAs must be stacked in order and price must be on the correct side. This eliminates the vast majority of false crossover signals that plague simple dual-EMA systems. The ribbon is also plotted directly on the chart as a gradient-filled channel — bull fills in yellow-green, bear fills in red — giving you immediate structural context at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Layer 2 — Squeeze Momentum (Energy Detection)
The second layer is built on the TTM Squeeze principle — one of the most reliable pre-breakout detection systems in technical analysis. It works by measuring the relationship between two volatility envelopes: Bollinger Bands and Keltner Channels.
Squeeze state: When the Bollinger Bands compress inside the Keltner Channels, the market is coiling — volatility has contracted and energy is building. These periods of compression historically precede the strongest directional moves. The squeeze state is displayed as a subtle orange background tint on the chart, and flagged on the dashboard as ⚡ BUILDING — giving you advance warning that a breakout is loading before it happens.
Momentum direction: The raw momentum value is calculated using a linear regression of price position relative to the midpoint of the recent high-low range. When this value is positive and rising , the squeeze is releasing to the upside. When negative and falling , it is releasing to the downside.
Layer 2 votes bull when: Momentum value is above zero and accelerating upward.
Layer 2 votes bear when: Momentum value is below zero and accelerating downward.
Why this matters: This layer catches the energy behind a move, not just the direction. A breakout with strong squeeze momentum behind it is fundamentally different from a breakout on low momentum — and this layer distinguishes between the two on every bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Layer 3 — Volume Delta (Institutional Pressure)
The third layer is a proprietary volume delta model that estimates the real buying and selling pressure behind each candle — without requiring exchange-level order flow data.
How it works: Each candle's volume is split into bullish and bearish components based on the candle's close position within its high-low range. A candle closing near its high attributes most of its volume to buyers; a candle closing near its low attributes most to sellers. These estimates are smoothed using an EMA to eliminate single-bar noise. A secondary OBV slope (On-Balance Volume) is calculated over the configured lookback and used as an independent confirmation of the dominant pressure direction.
Layer 3 votes bull when: The bull volume EMA exceeds the bear volume EMA, the delta EMA is positive, and the OBV slope is rising — all three volume signals agree on buying pressure.
Layer 3 votes bear when: The full inverse — bear volume dominates, delta EMA is negative, OBV slope is falling.
Why this matters: Price can move in any direction on any bar. Volume delta tells you whether real capital is flowing in the direction of that move. A price breakout accompanied by genuine volume pressure is a high-confidence breakout. A price breakout on weak or opposing volume is a trap. This layer is the system's protection against price manipulation and false breakouts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 Layer 4 — VWAP Deviation (Institutional Bias)
The fourth layer uses the Volume Weighted Average Price (VWAP) with dynamically calculated standard deviation bands to identify where price stands relative to institutional value.
Band structure: Two band pairs are calculated — ±1σ and ±2σ — using a volume-weighted standard deviation formula applied across the session. These bands represent statistically significant deviations from the session's fair value anchor.
Layer 4 votes bull when: Price is above VWAP (institutional bias is bullish) but has not yet extended beyond the +2σ band — confirming trend direction without chasing a stretched, overextended move.
Layer 4 votes bear when: Price is below VWAP but has not extended beyond the -2σ band.
Why this matters: VWAP is the single most widely watched intraday reference level used by institutional desks, market makers, and algorithms. Price above VWAP means institutions are net buyers for the session. Price below means net sellers. The 2σ filter prevents the system from entering during climactic exhaustion moves — precisely the moments when reversal risk is highest and reward is lowest.
The bands are plotted directly on the chart — VWAP as a purple line, ±1σ as dotted yellow-green and red circles, ±2σ as solid outer boundaries — so you always have the full VWAP context visible alongside your signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The Confluence Gate — Live Scoring System
On every bar, each of the four layers independently casts its vote. The results are tallied into a live confluence score displayed in real time on the dashboard.
Bull score: 0–4 points. One point for each layer voting bullish.
Bear score: 0–4 points. One point for each layer voting bearish.
Signal fires when: The score meets or exceeds the configured minimum (default: 3 of 4), the ADX filter confirms a trending market, and the session filter confirms active market hours.
Score thresholds and what they mean:
4 / 4 — maximum confluence. All four independent engines agree. The highest-conviction setup the system can produce. Enter full size.
3 / 4 — strong confluence. Three of four layers aligned. The default threshold — high quality with reasonable frequency.
2 / 4 — weak confluence. Available if you lower the minimum, but not recommended. Two engines agreeing is not meaningful convergence.
The confluence score is printed directly on the signal label (e.g., 3/4 or 4/4 ) so you know at a glance exactly how strong every setup is at the moment it fires. The dashboard continuously displays the live bull and bear scores — even between signals — so you can watch confidence building in real time before the signal appears.
Edge triggering: Signals only fire on the bar where the score first crosses the threshold — not on every bar the score remains above it. This prevents signal spam during extended trend runs and ensures every triangle on the chart represents a distinct, fresh entry event.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 ADX Filter — Trend Quality Gate
Before any signal reaches the chart, it must also pass the ADX (Average Directional Index) filter . ADX measures the strength of the current trend regardless of direction — a reading below the threshold indicates a choppy, ranging market where trend-following signals have low reliability.
Default threshold: 20. When ADX is below this level, all signals are suppressed — even if the confluence score is 4/4. This is the system's protection against the single most common failure mode of scalping indicators: firing confidently into sideways, oscillating price action.
The ADX value and pass/fail status are displayed live on the dashboard so you always know whether the market structure supports trading at any given moment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕐 Session Filter — Active Hours Gate
The Session Filter restricts signals to a configurable active trading window (default: 07:00–20:00 exchange time). Outside this window, signals are suppressed regardless of confluence score.
Why this matters for scalpers: Low-volume pre-market and post-market hours produce the most misleading signals of any period. Spreads widen, liquidity thins, and momentum moves that look compelling on the chart are frequently reversed the moment the main session opens. The session filter eliminates this entire class of false setups automatically.
The dashboard displays a clear ✓ ACTIVE or ✗ OFF-HOURS status so you always know whether the filter is open or closed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Dynamic ATR Exit System
AlphaX Pulse Scalper uses a fully dynamic ATR-based exit system with three simultaneously active exit mechanisms — each serving a distinct role in protecting profit.
Stop Loss: Fixed at entry based on the pivot low (bull) or pivot high (bear) minus an ATR buffer (default: 1.2× ATR). Displayed as a solid red line below price for longs, above for shorts. This is your maximum risk boundary — it does not move.
TP1 — Partial Target (50%): Set at 1.8× ATR from entry. When price reaches TP1, scale out 50% of the position and let the remainder run to TP2. A small circle marker appears at the TP1 bar.
TP2 — Full Target: Set at 3.5× ATR from entry. When price reaches TP2, the full position exits and the system resets. A labeled TP marker appears on the chart.
ATR Trailing Stop: The most important of the three. From the moment a trade opens, a trailing stop moves dynamically with price — always positioned 1.5× ATR behind the current bar's low (for longs) or high (for shorts). The trail is displayed as a live orange line on the chart. As price advances in your favor, the trail advances with it. If price reverses and hits the trail before reaching TP2, the trade exits at the trail level rather than waiting to give back all gains.
Why the trailing stop changes everything: Fixed TP levels work in textbook trends. In the real market, strong impulses often exceed TP2 before reversing — and weak impulses stall before even reaching TP1. The ATR trailing stop captures whatever the market gives, without predetermining a ceiling on your profit. In strong trending conditions, a single Pulse Scalper signal with an active trail can run 5–10× ATR before stopping out.
All three exit levels — SL, TP1, TP2, and the trailing stop — are plotted as live lines on the chart as long as a trade is active, then cleared automatically when the position closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state of the indicator across four sections, updated on every bar.
MARKET
Session — ✓ ACTIVE or ✗ OFF-HOURS. Confirms whether the session filter is open for signals
ADX — live ADX value with ✓ or ✗ pass/fail indicator. Confirms whether market structure is trending strongly enough to trade
CONFLUENCE
L1 EMA Ribbon — current ribbon state: ▲ BULL, ▼ BEAR, or — FLAT
L2 Squeeze Momentum — current momentum state: ⚡ SQUEEZE (building), ▲ BULL, ▼ BEAR, or — FLAT. The squeeze state is the highest-value pre-signal condition the system can display
L3 Volume Delta — current volume pressure: ▲ BULL, ▼ BEAR, or — NEUTRAL
L4 VWAP Deviation — current VWAP position: ▲ ABOVE, ▼ BELOW, or — EXTENDED (price beyond 2σ, filter active)
Bull Score — live 0–4 score for bullish confluence. Background turns yellow-green when threshold is met — the signal is ready to fire
Bear Score — live 0–4 score for bearish confluence. Background turns red when threshold is met
POSITION
Position — current tracked position: ▲ LONG, ▼ SHORT, or — FLAT with background color highlight
Stop Loss — the fixed SL level currently active, color-coded red (bull) or green (bear)
Trail Stop — the current trailing stop level in orange — updates dynamically every bar the trade is open
TP1 (50%) — the first take-profit target currently active
TP2 (full) — the full exit target currently active
Bars in Trade — how many bars the current position has been open
INFO
ATR — current ATR value used for all exit calculations
VWAP — current VWAP price level for the session
Squeeze — ⚡ BUILDING when BB is inside KC (squeeze active), or — RELEASED when the squeeze has fired
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Every visual element on the chart serves a specific purpose. There is no decorative clutter.
▲ Triangle (below bar) — bull entry signal. Fires when bull confluence score meets threshold, ADX passes, session is active
▼ Triangle (above bar) — bear entry signal. Fires when bear confluence score meets threshold
Score Label (3/4 or 4/4) — printed beside each signal triangle. The raw confluence count at signal time
EMA Ribbon Fill — yellow-green fill between Fast and Slow EMA during bull structure, red during bear structure. Collapses to gray during neutral
VWAP Line — purple center line marking the session's volume-weighted fair value
VWAP ±1σ Bands — dotted yellow-green and red circles marking the first standard deviation
VWAP ±2σ Bands — solid outer boundaries. Price touching these is the maximum extension zone
Orange Squeeze Background — appears during active squeeze conditions. A visual alert that energy is compressing and a breakout is approaching
Yellow-green background tint — active during open long trades. Confirms trade is live at a glance
Red background tint — active during open short trades
SL Line (red/green) — the fixed stop loss level, active while trade is open
TP1 Line (semi-transparent) — the partial target level
TP2 Line (bright) — the full exit target level
Trail Line (orange) — the dynamic trailing stop, moves with price every bar
TP marker — appears when TP2 is hit. Full exit confirmed
SL marker — appears when stop loss or trailing stop is triggered
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Pulse Scalper — Step by Step
Step 1 — Check the Dashboard Before Every Session
Confirm Session shows ✓ ACTIVE
Confirm ADX shows ✓ — if ADX is below threshold, the market is ranging and no signals will fire regardless of how the layers look
Watch the Squeeze row on the dashboard — ⚡ BUILDING means a breakout setup is forming. This is your highest-alert pre-signal state
Step 2 — Watch the Confluence Scores Build
Monitor the live Bull Score and Bear Score rows in the dashboard. You can watch the scores build in real time, bar by bar, before a signal fires
When a score reaches 3/4 and the background highlights, a signal is imminent or has just fired
A 4/4 score is the highest-quality setup. Prioritize these above all else
Step 3 — Enter on the Signal Triangle
A ▲ triangle below the bar is a long signal. Enter on the close of the signal bar or the open of the next bar
A ▼ triangle above the bar is a short signal. Enter on the same basis
Read the score label — 4/4 signals warrant full position size, 3/4 signals warrant standard or slightly reduced size
Step 4 — Manage with the Live Exit Lines
The SL line is your hard stop. Never move it further away from price
Watch the orange Trail Stop line advance with price as the trade moves in your favor
At TP1, scale out 50% of the position. Move your manual stop to breakeven on the remainder
Let the trailing stop manage the rest — it will exit automatically when momentum exhausts
Step 5 — Exit and Reset
A TP marker on the chart confirms TP2 has been hit. Full exit. Dashboard resets to — FLAT
An SL marker confirms the stop or trail has been hit. Accept the loss and wait for the next setup
After any exit, do not re-enter immediately. Wait for the confluence score to rebuild from zero — this prevents revenge trading into the same noise that stopped you out
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
The system is designed to filter out most low-quality conditions automatically. But understanding what to look for gives you an additional edge.
Stand aside when you see:
ADX ✗ on the dashboard — the market is not trending. Any signal would be a range-bound trade against the system's core design
Dashboard shows — FLAT across all four layers — no layer has a directional conviction. The market has no readable bias
Bull and bear scores both at 1 or 2 — the layers are split. Price is oscillating without commitment in either direction
Session shows ✗ OFF-HOURS — no signals will fire and manual entries carry elevated risk from thin liquidity
Squeeze just released but score is only 2/4 — the squeeze fired but not enough layers confirmed the direction. This is a low-conviction breakout — wait for the next setup
Rapid alternation of ▲ and ▼ triangles — if you see signals in both directions within a short window, the market is too choppy. Increase the ADX threshold in settings or stand aside until a clearer trend develops
What to do:
Wait for the Squeeze dashboard to show ⚡ BUILDING — this is the highest-quality pre-signal state. The best Pulse Scalper setups almost always begin with a squeeze
Wait for ADX to climb back above threshold — a strong trend is forming
Wait for a 4/4 score on the next signal — maximum confluence only, no compromises in a difficult session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 4-layer confluence gate — EMA Ribbon, Squeeze Momentum, Volume Delta, and VWAP Deviation must agree before any signal fires
📊 Live confluence scoring — bull and bear scores update every bar in real time, displayed on the dashboard before the signal appears
⚡ TTM Squeeze detection — Bollinger/Keltner compression identifies pre-breakout coiling with an orange background tint and dashboard flag
📈 Proprietary volume delta model — estimates buying and selling pressure without exchange-level order flow data, confirmed by OBV slope
📡 VWAP with standard deviation bands — ±1σ and ±2σ plotted live, VWAP filter prevents entries during climactic extension moves
🛡 ADX trend quality gate — suppresses all signals during choppy, non-trending market conditions
🕐 Session filter — restricts signals to active market hours, eliminating low-liquidity false setups automatically
🎯 Triple exit mechanism — fixed ATR stop loss, TP1 at 1.8× ATR, TP2 at 3.5× ATR, plus dynamic ATR trailing stop that advances with price every bar
📉 ATR trailing stop — plotted as a live orange line, adapts dynamically to volatility, captures extended runs beyond TP2 in strong trends
🏷 Confluence score label on every signal — 3/4 or 4/4 printed directly on the chart so you know signal quality at a glance
📊 28-row live dashboard — Market, Confluence, Position, and Info sections updated in real time
🔔 9 alert conditions — bull entry, bear entry, TP1/TP2 hits, stop hits, squeeze start, any exit
🎨 Cohesive dual-tone color theme — yellow-green for all bullish elements, red for all bearish elements, orange for squeeze and trail, gray for neutral
⚙ Fully configurable — all EMA periods, squeeze parameters, VWAP multipliers, ADX threshold, confluence minimum, ATR multipliers, session window, and all colors are adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
EMA Ribbon
Fast EMA — the fastest ribbon line, reacts most immediately to price (default: 8)
Slow EMA — the intermediate ribbon line (default: 21)
Signal EMA — the macro trend anchor. All three must stack in order for a ribbon vote (default: 50)
Show EMA Ribbon — toggle the ribbon fill and lines on or off
Squeeze Momentum
BB Length — Bollinger Band lookback period for squeeze detection (default: 20)
BB Mult — Bollinger Band standard deviation multiplier (default: 2.0)
KC Length — Keltner Channel lookback period (default: 20)
KC Mult — Keltner Channel ATR multiplier (default: 1.5)
Momentum Length — linear regression period for the momentum value calculation (default: 12)
Volume Delta
Volume MA Length — EMA smoothing period for bull and bear volume estimates (default: 14)
OBV Slope Length — lookback bars for OBV slope calculation (default: 10)
VWAP
Use VWAP Filter — when enabled, Layer 4 requires price to be on the correct side of VWAP (default: on)
Show VWAP Bands — toggle ±1σ and ±2σ band plots on or off
Band 1 Mult — first standard deviation band multiplier (default: 1.0)
Band 2 Mult — second standard deviation band multiplier (default: 2.0)
Confluence Gate
Min Layers Required — how many of the 4 layers must agree for a signal to fire. 2 = more signals, 3 = balanced (default), 4 = ultra-selective
Session Filter — toggle the active hours restriction on or off
Active Session — configurable session window string (default: 0700-2000)
ADX Filter
Use ADX Filter — toggle the trend quality gate on or off
ADX Length — lookback period for ADX calculation (default: 14)
ADX Minimum — threshold below which all signals are suppressed (default: 20)
Exit Settings
ATR Length — lookback period for ATR used in all exit calculations (default: 10)
SL ATR Mult — stop loss distance from entry as a multiple of ATR (default: 1.2)
TP1 ATR Mult — first take-profit distance (default: 1.8 — approximately 1.5:1 reward on a full position)
TP2 ATR Mult — full exit target distance (default: 3.5 — approximately 3:1 reward)
Use ATR Trailing Stop — toggle the dynamic trailing stop mechanism on or off
Trail ATR Mult — trailing stop distance from current bar's low or high (default: 1.5)
Show Exit Levels — toggle SL, TP1, TP2, and trail lines on the chart
Display
Show Confluence Score Label — prints the live score (e.g. 3/4) on every signal triangle
Show Dashboard — toggle the entire dashboard panel on or off
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals, fills, and labels
Bear / Bear Bright — red family for all bearish signals, fills, and labels
Squeeze — orange used for squeeze background tint and trailing stop line
Neutral — gray for inactive states and neutral dashboard rows
Text Light / Dash BG — dashboard typography and background
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (9 total)
Entry Alerts
Bull Confluence Entry — bull score meets threshold, ADX passes, session active
Bear Confluence Entry — bear score meets threshold, ADX passes, session active
Exit Alerts
Bull TP1 Hit — price reaches the first bull take-profit level
Bull TP2 Hit — price reaches the full bull exit target
Bull Stop Hit — stop loss or trailing stop triggered on a long position
Bear TP1 Hit — price reaches the first bear take-profit level
Bear TP2 Hit — price reaches the full bear exit target
Bear Stop Hit — stop loss or trailing stop triggered on a short position
Special State Alerts
Squeeze Started — Bollinger Bands have compressed inside Keltner Channels. A breakout setup is loading
All alert messages include {{ticker}} and {{interval}} for clean webhook and notification integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M5 :
Min Layers at 3/4 — strong confluence without requiring perfection on every bar
ADX minimum at 20 — filters choppy intraday sessions without being overly restrictive
ATR Trail at 1.5× — gives trades enough room to breathe on fast-moving scalping timeframes
Session 07:00–20:00 — covers London and New York sessions, the highest-volume windows for forex and gold
For other instruments or timeframes, adjust:
Higher timeframes (M15, H1, H4) — increase EMA periods (Fast 13, Slow 34, Signal 89), increase ADX minimum to 25, increase TP2 to 4.5–5.0× ATR
Crypto (BTC, ETH) — increase KC Mult to 2.0–2.5 to accommodate wider volatility, increase SL mult to 1.5–2.0
Indices (NAS100, US30, SPX500) — use defaults with ADX raised to 22–25. Index trends are strong but session timing is critical — tighten session window to 09:30–16:00 for US indices
More signals — lower Min Layers to 2, disable ADX filter, widen session window
Fewer, higher-quality signals — raise Min Layers to 4, raise ADX minimum to 25, enable volume filter with ratio at 1.2×
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
⚡ Scalpers and intraday momentum traders — the 1m–15m timeframe focus and ATR trailing exit system are built specifically for fast-moving intraday conditions
🥇 Gold (XAUUSD) and forex traders — default settings are tuned and tested on gold and major pairs during London and New York sessions
📊 Crypto and index traders — the four-layer architecture adapts across instruments without manual recalibration
🧠 Systematic traders — the live confluence score provides a quantitative signal quality reading, not just a visual arrow
📈 Traders who want to eliminate overtrading — the confluence gate, ADX filter, session filter, and edge triggering physically prevent low-quality setups from appearing on the chart
🎯 Traders who struggle with exits — the three-layer exit system (fixed SL, scaled TP1, trailing TP2) provides a complete, rules-based exit framework that removes emotion from trade management
📉 Risk-conscious traders — every trade has a defined stop, a defined first target, and a dynamic trailing mechanism. There is no ambiguity about where you exit under any scenario
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design
The edge-triggered signal logic means each triangle on the chart represents a distinct new confluence event — the same setup does not generate repeated signals during extended runs
The trailing stop line on the chart is a real-time visual — it moves every bar the trade is open and accurately reflects the current stop level at all times
Maximum 500 labels and 500 lines are used — on very low timeframes with extended chart history, the oldest markers may be automatically removed by TradingView's rendering limits
The Squeeze background tint is a leading indicator — it appears before signals fire, giving you time to prepare. The strongest Pulse Scalper signals frequently begin with a squeeze
The VWAP calculation resets at the start of each session. On instruments without a defined session (perpetual crypto), the VWAP anchors to the chart's visible history. For best results on crypto, use a 24-hour session string or disable the VWAP filter and use the other three layers
The Trade Status section on the dashboard tracks position direction from signal to exit within a single chart session — it does not connect to your broker or brokerage 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 scalpers who need more than a signal — a complete system that scores, filters, enters, trails, and exits with precision on every trade. Penunjuk

Squeeze Bollinger Bands Tracker [MarkitTick]💡 This institutional-grade analysis suite provides a sophisticated volatility-tracking environment designed to identify market compression phases and high-conviction breakouts. By integrating Bollinger Band standard deviation logic with Z-Score normalization and a non-linear sigmoid volatility engine, the script transforms raw price action into a multi-dimensional heatmap. This approach allows traders to distinguish between low-volatility "coiling" phases and institutional-driven momentum expansions, providing a clear visual representation of market energy.
● ✨ Originality and Utility
The Squeeze Bollinger Bands Tracker distinguishes itself through the implementation of a proprietary "Signal Engine" and a non-linear volatility grading system. Unlike standard Bollinger Band indicators that merely plot static lines, this tool actively monitors the rate of change in channel width relative to its own historical standard deviation.
• Dynamic Volatility Normalization
Most indicators rely on linear calculations that fail to account for the exponential nature of market expansion. This script utilizes a Z-Score calculation to determine how extreme a volatility move is compared to its history, then maps that value through a sigmoid function. This creates a "Heatmap" effect on the candles that reflects institutional participation levels rather than simple price movement.
• Institutional Breakout Grading
The utility is further enhanced by an automated grading system (Grades A, B, and C). By cross-referencing price spread (the distance between open and close) with actual volume metrics during a breakout, the script provides an objective measure of signal quality, helping traders filter out "fakeouts" that lack volume support.
● 🔬 Methodology and Concepts
The logic flow is divided into three core analytical pillars: Compression Detection, Momentum Normalization, and Signal Verification.
• Compression Detection (The Squeeze)
The script calculates the percentage-based width of the Bollinger Bands. When the current width falls below its SMA-based average, the market is classified as being in a "Squeeze" state. This signifies a period where market energy is being stored, often preceding a significant directional expansion.
• Sigmoid-Mapped Z-Score Volatility
To provide the neon heatmap coloring, the script calculates the Z-Score of the channel width. This tells us how many standard deviations the current volatility is from the mean. This Z-Score is then processed through a Sigmoid Function: 100 / (1 + exp(-Z-Score)). This mathematical transformation squashes the infinite Z-Score range into a 0–100 scale, creating a smooth gradient for the "True Institutional Heatmap."
• Breakout Validation Engine
Signals are not generated simply on a price cross. The Signal Engine (a custom User-Defined Type) calculates real-time Entry, Stop Loss (based on the previous basis line), and Take Profit levels. During the moment of crossover, the "calcGrade" method evaluates if the current bar's spread and volume are at least 150% of their historical averages to assign a Grade A "Institutional" breakout.
● 🎨 Visual Guide
The visual interface is designed with a high-contrast "3D Neon" aesthetic to ensure critical data points are immediately recognizable during fast-moving market conditions.
• The 3D Neon Channels
Upper Core & Glow: The upper Bollinger Band is rendered in Cyan (#00FFFF). It features three layers: a 2-pixel core for precision and two wider "Glow" layers with varying transparency (60% and 85%) to create a neon effect.
Lower Core & Glow: The lower band is rendered in Magenta (#FF00FF), following the same three-layer glow architecture to signify the support boundary.
Basis Core: The central moving average is rendered in Yellow (#FFFF00), acting as the dynamic mean and the primary stop-loss anchor.
• True Institutional Heatmap Candles
The candle colors are not fixed; they represent a gradient based on the Sigmoid Volatility score.
Bullish State: Transitions from a deep "Cold" Forest Green (#004D40) during low-volatility rises to a "Hot" Neon Green (#00FF00) during high-momentum surges.
Bearish State: Transitions from a deep "Cold" Purple (#4A148C) during low-volatility drops to a "Hot" Neon Red (#FF0000) during aggressive sell-offs.
Neutral State: Gray (#808080) candles appear when no definitive trend state is identified by the Signal Engine.
• Analytical Dashboard and Labels
Buy/Sell Labels: When a breakout occurs, a Cyan or Magenta label appears. It displays the signal Grade (A, B, or C) and the calculated E (Entry), TP (Take Profit), and SL (Stop Loss) values.
Institutional Analytics Dashboard: Located in the top-right, this table provides real-time data on Trend Maturity (in bars), Volatility State (Squeeze vs. Expanding), and the percentage proximity to the upper and lower breakout levels.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The indicator is built upon the foundation of Statistical Process Control and Information Theory. By treating price movement as a signal-to-noise problem, the script uses the following frameworks:
• Standard Deviation and Gaussian Distribution
The core of the Bollinger Band calculation relies on the assumption that price spends approximately 95% of its time within two standard deviations of the mean. The "Squeeze" logic identifies periods where the distribution is abnormally tight, suggesting an imminent return to the mean or a "Fat Tail" event (a breakout).
• Z-Score Normalization
In statistics, the Z-Score is used to compare observations from different data sets or time periods. By applying Z-Score logic to the width of the bands, the indicator removes the "unit" of price and focuses purely on the intensity of the volatility, allowing for a standardized comparison across different assets (e.g., Bitcoin vs. Apple).
• Non-Linear Sigmoid Mapping
The use of the Sigmoid function (common in Neural Network activation) serves to eliminate outliers in volatility data. This ensures that the candle heatmap provides meaningful color variations even during extreme "Black Swan" events, preventing the visual output from becoming saturated or unreadable.
● 📖 How to Use
Traders should focus on the transition between market states as displayed by the Analytics Dashboard and the Heatmap.
• Step 1: Identify the Squeeze
Monitor the "Volatility State" in the dashboard. When it displays "⚠️ SQUEEZE" in Neon Orange, the market is coiling. This is the preparation phase where no trades should be taken.
• Step 2: Evaluate the Breakout Grade
Wait for a "BUY" or "SELL" label to appear. Priority should be given to "Grade A" signals, as these indicate that both price spread and volume have significantly exceeded their 20-period averages, confirming institutional intent.
• Step 3: Execution and Risk Management
Upon a valid signal, the script provides an automated trade plan. The Stop Loss is set at the Basis (Yellow) line from the previous bar to allow for minor breathing room, while the Take Profit is projected at a 1:1 ratio relative to the width of the band at the time of entry.
● ⚙️ Inputs and Settings
The script provides granular control over the analytical engine and the visual experience.
• Channel Settings
Channel Length: Controls the SMA window for the Bollinger Bands (Default: 20).
Standard Deviation Multiplier: Adjusts the width of the neon boundaries (Default: 2.0).
• Analytics Settings
Squeeze/Z-Score Length: Determines the lookback period used to define what constitutes "average" volatility (Default: 50).
Quality SMA Length: Defines the window for the Grade A/B/C volume and spread verification (Default: 20).
• Color and Heatmap Settings
Users can fully customize the Neon Upper/Lower colors, the Dashboard background transparency, and the specific "Cold" and "Hot" thresholds for the candle gradient engine to match their preferred dark or light chart theme.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Penunjuk

[ A L P H A X ] VertexAlphaX Vertex — Volatility Squeeze Release, HTF Regime, Smart Confluence & Session-Ready Signals
AlphaX Vertex is a Pine Script v6 overlay indicator built around a classic volatility squeeze: Bollinger Bands fully inside Keltner Channels signal a coil in volatility; the first bar of expansion is the release. Vertex layers higher-timeframe regime, directional energy (+DI/−DI and ADX), RSI momentum with an optional hook, optional MACD histogram alignment, and optional volume — then separates hard gates from a compact soft confluence score so filters actually change outcomes. Factory defaults are tuned for responsive intraday work (including spot/CFD XAUUSD on 1-minute); every setting remains fully customizable. Visuals follow the AlphaX palette — yellow-green for bullish continuity, red for bearish, amber squeeze highlights, and a dark compact dashboard — consistent with AlphaX Titan / OMEGA styling.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview
AlphaX Vertex on chart — optional squeeze bar tint, triangle markers at confirmed releases with optional V↑ / V↓ score labels (soft score out of 3), optional Bollinger and Keltner plots, and a multi-row VERTEX dashboard showing coil state, HTF regime, bridge check, ADX, DI, RSI, and session gate.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 Squeeze Engine — Coil and Release
The core geometry is the TTM-style relationship between Bollinger Bands and Keltner Channels:
Coil (squeeze ON): The entire Bollinger envelope sits inside the Keltner envelope — volatility has contracted and energy is stored.
Release: The first bar where that condition ends — Bollinger expands outside Keltner again — is the volatility release event ( release_ok ).
Minimum coil length: Vertex counts how many consecutive bars stayed in the coil; releases shorter than Min Squeeze Bars are ignored to reduce one-bar noise (especially important on fast timeframes and symbols with spiky micro-ranges).
Inputs include Bollinger length and standard-deviation multiplier, Keltner length and ATR multiplier, and minimum coil bars. Optional Highlight Squeeze Bars tints bars during the coil; optional Plot BB & Keltner draws both channels for full transparency.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Direction on Release — Keltner Basis Bias
On the release bar, directional bias for long vs short is anchored to the Keltner basis (EMA midline):
Long-side release — price closes at or above the Keltner basis when the coil fires.
Short-side release — price closes at or below the Keltner basis when the coil fires.
This is the same directional cue used in textbook squeeze-plus-basis workflows: expansion plus which side of the midline price reclaims on the signal bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Higher-Timeframe Regime — Hard Gate (No Lookahead)
When Use HTF Regime Filter is enabled, Vertex pulls the selected HTF without lookahead ( barmerge.lookahead_off ) and applies a strict regime test before any long or short can qualify:
Bullish HTF — HTF close is above the HTF EMA and the EMA is sloped upward over your slope lookback.
Bearish HTF — HTF close is below the HTF EMA and the EMA is sloped downward over the same lookback.
Neutral — If neither bull nor bear condition is satisfied, Vertex blocks both directions for that bar (no cherry-picking HTF as a partial score — it is a real veto).
The dashboard shows regime ( BULL / BEAR / NEUTRAL / OFF ), the active HTF string, an HTF filter row ( Allows LONG , Allows SHORT , or Blocks both ), and a Bridge row: Chart < HTF when your chart timeframe is strictly lower than the selected HTF (the intended use case), or Chart >= HTF as a warning that you are not stepping up to a higher timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💪 ADX and +DI / −DI — Hard Gates
When enabled, these are mandatory — not soft “minus one point” filters:
ADX minimum — Optional floor on ADX to avoid signaling releases in dead, non-trending chop.
+DI / −DI bias — Longs require +DI > −DI when the gate is on; shorts require −DI > +DI.
The live dashboard shows ADX value (and whether the gate is off) plus the current DI+ / DI− readout.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 RSI, MACD Histogram, Volume — Soft Confluence (Score / 3)
After all squeeze, session, HTF, ADX, and DI conditions pass for the candidate direction, Vertex scores a separate soft module:
RSI — Configurable length and bull/bear levels; optional RSI Hook demands a crossover or short ramp in the trade direction so momentum is not stale.
MACD histogram — Optional confirm: histogram must agree with direction (or be building in that direction when enabled).
Volume — Optional confirm versus a volume moving average and multiplier; when volume confirm is off , the volume slot still contributes to the soft score as a pass-through so Min Confluence remains intuitive (see tooltips in script).
Min Confluence is the minimum soft score (1–3) required in addition to all hard gates. Raising it tightens entries; lowering it relaxes the model.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕐 Session Gate (UTC)
Optional London, London/NY overlap, and NY afternoon windows in UTC (same convention style as AlphaX Titan Signal). When disabled, structure is evaluated around the clock; when enabled, signals outside selected windows are blocked.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Markers, Labels, and Execution Timing
Triangles — Small green up-triangles below the bar for qualifying longs; small red down-triangles above for qualifying shorts.
Score labels — Optional V↑ n/3 / V↓ n/3 labels offset by ATR show the soft score on the signal bar.
Shift markers right — Optional 0–3 bar horizontal offset for plotshapes (and aligned labels) e.g. to visualize “next bar” execution while alerts still reference the true signal bar.
Cooldown — Minimum bars between signals to reduce duplicate fires in the same impulse.
Bar-close logic — Conditions use completed bar data (OHLC, pivot-style squeeze state, etc.). The signal bar is the first bar where the full rule set is satisfied; intrabar entries at the open of that bar are not implied by the math.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Dashboard (Compact Table)
VERTEX — Brand header row.
Squeeze — COIL vs OPEN (expansion) state.
HTF — BULL / BEAR / NEUTRAL / OFF plus the configured HTF timeframe label.
HTF filter — Which direction the HTF gate currently allows, or whether both are blocked.
Bridge — Whether chart TF is strictly below the HTF or not.
ADX — Live ADX with pass/fail coloring.
DI+/DI− — Directional bias numerically.
RSI — Live RSI reading.
Session — OK or BLOCK when the session gate is used.
Dashboard corner is selectable (Top Right, Top Left, Bottom Right, Bottom Left). Default is Bottom Left to reduce overlap with markers near the right-edge price scale.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 TTM-style squeeze — Bollinger inside Keltner for coil; first expansion bar = release; minimum coil length filter
Keltner basis bias — Long/short qualification tied to close vs EMA midline on the release bar
🌐 HTF regime gate — request.security with no lookahead; bull/bear/neutral with neutral blocking both sides
💪 ADX & +DI/−DI hard gates — Optional but structurally enforced when toggled on
📊 RSI + optional hook — Momentum filter with configurable levels
📉 Optional MACD histogram — Soft-score confirmation
📦 Optional volume — Soft-score vs volume MA
🎯 Soft score /3 — Separate from hard gates; Min Confluence control
🕐 UTC session filter — Optional London / overlap / NY afternoon
⏱ Signal cooldown — Limits back-to-back markers
📋 9-row dashboard — Real-time regime, bridge, ADX, DI, RSI, session
🔔 3 alert conditions — Vertex Long, Vertex Short, raw volatility release (unfiltered)
✅ Non-repainting historical signals — Confirmed bar-close style logic (standard indicator execution)
🎨 AlphaX theme — #A7D129 bull, #E43636 bear, dark table chrome
📌 Pine v6 — Built for TradingView Pine Script v6
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Squeeze Engine
BB Length — Bollinger period (default 18 in factory XAUUSD M1 preset; full range 5–100)
BB StdDev Mult — band width multiplier
Keltner Length — basis/ATR channel period
Keltner ATR Mult — channel width vs ATR
Min Squeeze Bars — minimum consecutive coil bars before a release counts (default 6 in XAUUSD M1 factory preset)
HTF Regime
Use HTF Regime Filter — master switch for HTF veto
HTF Timeframe — e.g. 15, 60, 240, D (factory default 15 for 1m chart bridging)
HTF EMA Length — regime EMA on that timeframe (factory default 21)
HTF EMA Slope Lookback — bars back on HTF for slope direction (factory default 4)
Direction
DMI / ADX Length — DI and ADX calculation period
Require ADX ≥ Minimum — hard gate toggle
ADX Minimum — threshold when gate is on
Require +DI / −DI Bias — hard gate toggle
RSI Length — momentum oscillator period
Bullish / Bearish RSI Level — directional thresholds
Require RSI Hook — momentum freshness filter
MACD Histogram Confirm — include MACD in soft score when on (12,26,9 MACD)
Volume
Volume Confirm — add volume-vs-MA requirement to soft score when on
Volume MA Length — lookback for average volume
Volume vs MA Mult — spike multiplier
Session
Enable Session Gate (UTC) — master switch
London 08:00–13:00 UTC — sub-window
London/NY Overlap 13:00–17:00 UTC — sub-window
NY Afternoon 17:00–21:00 UTC — sub-window
Signals
Min Confluence (score / 3) — soft-score threshold after all hard gates
Cooldown Bars — spacing between allowed signals
Show Long / Short Markers — plotshape toggles
Show Confluence Score on Marker — V↑ / V↓ labels with n/3
Display
Highlight Squeeze Bars — barcolor tint during coil
Plot BB & Keltner — show both channel sets
Compact Dashboard — table on/off
Dashboard Corner — table anchor
Shift ▲▼ markers right (bars) — plotshape/label offset 0–3
Label Offset (× ATR) — vertical label distance from bar extreme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Vertex — Step by Step
Step 1 — Confirm squeeze state
Watch the dashboard Squeeze row: COIL means volatility is compressed; you are hunting the OPEN transition to expansion.
Optional: enable BB/Keltner plots to visually verify the envelope relationship.
Step 2 — Align with higher timeframe
If HTF filter is on, require BULL regime for long-only bias and BEAR for short-only bias. NEUTRAL blocks both — stand aside until the HTF clears.
Prefer Bridge: Chart < HTF so the regime is truly higher than your execution chart.
Step 3 — Respect directional energy
With ADX gate on, avoid releases when ADX is below your floor — the move may lack trend strength.
With DI gate on, ensure +DI leads for longs and −DI leads for shorts.
Step 4 — Wait for the scored release
After release and Keltner bias, soft score must meet Min Confluence : RSI hook/levels, optional MACD, optional or pass-through volume slot.
Triangles and optional V↑/V↓ n/3 labels mark the bar where the stacked logic first succeeds together.
Step 5 — Session and repetition control
Apply session filter if you only trade specific liquidity windows.
Use cooldown to avoid over-trading the same expansion cluster on very fast timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Vertex Long — full long stack: squeeze release, long bias, all active hard gates, soft score ≥ Min Confluence, cooldown respected, single direction resolution if both sides conflict
Vertex Short — full short stack (mirror of long)
Vertex Raw Release — volatility coil ended (expansion began) without the full Vertex filter stack — diagnostic for “something fired” even when regime/momentum vetoes
Alert messages are fixed strings suitable for manual routing; add {{ticker}} and {{interval}} in TradingView’s alert message editor if your workflow requires them.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Volatility breakout and squeeze traders — systematic coil → expansion framing
📉 Forex, metals, indices, and liquid CFDs — any symbol where compress-expand behavior matters
⏱ Scalpers through swing traders — parameters and HTF bridge scale with your timeframe choices
🧠 Traders who want explicit hard vs soft logic — regime and trend-energy gates separate from RSI/MACD/volume confluence score
🔔 Alert-driven workflows — filtered long/short plus raw-release diagnostic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
Vertex is an indicator , not a strategy — it does not place orders; it visualizes conditions and exposes alertconditions.
The squeeze release uses the relationship between completed bar ranges (high/low/close) inside the channel math; treat the marker bar as confirmed at bar close in line with standard Pine indicator behavior.
Raising Min Squeeze Bars reduces false coils on noisy feeds; lowering it increases sensitivity.
Turning MACD Histogram Confirm off and lowering Min Confluence increases signal frequency; tightening HTF, ADX, DI, and session does the opposite.
Neutral HTF regime ( Blocks both ) is intentional — it prevents trading “squeeze only” when higher-timeframe bias is undefined.
The statistical target and Fibonacci extension sections in other AlphaX products are not part of Vertex; Vertex focuses on coil, release, regime, energy, and scored momentum only.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ 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 derived from price and volume data via mathematical rules; profitability is not guaranteed. Past behavior of volatility coils does not guarantee future outcomes. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before trading. The author accepts no responsibility for losses arising from use of this tool.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want squeeze releases vetted by higher-timeframe bias, trend energy, and a transparent momentum score — AlphaX Vertex: coil, release, confluence.
Penunjuk

Penunjuk

Volatility Prism [JOAT]Volatility Prism
Introduction
Volatility Prism is an open-source dual Bollinger Band envelope system with percentile-based bandwidth squeeze detection and Stochastic RSI confirmation. It renders two independent envelopes — an inner band at a configurable standard deviation multiplier and an outer band at a wider multiplier — with gradient fills that color dynamically based on whether price is in a bullish or bearish position relative to the moving average basis. When the bandwidth compresses to a historically low percentile, a squeeze state is declared. When the squeeze releases, an expansion signal fires.
The problem Volatility Prism solves is that volatility states are cyclical: periods of compression (squeeze) reliably precede periods of expansion (breakout), and the direction of the breakout is where the opportunity lies. By combining a statistically-based squeeze detector — which uses percentile thresholds rather than fixed bandwidth levels — with Stochastic RSI extreme confirmation, Volatility Prism identifies both the compression state and the likely directional bias of the coming expansion simultaneously.
Core Concepts
1. Dual Bollinger Band Structure
Two separate Bollinger Band pairs share the same basis (SMA of the source) but use different standard deviation multipliers. The inner band (default 2.0x) is the primary envelope. The outer band (default 3.0x) defines the extreme extension zone. Price trading beyond the inner band but inside the outer band is in the elevated zone. Price trading beyond the outer band is in a statistical extreme:
basis = ta.sma(src, bbLen)
dev = ta.stdev(src, bbLen)
upper1 = basis + bbMult1 * dev // Inner upper
lower1 = basis - bbMult1 * dev // Inner lower
upper2 = basis + bbMult2 * dev // Outer upper
lower2 = basis - bbMult2 * dev // Outer lower
The trend bias is determined by whether the close is above or below the basis. When bullish, all envelope lines and fills render in the bullish color. When bearish, they render in the bearish color. This makes the trend state immediately visible from the envelope color alone.
2. Gradient Envelope Fills
Four gradient fills create the visual envelope structure. The inner fills gradient from a near-opaque shade at the band edge to a nearly transparent shade at the basis, creating a density effect that visually represents how far price is from the center. The outer fills extend this gradient into the extreme zone at reduced opacity, cleanly separating the normal, elevated, and extreme price zones:
fill(basisPlot, upper1Plot, upper1, basis, color.new(envCol, 85), color.new(envCol, 98), "Upper Inner Fill")
fill(upper1Plot, upper2Plot, upper2, upper1, color.new(envCol, 75), color.new(envCol, 88), "Upper Outer Fill")
3. Percentile-Based Bandwidth Squeeze Detection
The bandwidth (the width of the inner band as a percentage of the basis) is computed on each bar and added to a rolling history array of configurable length. The current bandwidth is compared to the percentile threshold of that history — if the current bandwidth is below the configured percentile (default 15th percentile), the squeeze state is active:
bandwidth = basis > 0 ? (upper1 - lower1) / basis * 100 : 0.0
// Sort history and find threshold at configured percentile
threshIdx = int(array.size(sorted) * sqzPctile / 100) - 1
sqzThreshold = array.get(sorted, threshIdx)
isSqueezing = bandwidth <= sqzThreshold
This approach adapts to the instrument and timeframe automatically — a 15th percentile squeeze on a low-volatility bond future and on a high-volatility crypto asset will both correctly identify when that specific instrument is in an unusually compressed state relative to its own history.
4. Stochastic RSI Extreme Confirmation
The Stochastic RSI (an oscillator that applies Stochastic logic to RSI values) provides momentum extreme confirmation. Overbought and oversold readings from the K and D lines confirm when band extremes coincide with momentum extremes, strengthening band rejection signals:
rsiVal = ta.rsi(src, rsiLen)
stochVal = ta.stoch(rsiVal, rsiVal, rsiVal, stochLen)
kLine = ta.sma(stochVal, smoothK)
dLine = ta.sma(kLine, smoothD)
stochOB = kLine > upperLim and dLine > upperLim // Overbought
stochOS = kLine < lowerLim and dLine < lowerLim // Oversold
5. Band Rejection Signals and Squeeze Breakout
Three signal types are generated. Bullish band rejection fires when price was below the inner lower band on the previous bar and closes back above it, with Stochastic RSI confirming oversold — a failed breakdown with momentum confirmation. Bearish band rejection fires on the symmetric condition above the inner upper band. Squeeze Breakout fires on the first bar that transitions from squeeze to non-squeeze state — the moment the bandwidth begins expanding:
bearRejection = close > upper1 and close <= upper1 and stochOB
bullRejection = close < lower1 and close >= lower1 and stochOS
sqzBreakout = isSqueezing and not isSqueezing
6. Band Price Labels at the Right Edge
All five band lines (U2, U1, MA, L1, L2) receive price labels at the right edge of the chart. These labels update every bar to show the current price of each level, eliminating the need to hover over lines or read the y-axis to determine band values:
if barstate.islast and showBandLbls
lblU2 := label.new(bar_index + 2, upper2,
"U2 " + str.tostring(upper2, format.mintick),
style=label.style_label_right, ...)
Features
Dual Bollinger Band envelopes: Inner and outer bands with independently configurable multipliers
Adaptive gradient fills: Four gradient fills (inner upper, inner lower, outer upper, outer lower) color dynamically with trend bias
Dynamic trend coloring: All envelope elements switch between bullish and bearish colors based on close vs. basis
Percentile-based squeeze detection: Bandwidth compared to a configurable percentile of its rolling history — adapts to any instrument's volatility profile
Configurable squeeze lookback: Rolling bandwidth history window from 20 to 500 bars
Squeeze background shading: Optional chart background shading during active squeeze state
Stochastic RSI confirmation: K and D line extreme zones confirm band rejection signal quality
Three signal types: Bull Rejection, Bear Rejection, and Squeeze Breakout markers with distinct shapes
Band price labels at right edge: Live price labels for all five band levels (U2, U1, MA, L1, L2) at bar_index + 2
Institutional dashboard (top right): 11-row table with Volatility state (SQUEEZE/EXPANDING), Bandwidth %, Trend, StochRSI state, K and D values, Basis price, and Envelope range
Fully configurable inputs: BB length, both multipliers, squeeze lookback and percentile, Stochastic RSI parameters, and all colors independently adjustable
Alerts: Bull Rejection, Bear Rejection, Squeeze Breakout, and Squeeze Entry alertconditions
Input Parameters
Bollinger Bands:
Source: Price source (default: close)
BB Length: MA and standard deviation period (default: 20)
Inner Mult: Standard deviation multiplier for inner bands (default: 2.0)
Outer Mult: Standard deviation multiplier for outer bands (default: 3.0)
Squeeze Detection:
Bandwidth Lookback: Rolling history window for percentile calculation (default: 120 bars)
Squeeze Percentile: Bandwidth percentile below which squeeze is active (default: 15th)
Stochastic RSI:
K Smoothing (default: 3), D Smoothing (default: 3)
RSI Length (default: 14), Stochastic Length (default: 14)
Overbought level (default: 80), Oversold level (default: 20)
Display:
Show Dashboard toggle
Squeeze Background toggle
Band Price Labels toggle
Bullish Envelope color, Bearish Envelope color, Basis Line color, Squeeze Background color
How to Use This Indicator
Step 1: Identify the Volatility State
The dashboard's Volatility row shows SQUEEZE (yellow) or EXPANDING (gray). When SQUEEZE is active, the chart background shades yellow. A squeeze state means bandwidth has compressed to a historically low percentile — the market is loading energy for a directional move.
Step 2: Watch for Squeeze Breakout Signals
The cross (x) marker appears at the first bar that exits a squeeze. This is the moment bandwidth begins expanding. The direction of the breakout bar (bullish or bearish candle) combined with the trend color of the envelope provides the directional lean for the expansion phase.
Step 3: Interpret Envelope Color for Trend Bias
When all envelope elements are teal, price is above the basis — bullish bias. When all elements are orange, price is below the basis — bearish bias. Use the envelope color as a continuous trend indicator overlaid directly on the price.
Step 4: React to Band Rejection Diamonds
Diamond markers at the band edge indicate price failed to sustain a move beyond the inner band and recovered inside, with Stochastic RSI confirming the extreme. These are mean-reversion entry signals — price rejected the statistical extreme with momentum confirmation.
Step 5: Reference Band Price Labels
The right-edge labels show the current price of each band level. Use these when planning take-profit targets (opposite band) or stop-loss placement (outer band beyond entry) without needing to manually read prices from band lines.
Indicator Limitations
The squeeze detector requires a minimum of sqzLen bars of bandwidth history to activate. On short charts or immediately after the indicator is applied, the squeeze state will not register until enough history is accumulated
The percentile-based squeeze threshold adapts to the lookback window. A longer lookback produces a more stable threshold; a shorter lookback adapts faster but may produce more frequent squeeze entries and exits
Band rejection signals require the close to recover inside the band on the bar immediately following the outside close. Multi-bar breakouts that recover more slowly are not detected as rejections
Squeeze Breakout markers fire on the first bar exiting a squeeze regardless of candle size or direction. They do not independently confirm the breakout direction — the envelope trend color and Stochastic RSI must be used to assess directional bias
Stochastic RSI is a double-transformed oscillator (RSI → Stochastic). It can reach and hold extreme levels for extended periods in strong trends, producing frequent overbought or oversold readings that reduce the specificity of band rejection confirmation
Originality Statement
Volatility Prism is original in its adaptive, percentile-based squeeze detection combined with a dual-envelope gradient structure and Stochastic RSI extreme confirmation with right-edge band price labels. This indicator is published because:
Using the rolling percentile of bandwidth history — rather than fixed bandwidth values or the classic Keltner Channel comparison method — for squeeze detection provides an instrument-adaptive and timeframe-adaptive threshold that requires no manual calibration
The dual-envelope structure (inner and outer bands) with four independent gradient fills that change color based on real-time trend bias creates a visually rich, information-dense chart overlay without adding separate indicator panes
The right-edge band price labels for all five band levels eliminate a common usability friction point in Bollinger Band analysis, where traders must hover over lines or estimate prices from the y-axis scale
The three-signal system (Bull Rejection, Bear Rejection, Squeeze Breakout) operating from two independent mechanisms (band geometry + Stochastic RSI for rejections, bandwidth percentile for breakout) provides distinct signal categories suited to different trading styles
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Bollinger Bands and Stochastic RSI readings are historical statistical tools. Squeeze states can persist for extended periods without producing a breakout, and breakouts can occur in either direction. Band rejection signals do not guarantee price will reverse from the band. Always use proper risk management. The author is not responsible for any trading losses resulting from the use of this indicator.
-Made with passion by jackofalltrades
Penunjuk

Penunjuk

AK MACD BB EMA RSI Scalper Gold ProOverview
The AK MACD BB + EMA/RSI Scalper is a high-precision momentum oscillator designed primarily for Gold (XAUUSD) and high-volatility assets. This indicator reimagines the traditional MACD by wrapping it within Bollinger Bands, allowing traders to identify momentum "breakouts" and "exhaustion" points in real-time.
By integrating a multi-layer trend filter (EMA 200) and a momentum oscillator (RSI), this tool is built to capture "Power Scalps" while avoiding the dangerous "chop" of sideways markets.
The Core Strategy (The Triple-Filter Logic)
To ensure high-probability entries, the script uses a confluence of three technical layers:
MACD-Bollinger Breakout: Unlike standard MACD, this script signals an entry when the MACD line breaks outside its own Bollinger Band. This represents a surge in volatility that is statistically significant.
The Trend Shield (EMA 200): Only allows "Buy" signals when the price is above the 200 EMA and "Sell" signals when below. This keeps you on the right side of the institutional trend.
Momentum Confirmation (RSI): Signals are further filtered by the RSI (Relative Strength Index). Buys are only valid when RSI > 50, and Sells when RSI < 50, ensuring the "wind is at your back."
Key Features
Adaptive MACD: The MACD line changes color dynamically (Lime for Bullish Breakout, Red for Bearish Breakout).
Visual Signal Cues: The chart background highlights in Lime for Buys and Red for Sells. Additionally, the bars turn Yellow/Aqua to ensure you never miss a candle close entry.
Fully Customizable: You can toggle the EMA and RSI filters On/Off in the settings to adapt the script for "Contrarian/Reversal" trading or strict "Trend Following."
Gold Optimized: Tuned specifically for the fast-paced movements of XAUUSD.
How to Use
🟢 LONG Entry: Price > 200 EMA + RSI > 50 + MACD crosses above Upper Bollinger Band.
🔴 SHORT Entry: Price < 200 EMA + RSI < 50 + MACD crosses below Lower Bollinger Band.
Recommended Timeframes: M1, M5, and M15 for Scalping. H1 for Day Trading.
Parameters
MACD Lengths: Standard 12/26 (Adjustable).
BB Deviations: Default 1.0 (Tight for scalping). Increase to 1.5 or 2.0 for a more conservative approach.
Filter Toggle: Switch Use EMA & RSI Filters? to False if you want to see every MACD-BB breakout regardless of the main trend. Penunjuk

Penunjuk

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