AI Neural Trend Predictor [identityKa]The AI Neural Trend Predictor is a professional-grade, zero-lag trend tracking system designed to keep traders in massive moves while aggressively filtering out market noise. Traditional moving averages suffer from two fatal flaws: they either lag heavily behind the price, or they whipsaw the trader out of positions during minor pullbacks. This script solves both issues by combining a zero-lag mathematical smoothing algorithm with a dynamic volatility shield.
Core Mechanics & Detection
Zero-Lag Base Engine: The core of the algorithm utilizes a highly responsive, smoothed proxy to track the live price instantly, eliminating the delayed entry problem found in SMA or EMA based indicators.
Volatility Shield (Noise Filter): Instead of flipping signals the moment price crosses the baseline, the engine projects a dynamic ATR-based shield around the trend. During a bullish run, minor price drops will simply compress into the shield without triggering a premature SELL signal. The trend only flips when the institutional order flow breaks through the true volatility threshold.
Clear BUY / SELL Labels: The engine prints highly visible, definitive BUY (Green) or SELL (Red) labels directly on the chart, taking the guesswork out of your entries.
HUD Dashboard & AI Logic
The strictly positioned on-chart intelligence panel evaluates the live market state:
Dangerous (Orange): Displayed actively whenever the internal volatility ratio drops below the algorithmic threshold, indicating a Choppy or Ranging market. This warns the trader to avoid taking new positions until momentum returns.
LONG / SHORT: The engine generates a clear directional bias when the market shifts to a "TRENDING" state and the volatility shield remains unbreached in the direction of the trend.
How to Use It
This tool is built for capturing massive swings. When an AI BUY label appears, you ride the trend until the opposing SELL label is printed. Do not panic-sell during minor red candles (pullbacks); trust the Volatility Shield to keep you in the trade. For optimal results, ignore signals generated while the dashboard reads "Dangerous." Indicator

Machine Learning: Trend Classifier [identityKa]Overview
The Machine Learning: Trend Classifier is a professional-grade algorithmic momentum and trend analysis tool designed for data-driven traders. Unlike traditional moving averages that inherently lag behind live price action, this script introduces a multi-factor mathematical classification engine that evaluates real-time market behavior to predict the true direction of the trend.
Core Mechanics & Detection
The algorithm uses a continuous data-stream calculation to locate major market shifts:
Bullish Classification (Neon Green): Detected when the underlying momentum, volatility, and trend-flow simultaneously show aggressive upward expansion. The dynamic data ribbon shifts to green, encapsulating the price.
Bearish Classification (Neon Red): Detected when the structural momentum shifts downwards. The dynamic ribbon turns red, acting as algorithmic resistance.
Neutral / Chop Zones (Orange): Detected when the market loses clear direction. The engine recognizes this as a friction zone and shifts to a neutral state, warning the trader of potential whipsaws.
The Algorithmic Classification Engine
A fundamental rule of this indicator is the "AI Confidence Score". The engine normalizes multiple indicators (RSI, CCI, and MACD flows) into a strict 0 to 100 percentage scale.
The script constantly monitors this confidence score. If the score is above 20%, a Bullish state is confirmed. If it is below -20%, a Bearish state is confirmed. Anything in between is classified as market noise.
Upon crossing these algorithmic thresholds, the script instantly updates the on-chart Ribbon, ensuring that only statistically significant trend shifts are highlighted for the trader. This keeps the workspace incredibly clean and mathematically sound.
HUD Dashboard & AI Logic
The on-chart intelligence panel evaluates the live market state and generates actionable data:
Dangerous: Displayed actively whenever the current live price is trading inside the Neutral zone (Confidence Score between -20% and 20%). This serves as a warning that the price is in a high-friction area where sharp rejections and false breakouts are imminent.
LONG / SHORT: The engine tracks the macro bias based on the classification state. If the AI Confidence heavily favors upward momentum, the bias shifts to LONG. If the momentum breaks downwards, the bias shifts to SHORT.
How to Use It
This tool provides exceptional context for trade entries and trend following. When the AI Suggestion reads "LONG," traders should look for pullbacks toward the lower band of the green ribbon. When the state reads "Dangerous," it is highly recommended to stay out of the market or tighten stop losses until a clear trend direction is re-established by the algorithm. Indicator

