TRADLEWARE-Gaussian Channel + StochRSI ETH
Gaussian Channel + Stochastic RSI ETH
This strategy combines a fast Gaussian Channel with a Stochastic RSI filter and a 200-day SMA bull-market gate, aimed at catching trend continuation while sitting out confirmed downtrends.
How it works
The Gaussian Channel is a smoothed price envelope built with an IIR (infinite impulse response) filter — a mathematically elegant alternative to a simple moving average. It applies a bell-curve weighting across recent bars, producing smooth, low-lag output. The channel is formed by adding and subtracting a filtered measure of true range (volatility) around the central filter line.
The channel turns green when the filter is rising (uptrend) and red when it is falling (downtrend). A separate 200-day simple moving average acts as a bull/bear regime switch: the strategy only trades when price is above it.
Entry
A long position is opened when all five conditions are true simultaneously:
The channel is green (filter rising — uptrend confirmed)
Price closes above the upper band (breakout above the channel; an optional buffer above the band can require more room, but testing found this counterproductive — see Parameters)
Stochastic RSI %K is either above 80 (strong momentum confirming the breakout) or below 25 (oversold dip within the uptrend)
Price is above the 200-day SMA (bull regime — can be disabled)
The signal bar itself closes above its own open — a bullish candle (can be disabled)
The bullish-candle check filters out breakout bars that clear the upper band intrabar but still close weak — a common precursor to an immediate whipsaw exit on the next bar.
The 200-day SMA gate exists specifically to block breakout entries that fire during bear-market bounces — dead-cat rallies that look like trend resumption on the channel and oscillator alone but occur underneath a still-falling long-term average.
Exit
The position is closed when either:
Price closes back below the upper band (breakout has failed or the trend is cooling), or
The channel reverses from green to red (trend direction has flipped)
An optional stop-loss (on by default) is placed at the lower band and trails as the channel moves, providing a floor on losses if price drops sharply through both the upper and lower bands in the same move. The regime gate only blocks new entries — it does not force an exit on its own if price falls back below the 200-SMA mid-trade.
Parameters
Poles: 4 (filter smoothness — higher = smoother but more lag)
Sampling Period: 89 (faster channel than the baseline version, reacts sooner to trend changes)
True Range Multiplier: 1.5 (controls channel width)
Stochastic RSI overbought threshold: 80
Stochastic RSI oversold threshold: 25 (a parameter sweep found a stable plateau from 22-28; 25 sits at its center rather than its single best value)
200-SMA regime gate: on by default, can be disabled; length is adjustable
Bullish entry candle requirement: on by default, can be disabled
Entry breakout buffer: 0% (off) by default; tested at multiple levels above 0% and found to reduce returns at every level, so left disabled
Stop-loss at lower band: on by default, can be disabled
Start/End date range inputs let you restrict the backtest window without editing code
Costs modelled
0.1% commission per side, 3 ticks slippage, fills at next bar's open.
Intended assets and timeframe
Daily bars. Designed and validated on ETH/USDT. Likely applicable to other trending crypto assets; not validated on equities .
Known limitations
Underperforms in choppy or ranging markets — the upper band breakout condition generates whipsaws when price oscillates without directional conviction. The regime gate is a trade-off: it blocks bear-bounce false starts, but it also means the strategy can miss the first leg of a genuine new uptrend until price reclaims the 200-day SMA. The filter requires several hundred bars of history to fully converge; results on very short histories may differ from the validated backtest. The strategy trades infrequently (around 28 trades on the validated window), so treat any single backtest run as a small sample rather than a statistically strong result.
Credit
The Gaussian Channel filter is from the open-source "Gaussian Channel (DW)" indicator by DonovanWall. This script reuses that filter and adds the Stochastic RSI entry filter, the 200-day SMA regime gate, exit rules, stop-loss, and full strategy order management on top of it.
Strategy

TRADLEWARE-Gaussian Channel + StochRSI BTC
TRADLEWARE - Gaussian Channel + Stochastic RSI
This strategy combines a Gaussian Channel with a Stochastic RSI filter to capture momentum continuation in trending markets on the daily timeframe.
How it works
The Gaussian Channel is a smoothed price envelope built with an IIR (infinite impulse response) filter — a mathematically elegant alternative to a simple moving average. Instead of weighting recent bars linearly, the Gaussian filter applies a bell-curve weighting that produces very smooth, low-lag output. The channel is formed by adding and subtracting a filtered measure of true range (volatility) around the central filter line.
The channel turns green when the filter is rising (uptrend) and red when it is falling (downtrend).
Entry
A long position is opened when all three conditions are true simultaneously:
The channel is green (filter rising — uptrend confirmed)
Price closes above the upper band (breakout above the channel)
Stochastic RSI %K is either above 80 (strong momentum confirming the breakout) or below 15 (oversold dip within the uptrend)
The dual Stochastic RSI threshold captures two different entry scenarios: a momentum breakout and a pullback-and-recover within an ongoing trend.
Exit
The position is closed when either:
Price closes back below the upper band (breakout has failed or the trend is cooling), or
The channel reverses from green to red (trend direction has flipped)
An optional stop-loss (on by default) is placed at the lower band and trails as the channel moves, providing a floor on losses if price drops sharply through both the upper and lower bands in the same move.
Parameters
Poles: 4 (filter smoothness — higher = smoother but more lag)
Sampling Period: 144 (slow channel, suited to daily trends)
True Range Multiplier: 1.414 (controls channel width)
Stochastic RSI overbought threshold: 80
Stochastic RSI oversold threshold: 15
Stop-loss at lower band: on by default, can be disabled
Start/End date range inputs let you restrict the backtest window without editing code
Costs modelled
0.1% commission per side, 3 ticks slippage, fills at next bar's open.
Intended assets and timeframe
Daily bars. Designed and validated on BTC/USDT. Likely applicable to other trending crypto assets; not validated on equities .
Known limitations
Underperforms in choppy or ranging markets — the upper band breakout condition generates whipsaws when price oscillates without directional conviction. The filter requires several hundred bars of history to fully converge; results on very short histories may differ from the validated backtest. The strategy trades infrequently (around 30 trades from 2018 to present on BTC/USDT), so treat any single backtest run as a small sample rather than a statistically strong result.
Credit
The Gaussian Channel filter is from the open-source "Gaussian Channel (DW)" indicator by DonovanWall. This script reuses that filter and adds the Stochastic RSI entry filter, exit rules, stop-loss, and full strategy order management on top of it.
Strategy

Indicator

FIE GraphFIE Graph (Frequency • Influence • Efficiency)
FIE Graph is a companion indicator designed for use alongside FIE Price Action Overlay.
While the Price Action overlay focuses on signal generation, participation, and market context directly on the chart, FIE Graph provides a dedicated visualization of the underlying FIE calculations over time, making it easier to observe trends, shifts in participation, and changes in component behaviour.
FIE Graph allows traders to monitor how Frequency, Influence, Efficiency, Share Participation, Active Average, and other FIE metrics evolve throughout a trading session without cluttering the main price chart.
Features
Time-series visualization of FIE metrics
Component participation trends
Active Average and Share monitoring
Normalized Efficiency (E-Norm) visualization
Clean companion display for deeper analysis
Designed to complement the FIE Price Action overlay
Directionality to observe current and historical bull/bear pressure
FIE Graph is intended as an analytical companion rather than a standalone trading indicator. For entry signals, market context, and the complete FIE framework, use it together with FIE Price Action Overlay, available in my indicators. Indicator

FIE Price Action OverlayFIE (Frequency • Influence • Efficiency) Price Action
FIE is a market analysis framework that measures the quality of agreement between multiple stochastic components and MACD and their respective influence on price action. FIE is designed as an educational decision-support tool for traders who want to evaluate not just whether indicators agree, but how much confidence that agreement deserves.
Instead of treating every component equally, FIE evaluates each component according to three characteristics:
Frequency – How consistently the component aligns with price.
Influence – How much price movement occurs while it is aligned.
Efficiency – A weighted measure that combines consistency and impact.
These measurements are then used to determine each component's relative contribution to the current market move through Share Participation and Normalized Efficiency.
The result is a real-time view of which components are driving the current price action, how much they contribute, and how strongly they agree.
FIE helps distinguish between:
Broad market agreement.
Moves driven primarily by a single component.
Weak participation behind price.
High-confidence confluence where multiple components align with meaningful participation.
The integrated dashboard summarizes each component's contribution, efficiency, participation, and agreement, allowing traders to evaluate the strength and quality of a setup at a glance.
Features
- Frequency, Influence, and Efficiency analysis
- Component Share Participation
- Normalized Efficiency (E-Norm)
- Active Average calculations
- Multi-component confluence analysis
- Confidence and participation dashboard
- High-confluence ("Consensus Signal") identification
- Extensive customization and threshold controls
- Optional Entry signals and crossover levels
- 'Enhanced Candles' to further highlight component/price behaviour
FIE is designed as an educational decision-support tool for traders who want to evaluate not just whether indicators agree, but how much confidence that agreement deserves. Indicator

Indicator

