Kalman Adjusted Average True Range [BackQuant]Kalman Adjusted Average True Range
A volatility-aware trend baseline that fuses a Kalman price estimate with ATR “rails” to create a smooth, adaptive guide for entries, exits, and trailing risk.
Built on my original Kalman
This indicator is based on my original Kalman Price Filter:
That core smoother is used here to estimate the “true” price path, then blended with ATR to control step size and react proportionally to market noise.
What it plots
Kalman ATR Line the main baseline that turns up/down with the filtered trend.
Optional Moving Average of the Kalman ATR a secondary line for confluence (SMA/Hull/EMA/WMA/DEMA/RMA/LINREG/ALMA).
Candle Coloring (optional) paint bars by the baseline’s current direction.
Why combine Kalman + ATR?
Kalman reduces measurement noise and produces a stable path without the lag of heavy MAs.
ATR rails scale the baseline’s step to current volatility, so it’s calm in chop and more responsive in expansion.
The result is a single, intelligible line you can trade around: slope-up = constructive; slope-down = caution.
How it works (plain English)
Each bar, the Kalman filter updates an internal state (tunable via Process Noise , Measurement Noise , and Filter Order ) to estimate the underlying price.
An ATR band (Period × Factor) defines the allowed per-bar adjustment. The baseline cannot “jump” beyond those rails in one step.
A direction flip is detected when the baseline’s slope changes sign (upturn/downturn), and alerts are provided for both.
Typical uses
Trend confirmation Trade in the baseline’s direction; avoid fading a firmly rising/falling line.
Pullback timing Look for entries when price mean-reverts toward a rising baseline (or exits on tags of a falling one).
Trailing risk Use the baseline as a dynamic guide; many traders set stops a small buffer beyond it (e.g., a fraction of ATR).
Confluence Enable the MA overlay of the Kalman ATR; alignment (baseline above its MA and rising) supports continuation.
Inputs & what they do
Calculation
Kalman Price Source which price the filter tracks (Close by default).
Process Noise how quickly the filter can adapt. Higher = more responsive (but choppier).
Measurement Noise how much you distrust raw price. Higher = smoother (but slower to turn).
Filter Order (N) depth of the internal state array. Higher = slightly steadier behavior.
Kalman ATR
Period ATR lookback. Shorter = snappier; longer = steadier.
Factor scales the allowed step per bar. Larger factors permit faster drift; smaller factors clamp movement.
Confluence (optional)
MA Type & Period compute an MA on the Kalman ATR line , not on price.
Sigma (ALMA) if ALMA is selected, this input controls the curve’s shape. (Ignored for other MA types.)
Visuals
Plot Kalman ATR toggle the main line.
Paint Candles color bars by up/down slope.
Colors choose long/short hues.
Signals & alerts
Trend Up baseline turns upward (slope crosses above 0).
Alert: “Kalman ATR Trend Up”
Trend Down baseline turns downward (slope crosses below 0).
Alert: “Kalman ATR Trend Down”
These are state flips , not “price crossovers,” so you avoid many one-bar head-fakes.
How to start (fast presets)
Swing (daily/4H) ATR Period 7–14, Factor 0.5–0.8, Process Noise 0.02–0.05, Measurement Noise 2–4, N = 3–5.
Intraday (5–15m) ATR Period 5–7, Factor 0.6–1.0, Process Noise 0.05–0.10, Measurement Noise 2–3, N = 3–5.
Slow assets / FX raise Measurement Noise or ATR Period for calmer lines; drop Factor if the baseline feels too jumpy.
Reading the line
Rising & curving upward momentum building; consider long bias until a clear downturn.
Flat & choppy regime uncertainty; many traders stand aside or tighten risk.
Falling & accelerating distribution lower; short bias until a clean upturn.
Practical playbook
Continuation entries After a Trend Up alert, wait for a minor pullback toward the baseline; enter on evidence the line keeps rising.
Exit/reduce If long and the baseline flattens then turns down, trim or exit; reverse logic for shorts.
Filters Add a higher-timeframe check (e.g., only take longs when the daily Kalman ATR is rising).
Stops Place stops just beyond the baseline (e.g., baseline − x% ATR for longs) to avoid “tag & reverse” noise.
Notes
This is a guide to state and momentum, not a guarantee. Combine with your process (structure, volume, time-of-day) for decisions.
Settings are asset/timeframe dependent; start with the presets and nudge Process/Measurement Noise until the baseline “feels right” for your market.
Summary
Kalman ATR takes the noise-reduction of a Kalman price estimate and couples it with volatility-scaled movement to produce a clean, adaptive baseline. If you liked the original Kalman Price Filter (), this is its trend-trading cousin purpose-built for cleaner state flips, intuitive trailing, and confluence with your existing
A-trend
RSI Trend Navigator [QuantAlgo]🟢 Overview
The RSI Trend Navigator integrates RSI momentum calculations with adaptive exponential moving averages and ATR-based volatility bands to generate trend-following signals. The indicator applies variable smoothing coefficients based on RSI readings and incorporates normalized momentum adjustments to position a trend line that responds to both price action and underlying momentum conditions.
🟢 How It Works
The indicator begins by calculating and smoothing the RSI to reduce short-term fluctuations while preserving momentum information:
rsiValue = ta.rsi(source, rsiPeriod)
smoothedRSI = ta.ema(rsiValue, rsiSmoothing)
normalizedRSI = (smoothedRSI - 50) / 50
It then creates an adaptive smoothing coefficient that varies based on RSI positioning relative to the midpoint:
adaptiveAlpha = smoothedRSI > 50 ? 2.0 / (trendPeriod * 0.5 + 1) : 2.0 / (trendPeriod * 1.5 + 1)
This coefficient drives an adaptive trend calculation that responds more quickly when RSI indicates bullish momentum and more slowly during bearish conditions:
var float adaptiveTrend = source
adaptiveTrend := adaptiveAlpha * source + (1 - adaptiveAlpha) * nz(adaptiveTrend , source)
The normalized RSI values are converted into price-based adjustments using ATR for volatility scaling:
rsiAdjustment = normalizedRSI * ta.atr(14) * sensitivity
rsiTrendValue = adaptiveTrend + rsiAdjustment
ATR-based bands are constructed around this RSI-adjusted trend value to create dynamic boundaries that constrain trend line positioning:
atr = ta.atr(atrPeriod)
deviation = atr * atrMultiplier
upperBound = rsiTrendValue + deviation
lowerBound = rsiTrendValue - deviation
The trend line positioning uses these band constraints to determine its final value:
if upperBound < trendLine
trendLine := upperBound
if lowerBound > trendLine
trendLine := lowerBound
Signal generation occurs through directional comparison of the trend line against its previous value to establish bullish and bearish states:
trendUp = trendLine > trendLine
trendDown = trendLine < trendLine
if trendUp
isBullish := true
isBearish := false
else if trendDown
isBullish := false
isBearish := true
The final output colors the trend line green during bullish states and red during bearish states, creating visual buy/long and sell/short opportunity signals based on the combined RSI momentum and volatility-adjusted trend positioning.
🟢 Signal Interpretation
Rising Trend Line (Green): Indicates upward momentum where RSI influence and adaptive smoothing favor continued price advancement = Potential buy/long positions
Declining Trend Line (Red): Indicates downward momentum where RSI influence and adaptive smoothing favor continued price decline = Potential sell/short positions
Flattening Trend Lines: Occur when momentum weakens and the trend line slope approaches neutral, suggesting potential consolidation before the next move
Built-in Alert System: Automated notifications trigger when bullish or bearish states change, sending "RSI Trend Bullish Signal" or "RSI Trend Bearish Signal" messages for timely entry/exit
Color Bar Candles Option: Optional candle coloring feature that applies the same green/red trend colors to price bars, providing additional visual confirmation of the current trend direction
Guppy MMA [Alpha Extract]A sophisticated trend-following and momentum assessment system that constructs dynamic trader and investor sentiment channels using multiple moving average groups with advanced scoring mechanisms and smoothed CCI-style visualizations for optimal market trend analysis. Utilizing enhanced dual-group methodology with threshold-based trend detection, this indicator delivers institutional-grade GMMA analysis that adapts to varying market conditions while providing high-probability entry and exit signals through crossover and extreme value detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-group architecture using short-term and long-term moving averages as foundation points, applying customizable MA types to reduce noise and score-based averaging for sentiment-responsive trend channels. The system creates trader channels from shorter periods and investor channels from longer periods with configurable periods for optimal market reaction zones.
// Core Channel Calculation Framework
maType = input.string("EMA", title="Moving Average Type", options= )
// Short-Term Group Construction
stMA1 = ma(close, st1, maType)
stMA2 = ma(close, st2, maType)
// Long-Term Group Construction
ltMA1 = ma(close, lt1, maType)
ltMA2 = ma(close, lt2, maType)
// Smoothing Application
smoothedavg = ma(overallAvg, 10, maType)
🔶 Volatility-Adaptive Zone Framework
Features dynamic score-based averaging that expands sentiment signals during strong trend periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine momentum shifts. The dual-group averaging system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Sentiment Adjustment
shortTermAvg = (stScore1 + stScore2 + ... + stScore11) / 11
longTermAvg = (ltScore1 + ltScore2 + ... + ltScore11) / 11
// Dual-Group Zone Optimization
overallAvg = (shortTermAvg + longTermAvg) / 2
allMAAvg = (shortTermAvg * 11 + longTermAvg * 11) / 22
🔶 Step-Like Boundary Evolution
Creates threshold-based trend boundaries that update on smoothed average changes, providing visual history of evolving bullish and bearish levels with performance-optimized threshold management limited to key zones for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates buy and sell signals through sophisticated crossover analysis, monitoring smoothed average interaction with zero-line and thresholds for high-probability entry and exit identification. The system distinguishes between trend continuation and reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, threshold-based historical boundaries, and dynamic background highlighting that activates upon trend changes. The visual system uses institutional color coding with green bullish zones and red bearish zones for intuitive market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic trend relevance filtering, displaying signals only when smoothed average proximity warrants analysis attention. The system maintains optimal performance through smart averaging management and historical level tracking with configurable MA periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through threshold crossovers with momentum detection via extreme markers, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with score-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering buy signals, sell signals, strong bull conditions, and strong bear conditions with customizable alert conditions. The system enables precise position management through real-time notifications of critical sentiment interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient MA smoothing algorithms with configurable types for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic visual level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
This indicator delivers sophisticated GMMA-based market analysis through score-adaptive averaging calculations and intelligent group construction methodology. By combining dynamic trader and investor sentiment detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade trend analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying market conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to trend trading, momentum reversals, and sentiment continuation analysis with clearly defined risk parameters and comprehensive alert integration.
Guardian BandsGuardian Bands is a volatility-adjusted trend-following trail that creates dynamic support and resistance zones around a custom moving average backbone (the Trend Flow Line – TFL).
It is designed to act as both:
a trend filter (color-coded bullish/bearish zones), and
a trailing stop tool (bands/zones adapt with volatility).
🔹 How It Works
Trend Flow Line (TFL):
The central backbone of the indicator, built from adaptive smoothing methods (HMA / EMA / KAMA / SuperSmoother). It shows the underlying trend direction.
Adaptive Bands:
Two sets of bands (inner & outer) are placed around the TFL using ATR multipliers.
In uptrend → blue zone below price (dynamic support).
In downtrend → red zone above price (dynamic resistance).
Trend Detection:
Trend is confirmed only when:
TFL slope is strong enough relative to ATR, and
Price is aligned above (bullish) or below (bearish) TFL.
(Optional) Higher Timeframe TFL confirmation.
Signals:
Buy markers appear when price bounces into the bullish zone.
Sell markers appear when price rejects from the bearish zone.
🔹 How to Use
Identify Trend:
Blue zones = market bias bullish.
Red zones = market bias bearish.
Gray TFL = neutral / indecisive.
Dynamic Support & Resistance:
In uptrend, the lower zone acts like a trailing support – stops can be placed under it.
In downtrend, the upper zone acts like a trailing resistance – stops can be placed above it.
Entries:
Longs when price bounces off blue zone.
Shorts when price rejects red zone.
Exits / Stop Management:
Trail stops along the inner band.
Use the outer band as a “last defense” safety net.
🔹 Best Practices
Works on all timeframes; higher timeframes = stronger signals.
Use in combination with price action, volume, or momentum tools (RSI/MACD).
For cleaner signals, enable Higher Timeframe Confirmation in settings.
✅ Summary:
Guardian Bands highlights the path of least resistance in any trend, giving traders a visual, volatility-aware framework for entries, exits, and trailing stops.
Linear Regression Trend Navigator [QuantAlgo]🟢 Overview
The Linear Regression Trend Navigator is a trend-following indicator that combines statistical regression analysis with adaptive volatility bands to identify and track dominant market trends. It employs linear regression mathematics to establish the underlying trend direction, while dynamically adjusting trend boundaries based on standard deviation calculations to filter market noise and maintain trend continuity. The result is a straightforward visual system where green indicates bullish conditions favoring buy/long positions, and red signals bearish conditions supporting sell/short trades.
🟢 How It Works
The indicator operates through a three-phase computational process that transforms raw price data into adaptive trend signals. In the first phase, it calculates a linear regression line over the specified period, establishing the mathematical best-fit line through recent price action to determine the underlying directional bias. This regression line serves as the foundation for trend analysis by smoothing out short-term price variations while preserving the essential directional characteristics.
The second phase constructs dynamic volatility boundaries by calculating the standard deviation of price movements over the defined period and applying a user-adjustable multiplier. These upper and lower bounds create a volatility-adjusted channel around the regression line, with wider bands during volatile periods and tighter bands during stable conditions. This adaptive boundary system operates entirely behind the scenes, ensuring the trend signal remains relevant across different market volatility regimes without cluttering the visual display.
In the final phase, the system generates a simple trend line that dynamically positions itself within the volatility boundaries. When price action pushes the regression line above the upper bound, the trend line adjusts to the upper boundary level. Conversely, when the regression line falls below the lower bound, the trend line moves to the lower boundary. The result is a single colored line that transitions between green (rising trend line = buy/long) and red (declining trend line = sell/short).
🟢 How to Use
Green Trend Line: Upward momentum indicating favorable conditions for long positions, buy signals, and bullish strategies
Red Trend Line: Downward momentum signaling optimal timing for short positions, sell signals, and bearish approaches
Rising Green Line: Accelerating bullish momentum with steepening angles indicating strengthening upward pressure and potential for trend continuation
Declining Red Line: Intensifying bearish momentum with increasing negative slopes suggesting persistent downward pressure and shorting opportunities
Flattening Trend Lines: Gradual reduction in slope regardless of color may indicate approaching consolidation or momentum exhaustion requiring position review
🟢 Pro Tips for Trading and Investing
→ Entry/Exit Timing: Trade exclusively on band color transitions rather than price patterns, as each color change represents a statistically-confirmed shift that has passed through volatility filtering, providing higher probability setups than traditional technical analysis.
→ Parameter Optimization for Asset Classes: Customize the linear regression period based on your trading style. For example, use 5-10 bars for day trading to capture short-term statistical shifts, 14-20 for swing trading to balance responsiveness with stability, and 25-50 for position trading to filter out medium-term noise.
→ Volatility Calibration Strategy: Adjust the standard deviation multiplier according to market volatility. For instance, increase to 2.0+ during high-volatility periods like earnings or news events to reduce false signals, decrease to 1.0-1.5 during stable market conditions to maintain sensitivity to genuine trends.
→ Cross-Timeframe Statistical Validation: Apply the indicator across multiple timeframes simultaneously, using higher timeframes for directional bias and lower timeframes for entry timing.
→ Alert-Based Systematic Trading: Use built-in alerts to eliminate discretionary decision-making and ensure you capture every statistically-significant trend change, particularly effective for traders who cannot monitor charts continuously.
→ Risk Allocation Based on Signal Strength: Increase position sizes during periods of strong directional movement while reducing exposure during frequent band color changes that indicate statistical uncertainty or ranging conditions.
TradeIQ 3.31 • Smart Market Direction [JA]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Scalping signals to capture quick, short-term opportunities
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.31 • Smart Market Direction [KO]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Scalping signals to capture quick, short-term opportunities
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.31 • Smart Market Direction [EN]
TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Scalping signals to capture quick, short-term opportunities
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.31 • Smart Market Direction [TH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Scalping signals to capture quick, short-term opportunities
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
Holy Grail Fibonacci-Based EMA Support/Resistance (Free)Every trader needs reliable support and resistance — but static zones and lagging indicators won't cut it in fast-moving markets. This script combines a Fibonacci-based 5-EMA stacking system that creates dynamic support & resistance logic to uncover real-time structural shifts & momentum zones that actually adapt to price action. This isn’t just a mashup — it’s a complete built-from-the-ground-up support & resistance engine designed for scalpers, intraday traders, and trend followers alike.
🧠 🧠 🧠What It Does🧠 🧠 🧠
This script uses two powerful engines working in sync:
1️⃣ EMA Stack (5-EMA Framework)
Built on Fibonacci-based lengths: 5, 8, 13, 21, 34, this stack identifies:
🔹 Bullish Stack: EMAs aligned from fastest to slowest (uptrend confirmation)
🔹 Bearish Stack: EMAs aligned inversely (downtrend confirmation)
🟡 Narrowing Zones: When EMAs compress within ATR thresholds → possible breakout or reversal zone
🎯 Labels identify key transitions like:
✅"Begin Bear Trend?"
✅"Uptrend SPRT"
✅"RES?" (resistance test)
2️⃣ Pivot-Based Projection Engine
Using classic Left/Right Bar pivot logic, the script:
📌 Detects early-stage swing highs/lows before full confirmation
📈 Projects horizontal S/R lines that adapt to market structure
🔁 Keeps lines active until a new pivot replaces them
🧩 Syncs beautifully with EMA stack for confluence zones
🎯🎯🎯Key Features for Traders🎯🎯🎯
✅ Trend Detection
→ EMA order reveals real-time bias (bullish, bearish, compression)
✅ Dynamic S/R Zones
→ Historical support/resistance levels auto-draw and extend
✅ Smart Labeling
→ “SPRT”, “RES”, and “Trend?” labels for live context + testing logic
✅ Custom Candle Coloring
→ Choose from Bar Color or Full Candle Overlay modes
✅ Scalper & Swing Compatible
→ Use fast confirmations for scalping or stack consistency for longer trends
⚙️⚙️⚙️How to Use⚙️⚙️⚙️
✅Use Top/Bottom (trend state) Line Colors to quickly read trend conditions.
✅Use Pivot-based support/resistance projections to anticipate where price might pause or reverse.
✅Watch for yellow/blue zones to prepare for volatility shifts/reversals.
✅Combine with volume or momentum indicators for added confirmation.
📐📐📐Customization Options📐📐📐
✅EMA lengths (5, 8, 13, 21, 34) — fully configurable
✅Left/Right bar pivot settings (default: 21/5)
✅Label size, visibility, and color themes
✅Toggle line and label visibility for clean layouts
✅“Max Bars Back” to control how deep history is scanned safely
🛠🛠🛠Built-In Safeguards🛠🛠🛠
✅ATR-based filters to stabilize compression logic
✅Guarded lookback (max_bars_back) to avoid runtime errors
✅Works on any asset, any timeframe
🏁🏁🏁Final Word🏁🏁🏁
This script is not just a visual tool, it’s a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning labels, this system is tuned to help you react with confidence — not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
Additionally, this has been a work-in-progress for many months. While this script is feature rich, it is the "free" version of an even more feature rich iteration that's coming soon. So if this script "tickles your fancy" then you'll love Holy Grail Pro even more 💥
💡💡💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.💡💡💡
SAPSAN TRADE: Normalized ATR Volatility (NATR)SAPSAN TRADE: Normalized ATR Volatility (NATR)
The Normalized Average True Range Volatility (NATR) is an indicator designed to measure market volatility by normalizing the average range of price movement relative to the current price level.
Shows how volatile each candle is compared to its price.
Useful for detecting sudden spikes in volatility.
Period = number of bars used for averaging (default = 1).
When the NATR value is high → volatility is strong.
When the NATR value is low → market is calm.
RU.
SAPSAN TRADE: Normalized ATR Volatility (NATR)
Нормализованная волатильность среднего истинного диапазона (NATR) — это индикатор, созданный для измерения волатильности рынка путем нормализации среднего диапазона движения цены относительно текущего уровня цены.
Показывает, насколько волатильна каждая свеча по отношению к её цене.
Полезен для выявления резких всплесков волатильности.
Период = количество баров для усреднения (по умолчанию = 1).
Когда значение NATR высокое → рынок находится в фазе сильной волатильности.
Когда значение NATR низкое → рынок спокоен.
Deadband Hysteresis Supertrend [BackQuant]Deadband Hysteresis Supertrend
A two-stage trend tool that first filters price with a deadband baseline, then runs a Supertrend around that baseline with optional flip hysteresis and ATR-based adverse exits.
What this is
A hybrid of two ideas:
Deadband Hysteresis Baseline that only advances when price pulls far enough from the baseline to matter. This suppresses micro noise and gives you a stable centerline.
Supertrend bands wrapped around that baseline instead of raw price. Flips are further gated by an extra margin so side changes are more deliberate.
The goal is fewer whipsaws in chop and clearer regime identification during trends.
How it works (high level)
Deadband step — compute a per-bar “deadband” size from one of four modes: ATR, Percent of price, Ticks, or Points. If price deviates from the baseline by more than this amount, move the baseline forward by a fraction of the excess. If not, hold the line.
Centered Supertrend — build upper and lower bands around the baseline using ATR and a user factor. Track the usual trailing logic that tightens a band while price moves in its favor.
Flip hysteresis — require price to exceed the active band by an extra flip offset × ATR before switching sides. This adds stickiness at the boundary.
Adverse exit — once a side is taken, trigger an exit if price moves against the entry by K × ATR .
If you would like to check out the filter by itself:
What it plots
DBHF baseline (optional) as a smooth centerline.
DBHF Supertrend as the active trailing band.
Candle coloring by trend side for quick read.
Signal markers 𝕃 and 𝕊 at flips plus ✖ on adverse exits.
Inputs that matter
Price Source — series being filtered. Close is typical. HL2 or HLC3 can be steadier.
Deadband mode — ATR, Percent, Ticks, or Points. This defines the “it’s big enough to matter” zone.
ATR Length / Mult (DBHF) — only used when mode = ATR. Larger values widen the do-nothing zone.
Percent / Ticks / Points — alternatives to ATR; pick what fits your market’s convention.
Enter Mult — scales the deadband you must clear before the baseline moves. Increase to filter more noise.
Response — fraction of the excess applied to baseline movement. Higher responds faster; lower is smoother.
Supertrend ATR Period & Factor — traditional band size controls; higher factor widens and flips less often.
Flip Offset ATR — extra ATR buffer required to flip. Useful in choppy regimes.
Adverse Stop K·ATR — per-trade danger brake that forces an exit if price moves K×ATR against entry.
UI — toggle baseline, supertrend, signals, and bar painting; choose long and short colors.
How to read it
Green regime — candles painted long and the Supertrend running below price. Pullbacks toward the baseline that fail to breach the opposite band often resume higher.
Red regime — candles painted short and the Supertrend running above price. Rallies that cannot reclaim the band may roll over.
Frequent side swaps — reduce sensitivity by increasing Enter Mult, using ATR mode, raising the Supertrend factor, or adding Flip Offset ATR.
Use cases
Bias filter — allow entries only in the direction of the current side. Use your preferred triggers inside that bias.
Trailing logic — treat the active band as a dynamic stop. If the side flips or an adverse K·ATR exit prints, reduce or close exposure.
Regime map — on higher timeframes, the combination baseline + band produces a clean up vs down template for allocation decisions.
Tuning guidance
Fast markets — ATR deadband, modest Enter Mult (0.8–1.2), response 0.2–0.35, Supertrend factor 1.7–2.2, small Flip Offset (0.2–0.5 ATR).
Choppy ranges — widen deadband or raise Enter Mult, lower response, and add more Flip Offset so flips require stronger evidence.
Slow trends — longer ATR periods and higher Supertrend factor to keep you on side longer; use a conservative adverse K.
Included alerts
DBHF ST Long — side flips to long.
DBHF ST Short — side flips to short.
Adverse Exit Long / Short — K·ATR stop triggers against the current side.
Strengths
Deadbanded baseline reduces micro whipsaws before Supertrend logic even begins.
Flip hysteresis adds a second layer of confirmation at the boundary.
Optional adverse ATR stop provides a uniform risk cut across assets and regimes.
Clear visuals and minimal parameters to adjust for symbol behavior.
Putting it together
Think of this tool as two decisions layered into one view. The deadband baseline answers “does this move even count,” then the Supertrend wrapped around that baseline answers “if it counts, which side should I be on and where do I flip.” When both parts agree you tend to stay on the correct side of a trend for longer, and when they disagree you get an early warning that conditions are changing.
When the baseline bends and price cannot reclaim the opposite band , momentum is usually continuing. Pullbacks into the baseline that stall before the far band often resolve in trend.
When the baseline flattens and the bands compress , expect indecision. Use the Flip Offset ATR to avoid reacting to the first feint. Wait for a clean band breach with follow through.
When an adverse K·ATR exit prints while the side has not flipped , treat it as a risk event rather than a full regime change. Many users cut size, re-enter only if the side reasserts, and let the next flip confirm a new trend.
Final thoughts
Deadband Hysteresis Supertrend is best read as a regime lens. The baseline defines your tolerance for noise, the bands define your trailing structure, and the flip offset plus adverse ATR stop define how forgiving or strict you want to be at the boundary. On strong trends it helps you hold through shallow shakeouts. In choppy conditions it encourages patience until price does something meaningful. Start with settings that reflect the cadence of your market, observe how often flips occur, then nudge the deadband and flip offset until the tool spends most of its time describing the move you care about rather than the noise in between.
Racktor Analysis Assistant
Racktor Analysis Assistant — Feature Overview
The Racktor Analysis Assistant is a multi-module market-structure toolkit that plots pivots, BoS/ChoCh levels, session breakouts, inside bars, and higher-timeframe BTS/STB trap signals — with complete styling controls and alerting.
Smart Pivot Engine (ZigZag Core)
- Adaptive pivot period switching based on timeframe threshold.
- ZigZag stream tracks pivot types (H/L, HH/HL/LH/LL) with Major & Minor streams.
- Clean visuals: optional ZigZag line & pivot labels with customizable style, width, and color.
Major & Minor Structure Signals
- Detects BoS and ChoCh for both Major and Minor swings.
- Updates External Trend on Major events and Internal Trend on Minor events.
- One-time triggers per level via locking.
- Per-category styling for Major/Minor Bullish & Bearish BoS and ChoCh.
- Alerts with symbol, pivot, timeframe, and time, limited to specific timeframes if desired.
Inside Bar Module
- Toggleable Inside Bar detection.
- Custom colors for bullish and bearish inside bars.
- Optional alerts on detection.
Session Breakout Suite
- Custom session window with shaded box.
- On session close, plots High/Mid/Low breakout lines extendable for N hours.
- Optional previous day & week high/low lines.
- Breakout vs Liquidity Sweep modes (close-based or wick-based confirmation).
- Display styles: Fixed (triangles) or Moving (vertical dotted lines).
- Alerts for “first event” or “every event.”
BTS/STB Trap (Higher-Timeframe ID1/ID2 Logic)
- BTS/STB toggle with selectable check timeframe (default: 4H).
- STB (bullish, Sell→Buy): strict ID1/ID2 relationships, both candles bullish; green circle below HTF ID1 low.
- BTS (bearish, Buy→Sell): strict ID1/ID2 relationships, both candles bearish; red circle above HTF ID1 high.
- Non-repainting; dots appear only at HTF candle close.
- Timeframe-aware rendering (dots show only on selected timeframe).
- Alerts for STB/BTS at HTF close.
Styling & Limits
- Per-feature color/style/width customization.
- Generous limits for boxes, labels, and lines.
- Session tools limited to ≤ 120-minute charts for accuracy.
Anti-Repaint
- HTF signals use lookahead_off and HTF-close gating to avoid repainting.
- BoS/ChoCh and Session logic track prior values and use locks to prevent duplicates.
Quick Start
Set the Timeframe Threshold and pivot periods for lower/higher TFs.
Enable desired Major/Minor BoS/ChoCh lines and customize styles.
Activate Inside Bar Module if required.
Configure Session Breakout window, mode, and alert settings.
Enable BTS/STB detection, keeping 4H default or selecting a custom TF.
Add alerts for chosen signals and let the assistant annotate structure, sessions, and HTF traps.
Best Use with Racktor's Core Trading Strategy
For traders who want structure clarity without clutter, this Analysis-Assistant is built to keep your chart actionable and adaptive.
Turtle Body Setup by TradeTech AnalysisOverview
Turtle Body Setup is a minimalist, rules-based pattern detector built around a simple idea: a sequence of shrinking candle bodies (compression) often precedes a directional expansion (breakout). The script identifies those compression phases and then flags the first candle whose body expands significantly beyond the recent average, with polarity taken from the candle’s direction.
This is not a mash-up of many public indicators. It focuses on one original micro-structure concept: strict body-contraction → body-expansion . The logic is fully described below so traders and moderators can understand what it does and how to use it.
How it Works
1. Compression detection (body contraction):
• Over a user-defined window Compression Lookback (N), the script counts strictly shrinking candle bodies (|close-open|).
• When the count ≥ Min Shrinking Candles, we mark the market as in compression.
2. Expansion / Breakout qualification:
• Compute avgBody = SMA(body, N).
• A candle is a breakout when current body > avgBody × Breakout Body Multiplier.
• Polarity: green (close>open) → Bullish breakout; red (close
TradeIQ 3.29 • Smart Market Direction [KO]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [JA]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [DE]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [RU]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [ZH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
-----------------------------------------------------------------------------------------------------------------
TradeIQ 旨在通过预测箭头帮助交易者识别潜在的市场峰值和反转区。它还提供了入场点指导,并建议了止盈/止损区,为您的交易计划提供了一个实际的框架。
✅ 主要特点:
• 预测箭头,标示可能的转折点
• 提供入场机会的视觉指导
• 建议的止盈/止损区用于交易管理
• 适用于外汇、黄金、加密货币和指数
• 完全可定制,以匹配您的交易风格
TradeIQ结合多年交易经验,为交易者提供了清晰的视觉路线图,支持决策——而不是僵化的信号。
👉 适合需要市场指导、结构和清晰度的交易者。
Theil-Sen Line Filter [BackQuant]Theil-Sen Line Filter
A robust, median-slope baseline that tracks price while resisting outliers. Designed for the chart pane as a clean, adaptive reference line with optional candle coloring and slope-flip alerts.
What this is
A trend filter that estimates the underlying slope of price using a Theil-Sen style median of past slopes, then advances a baseline by a controlled fraction of that slope each bar. The result is a smooth line that reacts to real directional change while staying calm through noise, gaps, and single-bar shocks.
Why Theil-Sen
Classical moving averages are sensitive to outliers and shape changes. Ordinary least squares is sensitive to large residuals. The Theil-Sen idea replaces a single fragile estimate with the median of many simple slopes, which is statistically robust and less influenced by a few extreme bars. That makes the baseline steadier in choppy conditions and cleaner around regime turns.
What it plots
Filtered baseline that advances by a fraction of the robust slope each bar.
Optional candle coloring by baseline slope sign for quick trend read.
Alerts when the baseline slope turns up or down.
How it behaves (high level)
Looks back over a fixed window and forms many “current vs past” bar-to-bar slopes.
Takes the median of those slopes to get a robust estimate for the bar.
Optionally caps the magnitude of that per-bar slope so a single volatile bar cannot yank the line.
Moves the baseline forward by a user-controlled fraction of the estimated slope. Lower fractions are smoother. Higher fractions are more responsive.
Inputs and what they do
Price Source — the series the filter tracks. Typical is close; HL2 or HLC3 can be smoother.
Window Length — how many bars to consider for slopes. Larger windows are steadier and slower. Smaller windows are quicker and noisier.
Response — fraction of the estimated slope applied each bar. 1.00 follows the robust slope closely; values below 1.00 dampen moves.
Slope Cap Mode — optional guardrail on each bar’s slope:
None — no cap.
ATR — cap scales with recent true range.
Percent — cap scales with price level.
Points — fixed absolute cap in price points.
ATR Length / Mult, Cap Percent, Cap Points — tune the chosen cap mode’s size.
UI Settings — show or hide the line, paint candles by slope, choose long and short colors.
How to read it
Up-slope baseline and green candles indicate a rising robust trend. Pullbacks that do not flip the slope often resolve in trend direction.
Down-slope baseline and red candles indicate a falling robust trend. Bounces against the slope are lower-probability until proven otherwise.
Flat or frequent flips suggest a range. Increase window length or decrease response if you want fewer whipsaws in sideways markets.
Use cases
Bias filter — only take longs when slope is up, shorts when slope is down. It is a simple way to gate faster setups.
Stop or trail reference — use the line as a trailing guide. If price closes beyond the line and the slope flips, consider reducing exposure.
Regime detector — widen the window on higher timeframes to define major up vs down regimes for asset rotation or risk toggles.
Noise control — enable a cap mode in very volatile symbols to retain the line’s continuity through event bars.
Tuning guidance
Quick swing trading — shorter window, higher response, optionally add a percent cap to keep it stable on large moves.
Position trading — longer window, moderate response. ATR cap tends to scale well across cycles.
Low-liquidity or gappy charts — prefer longer window and a points or ATR cap. That reduces jumpiness around discontinuities.
Alerts included
Theil-Sen Up Slope — baseline’s one-bar change crosses above zero.
Theil-Sen Down Slope — baseline’s one-bar change crosses below zero.
Strengths
Robust to outliers through median-based slope estimation.
Continuously advances with price rather than re-anchoring, which reduces lag at turns.
User-selectable slope caps to tame shock bars without over-smoothing everything.
Minimal visuals with optional candle painting for fast regime recognition.
Notes
This is a filter, not a trading system. It does not account for execution, spreads, or gaps. Pair it with entry logic, risk management, and higher-timeframe context if you plan to use it for decisions.
TrenVantage LITE TrenVantage LITE - Smart Trend Detector
"Professional ZigZag trend detection with real-time alerts and market structure analysis. Clean interface shows trend direction, price changes, and swing data."
TrenVantage LITE delivers professional-grade trend detection using advanced ZigZag analysis to identify market structure and trend changes in real-time. Built with a logic that goes beyond basic pivot detection, this free version provides essential trend analysis tools with a clean, intuitive interface designed for traders of all experience levels.
Key Features:
Advanced Trend Detection
Smart ZigZag Algorithm: Proprietary trend foundation model based on market structure principles
Customizable Sensitivity: Choose between Points or Percentage-based deviation settings
Real-Time Updates: Calculate on bar close or tick-by-tick for immediate trend changes
Flexible Analysis: 15-25 bar lookback range with 20-bar default setting
Visual Analysis Tools
Clean Trend Lines: Customizable color and width for optimal chart visibility
Professional Interface: Modern status box showing current trend and price metrics
Multiple Positioning: Place status box in any corner to match your chart layout
Market Structure: Clear visualization of swing highs and lows
Smart Alerts System
Trend Change Notifications: Instant alerts when market transitions between uptrend and downtrend
Reliable Detection: Confirmed trend changes based on significant price movements
Multiple Alert Options: Compatible with TradingView's alert system
How It Works
TrenVantage LITE uses a sophisticated ZigZag algorithm that goes beyond simple pivot detection. Our proprietary "trend-start model" identifies meaningful market structure changes by:
Analyzing Price Action: Uses high/low or close prices based on your preference
Filtering Noise: Customizable deviation thresholds eliminate false signals
Confirming Trends: Only signals trend changes after significant price movement
Tracking Structure: Maintains swing history for comprehensive analysis
Status Box Information
The integrated status box provides at-a-glance market information.
Current Trend Direction: Clear uptrend/downtrend identification with visual indicators
Live Price Data: Current price with session change and percentage movement
Swing Analysis: Number of detected swings with trend-only limitation indicator
Clean Design: Professional appearance that doesn't clutter your chart
Settings & Customization
ZigZag Parameters:
Deviation Type: Points (fixed price difference) or Percent (percentage change)
Deviation Value: Minimum price movement required to create new swing
Use High Low: Toggle between high/low prices vs close prices for analysis
Calculate Mode: Choose bar close confirmation or real-time tick updates
Lookback Range: Adjust historical analysis from 15-25 bars
Visual Controls
Trend Line Color: Customize line color to match your chart theme
Line Width: Adjust thickness from 1-4 pixels for optimal visibility
Status Box: Toggle display and choose corner positioning
Best Practices:
Timeframe Selection
Scalping (1-5min): Use 0.3-0.8 Points deviation with tick calculation
Day Trading (15-60min): Use 1-3 Points or 0.2-0.5% deviation
Swing Trading (4H-Daily): Use 0.5-1.5% deviation with bar close calculation
Getting Started
Add to Chart: Apply TrenVantage LITE to your preferred timeframe
Adjust Settings: Configure deviation and visual preferences
Set Alerts: Enable trend change notifications for your trading strategy
Analyze Trends: Use the status box and visual lines to identify market direction
Upgrade When Ready: Explore RETAIL version for Support/Resistance levels
Ready to Level Up? Upgrade to TrenVantage RETAIL
While TrenVantage LITE provides solid trend analysis, TrenVantage RETAIL transforms your trading with professional-grade market structure tools:
What You're Missing in LITE:
Support and Resistance level detection - automatically identifies key price levels where markets react
Price labels on levels - see exact values instantly without hovering or zooming
Enhanced status box - shows distance to nearest support/resistance for timing entries and exits
Up to 5 key levels - comprehensive coverage of important price zones
Level strength indicators - understand which levels are most likely to hold
Professional workflow - combines trend analysis with key level identification
TrenVantage RETAIL takes the solid trend foundation you see in LITE and adds the critical support/resistance analysis that serious traders rely on daily.
Disclaimer: Trading involves risk of loss. This indicator is for educational and analysis purposes. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
Momentum Concepts [A1TradeHub]ℹ️ General Information — TSI + Stochastic Z-Score (Momentum Duo)
Purpose: A two-oscillator stack that blends trend strength (TSI) with extreme-move normalization (Stochastic Z-Score) to time entries with confirmation instead of guessing tops/bottoms.
Components
Stochastic Z-Score (SZ): Converts price stretch into a bounded curve.
Red zone ≈ overbought supply, Green zone ≈ oversold demand.
The hook out of a band often marks turning points.
True Strength Index (TSI): Measures momentum quality and direction.
Signal/line cross = timing, Zero-line = trend filter, slope = acceleration.
Core Read
Alignment = edge: SZ leaves a band and TSI agrees (cross/slope).
Divergences: Higher-low on SZ/TSI vs lower-low in price (bullish). Lower-high on SZ/TSI vs higher-high in price (bearish). Best when near bands.
Mid-range = chop: Avoid trades when SZ is centered and TSI is flat.
Best Practices
Use structure (PDH/PDL, EMAs 13/48/200, trendlines) as context.
Scale profits into opposing SZ band or on TSI flatten/cross-back.
Place stops beyond the last swing or key EMA; skip high-volatility news.
Timeframes
Works on intraday (e.g., 5–15m) and swings (1h/4h). Use higher TF for bias, lower TF for entries.
This combo is designed to keep you on the right side of momentum, act at band hooks with TSI confirmation, and stand down when conditions are indecisive.
I. 🔴🟢 TSI Oscillator — Quick Guide
What you’re seeing
Lines: Fast TSI + slow Signal (both EMA-smoothed momentum).
Zones: 🟢 Green = oversold, 🔴 Red = overbought, 0-line = trend regime.
Long: 🟢 hook up → fast crosses above slow → ideally reclaim 0.
Short: 🔴 roll down → fast crosses below slow → ideally lose 0.
Exits: Trim into the opposite zone or on a cross back.
Divergence: TSI ↑ vs price ↓ = bullish; TSI ↓ vs price ↑ = bearish.
Avoid: Both lines chopping around 0.
II. Stochastic Z-Score — Quick Guide
Zones: 🔴 Red = overbought/supply, 🟢 Green = oversold/demand.
Curve: Watch the hook out of a zone for the turn.
Signals
🟢 Green Arrow (from Green zone): Momentum turns up → call/long bias. Enter on first pullback; stop under last swing/13-EMA.
🔻 Red/Bearish Arrow (from Red zone): Momentum rolls down → put/short bias. Enter on first lower-high; stop above last swing/13-EMA.
⚪ Ball = Momentum Shift: Early heads-up (slope change). Use as confirmation/add-on, not a standalone entry.
TradeIQ 3.29 • Smart Market Direction [TH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.