Smart Money: Auto Order Blocks [identityKa]Overview
The Smart Money: Auto Order Blocks is a professional-grade volume and structural mapping tool designed for SMC (Smart Money Concepts) traders. Order Blocks represent areas where large financial institutions have accumulated significant buy or sell positions. Unlike basic pivot indicators that leave cluttered lines on the chart indefinitely, this script introduces a Smart Mitigation Engine that automatically tracks the validity of these institutional zones in real-time.
Core Mechanics & Detection
The algorithm uses pivot sensitivity to locate origin points of major market imbalances:
Bearish Order Blocks (Supply): Detected at the absolute high of a structural swing before a major downward move. The box is drawn from the wick's high to the highest candle body in that cluster, encapsulating the entire institutional sell zone.
Bullish Order Blocks (Demand): Detected at the absolute low of a structural swing before a major upward move. The box encapsulates the wick's low up to the lowest candle body.
The Smart Mitigation Engine
A fundamental rule of SMC is that once an Order Block is fully pierced and the price closes beyond it, the institutional orders within that zone are considered filled or "Mitigated."
This script constantly monitors the closing price. If a candle strictly closes above a Bearish OB, or strictly below a Bullish OB, the algorithm mathematically invalidates the zone.
Upon mitigation, the box is instantly deleted from the chart, ensuring that only "Fresh" and highly reactive unmitigated zones are visible to the trader. This keeps the workspace incredibly clean.
HUD Dashboard & AI Logic
The on-chart intelligence panel evaluates the proximity of the live price to the active Order Blocks:
Dangerous: Displayed actively whenever the current live price is trading inside the coordinates of an unmitigated Order Block. This serves as a warning that the price is in an institutional high-friction area where sharp rejections and high volatility are imminent.
LONG / SHORT: The engine tracks the macro bias based on the last mitigation event. If a Bearish OB was broken upwards (invalidated resistance), the macro bias shifts to LONG. If a Bullish OB was broken downwards, the bias shifts to SHORT.
How to Use It
This tool provides exceptional context for trade entries. When the AI Suggestion reads "LONG," traders should patiently wait for the price to pull back into a green Bullish OB zone. Once the price enters the zone (triggering the "Dangerous" state), traders can drop to a lower timeframe (e.g., 5-minute) to spot a micro-reversal pattern before executing a trade aligned with the macro trend. Indicator

QQE Momentum Pulse Pro [identityKa]Overview
The QQE Momentum Pulse Pro is a highly responsive sub-chart oscillator designed to measure the velocity and magnitude of directional price movements. Traditional Quantitative Qualitative Estimation (QQE) indicators suffer from severe signal lag due to triple-layered EMA smoothing. This script addresses that core flaw by introducing an optional "Zero-Lag Engine," swapping the standard exponential smoothing for a dynamic Hull Moving Average (HMA), effectively eliminating lag while preserving the indicator's mathematical robustness.
Underlying Mathematics & Enhancements
The foundation of the engine is built upon the Relative Strength Index (RSI).
Volatility Trailing Bands: The script calculates the Absolute True Range of the smoothed RSI, which is then further smoothed using Wilder's methodologies. This creates dynamic fast and slow trailing bands that track the momentum.
The Pulse Histogram: Instead of plotting multiple confusing lines on the chart, this script calculates the exact mathematical difference (spread) between the smoothed RSI and the dynamic trailing band. This spread is plotted as a zero-line oscillating histogram.
Four-Color State Logic: The histogram's color intensity provides instant visual feedback regarding momentum acceleration. Bright Neon Green indicates rising positive momentum (acceleration), whereas Dark Green indicates positive but decaying momentum (deceleration). The same logic applies inversely for bearish trends with Bright/Dark Red.
HUD Dashboard & AI Logic
To prevent traders from getting trapped in exhausting trends, the integrated on-chart panel translates the histogram's state into a mechanical directive:
LONG: Triggered when the histogram is positive (above the zero line) and its value is strictly greater than the previous bar (actively growing).
SHORT: Triggered when the histogram is negative (below the zero line) and its value is strictly less than the previous bar (actively deepening).
Dangerous: This is the crucial risk-management state. It is triggered the exact moment the histogram shifts from bright to dark colors. It indicates a mathematical divergence where the macro trend may still exist, but the immediate momentum driving it is rapidly fading.
How to Use It
This tool is best paired with a main-chart trend indicator (like a SuperTrend or Moving Average crossover). Traders should look to execute LONG or SHORT entries when the Pulse Histogram crosses the zero line and the AI Suggestion aligns with their directional bias. If the AI Suggestion switches to "Dangerous", traders should consider scaling out of active positions, tightening stop-losses, or avoiding taking new trend-continuation entries, as a pullback or consolidation phase is statistically imminent. Indicator