Strat Reversal Read Stoch DMI v1.0OVERVIEW
Strat Reversal Context — Stochastic + DMI/ADX is a lower-pane analysis tool designed to evaluate the market environment surrounding price-action reversal patterns.
The indicator does not detect Strat patterns, generate trade entries, or predict that a reversal will succeed. Instead, it is intended to be used alongside a separate price-action or Strat-pattern indicator.
It combines three types of information:
1. Stochastic range location
2. DMI/ADX directional pressure
3. Optional higher-timeframe candle direction
Together, these components address three questions:
• Is price currently at, approaching, or recently leaving an overbought or oversold area?
• Is the existing upward or downward directional pressure rising, holding, or fading?
• Would a contemplated reversal point with or against the selected higher-timeframe direction?
PURPOSE AND ORIGINALITY
This script is not simply a visual combination of a Stochastic oscillator and DMI/ADX.
Its primary contribution is a state-classification engine that interprets the relationship between:
• The location of both Stochastic lines
• The relative position of +DI and −DI
• Whether the distance between +DI and −DI is widening or narrowing
• Whether ADX is rising, falling, or relatively unchanged
• The direction of one user-selected higher timeframe
The script converts those relationships into plain-language observations intended to complement price-action reversal analysis.
Examples include:
• LOOK FOR BULL REVERSAL
• BULL REVERSAL EARLY
• 2D STILL IN FORCE
• LOOK FOR BEAR REVERSAL
• BEAR REVERSAL EARLY
• 2U STILL IN FORCE
These classifications are contextual observations only. They are not buy or sell signals and are not presented as probabilities.
STOCHASTIC COMPONENT
The Stochastic oscillator measures the location of the current close within the recent high-low range.
The default settings are:
• Stochastic length: 14
• %K smoothing: 3
• %D smoothing: 3
• Overbought level: 80
• Oversold level: 20
The script distinguishes among three types of oscillator location.
FULL EXTREME
Both %K and %D are beyond the selected threshold.
Examples:
• Both lines at or below 20: OVERSOLD
• Both lines at or above 80: OVERBOUGHT
EARLY EXTREME
One Stochastic line has reached the selected threshold while the other has not yet reached it.
Examples:
• OVERSOLD EARLY
• OVERBOUGHT EARLY
RECENT EXTREME
After both lines have reached an extreme, the condition can remain relevant for a user-selected number of analysis-timeframe candles.
Examples:
• RECENTLY OVERSOLD
• RECENTLY OVERBOUGHT
This recent-extreme window allows the oscillator to identify an area of interest without requiring the price-action reversal to occur on the exact candle when both Stochastic lines cross the threshold.
DMI AND ADX COMPONENT
DMI and ADX are used to evaluate directional pressure.
• +DI represents upward directional movement.
• −DI represents downward directional movement.
• ADX measures the strength of the directional movement without independently identifying bullish or bearish direction.
The script uses Strat-style language for directional pressure:
• 2U pressure means upward directional pressure.
• 2D pressure means downward directional pressure.
These labels describe DMI pressure only. They do not classify the actual price candle as a 2U or 2D candle.
The script compares the current DMI and ADX readings with their values a user-selected number of candles earlier.
The pressure read can display:
• 2U RISING
• 2U HOLDING
• 2U FADING
• 2D RISING
• 2D HOLDING
• 2D FADING
• BALANCED
RISING PRESSURE
Directional pressure is classified as rising when:
• The corresponding DI line is dominant
• ADX is rising by at least the selected minimum amount
• The distance between the dominant and opposing DI lines is widening
FADING PRESSURE
Directional pressure can be classified as fading when:
• ADX is declining, or
• The distance between the dominant and opposing DI lines is narrowing
HOLDING PRESSURE
Pressure is classified as holding when neither the rising nor fading conditions are met.
ACTION STATES
LOOK FOR BULL REVERSAL
This state requires a full or recently oversold Stochastic area and evidence that downside pressure is no longer strongly expanding, or that upward DMI pressure has taken control.
Actionable interpretation:
Watch for a separately confirmed bullish price-action reversal pattern. Do not enter based on this classification alone.
BULL REVERSAL EARLY
An oversold area may be developing, but the Stochastic or DMI/ADX conditions have not yet reached the stronger bullish-reversal classification.
Actionable interpretation:
Pay attention, but do not anticipate a reversal before price confirms one.
2D STILL IN FORCE
Stochastic is oversold or approaching oversold, but:
• −DI remains dominant
• ADX is above the selected strong-trend threshold
• ADX is rising
• The bearish DMI gap is widening
Actionable interpretation:
Do not assume that oversold automatically means price must reverse. Downward directional pressure remains active, so any bullish reversal pattern is attempting to reverse continuing downside pressure.
LOOK FOR BEAR REVERSAL
This is the bearish mirror of LOOK FOR BULL REVERSAL.
A full or recently overbought Stochastic area is present, and upward pressure is no longer strongly expanding, or downward DMI pressure has taken control.
Actionable interpretation:
Watch for a separately confirmed bearish price-action reversal pattern.
BEAR REVERSAL EARLY
An overbought area may be developing, but the oscillator or directional-pressure conditions have not yet reached the stronger bearish-reversal classification.
Actionable interpretation:
Watch the area, but do not anticipate a bearish reversal before price confirms one.
2U STILL IN FORCE
Stochastic is overbought or approaching overbought, but:
• +DI remains dominant
• ADX is above the selected strong-trend threshold
• ADX is rising
• The bullish DMI gap is widening
Actionable interpretation:
Do not assume that overbought automatically means price must reverse. Upward directional pressure remains active.
HIGHER-TIMEFRAME CONTEXT
The user can select one timeframe for higher-timeframe context.
For example:
• Analysis timeframe: 15 minutes
• Higher-timeframe context: 4 hours
The selected higher-timeframe candle is classified as:
• BULL when its close is above its open
• BEAR when its close is below its open
• NEUTRAL when its close equals its open
The table then compares the contemplated reversal direction with the selected higher-timeframe direction.
WITH HTF
A bullish reversal is aligned when the selected higher timeframe is bullish.
A bearish reversal is aligned when the selected higher timeframe is bearish.
AGAINST HTF
A bullish reversal is against the selected higher timeframe when that timeframe is bearish.
A bearish reversal is against the selected higher timeframe when that timeframe is bullish.
This alignment does not validate or invalidate a reversal. It tells the user whether the contemplated reversal would move with or against the selected higher-timeframe candle direction.
The higher-timeframe context is not a complete multi-timeframe-continuity calculation. It represents the direction of one user-selected timeframe only.
HIGHER-TIMEFRAME CANDLE MODES
LAST CLOSED
The default setting uses the most recently completed candle from the selected higher timeframe.
This produces a stable higher-timeframe directional read.
LIVE
The live option uses the currently developing higher-timeframe candle.
Because the candle has not closed, its direction can change before completion. Users should account for this when relying on live higher-timeframe information.
ANALYSIS TIMEFRAME
The Stochastic, DMI, ADX, pressure classifications, action states, and ribbon can be calculated from a user-selected analysis timeframe.
Leaving the input blank uses the current chart timeframe.
Selecting another timeframe allows, for example:
• A 15-minute analysis read on a 5-minute chart
• A 1-hour analysis read on a 15-minute chart
When the selected analysis timeframe is higher than the chart timeframe, its developing values may change until that analysis-timeframe candle closes.
DISPLAY
The lower pane includes:
• Blue %K Stochastic line
• Orange %D Stochastic line
• Overbought and oversold reference levels
• User-adjustable 50 centerline
• Historical action-state ribbon
• Current-state action table
• Adjustable ribbon color legend
The centerline can be customized by:
• Color
• Thickness
• Solid, dashed, or dotted style
The action ribbon records the historical classification associated with each chart candle. Its thickness and vertical position are adjustable.
The legend identifies the ribbon colors for:
• LOOK BULL
• BULL EARLY
• 2D ACTIVE
• LOOK BEAR
• BEAR EARLY
• 2U ACTIVE
• NO EXTREME
Optional diagnostic plots can display:
• ADX
• +DI
• −DI
These lines are hidden by default to keep the primary display uncluttered.
ACTION TABLE
The current-state table displays:
• Analysis timeframe
• Stochastic area
• Directional pressure and ADX behavior
• Selected higher-timeframe direction
• Alignment with or against that timeframe
• Current action classification
• Plain-language trader thought
Example:
TIMEFRAME 15m
STOCH RECENTLY OVERSOLD
PRESSURE 2D FADING | ADX 18.4 FALLING
HTF DIRECTION 4H BULL | CLOSED
ALIGNMENT WITH HTF
ACTION LOOK FOR BULL REVERSAL
THOUGHT BULL STRAT — WITH HTF
HOW TO USE
1. Select the timeframe from which the Stochastic and DMI/ADX environment should be calculated.
2. Select one higher timeframe for directional context.
3. Observe whether the indicator identifies an overbought, oversold, early, or recent-extreme area.
4. Read whether 2U or 2D directional pressure is rising, holding, or fading.
5. Wait for a separately confirmed price-action reversal pattern.
6. Use the HTF row to determine whether that contemplated reversal would move with or against the selected higher-timeframe candle direction.
The script is intended to provide context for a trader’s existing reversal methodology. It should not replace independent price-action confirmation, risk management, or testing.
ALERTS
Alert conditions are available for transitions into:
• LOOK FOR BULL REVERSAL
• LOOK FOR BEAR REVERSAL
• 2D STILL IN FORCE
• 2U STILL IN FORCE
Alerts identify a change in the calculated environment. They do not represent trade-entry instructions.
LIMITATIONS
All components are derived from price data. Stochastic, DMI, ADX, and price-action patterns are therefore related observations rather than independent sources of information.
Overbought conditions can persist during strong upward movement. Oversold conditions can persist during strong downward movement.
DMI and ADX are lagging calculations and may respond after directional movement has already begun.
A higher-timeframe candle direction is not equivalent to complete higher-timeframe continuity.
This indicator has not been presented as a backtested trading strategy. It does not calculate win rate, expected value, profitability, or the probability that a reversal will succeed.
The classifications are descriptive states based on the selected inputs. Traders should independently test the states across their chosen symbols, markets, sessions, and timeframes.
This script is an independent analytical tool and is not affiliated with or endorsed by TheStrat or its creators. Indicator

BK AK-CobraBK AK-Cobra
Momentum measured across timeframes. Extremes evaluated. Order flow used as confirmation.
The “AK” in BK AK-Cobra is not branding—it is honor. It stands for my mentor, A.K.—the man whose guidance shaped my discipline, patience, market judgment, and respect for clean execution. I dedicate every indicator I build to his honor, and his standard sits behind every serious tool I create.
Above all, full credit and gratitude to G-d—the source of wisdom, timing, strength, and survival in this game.
BK AK-Cobra is a Stochastic Momentum Index framework designed to evaluate momentum direction, extreme conditions, multi-timeframe agreement, volatility, participation, and order-flow confirmation through one connected analytical process.
It combines:
Stochastic Momentum Index and signal line
Momentum histogram and slope
Volatility-adaptive dynamic bands
Six-timeframe momentum alignment
Contract-specific futures presets
Trend and volatility-regime filters
Squeeze detection
Regular and hidden divergence
Band-touch memory and arrival velocity
Momentum fatigue and failed-extension conditions
Histogram-pattern and oscillator-shape recognition
Footprint delta, POC, Value Area, and imbalance
Composite Heat scoring and signal grading
Historical signal-outcome tracking
Bayesian-style contextual adjustment
k-nearest-neighbor historical context matching
A compact intelligence dashboard
These are not independent indicators placed together. Each layer evaluates a different part of the same momentum cycle:
Location → direction → acceleration → timeframe agreement → market regime → participation → order flow → historical context.
Core SMI Engine
The central calculation is a double-smoothed Stochastic Momentum Index.
It measures where the close sits relative to the midpoint of the recent high-low range and normalizes that distance by the smoothed range.
Cobra displays:
The SMI
A configurable signal line
The difference between SMI and signal as a histogram
SMI slope
Momentum acceleration
The rate of change of acceleration
The histogram shows the separation between SMI and its signal line.
A rising positive histogram indicates strengthening positive momentum.
A falling positive histogram indicates positive momentum is weakening.
A falling negative histogram indicates strengthening negative momentum.
A rising negative histogram indicates negative momentum is weakening.
The calculation describes momentum. It does not represent price or guarantee future direction.
Dynamic Bands
Instead of relying only on fixed overbought and oversold levels, Cobra calculates dynamic bands from the recent standard deviation of the SMI.
The bands are restricted by configurable minimum and maximum values and can adapt according to the current ATR regime.
During higher volatility, the bands can expand.
During lower volatility, they can contract.
This helps distinguish an ordinary momentum reading from one that is statistically extended relative to the instrument’s current behavior.
An SMI band touch does not automatically require reversal. Strong trends can remain extended for prolonged periods.
Contract Presets
Cobra contains automatic presets for:
ES
NQ
CL
GC
MBT
Custom symbols
The presets adjust SMI lengths, dynamic-band parameters, EMA settings, and ADX thresholds according to the selected contract.
The AUTO setting reads the chart symbol’s root and applies the corresponding preset when supported.
Manual Override allows the user to replace preset values with custom settings.
These presets are starting configurations, not universally optimal settings for every timeframe or market condition.
Multi-Timeframe Stack
The indicator calculates SMI state across six configurable timeframes:
5 minutes
15 minutes
30 minutes
60 minutes
233 minutes
987 minutes
Each timeframe is classified as:
Strong bullish
Bullish
Neutral
Bearish
Strong bearish
The states are combined through a weighted execution score. Longer timeframes receive greater weight than shorter timeframes.
The signal framework can also require:
Agreement between the 233-minute and 987-minute states
No opposing veto from the 15-minute and 30-minute states
A recent 5-minute reset or pullback
A minimum combined execution score
This architecture separates broader directional context from shorter-term entry timing.
Higher-timeframe values can change until their respective candles close.
A+ Signal Framework
Cobra evaluates two general signal families.
Extreme reversal conditions
A possible long condition can form when the SMI is near or beyond its lower dynamic band and turns upward with an improving histogram.
A possible short condition can form when the SMI is near or beyond its upper dynamic band and turns downward with a weakening histogram.
Trend-pullback conditions
A possible trend-following long can form when:
The EMA and optional ADX regime are bullish
The weighted timeframe stack is bullish
A recent lower-timeframe reset occurred
SMI turns upward from below zero
Histogram momentum improves
The short calculation is the inverse.
Enabled squeeze and footprint filters can provide additional confirmation.
Signals are limited to the configured session and separated by a user-defined cooldown.
They identify qualifying confluence conditions, not guaranteed entries.
Heat Score and Grades
Each directional setup receives a normalized Heat score from 0 to 100.
The score can include:
Dynamic-band depth
Freshness of the band touch
Speed of arrival at the extreme
Volume participation
Cross-timeframe deceleration
Session phase
Momentum fatigue
Trap or failed-extension behavior
Absorption-style price/momentum disagreement
Squeeze state
Divergence
Oscillator shape
Footprint delta
POC migration
POC imbalance
Rolling multi-window delta alignment
The resulting score is classified as:
A+
A
B+
B
The grade measures agreement among enabled components. It is not a probability of success.
Momentum Intelligence
Cobra examines more than simple SMI crosses.
Band-touch memory
The indicator counts recent touches of the upper and lower dynamic bands.
A first touch is treated differently from repeated touches because recurring tests can indicate either persistence or deterioration of the same extreme.
Velocity
Velocity measures how quickly SMI reached its current area.
A fast arrival identifies rapid momentum displacement.
A slow grind identifies gradual movement.
Velocity provides timing context but does not independently determine reversal or continuation.
Fatigue
Fatigue combines:
Time spent beyond a dynamic band
Decay in SMI slope after entering that region
A high fatigue score means momentum has remained extended while its rate of progress has weakened.
Trap or failed extension
The trap module records an SMI move beyond a dynamic band and checks whether momentum returns through the band without sufficient price follow-through.
This describes a failed momentum extension or band rejection. It is not direct evidence of an exchange-level failed auction.
Price-momentum compression
When price produces a short-term new high or low while histogram magnitude contracts across several bars, Cobra marks a possible absorption-style disagreement.
This identifies reduced momentum efficiency. It does not prove accumulation, distribution, or the activity of a particular participant.
Histogram and Curve Recognition
The histogram-pattern engine evaluates recurring forms including:
Slingshot: compression followed by expansion
Staircase: orderly same-direction histogram growth
Cliff: rapid loss of histogram magnitude
Double Pump: renewed expansion after a near-zero pause
Divergence Compression: price extension with declining histogram magnitude
The curve-shape engine evaluates the SMI itself for:
W-bottom
M-top
Bullish and bearish V-spikes
Rounding bottom
Rounding top
These are mathematical classifications of oscillator behavior. Their names describe the detected shape and should not be treated as complete trade setups by themselves.
Divergence and Squeeze
Regular divergence compares confirmed price pivots with SMI pivots.
Hidden divergence identifies possible continuation structures through the same pivot framework.
Because pivots require bars to the right, divergence appears only after the pivot has been confirmed.
The squeeze module compares Bollinger Bands with Keltner Channels.
A squeeze exists while the Bollinger Bands remain inside the Keltner Channels. A release occurs when that condition ends.
A squeeze release indicates changing volatility, not guaranteed direction.
Footprint Engine
When PulseWire footprint data is available, Cobra reads:
Buy volume
Sell volume
Delta
Total volume
Point of Control
Buy and sell volume at the POC
Value Area High
Value Area Low
Footprint data can contribute to:
Directional signal confirmation
Volume conviction
POC migration
Price-versus-POC context
POC imbalance
Delta-versus-SMI disagreement
Heat scoring
The footprint delta gate can require positive delta for long conditions and negative delta for short conditions.
The POC imbalance module compares buying and selling volume specifically at the POC. It is not a stacked or diagonal imbalance calculation across every footprint row.
When footprint data is unavailable, the footprint-specific components are omitted and the remaining Cobra framework continues operating.
Rolling Delta Windows
Cobra sums chart-timeframe footprint delta across rolling windows designed to approximate the selected:
15-minute
60-minute
233-minute
987-minute durations
The resulting score shows how many rolling windows have positive or negative accumulated delta.
These are rolling chart-bar calculations. They are not discrete higher-timeframe footprint objects and may not align exactly with official higher-timeframe candle boundaries.
Signal Outcome Tracker
Cobra contains an internal signal-outcome tracker for qualifying A+ signals.
It records:
Entry reference
ATR-based stop distance
Configurable R objectives
Maximum holding period
Maximum favorable excursion
Maximum adverse excursion
Signal grade
Session
Histogram pattern
Footprint context
The dashboard can summarize historical wins, losses, win rate, and average R for the loaded sample.
This is not a PulseWire strategy backtest. It does not model:
Broker execution
Bid/ask spread
Slippage
Commission
Partial fills
Intrabar sequence
Portfolio exposure
Its statistics apply only to the script’s own signal definitions, selected settings, instrument, timeframe, and available chart history.
Adaptive Context
The Bayesian-style module compares recorded outcomes across factors such as:
Session
Velocity
Band-touch count
Histogram pattern
Curve shape
Footprint alignment
It can make a limited adjustment to the Heat score after the required sample size has been reached.
The k-nearest-neighbor module compares the current state with previously closed signals using a multi-feature distance calculation.
It reports the outcomes of the closest historical matches.
These values describe the loaded historical sample. They are not independent forecasts or validated probabilities.
Intelligence HUD
The dashboard summarizes:
Heat score and grade
Momentum regime
SMI state
Band-touch state
Velocity
Fatigue
Active pattern or curve shape
Volume conviction
Session phase
Historical outcome statistics
Footprint delta
Rolling delta-window alignment
Hovering over the cells provides expanded calculation and context details.
How to Use BK AK-Cobra
Select the contract preset. Use AUTO for supported futures or Custom for manual settings.
Configure the session. Confirm the timezone and active session hours. Signals are restricted by this setting.
Choose Clean, Normal, or Debug mode. Normal shows the principal intelligence modules without every diagnostic marker.
Read SMI location and direction. Determine whether SMI is above or below zero, near a dynamic band, and rising or falling relative to its signal.
Check the timeframe stack. Review whether higher timeframes support the current direction and whether the middle timeframes oppose it.
Identify the setup family. Distinguish an extreme reversal condition from a trend-pullback condition.
Review the Heat score. Use the grade as a confluence summary, not as a success probability.
Inspect momentum context. Check band-touch freshness, velocity, fatigue, squeeze state, divergence, patterns, and curve shape.
Review footprint evidence. When available, compare the proposed direction with delta, POC migration, imbalance, and rolling delta-window alignment.
Use historical statistics carefully. Require a meaningful number of closed observations before considering outcome, Bayesian-style, or k-NN readings.
Wait for confirmation. Current-bar values and signals can change before the candle closes.
Define risk independently. ATR stop and target values in the tooltips are analytical references, not personalized trade instructions.
Original Framework
SMI, moving averages, ADX, Bollinger Bands, Keltner Channels, divergence, footprint delta, POC, Bayesian methods, and k-nearest-neighbor methods are established concepts.
The distinctive BK contribution is the integrated architecture connecting:
Contract-aware SMI presets
Volatility-adaptive statistical bands
Six-timeframe weighted momentum state
Reset, veto, regime, squeeze, and footprint signal gates
Band-touch and arrival-velocity memory
Fatigue and failed-extension analysis
Histogram-pattern recognition
SMI curve-shape matching
Footprint-confirmed momentum analysis
A normalized multi-factor Heat score
Historical signal-outcome context
Bayesian-style score adjustment
k-NN matched-condition analysis
A unified intelligence HUD
The system is designed as one dependency chain rather than a collection of unrelated studies:
SMI establishes momentum. Dynamic bands establish location. The timeframe stack establishes context. Intelligence modules evaluate the turn. Footprint tests participation. Historical modules measure how similar conditions behaved previously.
Realtime Behavior and Risk
Cobra recalculates while the active chart candle is forming.
SMI, histogram, bands, grades, footprint values, momentum patterns, and signals can change intrabar. Higher-timeframe readings can change until their source candles close. Pivot-based divergence requires confirmation bars.
BK AK-Cobra is provided for analytical and educational purposes. It does not provide investment advice, guarantee performance, or eliminate trading risk.
Users remain responsible for their own analysis, position sizing, entries, exits, stops, execution, and account risk.
Measure momentum. Confirm context. Respect invalidation. Indicator