Dynamic Trendlines & Breakouts [identityKa]Overview
The Dynamic Trendlines & Breakouts is an automated structural analysis tool designed to remove human subjectivity from drawing trendlines. By utilizing mathematical pivot extremes, the script identifies the dominant market geometry in real-time. More importantly, it incorporates a Smart Volume Filter to distinguish between genuine structural breakouts and low-volume retail traps (fakeouts).
Core Engine Mechanics
The indicator operates on two primary algorithmic pillars:
Dynamic Coordinate Mapping: The script calculates the most recent pivot highs and pivot lows based on a user-defined lookback sensitivity. It then draws precision-extended dashed lines connecting these coordinates, forming dynamic Resistance (Upper Line) and Support (Lower Line) boundaries.
Volume-Confirmed Breakouts: The script continuously monitors the closing price relative to these extended lines. However, a crossover is not enough. If the "Volume Confirmation" feature is active, the engine checks a 20-period Simple Moving Average of the volume. A Bullish "B" (Buy) or Bearish "S" (Sell) label is only printed if the breakout candle is accompanied by above-average institutional volume, significantly increasing the probability of trend continuation.
HUD Dashboard & AI Proximity Logic
The integrated on-chart panel tracks the last confirmed breakout state and utilizes an ATR-based proximity sensor to generate the AI Suggestion:
Dangerous: Displayed actively whenever the current price is within a 0.5 Average True Range (ATR) distance of either the upper or lower trendline. This alerts the trader that the price is actively testing a major structural boundary, making new entries highly risky until a clear bounce or volume-confirmed breakout occurs.
LONG / SHORT: Triggered when the last structural breakout was Bullish (LONG) or Bearish (SHORT), provided the price is safely trending away from the immediate resistance/support lines.
How to Use It
This tool is ideal for momentum and breakout traders. When the price approaches a trendline (AI Suggestion reads "Dangerous"), prepare for a setup. Do not front-run the breakout. Wait for the engine to print the "B" or "S" label, confirming that both the structural level has been breached and the volume supports the move. Once confirmed, trade in the direction of the new momentum. Indicator

Liquidity Magnet Zones [identityKa]Overview
The Liquidity Magnet Zones is an advanced Smart Money Concepts (SMC) indicator that identifies and manages unmitigated pools of liquidity. Institutional algorithms gravitate toward liquidity to fill large orders. This script mathematically plots these high-probability areas—Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL)—and actively manages them, deleting zones the moment they are "swept" to keep the chart clean and relevant.
Core Mechanics: BSL & SSL Detection
The engine uses pivot point analysis to map market extremes:
Buy Side Liquidity (BSL): Formed at major structural highs. Retail traders typically place stop-losses (buy-to-cover orders) above these highs. The script identifies these unmitigated peaks and draws a dashed line projecting into the future.
Sell Side Liquidity (SSL): Formed at major structural lows. Retail traders place sell-stop orders below these lows. The script tracks these valleys as magnetic targets for price action.
Smart Mitigation (The Sweep Engine)
Unlike static drawing tools, this indicator constantly evaluates the live price against the drawn liquidity zones.
If a candlestick wick or body pierces a BSL or SSL line, the liquidity is considered "Swept" (mitigated).
The script instantly removes the line from the chart, triggering a real-time alert that institutional orders have likely been absorbed, opening the door for a structural reversal.
HUD Dashboard & Post-Sweep AI Logic
The integrated on-chart panel evaluates the structural bias based on the most recent liquidity event:
Dangerous: Displayed actively while the price is piercing and sweeping a liquidity line. This warns traders that extreme volatility is present as stop-losses trigger, making it highly risky to enter breakout trades.
SHORT: Triggered after BSL has been swept. SMC logic dictates that Smart Money forces price upward to trigger buy-stops, providing the necessary liquidity to execute large sell orders. Therefore, the post-sweep bias becomes Bearish (SHORT).
LONG: Triggered after SSL has been swept. Smart Money forces price downward to trigger sell-stops, allowing them to accumulate buy orders. The post-sweep bias becomes Bullish (LONG).
How to Use It
This tool is designed for reversal and mitigation trading, not breakout trading. Do not blindly place limit orders at BSL or SSL lines. Instead, wait for the price to hit the line (AI Suggestion reads "Dangerous"). Drop to a lower timeframe (e.g., 1m or 5m) and look for a Change of Character (CHoCH) confirming that Smart Money is indeed reversing the trend after engineering liquidity. Indicator