SMI + Bollinger Bands## SMI + Bollinger Bands
SMI + Bollinger Bands is an overlay indicator that projects the Stochastic Momentum Index directly into the price space defined by Bollinger Bands.
Traditional SMI indicators are displayed in a separate oscillator pane. This script instead transforms the SMI value into a price-relative flow line, allowing momentum, volatility, and price structure to be viewed together on the main chart.
### Core concept
The indicator calculates two related systems:
1. A standard Bollinger Band structure based on a configurable moving average and standard deviation.
2. A double-smoothed Stochastic Momentum Index calculated from the relationship between the closing price and its recent high-low range.
The SMI is then normalized using the selected SMI Threshold and projected around the Bollinger basis:
* An SMI value equal to the positive threshold aligns with the primary upper Bollinger Band.
* An SMI value equal to the negative threshold aligns with the primary lower Bollinger Band.
* Values between the thresholds appear inside the primary Bollinger range.
* Momentum exceeding the threshold can extend beyond the primary bands and into the optional extended-band zones.
This projection makes it possible to compare momentum behavior directly with current price and volatility rather than interpreting an oscillator in a separate pane.
### Plotted elements
**Bollinger basis**
The center line of the Bollinger structure. The moving-average type can be selected from SMA, EMA, SMMA/RMA, WMA, or VWMA.
**Primary Bollinger Bands**
The upper and lower volatility boundaries calculated from the selected standard-deviation multiplier.
**Extended Bollinger Bands**
Optional outer volatility zones using a separately configurable standard-deviation multiplier. These areas can help visualize unusually extended price or momentum conditions.
**SMI Flow**
The yellow line represents the projected Stochastic Momentum Index. Its position shows where momentum currently sits relative to the Bollinger structure.
**SMI Flow-Base**
The white line is an EMA-smoothed version of the projected SMI Flow. It provides a slower reference line that can be used to observe momentum direction, compression, expansion, and crossings.
### Inputs
**Bollinger Band settings**
* Length: Lookback period used for the Bollinger basis and standard deviation.
* Basis MA Type: Moving-average calculation used for the basis.
* Source: Price source used for the Bollinger calculations.
* StdDev: Multiplier used for the primary Bollinger Bands.
* Extended StdDev: Multiplier used for the optional outer bands.
* Use Extended Bands: Enables or disables the extended volatility zones.
**SMI settings**
* %K Length: Lookback period used to determine the recent high-low momentum range.
* %D Length: Double-EMA smoothing applied during the SMI calculation.
* EMA Length: Smoothing applied to the projected SMI Flow-Base line.
* SMI Threshold: Defines which positive and negative SMI values align with the primary upper and lower Bollinger Bands.
### General interpretation
The indicator is intended as a visual analysis framework rather than a standalone entry system.
Traders may use it to study:
* Momentum changes relative to volatility.
* SMI Flow and Flow-Base crossings.
* Momentum expansion beyond the primary bands.
* Momentum rejection from extended zones.
* Divergence between price movement and projected momentum.
* Compression around the Bollinger basis.
* Confluence with trend, structure, volume, support, resistance, or other analysis.
A movement outside a band does not automatically indicate a reversal. Strong trends can remain extended, and crossings can occur repeatedly during sideways or volatile conditions. Market context and risk management remain necessary.
### Calculation behavior
This script does not use future data, lookahead calculations, or higher-timeframe requests. Values on the active candle may continue changing as the candle’s high, low, and close update. Historical values are finalized after their respective candles close.
### Disclaimer
This indicator is provided for research, education, and chart analysis. It does not provide guaranteed trade signals, financial advice, or predictions of future market performance. Users are responsible for independently evaluating all trading decisions and managing their own risk.
Indicator

Indicator

Stochastic + RSI in oneStochastic + RSI Confluence Signal is a combined momentum oscillator that integrates the Stochastic Oscillator and Relative Strength Index (RSI) into one panel.
The indicator is designed to help traders identify potential exhaustion zones and moments when both momentum tools indicate similar market conditions.
Logic:
• Stochastic measures the position of the current closing price relative to the recent high-low range.
• RSI measures the strength and speed of price movements.
The default settings are based on the traditional parameters:
• Stochastic: K Period 5, D Period 3, Slowing 3
• RSI: Period 14
Potential bearish conditions:
• Stochastic reversal from an overbought area
• RSI above the overbought level
Potential bullish conditions:
• Stochastic reversal from an oversold area
• RSI below the oversold level
This indicator is intended as a confirmation tool and should not be used as a standalone trading system. Market context, trend direction, price action, and risk management should always be considered.
Users can adjust all parameters according to their trading style, timeframe, and market conditions.
--------------------------------------------------------------------------------
Stochastic + RSI Confluence Signal to połączony oscylator momentum, który integruje Oscylator Stochastic oraz Relative Strength Index (RSI) w jednym panelu.
Wskaźnik został zaprojektowany, aby pomagać traderom identyfikować potencjalne strefy wyczerpania ruchu oraz momenty, w których oba narzędzia momentum wskazują podobne warunki rynkowe.
Logika działania:
• Stochastic mierzy położenie aktualnego zamknięcia ceny względem ostatniego zakresu pomiędzy najwyższym High i najniższym Low.
• RSI mierzy siłę oraz dynamikę ruchów cenowych.
Domyślne ustawienia wykorzystują klasyczne parametry:
• Stochastic: K Period 5, D Period 3, Slowing 3
• RSI: Period 14
Potencjalne warunki spadkowe:
• Odwrócenie Stochastic ze strefy wykupienia
• RSI powyżej poziomu wykupienia
Potencjalne warunki wzrostowe:
• Odwrócenie Stochastic ze strefy wyprzedania
• RSI poniżej poziomu wyprzedania
Wskaźnik jest przeznaczony jako narzędzie potwierdzające i nie powinien być używany jako samodzielny system transakcyjny. Należy zawsze uwzględniać kontekst rynku, kierunek trendu, zachowanie ceny oraz zarządzanie ryzykiem.
Użytkownik może dostosować wszystkie parametry do własnego stylu handlu, interwału czasowego oraz warunków rynkowych. Indicator

Indicator

Indicator