Alpha SuperTrend Signal [identityKa]Overview
The Alpha SuperTrend Signal is a highly optimized trend-following system designed to fix the inherent lagging issues found in traditional SuperTrend indicators. While standard SuperTrends use fixed ATR multipliers across all timeframes, this script features a proprietary Auto-Adaptive Sensitivity Engine. It dynamically adjusts its own mathematical parameters based on the chart's timeframe, ensuring rapid response times during intraday scalping while maintaining robust, noise-free structural integrity on macro swing charts.
The Auto-Adaptive Engine Logic
Standard SuperTrends often fail because a 3.0x multiplier is too slow for a 15-minute chart and too volatile for a Daily chart. This script solves that computationally:
Intraday Scalping (≤ 15m): The engine automatically drops the ATR multiplier to 1.8x, hugging the price action tightly to catch micro-reversals early.
Day Trading (≤ 60m): The engine adjusts the multiplier to a balanced 2.2x, filtering out mid-session noise while capturing the dominant daily trend.
Swing/Macro (≥ 4H): The engine defaults to a wider 2.6x to 3.0x multiplier to prevent premature stop-outs from standard market pullbacks.
(Note: Traders can disable the Auto-Adaptive engine in the settings and manually input their preferred fixed multiplier).
Flawless Visuals & Aesthetics
To maintain a clean, institutional-grade chart, the script features "Flawless Label Positioning." Instead of plotting BUY/SELL signals randomly above or below candle wicks (which often causes visual clutter during high volatility), the script mathematically anchors the signal labels directly to the exact pivot coordinate of the SuperTrend line itself. This creates a visually perfect and undeniable invalidation point.
HUD Dashboard & AI Trade Logic
The integrated on-chart panel evaluates the distance between the live price and the active SuperTrend line to output a mechanical suggestion:
Dangerous: Triggered whenever the current closing price enters within a 0.5 ATR threshold of the SuperTrend line. This mathematically indicates that the trend is actively being tested, stop-losses are vulnerable, and a structural flip is highly probable. Traders should exercise extreme caution and avoid entering new trend-continuation setups.
LONG / SHORT: Triggered when the price is trending safely in the direction of the SuperTrend (LONG for a green line, SHORT for a red line) and is comfortably outside the 0.5 ATR danger zone.
How to Use It
Traders should use the painted candlesticks and the Alpha ST Line to define their strict directional bias. When a new BUY or SELL label prints, wait for a pullback. Execute trades only when the AI Suggestion reads "LONG" or "SHORT," and use the step-line itself as a trailing stop-loss to manage risk mathematically. Indicator

Auto Fair Value Gap (FVG) Pro [identityKa]Overview
The Auto Fair Value Gap (FVG) Pro is an essential Smart Money Concepts (SMC) tool engineered to detect and highlight institutional price imbalances. An FVG occurs when strong momentum creates a gap in price delivery, leaving an inefficiency between buyers and sellers. This script mathematically identifies these 3-bar structures in real-time, plotting them as dynamic zones. It goes a step further by offering automated chart mitigation (cleaning) and plotting the highly sought-after 50% Consequent Encroachment (CE) level.
Core Detection & Mitigation Mechanics
The algorithm evaluates price action strictly based on a 3-candle sequence:
Bullish FVG (Demand Imbalance): Identified when the Low of the 3rd candle is strictly higher than the High of the 1st candle, and the 2nd candle is bullish. This creates an unmitigated gap of buy-side liquidity.
Bearish FVG (Supply Imbalance): Identified when the High of the 3rd candle is strictly lower than the Low of the 1st candle, and the 2nd candle is bearish. This creates a sell-side imbalance.
Smart Mitigation (Wick vs. Close): The script allows the user to define what constitutes a "filled" gap. In "Wick" mode, the gap is instantly deleted from the chart the moment a subsequent candle's wick sweeps through the zone. In "Close" mode, the gap remains active until a candle's body strictly closes inside or beyond the zone, ensuring the chart stays clean and only relevant institutional targets remain visible.
The Consequent Encroachment (50% CE)
Institutions frequently target the exact middle of an imbalance. By default, this script draws a dashed line at the exact 50% mathematical equilibrium of every active FVG box. This serves as a precise entry point or target for advanced SMC traders.
HUD Dashboard & AI Logic
The integrated panel provides an instant read on the imbalance bias and risk state:
Dangerous: Displayed whenever the current live price action enters an active FVG zone. This signifies that the gap is actively being filled and high volatility is expected as orders are absorbed.
LONG: Triggered when the last detected FVG was Bullish, indicating that recent institutional momentum was upward and unmitigated demand zones lie below as support.
SHORT: Triggered when the last detected FVG was Bearish, indicating a dominance in sell-side momentum.
How to Use It
This tool is exceptionally powerful for Price Action trading, particularly on 15-minute and 1-hour timeframes where intraday institutional gaps frequently occur and are reliably filled. Traders should not blindly buy or sell when an FVG forms. Instead, use the FVG boxes as high-probability reversal zones. When the AI Suggestion reads "Dangerous" (price is inside the gap), monitor the price action on a lower timeframe. Wait for a rejection from the box—specifically near the 50% CE dashed line—before executing a trade in the direction of the macro trend. Indicator