Zero Lag CVD, RSI & Stochastic Divergence (All-in-One) [D4A]Zero Lag CVD, RSI, Stochastic Divergence
Overview
Zero-Lag Divergence indicator is designed to identify bullish and bearish divergences as they happen, without relying on traditional pivot confirmation delays. By comparing price action with output of CVD, RSI and Stochastic across two independent detection periods, the indicator helps traders spot potential trend exhaustion and reversal opportunities earlier than conventional divergence tools.
How is this indicator different from other similar tools?
- Provides real-time non-repainting divergence signals for CVD, RSI and Stochastic in one convenient script
- Provides instant and separate divergence signals for one of the three oscillators (CVD, RSI, Stochastic), combination of two oscillators or combination of all three (Agreement Mode), thus marking double or triple confirmation of discrepancy between the price, momentum and volume, signalling potentially important reversal zone.
- To maximize probability of validity of the signal, the user can configure overbought and oversold conditions for both momentum oscillators (RSI & Stochastic) to filter only the strongest signals.
- To keep chart clutter under control the tool combines divergence labels into one common label in Agreement Mode
- The indicator tracks divergence simultaneously using two different and configurable periods (short- and long-term divergence) thus allowing to track shorter and longer periods for possible divergences while using only one timeframe
- Displays all signals directly on the chart - no need for additional panel below or above the chart
- All three oscillators can be independently configured, eg. signal length, smoothing, overbought and oversold levels.
Bullish Divergence Logic
Occurs when price forms a lower low while oscillator forms a higher low, suggesting weakening bearish momentum (volume) and the possibility of an upward reversal.
Bearish Divergence Logic
Occurs when price forms a higher high while oscillator forms a lower high, indicating weakening bullish momentum (volume) and the potential for a downward move.
Why Zero-Lag?
Most divergence indicators require future candle confirmation before displaying a signal. This indicator prioritizes immediacy by highlighting potential divergences as they form, allowing traders to react sooner to developing momentum shifts.
While this approach can generate earlier opportunities, it may also create false signals and market noise. For best results, consider combining divergence signals with trend analysis, support and resistance levels, volume studies, or additional confirmation tools.
Notes
* Signals are non-repainting once generated.
* Earlier detection may result in more frequent signals compared to traditional pivot-confirmed divergence indicators.
* Suitable for stocks, forex, cryptocurrencies, indices, and other liquid markets.
* Can be used on any timeframe, from intraday trading to higher-timeframe swing analysis.
SETTINGS
- Zero-Lag Divergence - enable the display of signals
- Mode - select for which oscillator should divergence signals be plotted:
CVD - Cumulative Volume Delta
RSI - Relative Strength Index
Stochastic - Momentum oscillator
Agreement - two or three indicators agree at the same time (same candle)
- Minimum Agreement - how many indicators should agree at the same time: Any Two or Any Three
- Cumulative Volume Delta Length
- RSI Length, OB (overbought) level , OS (oversold) level. OB and OS levels can be used to select more extreme zones to find divergence (stronger signals).
- Stochastic: %K and Smoothing settings, as well as OB and OS settings (work similar to RSI logic)
- Show Labels - show labels on the chart
- Bullish Label - can be set and color coded for different indicators
- Bearish Label - can be set and color coded for different indicators
- All Oscillators Agree - displays label when all three oscillators generate divergence signals at the same time
- RSI + Stochastic - displays label when both RSI and Stochastic agree at the same time
- CVD + Stochastic - displays label when both CVD and Stochastic agree at the same time
- CVD + RSI - displays label when both CVD and RSI agree at the same time
- RSI Divergence Label only if RSI >=OB or RSI <= OS - display the label only when RSI divergence signals are detected at user-defined overbought or oversold levels
- Stochastic Divergence Label only if Stochastic >=OB or Stochastic <= OS - display the label only when Stochastic divergence signals are detected at user-defined overbought or oversold levels
- Show Lines - draw lines between divergence points.
- Short Period - define the 1st period for which divergence is detected
- Long Period - define the 2nd period for which divergence is detected
- Distance Multiplier & ATR - used to position the labels at specific distance from divergence point
What is CVD?
CVD measures the cumulative difference between buying and selling volume. A rising CVD indicates more buying pressure, while a falling CVD indicates more selling pressure. Divergence occurs when the price action contradicts the CVD's direction, suggesting a potential shift in momentum or trend reversal.
What is RSI?
The relative strength index (RSI) is a momentum indicator used to measures the speed and magnitude of a asset's recent price changes to detect overbought or oversold conditions.
What is Stochastic?
Trading View definition: Stochastic Oscillator (STOCH) is a range bound momentum oscillator. The Stochastic indicator is designed to display the location of the close compared to the high/low range over a user defined number of periods. Typically, the Stochastic Oscillator is used for three things; Identifying overbought and oversold levels, spotting divergences and also identifying bull and bear set ups or signals.
-----------------
Disclaimer
The content provided in this script 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.
Indicator

Hybrid OscillatorHybrid Oscillator
Hybrid Oscillator is a visual oscillator designed to read momentum pressure, overbought conditions, oversold conditions, oscillator crosses, extreme zones and directional fading inside a separate chart pane.
the indicator combines a selected oscillator engine with a smoothed wave, a secondary cross line, gradient zones, level dots and alert conditions.
the goal is to help traders understand when momentum is expanding, when it is reaching an extreme area, when it is cooling down, and when the main oscillator line crosses its reference line.
this tool is not a trading strategy. it does not place trades, does not guarantee reversals and does not predict future price movement. it is a technical analysis tool for market context, momentum reading and visual confirmation.
main concept
the oscillator moves between 0 and 100.
values near the upper zone show stronger upside pressure or overbought conditions.
values near the lower zone show stronger downside pressure or oversold conditions.
the main oscillator line is the active momentum wave.
the real cross line is a smoother reference line.
when the main oscillator crosses above the real cross line, momentum may be recovering or shifting upward.
when the main oscillator crosses below the real cross line, momentum may be weakening or shifting downward.
what the indicator displays
main oscillator line
real cross line
upper and lower gradient zones
overbought level
oversold level
extreme overbought level
extreme oversold level
mid upper level
mid lower level
top extreme dots
bottom extreme dots
real cross dots
level lines
alert conditions
oscillator engines
the script includes several oscillator calculation modes.
rsi
uses relative strength index behavior.
this mode is useful for reading classic momentum strength and overbought or oversold behavior.
stochastic
uses stochastic positioning.
this mode focuses on where price is closing compared to its recent high and low range.
hybrid rsi plus stochastic
uses rsi first, then applies a stochastic calculation to the rsi behavior.
this mode focuses on momentum position inside the rsi range and gives a more reactive exhaustion style.
cci normalized
uses commodity channel index behavior and normalizes it into a 0 to 100 style range.
this mode can be useful for reading broader deviation and momentum pressure.
how the real cross line works
the real cross line is a smoothed version of the active oscillator.
it is not a separate oscillator type. it follows the selected engine.
if rsi mode is selected, the cross line follows the rsi-based oscillator.
if stochastic mode is selected, the cross line follows the stochastic-based oscillator.
if hybrid mode is selected, the cross line follows the hybrid oscillator.
if cci normalized mode is selected, the cross line follows the normalized cci oscillator.
the cross dots are based on the actual intersection between the main oscillator and the real cross line.
orange cross dots show an upward cross.
magenta cross dots show a downward cross.
input guide
source
selects the price source used by the oscillator.
common choices are close, hl2, hlc3 or ohlc4.
close is simple and reactive.
hlc3 is smoother because it includes high, low and close.
length
controls the base oscillator calculation period.
a lower value makes the oscillator faster and more sensitive.
a higher value makes the oscillator smoother and slower.
smoothing
controls the smoothing applied to the final oscillator.
a lower value reacts faster.
a higher value reduces noise but adds more delay.
oscillator type
selects the calculation engine.
rsi is classic momentum.
stochastic is range position.
hybrid rsi plus stochastic is a more sensitive momentum range model.
cci normalized is a deviation-based momentum model.
extreme overbought
sets the upper extreme zone.
when the oscillator reaches this area, upside momentum is considered stretched.
overbought
sets the main upper warning level.
crossing this level can mark a strong bullish extension.
mid upper
sets the upper midline reference.
this can be used to detect smaller upward crosses around the upper balance area.
mid lower
sets the lower midline reference.
this can be used to detect smaller downward crosses around the lower balance area.
oversold
sets the main lower warning level.
crossing this level can mark a strong bearish extension.
extreme oversold
sets the lower extreme zone.
when the oscillator reaches this area, downside momentum is considered stretched.
enable gradient fills
turns the upper and lower visual gradient zones on or off.
when enabled, the oscillator pane becomes easier to read visually.
gradient layers
controls the number of visual layers used for the gradient style.
more layers create a smoother visual feel.
show level cross dots
shows or hides the dots created by cross conditions and extreme conditions.
show real cross line
shows or hides the smoother cross reference line.
this line is useful when you want to see exactly where the oscillator cross dots come from.
show level lines
shows or hides the horizontal reference lines.
these lines help identify overbought, oversold, extreme and midpoint areas.
oscillator line width
controls the thickness of the main oscillator line.
higher values make the oscillator more visible.
lower values keep the chart cleaner.
how to read the dots
top extreme dots
these appear when the oscillator is inside the extreme overbought zone.
they indicate strong upside extension.
they do not mean price must reverse immediately.
bottom extreme dots
these appear when the oscillator is inside the extreme oversold zone.
they indicate strong downside extension.
they do not mean price must reverse immediately.
orange cross dots
these appear when the main oscillator crosses above the real cross line.
they can show a possible upward momentum shift.
magenta cross dots
these appear when the main oscillator crosses below the real cross line.
they can show a possible downward momentum shift.
important note about dots
cross dots are not automatic buy or sell signals.
they show technical events inside the oscillator.
always confirm with trend, support and resistance, candle close, volume and risk management.
alerts
the script includes alert conditions for:
cross above the real cross line
cross below the real cross line
cross above overbought
cross below oversold
cross above extreme overbought
cross below extreme oversold
recommended beginner alert use
start with real cross up and real cross down.
use overbought and oversold alerts only as context.
use extreme alerts as exhaustion warnings, not direct trade signals.
avoid activating every alert at once if you want a clean workflow.
beginner tutorial
step 1: start with the default oscillator type
begin with hybrid rsi plus stochastic.
this mode gives a balanced view between momentum and range behavior.
step 2: keep the default levels
use the default overbought, oversold and extreme levels first.
do not change too many settings before understanding the oscillator behavior.
step 3: enable the real cross line
turn on the real cross line to see where cross dots come from.
when the oscillator crosses above the line, upward momentum may be improving.
when the oscillator crosses below the line, momentum may be weakening.
step 4: read the zones
above overbought, the market is showing strong upside momentum.
below oversold, the market is showing strong downside momentum.
inside the middle area, the market is more balanced.
step 5: read extremes carefully
extreme overbought can show strong bullish pressure.
extreme oversold can show strong bearish pressure.
an extreme does not guarantee a reversal.
strong markets can stay extreme longer than expected.
step 6: confirm with price action
before using any oscillator event, check the main chart.
look for:
trend direction
support and resistance
market structure
candle close
volume reaction
higher timeframe context
risk to reward
step 7: keep the chart clean
do not use every signal as an entry.
focus on the main oscillator, real cross line, extreme zones and a few important dots.
example 1: upward cross from the lower zone
the oscillator is near the oversold area.
then it crosses above the real cross line.
an orange dot appears at the real cross.
this can suggest that downside momentum is cooling and upward pressure may be starting.
a beginner should wait for price confirmation, such as a higher low, bullish candle close or break of short-term resistance.
example 2: downward cross from the upper zone
the oscillator is near the overbought area.
then it crosses below the real cross line.
a magenta dot appears at the real cross.
this can suggest that upside momentum is weakening.
a beginner should wait for price confirmation, such as rejection, lower high or break of short-term support.
example 3: extreme overbought continuation
the oscillator reaches the extreme overbought zone.
top extreme dots appear.
this means momentum is very strong to the upside.
it does not mean a sell signal is confirmed.
in a strong trend, the oscillator can remain high while price continues moving upward.
example 4: extreme oversold continuation
the oscillator reaches the extreme oversold zone.
bottom extreme dots appear.
this means momentum is very strong to the downside.
it does not mean a buy signal is confirmed.
in a strong downtrend, the oscillator can remain low while price continues moving downward.
example 5: using the cross line for timing
price is near support.
the oscillator is low.
the oscillator crosses above the real cross line.
an orange dot appears.
this can be used as an early momentum recovery warning, but the trader should still wait for price structure confirmation before making a decision.
example 6: using overbought as context
price is in an uptrend.
the oscillator crosses above the overbought level.
this confirms strong bullish pressure.
instead of shorting immediately, a beginner can watch for continuation or wait for a later loss of momentum.
best use cases
momentum reading
overbought and oversold context
detecting oscillator cross events
watching exhaustion zones
supporting reversal analysis
supporting trend continuation analysis
building alert-based watchlists
confirming price action with momentum context
recommended beginner setup
oscillator type: hybrid rsi plus stochastic
length: 14
smoothing: 3
show real cross line: on
show level cross dots: on
show level lines: on
enable gradient fills: on
use cross dots as warnings
use extreme dots as context
confirm every idea on the price chart
practical workflow
first, identify the current trend on the main chart.
second, check whether the oscillator is near the upper, middle or lower zone.
third, watch the real cross line.
fourth, note any orange or magenta cross dot.
fifth, check whether price confirms the oscillator event.
sixth, define invalidation and risk before any trade idea.
seventh, avoid taking signals against a strong trend without extra confirmation.
limitations
the oscillator is based on historical price data.
signals can appear late during fast moves.
extreme zones can stay extreme during strong trends.
cross dots are momentum events, not guaranteed reversals.
the tool should not be used alone.
risk note
this indicator is designed for technical analysis and educational market study. it does not provide financial advice, investment advice or guaranteed trading signals. all dots, levels, crosses, alerts and visual zones are references that require independent confirmation and proper risk management.
Indicator