Auto Fibonacci Retracement [identityKa]Overview
The Auto Fibonacci Retracement is a dynamic structural mapping tool designed to automate the process of drawing Fibonacci levels. By continually scanning historical price action over a user-defined lookback period, the script identifies the dominant macroeconomic Swing High and Swing Low. It then mathematically constructs the retracement zones in real-time, completely removing human subjectivity from technical analysis.
Core Mathematical Engine
The script utilizes the ta.highest and ta.lowest functions coupled with a structural array system to ensure flawless historical anchoring:
Trend Directionality: The script determines the current macro trend by calculating the chronological offset between the absolute High and absolute Low. If the Low occurred chronologically before the High, it establishes a Bullish bias and draws the Fibonacci ratios from bottom to top. Conversely, it draws from top to bottom for a Bearish bias.
Level Generation: Utilizing standard percentage retracements, the engine strictly plots the 0.382, 0.500 (Equilibrium), 0.618 (Golden Pocket), and 0.786 (Deep Retracement) levels. The lines are drawn using a smart array management system that clears old lines and strictly plots the active data on the live bar to prevent chart lag and clutter.
HUD Dashboard & AI Logic
To assist in reading the Fibonacci zones, an integrated on-chart panel evaluates the relationship between the live closing price and the drawn retracement levels:
Dangerous: Displayed whenever the current price enters the zone between the 0.382 and the 0.618 (Golden Pocket) levels. This area represents deep institutional retracement and is mathematically the highest-risk zone for trend-continuation entries, as the market is actively deciding whether to bounce or reverse.
LONG / SHORT: The engine defaults to the macro trend direction ("LONG" in an uptrend, "SHORT" in a downtrend) as long as the price remains confidently outside the deep retracement zone (e.g., above the 0.382 in a bullish trend), signifying that the primary momentum remains intact. If the deep 0.786 level is broken against the trend, the script will mathematically flip the bias, assuming a structural reversal.
How to Use It
Traders should use this script to automate their top-down analysis. Rather than manually redrawing Fibonacci levels as new highs or lows are made, this indicator updates dynamically. During an established trend, traders should look for the AI Suggestion to switch to "Dangerous" (indicating price has entered the Golden Pocket) and await a definitive candlestick rejection pattern off the 0.500 or 0.618 level before re-entering the market in the direction of the macro trend. Indicator

Auto Dynamic S/R Zones Pro [identityKa]Overview
The Auto Dynamic S/R Zones Pro is a structural Price Action utility that automatically identifies, draws, and manages Supply (Resistance) and Demand (Support) liquidity zones. Unlike traditional pivot indicators that draw single horizontal lines, this script constructs volumetric "boxes" to represent areas of historical institutional interest. Furthermore, it incorporates a Smart Mitigation Engine that automatically cleans the chart by deleting zones once they have been functionally broken or fully mitigated by price action.
Core Zone Calculation Methodology
The script utilizes historical pivot detection (ta.pivothigh and ta.pivotlow) based on a user-defined lookback/lookforward sensitivity. Once a structural extreme is found, the engine calculates the boundaries of the zone to capture the entire rejection area rather than just the wick tip:
Resistance Zones (Supply): The top of the box is anchored to the absolute high of the pivot candle. The bottom of the box is calculated using the maximum value between the open and close of that same candle (capturing the wick-to-body spread).
Support Zones (Demand): The bottom of the box is anchored to the absolute low of the pivot candle. The top of the box is calculated using the minimum value between the open and close (capturing the lower wick-to-body spread).
The Smart Mitigation Engine (Chart Cleanup)
To prevent chart clutter and outdated data, the script utilizes dynamic arrays to manage the drawn boxes.
The script continuously monitors the closing price relative to all active zones.
If a candlestick closes strictly above the upper boundary of a Resistance box, or strictly below the lower boundary of a Support box, the zone is mathematically considered "Mitigated" (broken).
Upon mitigation, the script instantly deletes the box and its associated label from the chart history, firing a breakout alert and leaving only fresh, untested zones visible.
HUD Dashboard & AI Logic
The integrated on-chart panel evaluates the immediate relationship between the current price and the active S/R arrays:
Dangerous: Triggered whenever the current closing price is actively printing inside the coordinates of any active Support or Resistance box. This indicates price is in a high-friction decision zone where rejections are highly probable.
LONG / SHORT: The engine tracks the most recent structural breakout. If the last mitigated zone was a Resistance, it adopts a "LONG" bias indicating bullish structure. If the last mitigated zone was a Support, it adopts a "SHORT" bias indicating bearish structure, provided the price is not currently stuck inside another zone.
How to Use It
This indicator simplifies top-down analysis. Traders can use a higher timeframe (e.g., 1H or 4H) to let the script automatically map out major untested supply and demand zones. When the price enters an active zone (triggering the "Dangerous" AI state), traders can drop to a lower timeframe to look for reversal patterns. Alternatively, traders can trade the momentum of the breakouts by setting alerts for when a zone is officially broken/mitigated. Indicator