Wave Oscillatorwave high low detector pro
wave high low detector is a bounded oscillator designed to help identify potential local high and low areas using momentum, rsi behavior, pivot confirmation, candle rejection, divergence, atr exhaustion, structure breaks, cooldown logic and quality scoring.
the oscillator moves between 0 and 100.
a value near 100 means price is trading close to the upper part of its recent range or showing strong upside momentum.
a value near 0 means price is trading close to the lower part of its recent range or showing strong downside momentum.
the script does not predict the future and does not guarantee market tops or bottoms. it is a technical analysis tool that marks possible early and confirmed high or low references. every signal should be confirmed with price action, market structure, volume, trend context and risk management.
main idea
the indicator separates high and low detection into two signal types:
early high and early low
confirmed high and confirmed low
early signals are faster and more reactive. they appear when the oscillator leaves an extreme zone and the selected filters agree.
confirmed signals are slower but more selective. they use pivot confirmation and additional context to validate a stronger high or low reference.
this design allows the trader to choose between speed and confirmation.
what the indicator shows
wave oscillator
high zone
low zone
balance zone
early high markers
early low markers
confirmed high markers
confirmed low markers
quality score labels
bull and bear gradient fill
optional glow
right-side zone labels
dashboard with state, value, score and mode
separate alerts for early and confirmed signals
how high and low detection works
an early high appears when the oscillator leaves the upper zone after being stretched upward.
an early low appears when the oscillator leaves the lower zone after being stretched downward.
a confirmed high appears only when a pivot high is confirmed and the score is strong enough.
a confirmed low appears only when a pivot low is confirmed and the score is strong enough.
confirmed signals are placed back on the pivot location, so they naturally appear with a delay. this is normal because pivots need future bars to confirm the local high or low.
quality score
the score rates the quality of a potential high or low from 0 to 100.
the score can include:
extreme oscillator condition
super extreme oscillator condition
oscillator slope reversal
wick rejection
atr exhaustion
divergence
structure break
pivot confirmation
a higher score means more conditions agree. a lower score means the setup is weaker or less complete.
the score is not a trade signal by itself. it is only a filter that helps compare the quality of different high and low references.
input guide
engine
source
selects the price source used by the rsi engine.
common choices are close, open, high, low, hl2, hlc3 or ohlc4.
length sensitivity
controls how many bars are used by the oscillator engine.
lower values make the wave faster and more reactive.
higher values make the wave smoother and slower.
smoothing
smooths the oscillator.
higher values reduce noise but add delay.
lower values react faster but may produce more signals.
engine
selects the oscillator calculation method.
momentum wave
uses a stochastic-style high and low range calculation. this is the most direct mode for high and low detection.
rsi
uses a smoothed rsi. this mode reads momentum exhaustion rather than pure range position.
blend
combines rsi and range position. this gives a balanced reading between momentum and high or low range behavior.
levels
overbought high zone
sets the upper zone where price is considered stretched toward the high area.
default logic usually works around 80.
oversold low zone
sets the lower zone where price is considered stretched toward the low area.
default logic usually works around 20.
show midline
shows or hides the 50 balance line.
above 50, the oscillator is generally stronger.
below 50, the oscillator is generally weaker.
high low detector
detection mode
controls the signal strictness.
fast
more reactive. it allows earlier signals with fewer confirmations.
balanced
uses a middle approach between speed and confirmation.
confirmed
stricter and slower. it requires stronger confirmation and higher score quality.
show early high low
shows or hides early high and early low markers.
show confirmed high low
shows or hides confirmed high and confirmed low markers.
balanced minimum score
sets the minimum score used in balanced mode.
higher values reduce signals.
lower values increase signals.
pivot left bars
sets how many bars to the left are used to confirm a pivot.
higher values make pivots more important but slower.
pivot right bars
sets how many bars to the right are required to confirm a pivot.
higher values make confirmed signals more reliable but delayed.
cooldown between signals
sets the minimum number of bars between repeated signals of the same type.
this helps reduce signal spam.
show quality score labels
shows or hides score labels near early and confirmed markers.
optional filters
use divergence in score
adds divergence logic to the quality score.
bearish divergence can strengthen a confirmed high.
bullish divergence can strengthen a confirmed low.
wick rejection filter
requires a rejection wick before accepting signals.
for highs, the script looks for upper wick rejection.
for lows, the script looks for lower wick rejection.
min wick percent of candle
sets the minimum wick size needed for the wick rejection filter.
higher values make the filter stricter.
lower values allow more signals.
atr exhaustion filter
requires price to be extended away from a moving average by an atr-based distance.
this helps focus on stronger exhaustion moves.
atr length
sets the atr calculation length.
atr exhaustion multiplier
sets how far price must extend from the average before the atr exhaustion filter confirms.
structure break filter
requires a short structure break to confirm the signal.
for highs, price should break below recent structure.
for lows, price should break above recent structure.
structure break lookback
sets how many bars are used to define the recent structure level.
visuals
glow
turns the glow effect around the wave on or off.
glow intensity
controls the strength of the glow.
bull bear gradient fill
fills the area between the wave and the midline with a bull or bear gradient.
fill transparency
controls how visible the gradient fill is.
higher transparency makes the fill lighter.
lower transparency makes the fill stronger.
tint high low zones
adds a faint background tint to the high and low areas.
color theme
selects the visual color style.
wizard
default bright cyan and red style.
ice
cool blue theme.
inferno
warm orange and red theme.
toxic
green and purple style.
markers
show high low markers
turns all markers on or off.
marker labels
selects the marker text style.
high low
uses early high, early low, confirmed high and confirmed low style labels.
buy sell
uses early buy, early sell, confirmed buy and confirmed sell style labels.
these labels are visual references only, not automatic entries.
show zone labels right
shows high, low and balance labels on the right side of the oscillator.
dashboard
show dashboard
shows or hides the dashboard.
position
selects the dashboard location.
the dashboard displays:
current state
current oscillator value
high score
low score
detection mode
signal types
early high
an early high appears when the wave leaves the high zone and the high score passes the selected requirements.
this means upside pressure may be weakening.
it is not a guaranteed top.
early low
an early low appears when the wave leaves the low zone and the low score passes the selected requirements.
this means downside pressure may be weakening.
it is not a guaranteed bottom.
confirmed high
a confirmed high appears when a pivot high is confirmed and the score is strong enough.
this signal is more selective but appears later.
confirmed low
a confirmed low appears when a pivot low is confirmed and the score is strong enough.
this signal is more selective but appears later.
how to use the alerts
the script includes separate alert conditions:
early high
early low
confirmed high
confirmed low
any early high or low
any confirmed high or low
for fast monitoring, use early alerts.
for cleaner monitoring, use confirmed alerts.
for fewer alerts, use only any confirmed high or low.
recommended anti-spam setup:
use confirmed signals only
increase cooldown between signals
use balanced or confirmed mode
keep pivot right bars at 3 or higher
increase the minimum score if there are too many signals
recommended beginner alert setup:
start with any confirmed high or low
use balanced mode
set cooldown between signals to 8 or more
keep score labels enabled
avoid using every alert condition at the same time
beginner tutorial
step 1: start with balanced mode
balanced mode is the best starting point because it avoids being too fast or too strict.
step 2: keep the default high and low zones
use 80 for the high zone and 20 for the low zone.
this gives a clean first reading.
step 3: watch the wave position
when the wave is above 80, price is stretched toward the high area.
when the wave is below 20, price is stretched toward the low area.
when the wave is around 50, the market is more balanced.
step 4: understand early signals
early signals are warnings.
early high means a possible local top area may be forming.
early low means a possible local bottom area may be forming.
do not enter a trade only because an early signal appears.
step 5: understand confirmed signals
confirmed signals are more selective.
confirmed high means a pivot high has been validated.
confirmed low means a pivot low has been validated.
these signals are slower because the script waits for confirmation.
step 6: read the score
a score near 50 is weaker.
a score near 65 is more acceptable.
a score above 75 is stronger.
a score above 85 means several filters agree.
step 7: confirm on the price chart
before using any signal, check:
trend direction
support and resistance
market structure
candle close
volume reaction
risk to reward
stop loss location
step 8: avoid overloading the chart
do not turn on every filter at once at the beginning.
start with:
balanced mode
wick rejection filter on
divergence in score on
atr exhaustion filter off
structure break filter off
cooldown enabled
after understanding the tool, activate atr exhaustion or structure break if you want stricter signals.
example 1: early high
price pushes upward and the wave moves above the high zone.
then the wave crosses back below the high zone.
an early high appears.
this means the upward push may be losing strength.
a beginner should wait for price rejection or a lower high before considering a short idea.
example 2: confirmed high
price forms a local high.
a few bars later, the pivot is confirmed.
the indicator prints confirmed high at the pivot location.
this is a stronger reference than an early high, but it appears later.
example 3: early low
price drops and the wave moves below the low zone.
then the wave crosses back above the low zone.
an early low appears.
this means downside pressure may be weakening.
a beginner should wait for support reaction or a higher low before considering a long idea.
example 4: confirmed low
price forms a local low.
a few bars later, the pivot is confirmed.
the indicator prints confirmed low at the pivot location.
this is a stronger reference than an early low, but it appears later.
example 5: using cooldown
if the market is volatile, the wave can create several signals close together.
cooldown prevents repeated signals from appearing too often.
higher cooldown values create a cleaner chart.
lower cooldown values create more frequent signals.
best use cases
spotting potential local highs
spotting potential local lows
detecting exhaustion zones
finding momentum fade areas
confirming high and low references with pivots
filtering noisy oscillator signals
building alerts for reversal watchlists
supporting discretionary trading decisions
important notes
early signals are faster but less confirmed.
confirmed signals are more selective but delayed.
pivot-based confirmation cannot appear instantly.
score is a filter, not a prediction.
buy and sell labels are only visual naming options.
the indicator should be combined with price action, structure, volume and risk management.
risk note
this indicator is for technical analysis and educational market study only. it does not provide financial advice, investment advice or guaranteed trading signals. all signals, markers, scores and alerts are references that require independent confirmation and proper risk management.
Indicator