Advanced UT-Trail System Pros [identityKa]Overview
The Advanced UT-Trail System Pro is a comprehensive trend-following and trade management indicator. Built upon the foundation of Average True Range (ATR) trailing stops, this script introduces dynamic timeframe adaptation and Heikin-Ashi noise filtering to provide smoother, more reliable structural signals. It is designed to keep traders in prevailing trends longer while mathematically defining risk and automated profit targets.
Core Calculations & Engine
The indicator relies on a robust trailing stop logic driven by volatility:
1-) ATR Volatility Baseline: It calculates the ATR over a user-defined period (default 10). This value is multiplied by a "Base Key Value" to determine the strict distance the trailing stop will maintain from the price action.
2-) Heikin-Ashi Filtering: Traditional price action can cause premature stop-outs due to market noise. By default, this script pulls Heikin-Ashi close data (ticker.heikinashi) as the source (src) for the trailing calculation. This dramatically smooths the underlying data feed, preventing false wick-outs.
3-) Auto-Adaptive Sensitivity: To combat the lag inherent in macro trailing stops on lower timeframes, the script features an adaptive multiplier engine. If the trader switches to an intraday timeframe (≤ 60 minutes) or a scalp timeframe (≤ 15 minutes), the script mathematically reduces the Base Key Value multiplier (e.g., $a \times 0.6$), tightening the trailing stop dynamically to suit the faster price action.
Dynamic Trade Management
Upon the confirmation of a directional flip (the source crossing the trailing stop line), the script plots actionable data:
Trailing Stop Line: A step-line visualizes the exact, non-repainting invalidation level.
Auto Take-Profit Projection: Utilizing the exact ATR value at the moment of the signal, the script automatically projects and draws Target 1 (TP1) and Target 2 (TP2) dashed lines into the future. These targets are based on predefined ATR multipliers (default 1.5x and 3.0x), enforcing a mechanical risk-to-reward ratio.
HUD Dashboard & AI State Tracker
The integrated on-chart panel aggregates the current system data:
Engine Mode: Displays whether the script is operating in SCALP, DAY, or SWING sensitivity mode based on the current chart.
AI Suggestion: Evaluates the proximity of the current price to the trailing stop.
LONG / SHORT: Triggered when the price is safely trending in the direction of the trailing stop.
Dangerous: Triggered strictly when the current closing price enters a 0.2 ATR threshold of the trailing stop line. This mathematical condition acts as a warning that the trend is actively being tested and a reversal may be imminent.
How to Use It
Traders should utilize the printed BUY/SELL labels as macro directional bias. The trailing step-line serves as an objective, mechanical Stop-Loss level. When entering a position, traders can use the automatically projected TP1 and TP2 lines to scale out of their positions incrementally. If the AI Suggestion shifts to "Dangerous", it is a mechanical cue to protect capital, tighten stops manually, or avoid adding to existing positions. Indicator

Advanced Volatility Squeeze Pro v2 [identityKa]Overview
The Advanced Volatility Squeeze Pro v2 is a comprehensive breakout and momentum oscillator. It is designed to identify periods of market consolidation (volatility compression) and mathematically anticipate the direction of the ensuing breakout. This script improves upon traditional squeeze models by replacing the often-lagging linear regression momentum with a highly responsive dual-EMA momentum engine.
Core Mathematical Concepts
This indicator relies on the mathematical relationship between two distinct volatility envelopes:
Bollinger Bands (Standard Deviation): Calculates the standard deviation of price around a Simple Moving Average (default length 20, multiplier 2.0). These bands expand and contract rapidly based on immediate price variance.
Keltner Channels (True Range): Calculates an envelope based on the Simple Moving Average of the True Range (default multiplier 1.5). These bands are less sensitive to sudden spikes and represent the baseline volatility.
The Squeeze Logic (Dots)
The script continuously compares the width of the Bollinger Bands to the Keltner Channels:
Squeeze ON (Red Dots): Triggered when the Bollinger Bands completely contract inside the Keltner Channels. This signifies a severe drop in volatility. The market is consolidating, building energy for a future move.
Squeeze OFF (Gray Dots): Triggered when the Bollinger Bands expand back outside the Keltner Channels. This mathematical event is known as the squeeze "firing," indicating a release of volatility and the start of a new directional trend.
The Momentum Engine (Histogram)
To determine the direction of the breakout, the script calculates the spread between a Fast EMA (default 8) and a Slow EMA (default 21).
The histogram plots this exact difference.
A rising positive histogram (Bright Green) indicates accelerating bullish momentum, while a falling negative histogram (Bright Red) indicates accelerating bearish momentum.
HUD Dashboard & AI Logic
The on-chart panel aggregates these calculations into an actionable state:
Dangerous: Displayed whenever the Squeeze is "ON". This warns traders that the market is range-bound and breakout direction is mathematically uncertain.
LONG: Triggered when the Squeeze fires (OFF), the momentum is positive (Fast EMA > Slow EMA), and the momentum value is actively rising compared to the previous bar.
SHORT: Triggered when the Squeeze fires (OFF), the momentum is negative, and actively falling.
How to Use It
Traders should avoid entering trend-continuation setups while the red dots (Squeeze ON) are present. The optimal setup occurs when a red dot transitions to a gray dot (Squeeze fires) in confluence with the AI Suggestion outputting a clear "LONG" or "SHORT" signal, allowing the trader to capture the explosive expansion in volatility. Indicator

Ultimate MTF Trend Dashboard [identityKa]Overview
The Ultimate MTF Trend Dashboard is a comprehensive trend-following ecosystem that combines a zero-lag overlay cloud with a strict Multi-Timeframe (MTF) alignment dashboard. Designed for traders who require deep market context, this indicator visually tracks the immediate trend while simultaneously cross-referencing higher timeframes (15m, 1H, 4H, and Daily) to ensure trades are taken in the direction of the dominant macroeconomic flow.
Mathematical Engine & Non-Repainting Logic
The core trend calculation is built upon the Hull Moving Average (HMA). HMAs are favored for their ability to significantly reduce lag while maintaining a smooth curve.
The Cloud: The script calculates a Fast HMA (default 14) and a Slow HMA (default 50). The area between them is filled to create a visual "Cloud." When the Fast HMA is above the Slow HMA, the cloud represents a bullish trend, and vice versa.
Non-Repainting MTF Engine: Traditional MTF indicators in Pine Script often suffer from repainting issues by looking ahead into unclosed bars. This script solves that by securely fetching historical offset data ( ) combined with barmerge.lookahead_on across all higher timeframes. This guarantees that the dashboard values are strictly historically accurate and non-repainting.
HUD Dashboard & AI State Suggestion
The on-chart panel serves as the central intelligence hub, constantly evaluating the HMA state across four distinct timeframes. At the bottom of the dashboard is the rule-based AI Suggestion:
LONG: Triggered only when the 15m, 1H, 4H, and 1D timeframes are all simultaneously in a Bullish state (Fast HMA > Slow HMA).
SHORT: Triggered only when all four tracked timeframes are simultaneously in a Bearish state (Fast HMA < Slow HMA).
Dangerous: Displayed when there is a conflict between timeframes (e.g., 1H is Bullish, but 4H is Bearish). This mathematically indicates market chop or a broader consolidation phase.
How to Use It
This tool acts as a supreme filter for Price Action trading. Traders should avoid taking trend-continuation setups when the AI Suggestion reads "Dangerous." Instead, patience should be exercised until full MTF alignment occurs. When the dashboard outputs "LONG" or "SHORT," traders can look for pullbacks into the local HMA Cloud on their execution timeframe to find optimal, low-risk entries in the direction of the undeniable macro trend. Indicator

Smart Pivot Reversals [identityKa]Overview
The Smart Pivot Reversals is a structural Price Action indicator designed to automatically detect and highlight market swing highs (Tops) and swing lows (Bottoms). Instead of relying on lagging moving averages to find reversals, this script uses raw bar-by-bar analysis to identify local structural extremes. To increase signal reliability, it includes optional, mathematically strict filters for macro-trend alignment and momentum exhaustion.
Underlying Concepts & Calculations
At its core, the indicator utilizes the standard ta.pivothigh and ta.pivotlow functions. The detection mechanism is entirely governed by two user-defined parameters:
Left Bars (Sensitivity): The number of preceding bars that must have a lower high (for a Top) or a higher low (for a Bottom). A smaller number detects micro-swings, while a larger number identifies major structural points.
Right Bars (Confirmation): The number of subsequent bars required to validate the pivot. Note on Visualization: The script uses a negative offset equal to the "Right Bars" value. This means the "TOP" or "BOTTOM" label is plotted exactly on the pivot candle historically, only after the confirmation bars have closed.
Smart Validation Filters (Optional Logic)
To filter out noise in ranging markets, traders can enable two concurrent mathematical filters:
Macro Trend Filter (EMA): When activated, the script calculates a standard Exponential Moving Average (default length 200). A pivot low (Bottom) is only validated if the closing price is strictly above the EMA (identifying pullbacks in an uptrend). A pivot high (Top) is only validated if the closing price is strictly below the EMA.
Momentum Strict Mode (RSI): When activated, the script checks the Relative Strength Index (default length 14) at the exact moment the pivot is confirmed. A Top is only valid if the RSI is in the Overbought zone (≥70). A Bottom is only valid if the RSI is in the Oversold zone (≤30).
HUD Dashboard & State Tracker
The script features a built-in, customizable on-chart panel that aggregates the last confirmed structural pivot and outputs an AI-style state suggestion:
LONG: Triggered and sustained when the last confirmed structure was a valid BOTTOM.
SHORT: Triggered and sustained when the last confirmed structure was a valid TOP.
Dangerous: Displayed during periods of transition or neutral states before a definitive structure is confirmed.
How to Use It
This tool is highly effective for traders utilizing Price Action methodologies, particularly on intraday charts (such as 15-minute or 1-hour timeframes). The printed Top/Bottom labels serve as excellent objective points for drawing support/resistance zones or trendlines. Traders can use the optional EMA and RSI filters to mechanically ignore counter-trend setups and only focus on high-probability reversal structures that align with the broader market context. Indicator