Indicator

Strategy

Adaptive Stochastic with Colored Lines and ZonesAdaptive Stochastic with Colored Lines and Zones
"Adaptive Stochastic with Colored Lines and Zones" is an enhanced Stochastic Oscillator designed to improve trend visualization and market momentum analysis through dynamic color changes and clearly defined overbought/oversold zones.
The indicator automatically adjusts the color of the main Stochastic line according to prevailing market conditions:
**Blue** indicates bullish momentum and strengthening upward pressure.
**Red** indicates bearish momentum and increasing downward pressure.
This visual feedback helps traders quickly assess market direction without adding additional trend-following tools to the chart.
Overbought and Oversold Zones
The indicator highlights key momentum extremes:
* **Above 80** – Strong Overbought Zone
* **Below 20** – Strong Oversold Zone
These areas can help identify periods of extended market movement, potential pullbacks, or possible reversal conditions when combined with price action and other forms of technical analysis.
Applications
* Trend identification
* Momentum analysis
* Confirmation of market direction
* Detection of overbought and oversold conditions
* Support for entry and exit timing
Suitable Markets
The indicator can be used across multiple asset classes, including Forex, Cryptocurrencies, Stocks, Indices, and Futures, and is compatible with various trading styles ranging from intraday trading to longer-term trend analysis.
Notes
As with any technical indicator, Adaptive Stochastic with Colored Lines and Zones should be used as part of a broader trading strategy and not as a standalone signal generator. Combining momentum readings with market structure, support and resistance levels, and risk management techniques may improve decision-making.
Indicator

ZENFlow Regime Lite | Market Context GuideZENFlow Regime Lite | Market Context Guide
ZENFlow Regime Lite is an open-source market regime and context-reading indicator designed to help traders understand the current market environment before looking for trade setups.
The main idea behind this script is simple:
Read the market first.
Then decide whether the market is trending, ranging, compressing, or unclear.
This Lite version is designed as a beginner-friendly market context guide. It does not provide direct entry, stop-loss, or take-profit levels. Instead, it helps users identify the broader condition of the market so they can make more informed decisions using their own trading method.
Core Concept
Many traders start by asking:
Should I buy?
Should I sell?
Where is the entry?
ZENFlow Regime Lite starts from a different question:
What kind of market are we in right now?
The indicator uses a multi-timeframe context approach. It reads the current chart timeframe together with a higher timeframe context to help classify the market into broad conditions such as trend, range, compression, chop, or breakout-watch environments.
What This Indicator Shows
HTF Context
The higher timeframe context helps users understand the broader market environment.
Examples:
• Trend Up
• Trend Down
• Range
• Compression
• Chop
HTF Bias
The bias row summarizes whether the higher timeframe favors long, short, range mode, breakout watch, or neutral conditions.
Examples:
• Long Bias
• Short Bias
• Range Mode
• Wait Breakout
• Neutral
Trading Timeframe Regime
The script also reads the current chart timeframe to show whether the trading timeframe is trending, ranging, compressing, or choppy.
Market State
The state classification helps users understand the phase of the move.
Examples:
• Early
• Healthy
• Mature
• Exhaustion
Momentum
Momentum is based on directional pressure and DI gap behavior.
Examples:
• Rising
• Strong
• Fading
• Collapsing
Energy
Energy is based on ATR behavior compared with its baseline.
Examples:
• Quiet
• Normal
• Expanding
• Extreme
Guide
The Guide row provides a broad market-reading suggestion.
Examples:
• Follow Long Bias
• Follow Short Bias
• Avoid Chase
• Range Market
• Wait Breakout
• Wait
The Guide is not an entry signal. It is a market-context summary.
Calculation Logic
ZENFlow Regime Lite combines several market components:
• ADX and DI
Used to detect trend strength and directional pressure.
• Bollinger Band Width
Used to identify range and compression conditions.
• ATR and ATR Baseline
Used to measure volatility and market energy.
• Stochastic
Used as part of state and exhaustion interpretation.
• Multi-Timeframe Context
Used to compare the current chart timeframe with a higher timeframe environment.
The purpose of combining these components is to avoid reading price action from a single signal only. The script is designed to provide a broader context before trade planning.
How to Use
Start with HTF Context
Check whether the higher timeframe is trending, ranging, compressing, or choppy.
Read HTF Bias
Use this to understand whether the broader environment favors long, short, range, breakout watch, or neutral behavior.
Check the Trading Timeframe
Compare the current chart timeframe with the higher timeframe. Alignment between both timeframes usually provides a cleaner reading.
Read State, Momentum, and Energy
These rows help determine whether the current move is still developing, healthy, late, or losing strength.
Use the Guide row carefully
The Guide row is only a broad context suggestion. It should not be treated as an automatic buy or sell instruction.
Suggested Interpretation
A stronger long-side context may appear when:
• HTF Bias favors Long
• Trading timeframe is also Trend Up
• State is Early or Healthy
• Momentum is Rising or Strong
• Energy is Normal or Expanding
A stronger short-side context may appear when:
• HTF Bias favors Short
• Trading timeframe is also Trend Down
• State is Early or Healthy
• Momentum is Rising or Strong
• Energy is Normal or Expanding
A caution condition may appear when:
• State is Mature or Exhaustion
• Momentum is Fading or Collapsing
• Energy is Extreme
• The market is in Range, Compression, or Chop
• Price has already moved too far and the Guide shows Avoid Chase
What This Lite Version Does Not Include
This Lite version is intentionally limited to broad market-regime reading.
It does not include:
• Final Plan
• Action row
• ZSS setup events
• CHoCH / BOS engine
• Liquidity target engine
• Entry / Stop-loss / Take-profit planner
• Tactical reversal layer
• Trade execution system
This keeps the script simple, educational, and suitable for users who want to learn how to read market context first.
Alerts
The script includes broad context alerts such as:
• Follow Long Bias
• Follow Short Bias
• Avoid Chase
• Range Market
• Wait Breakout
• Wait
These alerts are designed to notify users when the market context changes. They are not standalone trade signals.
Recommended Use
ZENFlow Regime Lite can be used as:
• A market-regime dashboard
• A trend/range/compression context reader
• A top-down market filter
• A learning tool for reading market condition
• A companion to a trader’s own entry method
Limitations
This indicator does not predict future price movement.
It does not guarantee profitable trades.
It does not replace risk management.
It should not be used as a standalone trading system.
Market behavior can change quickly, especially during news events, low-liquidity periods, or highly volatile conditions.
All trading decisions remain the responsibility of the user.
Educational Use Only
This script is intended for educational and analytical use only.
It is not financial advice.
──────────────────── Indicator