Advanced Momentum Engine [identityKa]Overview
The Advanced Momentum Engine is a technical oscillator designed to consolidate trend direction and momentum exhaustion into a single visual pane. By mathematically integrating Moving Average Convergence Divergence (MACD) with the Relative Strength Index (RSI), this script aims to reduce chart clutter and provide a strict, rule-based approach to confluence analysis.
Instead of monitoring MACD crossovers and RSI extreme levels in separate windows, this indicator unifies them. The MACD dictates the base histogram color representing the trend, while the RSI dictates specific color overrides when momentum reaches mathematical extremes.
Core Calculations & Logic
The engine operates on two primary technical formulas:
MACD Component: It utilizes the standard MACD calculation (Fast EMA 12, Slow EMA 26, Signal 9 by default). The histogram plots the spread between the MACD line and the Signal line.
RSI Component: A standard RSI (default length 14) is calculated simultaneously in the background to measure the speed and change of price movements.
Dynamic Visualization Features
The histogram colors are not static; they adapt dynamically based on the relationship between these two components:
Trend Phases: When the RSI is in a neutral state (between 30 and 70), the histogram reflects standard MACD momentum. Increasing positive spreads plot as Strong Bullish (Bright Green), decreasing positive spreads as Weak Bullish (Dark Green). The inverse applies to Bearish states (Bright Red / Dark Red).
The Danger Zone Override: If the background RSI calculation breaches the user-defined Overbought (≥70) or Oversold (≤30) thresholds, the script triggers an override. The histogram and background explicitly turn Orange. This mathematical condition indicates that while the MACD trend may still be active, the RSI momentum is statistically exhausted.
HUD Dashboard & AI Suggestion
To simplify real-time data interpretation, the script includes an on-chart panel (HUD) that evaluates the current bar's state and outputs a logical suggestion:
LONG: Triggered when MACD > Signal AND RSI is strictly neutral (< 70).
SHORT: Triggered when MACD < Signal AND RSI is strictly neutral (> 30).
Dangerous: Triggered whenever RSI ≥ 70 OR RSI ≤ 30.
How to Use It
Traders can use this script to filter their entries and manage risk. A standard approach is to look for trend-following entries only when the dashboard indicates a "LONG" or "SHORT" state. Conversely, when the histogram and dashboard turn to the Orange "Danger Zone," it serves as a mechanical rule to avoid new trend-continuation entries and consider tightening stop-losses, as mean reversion is statistically more probable. All moving average lengths, RSI thresholds, and color themes are fully adjustable in the settings. Indicator

Nadaraya-Watson Dynamic Envelopes [identityKa]Welcome to another premium-grade, free-to-use trading tool developed by identityKa.
The Nadaraya-Watson Dynamic Envelopes is a highly advanced, visually smooth overlay indicator designed to capture dynamic support and resistance zones. Instead of relying on traditional, jagged moving averages, this indicator utilizes a Gaussian-inspired smoothing technique (via an optimized ALMA mathematical engine) to wrap the price action in a flowing, highly responsive channel.
Whether you are a day trader looking for mean-reversion setups or a swing trader identifying macro tops and bottoms, this indicator provides crystal-clear visual guidance without cluttering your chart.
🔥 Key Features:
Dynamic Smoothing Engine: Creates non-jagged, flowing upper (resistance) and lower (support) bands that adapt to market volatility.
Mean Reversion Signals: Prints distinct triangle shapes (Red for Bearish, Green for Bullish) when the price action sharply interacts with the outer envelopes, highlighting high-probability reversal zones.
Smart HUD Dashboard: Includes a clean, fully customizable on-chart dashboard that displays the current engine status, price position relative to the midline, and a real-time AI Suggestion (LONG, SHORT, or Dangerous) based on the algorithmic state.
100% Customizable: Every aspect of the indicator, from bandwidth smoothness and multipliers to theme colors (featuring the signature identityKa neon palette) and dashboard positioning, can be adjusted in the settings menu.
💡 How to Trade with It:
Mean Reversion: Look for bullish (green) triangle signals when the price touches or pierces the lower green envelope for potential long entries. Conversely, look for bearish (red) triangle signals at the upper red envelope for short entries.
Trend Continuation: In strong trending markets, the midline (white) often acts as dynamic support/resistance.
Pro Tip: This indicator works best when combined with a primary trend filter (such as our Alpha SuperTrend Signal). Avoid taking reversal signals against a very strong macroeconomic trend unless confirmed by other Price Action concepts.
⚙️ Settings & Alerts:
The script comes with built-in alert conditions for both Support Bounces (Bullish) and Resistance Rejections (Bearish), allowing you to automate your workflow. All settings are globally accessible in English.
Elevate your chart quality. Trade with precision. Trade with identityKa. Indicator