Indicator

Smart Stochastic Prosmart stochastic pro is a momentum oscillator built to read stochastic structure, buying and selling pressure, and multi-timeframe bias in one clean panel.
the script is designed for traders who want a visual way to track when the market is stretched, when pressure starts to shift, and when a reversal setup becomes more interesting. it does not predict price and it should not be used alone. it is meant to support analysis together with price action, market structure, support and resistance, volume, and risk management.
what the script does
smart stochastic pro uses a smoothed stochastic engine to create rounded %k and %d curves. the goal is to reduce visual noise while keeping the oscillator responsive enough for intraday and swing analysis.
the script includes:
* a smoothed stochastic %k and %d
* extreme overbought and oversold zones
* buying and selling pressure based on candle position and volume
* optional mtf calculation modes
* reversal detection after extreme zones
* optional candle coloring
* a compact dashboard
* visual pressure zones and signal labels
how to use it
add the script to a normal candlestick chart. for the clearest reading, start with the default settings and use a liquid market such as major crypto pairs, forex pairs, indices, or large-cap stocks.
the oscillator moves between 0 and 100.
basic reading:
* above 80 means price is in an overbought area
* below 20 means price is in an oversold area
* above 90 means extreme overbought
* below 10 means extreme oversold
* the 50 line is the neutral zone
* %k above %d shows bullish momentum
* %k below %d shows bearish momentum
the script works best when you do not take every cross. the main idea is to wait for a strong area first, then look for a confirmed shift.
beginner workflow
1. start on the chart mode
use:
calculation / visual mode: chart
this uses the current chart timeframe and is the easiest mode to understand.
2. wait for an extreme zone
for bullish setups, watch for %k to move into the extreme oversold area.
for bearish setups, watch for %k to move into the extreme overbought area.
this arms the setup. it does not mean enter immediately.
3. wait for confirmation
a bullish reversal becomes more interesting when:
* %k crosses above %d
* the oscillator starts rising
* buying pressure improves
* the signal appears after an oversold expansion
a bearish reversal becomes more interesting when:
* %k crosses below %d
* the oscillator starts falling
* selling pressure improves
* the signal appears after an overbought expansion
4. check the pressure
the pressure background and ribbons help show whether buyers or sellers are gaining control.
green pressure means buying is stronger.
red pressure means selling is stronger.
neutral pressure means the market may still be undecided.
5. use the dashboard
the dashboard summarizes:
* active mode
* current bias
* mtf bias
* slope
* oscillator zone
* buying or selling pressure
* %k and %d values
* signal strength
* armed state
for beginners, the most useful dashboard rows are state, zone, pressure, and armed.
recommended settings
for beginners:
* calculation / visual mode: chart
* require explosion first: true
* minimum confluence strength: 2
* hide mid-range noise: true
* show pressure: true
* show dashboard: true
* candle color: off at first
for cleaner signals:
* require explosion first: true
* minimum confluence strength: 3
* hide mid-range noise: true
* mtf bias filters signals: true
for faster signals:
* require explosion first: false
* minimum confluence strength: 2
* hide mid-range noise: true
for multi-timeframe use:
mtf strict shows the oscillator calculated directly from the selected higher timeframe.
mtf bias keeps the chart oscillator smoother while using the higher timeframe as a directional filter.
a simple setup is:
* chart timeframe: 5m or 15m
* mtf timeframe: 1h
* mtf bias filters signals: true
where to use it
the script can be used on:
* crypto
* forex
* indices
* stocks
* futures
it is usually cleaner on markets with good liquidity and enough volume. low-volume markets can create noisy pressure readings and weaker signal quality.
timeframes
for scalping, try 1m to 5m, but expect more noise.
for intraday trading, 5m to 30m is usually easier to read.
for swing trading, 1h to 4h gives slower but cleaner signals.
how not to use it
do not buy only because the oscillator is oversold.
do not sell only because the oscillator is overbought.
do not use one signal without checking market structure.
do not use it as a guaranteed entry system.
do not ignore risk management.
best practice
use the script as a timing and confirmation tool.
a stronger bullish setup usually has:
* price near support or after a liquidity sweep
* %k coming from oversold or extreme oversold
* buying pressure improving
* bullish signal strength at least 2 or 3
* mtf bias not fighting the trade
a stronger bearish setup usually has:
* price near resistance or after a failed breakout
* %k coming from overbought or extreme overbought
* selling pressure improving
* bearish signal strength at least 2 or 3
* mtf bias not fighting the trade
alerts
alerts are available for:
* bullish reversal after extreme oversold
* bearish reversal after extreme overbought
* extreme oversold
* extreme overbought
* pressure flip bullish
* pressure flip bearish
use alerts as reminders to check the chart, not as automatic trade entries.
notes
this script is an analysis tool. it does not guarantee results. all signals should be reviewed with price action, trend context, volatility, and personal risk rules before making a trade decision.
Indicator

Stochastic Histogram Regime [Gabremoku]Stochastic Histogram Regime is a refined Stochastic-based momentum oscillator that transforms classic %K / %D logic into a mid-centered histogram regime model with adaptive zones, squeeze detection, and sequential BUY/SELL signaling.
Instead of using the traditional 0–100 Stochastic layout alone, this script recenters the oscillator around its midline and highlights:
momentum expansion and recovery phases
adaptive extreme zones
K/D compression regimes
sequential crossover signals
squeeze-aware signal styling
a compact live dashboard
The Stochastic Oscillator measures where the current close sits relative to its recent price range, and its two core lines — %K and %D — are commonly used to spot momentum shifts, overbought/oversold conditions, and crossover signals.
What it shows
📊 Mid-centered stochastic histogram — instead of plotting Stochastic only in its standard form, the script centers the histogram around the 50 level so bullish and bearish pressure become easier to compare visually.
📈 %K line and ghost %D line — the main momentum line stays visually dominant, while %D acts as a softer confirmation layer.
🎯 Adaptive zones — rather than relying only on static 80/20 thresholds, the script calculates percentile-based extreme zones from recent Stochastic behavior. Traditional Stochastic readings above 80 are often considered overbought and readings below 20 oversold, but adaptive thresholds can better reflect changing market behavior.
🗜️ Combined squeeze regime — the script measures both:
compression around the midline
compression between %K and %D
This creates a composite squeeze state that helps identify low-momentum contraction phases before expansion.
🚦 Sequential BUY/SELL state machine — primary signals are filtered through K/D crossover logic, slope confirmation, and optional extreme-zone requirements.
🔺 Follow-up triangles — repeated same-direction confirmations after the first primary signal can be shown as lighter continuation markers.
🪧 Minimal dashboard — displays state, K/D values, adaptive zone range, slope, and squeeze status.
Core logic
The script is built around the idea that the Stochastic Oscillator is not just an overbought/oversold tool, but a momentum regime detector.
Classic Stochastic compares the latest close to the recent high-low range and is typically interpreted through:
%K and %D crossovers
movement around 80/20 zones
and changes in momentum before price fully reacts
Your script extends that by:
recentering the oscillator around 50
using histogram structure for directional emphasis
adapting extreme zones to recent behavior
and combining crossover quality with slope and squeeze context
This makes it more structured than a standard Stochastic display.
State model
The indicator classifies momentum into five readable states:
Bull Impulse
Bull Recovery
Bear Impulse
Bear Recovery
Neutral
This adds nuance to the usual Stochastic reading because it separates:
strong directional continuation
weaker recovery phases
and non-directional compression
In practice:
Bull Impulse suggests K is above D, above the mid-neutral area, and still rising
Bear Impulse suggests K is below D, below the mid-neutral area, and still falling
recovery states identify improving momentum before full expansion
Signal logic
The script uses a filtered signal engine based on %K / %D crossovers, which are among the most common Stochastic signals.
Primary BUY and SELL signals can be filtered by:
extreme zone location
K slope confirmation
signal mode: Aggressive, Balanced, or Strict
This helps reduce the classic problem of noisy Stochastic crossovers in sideways conditions. Stochastic crossovers are useful, but they generally become more meaningful when combined with trend or momentum context rather than taken in isolation.
How to read it
A practical reading method is:
Use the histogram around the midline to read directional pressure.
Use adaptive zones to identify statistically stretched momentum.
Use %K / %D crossovers for trigger logic.
Use the squeeze state to identify contraction before expansion.
Treat follow-up triangles as continuation confirmation, not as fresh primary entries.
In general:
positive histogram with rising K = improving bullish momentum
negative histogram with falling K = improving bearish momentum
squeeze ON = compressed momentum regime
BUY/SELL labels = primary filtered crossover signals
Features
✅ Mid-centered stochastic histogram
✅ %K and ghost %D structure
✅ Percentile-based adaptive extreme zones
✅ Neutral zone around the 50 midline
✅ Composite squeeze detection
✅ Sequential BUY / SELL state machine
✅ Optional follow-up continuation markers
✅ Overlay and pane signal display options
✅ Minimal live dashboard
✅ Alert conditions for BUY, SELL, and squeeze state
Notes
This indicator is designed to improve the readability of Stochastic momentum structure, especially in transitions between compression, recovery, and impulse phases. Like all Stochastic-based tools, it can produce noisy signals in choppy markets, and overbought/oversold readings should generally be interpreted as momentum context rather than automatic reversal calls.
Author: Gabremoku
Pine Script v6 Indicator
