Stochastic Momentum Index - SMI🎯 Overview
This is a Stochastic Momentum Index (SMI) indicator that combines stochastic momentum with moving average smoothing to identify trend direction and momentum strength in financial markets. The SMI measures where the current price closes relative to the midpoint of its recent trading range, providing enhanced sensitivity to price momentum.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.stoch() function
📈 Range-Based: Compares closing price to high-low range over specified period
🎯 Scale: Oscillates between 0-100 with 50 as neutral midpoint
2. 🎛️ Configuration Parameters
📏 SMI Length: Default 101 periods (long-term smoothing)
📊 Source Price: Customizable (default = Close)
📈 MA Length: 30-period moving average applied to SMI
🔄 MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
🎨 Color Themes: 5 visual schemes (Classic, Modern, Robust, Accented, Monochrome)
📈 Signal Interpretation:
🟢 BULLISH: SMI > 50 (price closing in upper half of range)
🔴 BEARISH: SMI < 50 (price closing in lower half of range)
🎯 Neutral Zone: Around 50 indicates balanced momentum
👁️ Visual Features
📈 Signal Line (MA):
Yellow moving average of SMI
Smooths momentum for clearer trend identification
🎯 Reference Lines:
50-level midpoint (white dashed line)
0-100 scale boundaries
🎨 Fill Zones:
🟢 Upper Zone : Bullish momentum area
🔴 Lower Zone : Bearish momentum area
Gradient fills enhance visual clarity
📋 Dashboard Display:
Content: "⬆️ Bullish" or "⬇️ Bearish" indicator
Purpose: Quick market bias assessment
⚡ Trading Applications
📈 Primary Uses:
🎯 Trend Identification
SMI > 50 = Uptrend momentum
SMI < 50 = Downtrend momentum
📊 Momentum Strength
Values near 100 = Strong bullish momentum
Values near 0 = Strong bearish momentum
Values around 50 = Neutral/consolidation
🔄 Mean Reversion
Extreme readings (near 0 or 100) may indicate overbought/oversold conditions
⏰ Timeframe Compatibility:
📅 Long-term: 101-period default suits swing/position trading
📊 Medium-term: Adjust lengths for daily/weekly analysis
⚡ Short-term: Reduce periods for intraday trading
🎨 Customization Options
🔄 Moving Average Types:
📉 EMA: Exponential - responsive to recent changes
📊 SMA: Simple - equal weight to all periods
📈 RMA: Relative - TradingView's special moving average
⚖️ WMA: Weighted - emphasizes recent data
💎 VWMA: Volume-weighted - incorporates volume
🚀 HMA: Hull - reduces lag significantly
🎨 Visual Themes:
🎨 Classic: Green/Red (traditional trading colors)
🚀 Modern: Cyan/Purple (modern aesthetic)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when SMI crosses above 50
🔴 SHORT Alert: Triggers when SMI crosses below 50
📧 Format: Includes ticker symbol for easy identification
⚡ Key Advantages
✅ Strengths:
🎯 Clear Signals: Simple >50/<50 threshold for easy interpretation
📊 Range-Bound: Always oscillates 0-100 (no divergence issues)
👁️ Visual Clarity: Color-coded zones make analysis intuitive
🔄 Customizable: Multiple MA types and visual themes
📱 Professional: Clean, organized display suitable for all traders
트렌드 어낼리시스
Multi-Session Volume Profile Suite [MarkitTick]💡 This indicator provides a sophisticated, institutional-grade Volume Profile analysis suite that renders multiple temporal profiles simultaneously. It is designed for traders utilizing Auction Market Theory who require a holistic view of where value is being established across Daily, Weekly, and Monthly timeframes, alongside custom intraday sessions. By bypassing standard built-in functions in favor of a custom array-based calculation engine, this tool offers granular control over Value Area logic, Point of Control (POC) migration, and multi-timeframe confluence detection.
✨ Originality and Utility
Standard Volume Profile tools often limit traders to a single timeframe or the visible range of the chart. This creates a fragmented view of the market, where a trader might see the daily value but miss the context of the weekly or monthly auction.
This script solves that problem by layering three distinct higher-timeframe profiles (Daily, Weekly, Monthly) plus three customizable intraday session profiles onto a single chart.
● Key Differentiators
Confluence Detection Engine: The script mathematically calculates when the Points of Control (POC) of different timeframes overlap (e.g., Daily POC inside Weekly POC). It explicitly highlights these high-probability zones with specific labels (e.g., "TRIPLE CONFLUENCE"), automating the search for key support/resistance levels.
POC Migration Tracking: Unlike static profiles, this tool tracks the "Shift" of the POC. It visualizes whether value is migrating higher (▲), lower (▼), or remaining neutral (=) compared to the previous period, providing immediate insight into the trend's acceptance.
Synthetic Chart Protection: The script includes logic to detect and prevent usage on non-standard chart types like Heikin Ashi or Renko, ensuring that the volume data processed is accurate and not subject to the repainting often found in synthetic OHLC variations.
🔬 Methodology and Concepts
The core engine relies on a custom implementation of the Volume Profile formula using dynamic arrays. It does not simply pull pre-calculated data but processes the tick volume of the underlying asset relative to price action.
• Volumetric Binning
The script divides the price range of a specific period (e.g., a Day) into a user-defined number of "rows" (bins). As price trades within a specific bin, the corresponding volume is accumulated.
Point of Control (POC): The bin with the highest accumulated volume is identified as the POC. This represents the "Fair Value" or the mode of the distribution for that period.
Value Area (VA): The script calculates the total volume of the profile and then identifies the range surrounding the POC that contains a specific percentage (default 70%) of that volume. It uses a dual-scanning algorithm that expands upwards or downwards from the POC based on which adjacent row has higher volume, mimicking the auction process of testing prices.
• Exact-Anchor Pivots
Simultaneously, the script tracks "Exact-Anchor" pivots. Unlike standard pivots that settle at the close, these track the absolute High and Low of the period (Daily/Weekly/Monthly) in real-time and extend them until a new period begins.
🎨 Visual Guide
The indicator uses a color-coded hierarchy to distinguish between timeframes. Understanding this visual language is critical for interpreting the data.
● Profile Hierarchy (Default Theme)
Daily Profile (Yellow/Gold): Represents the immediate, short-term auction.
Solid Line: Daily POC.
Dotted Line: Daily Value Area High (VAH) and Low (VAL).
Weekly Profile (Blue): Represents the intermediate auction. A solid Blue line indicates the Weekly POC.
Monthly Profile (Purple): Represents the macro auction. A solid Purple line indicates the Monthly POC.
● Labels and Symbols
Right-Side Labels: At the end of profile lines, text labels display the exact price of the POC.
Shift Arrows (▲ / ▼): Located inside the POC label, these arrows indicate the direction the POC has moved relative to the previous period's POC. An Up arrow (▲) suggests buyers are accepting higher prices.
Confluence Labels: If enabled, a text box appears near price action stating "POC CONFLUENCE" or "TRIPLE CONFLUENCE" when the POCs of different timeframes align within a tight margin.
Block Symbol (⬛): A small block icon may appear above bars to denote the center of a specific session's time window.
● Pivot Lines
Orange Lines: Previous Daily High (PDH) and Low (PDL).
Green Dashed Lines: Previous Weekly High (PWH) and Low (PWL).
Red Dotted Lines: Previous Monthly High (PMH) and Low (PML).
White Dashed Line: New York Midnight Open price (if enabled).
📖 How to Use
This suite is designed for "Contextual Trading." It answers the question: Where are we relative to value?
• Trend Acceptance
Observe the Shift Arrows on the POC labels. In a healthy uptrend, you should see a sequence of Daily and Weekly profiles with (▲) arrows, indicating that the market is validating higher prices as fair value. If price rises but the POC remains lower or shifts down, it may indicate a "weak high" or a potential reversal (divergence between price and value).
• Support and Resistance
The POC lines act as high-probability support and resistance. Price returning to a Weekly (Blue) or Monthly (Purple) POC often results in a reaction, as these are areas of significant historical agreement between buyers and sellers.
• The Confluence Play
Pay special attention when the "Confluence" label appears. When a Daily POC aligns with a Weekly or Monthly POC, that specific price level possesses reinforced structural importance. A rejection from such a level is a strong signal; a breakout through such a level often leads to an explosive move as value transitions rapidly.
⚙️ Inputs and Settings
The script is highly customizable via the settings menu.
● General Settings
Row Resolution: Determines the granularity of the profile. Higher numbers (e.g., 100) create smoother, more detailed profiles but use more calculation resources.
Value Area %: Default is 70.0, representing the standard deviation of value.
Show POC Shift: Toggles the (▲/▼) comparison logic.
● Profile Scope
Show Daily/Weekly/Monthly: Checkboxes to individually enable or disable specific timeframe profiles.
Session Lookback: Controls how many historical days/weeks the profiles are kept on the chart.
● Pivots (PDH/PMH/NYM)
Show Pivots: Enables the High/Low lines for previous periods.
Show NY Midnight: Specifically toggles the opening price of the New York session (00:00 EST).
● Alerts
Approach Distance: Sets the sensitivity (in ticks) for alerts when price nears a key POC level.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator is grounded in Auction Market Theory (AMT) and statistical distribution analysis.
• The Market as a Mechanism
AMT postulates that the primary purpose of the market is to facilitate trade. Price advertises opportunity, while Time regulates the opportunity. Volume is the validation of that price. When the market spends significant time and transacts significant volume at a specific level, it establishes "Value."
• Gaussian Distribution and Central Limit Theorem
A Volume Profile is essentially a histogram of volume over price, often resembling a Gaussian (Normal) Distribution or "Bell Curve" when the market is balanced.
POC (Mode): The peak of the curve. Mathematically, this is the mode of the dataset—the price occurring with the highest frequency (volume).
Value Area (Standard Deviation): In a normal distribution, approximately 68.2% of data points fall within one standard deviation of the mean. This script defaults to a 70% Value Area to approximate this statistical boundary. Prices outside this area are considered statistically significant anomalies or "imbalanced."
• Confluence and Probability
The "Confluence" feature leverages the intersection of independent datasets. If the mode (POC) of a short-term distribution (Daily) aligns with the mode of a long-term distribution (Weekly), the probability of that price representing "True Value" increases exponentially. This aligns with statistical principles where overlapping data clusters suggest a stronger underlying signal amidst market noise.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Commodity Channel Index - CCI🎯 Overview
This is an enhanced Commodity Channel Index (CCI) indicator that transforms the traditional CCI into a centerline-focused momentum tool with moving average smoothing and comprehensive visual enhancements. Unlike standard CCI which uses ±100 levels, this version focuses on the 50-level centerline for clearer trend direction signals.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.cci() function
📈 Statistical Approach: Measures current price relative to statistical mean
🎯 Scale Modification: Focuses on 50 as neutral (unlike traditional ±100)
📏 Default Length: 55 periods (optimal for medium-term trends)
2. 🎛️ Configuration Parameters
📏 CCI Length: Default 55 periods
📈 CCI MA Length: 30-period moving average
🔄 MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
🎨 Color Themes: 5 visual schemes matching your other indicators
📈 Signal Interpretation:
🟢 BULLISH: CCI > 50 (price above statistical mean)
🔴 BEARISH: CCI < 50 (price below statistical mean)
👁️ Visual Features
📉 Chart Elements:
📊 Main CCI Line:
Shows raw CCI momentum
📈 Signal Line (CCI MA):
Yellow moving average of CCI
30-period default provides smoothed trend
🎨 Fill Zones:
🟢 Upper Zone : Bullish momentum area
🔴 Lower Zone : Bearish momentum area
📋 Dashboard Display:
Content: "⬆️ Bullish" or "⬇️ Bearish" indicator
Purpose: Instant market bias assessment
⚡ Trading Applications
📈 Primary Uses:
🎯 Trend Direction Identification
CCI > 50 = Uptrend momentum
CCI < 50 = Downtrend momentum
📊 Extreme Momentum Detection
CCI > 100 = Strong bullish (traditional)
CCI < -100 = Strong bearish (traditional)
CCI near ±300 = Extreme conditions
🔄 Mean Reversion Opportunities
Useful in ranging markets
🎯 Signal Types:
📈 Trend-Following: Stay long when CCI > 50, short when < 50
🔄 Mean Reversion: Fade extreme readings (>100 or <-100)
⚡ Crossover Signals: CCI crossing 50 provides entry/exit points
🎨 Customization Options
🔄 Moving Average Types:
📉 EMA: Exponential - responsive to recent CCI changes
📊 SMA: Simple - smooths CCI equally
📈 RMA: Relative - TradingView's special MA
⚖️ WMA: Weighted - emphasizes recent CCI values
💎 VWMA: Volume-weighted - incorporates volume indirectly
🚀 HMA: Hull - reduces lag on CCI signals
🎨 Visual Themes: (Consistent with your suite)
🎨 Classic: Green/Red (traditional)
🚀 Modern: Cyan/Purple (contemporary)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when CCI > 50
🔴 SHORT Alert: Triggers when CCI < 50
📧 Format: Includes ticker symbol for portfolio tracking
⚡ Key Advantages
✅ Strengths:
🎯 Clear Centerline Focus: 50-level provides unambiguous trend direction
📊 Statistical Foundation: Based on mean deviation (more robust than simple oscillators)
👁️ Extreme Zone Visualization: ±300 boundaries show momentum extremes
🔄 Versatile Application: Works for both trend-following and mean reversion
📱 Professional Suite: Consistent design with your RSI and SMI indicators
⚡ Optimal Settings:
📈 Trending Markets: 55-period CCI (default)
🔄 Ranging Markets: Shorter periods (20-30)
📊 Volatile Markets: Longer periods (80-100)
📱 Day Trading: 20-period with EMA smoothing
🏆 Unique Features:
Statistical Rigor: Based on mean deviation (not just price differences)
Wide Range: ±300 scale captures extreme movements
Centerline Focus: Clear binary trend signals
Visual Harmony: Consistent with your indicator suite design
This CCI indicator provides a statistically robust approach to trend identification while maintaining the visual consistency and user-friendly design of your trading suite! 📊✨
Custom 3-Bar Counter (GMT Reset)Bar counter, adjustable to suit market hours. Text colour and size changeable
AVSL - XAUUSD M1 OptimizedCredit to Rafka.
This script is optimized for XAUUSDT.P 1-minute trading based on AVSL Indicator from Rafka.
GK Trend Ribbon SWING + PREPARE HUDGK Trend Ribbon SWIGN+ PREPARE HUD
This is the swing trading version of GK Trend Ribbon system.
it works with the core logic and structure as its predecessors,
but is tuned for a smoother, longer trend phases and reduced noise, making it more suitable for holding trades through broader market moves
The ribbon adapts to volatility using ATR-based bands, wile the zero-lag bassline tracks real trend direction.
The visual prepare alerts gives a early heads up before confirmed GK BUY or GK SELL signals,
helping traders get positioned before momentum fully shifts
CREATOR'S preferred timeframes for XAUUSD
15MIN CHART
30MIN CHART
also works on other assets
designed for structure trend based swing execution-patience, discipline and letting the ribbon lead
Relative Strength Index - RSI🎯 Overview
This is an enhanced Relative Strength Index (RSI) indicator for TradingView that combines traditional RSI analysis with a moving average overlay to generate more reliable trading signals ⚡
🧩 Core Components
1. ⚙️ Indicator Settings
2. 🎛️ Input Parameters
A. 🎨 Color Settings:
5 different color themes: 🎨 Classic, 🚀 Modern, 💪 Robust, 🌈 Accented, ⚫⚪ Monochrome
Each theme provides distinct bullish/bearish color pairs
B. 📊 RSI Configuration:
📏 Length: Default 14 periods
📈 Source: Default close price (customizable)
📊 RSI MA Length: Default 365 periods
🔄 RSI MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
C. 📢 Signal Display:
✅ Toggle for Bull/Bear crossover signals
📋 Table display showing current market bias
3. 🧮 Technical Calculations
A. 📈 RSI Calculation:
Standard RSI formula using ta.rsi()
Configurable source and period length
B. 📊 RSI Moving Average:
Customizable MA type applied to the RSI values
Serves as a dynamic signal line
Default 365-period EMA smooths long-term trends
C. 🔔 Signal Detection:
🟢 isBull_RSI: RSI > RSI_MA (bullish condition)
🔴 isBear_RSI: RSI < RSI_MA (bearish condition)
🟢 Bull: Crossover signal (RSI crosses above MA)
🔴 Bear: Crossunder signal (RSI crosses below MA)
4. 👁️ Visual Elements
A. 📉 Main Plots:
📊 RSI Line: Thick line (width 3) colored conditionally based on position relative to its MA
📈 RSI MA Line: Yellow line showing the smoothed RSI
🎯 50-Level Line: Dashed white reference line
B. 🎨 Fill Areas:
🟢 Overbought Zone : Filled between RSI and MA
🔴 Oversold Zone : Filled between RSI and MA
Colors vary based on selected theme
C. 🌈 Background Highlights:
Subtle background coloring on bullish/bearish crossover signals
D. 📋 Table Display:
Shows "⬆️ Bullish" or "⬇️ Bearish" with appropriate coloring
5. 🔔 Alert System
🟢 LONG Alert: Triggers when RSI > RSI_MA
🔴 SHORT Alert: Triggers when RSI < RSI_MA
Includes ticker symbol in alert message
🏁 Trading Logic
🎯 Primary Signals:
🟢 Bullish Setup:
📈 RSI crosses above its moving average
📊 RSI remains above MA (continuous bullish condition)
🎨 Visual: Green/theme bull colors, bullish fill areas
🔴 Bearish Setup:
📉 RSI crosses below its moving average
📊 RSI remains below MA (continuous bearish condition)
🎨 Visual: Red/theme bear colors, bearish fill areas
✨ Key Features:
📊 Trend Filter: The RSI MA (365-period) acts as a long-term trend filter
⚡ Momentum + Trend: Combines momentum (RSI) with trend (MA) for higher probability signals
👁️ Visual Clarity: Color-coded elements make market state immediately apparent
🛠️ Customizability: Multiple MA types and color schemes adapt to different trading styles
💻 Code Structure
The script is well-organized with clear sections:
🔧 MA function definition
⚙️ Input settings
🧮 Calculations
🎨 Color definitions
📊 Plotting
📋 Table display
🔔 Alert conditions
🎯 Best Use Cases
📈 Trend Following: In trending markets, signals align with the overall direction
🔄 Mean Reversion: In ranging markets, oversold/overbought fills indicate potential reversals
⏰ Multi-Timeframe Analysis: Works well on daily/weekly charts for long-term positioning
✅ Signal Confirmation: Can be combined with other indicators for entry/exit confirmation
🏆 Unique Advantages
🎯 Reduced Whipsaws: Long MA period (365) filters out noise
👁️ Clear Visual Hierarchy: Multiple visual layers convey information efficiently
💼 Professional Presentation: Clean, organized display suitable for sharing
🛠️ Flexible Configuration: Adaptable to different assets and timeframes
WMA MAD Trend | RakoQuantWMA MAD Trend | RakoQuant is a robust volatility-regime trend system built on Weighted Moving Average structure and Median Absolute Deviation dispersion, engineered to produce clean directional states while suppressing wick-driven noise and unstable ATR distortions.
This tool belongs to the RakoQuant protected research line, combining a smooth WMA baseline, statistically robust volatility envelopes (MAD bands), SuperTrend-style regime logic, and a strength-aware visualization layer designed for consistent performance across trending, mean-reverting, and mixed market environments.
Core Concept
This indicator answers one fundamental question:
Is price holding a statistically meaningful deviation from its WMA baseline, or reverting back into range?
Unlike classic SuperTrend variants that rely on ATR (highly sensitive to spikes and wicks), WMA MAD Trend uses Median Absolute Deviation as its volatility engine — a robust dispersion measure that remains stable in the presence of outliers.
How It Works
1) WMA Baseline (Directional Structure)
At its core, the indicator defines the market’s structural center using a Weighted Moving Average:
* WMA Baseline tracks directional bias with smoother, trend-weighted responsiveness
* The baseline can optionally be smoothed further in intraday mode to reduce micro-chop
This provides a stable anchor for dispersion-based regime classification.
2) MAD Volatility Engine (Robust Dispersion Core)
Instead of ATR, volatility is measured via Median Absolute Deviation (MAD) around the baseline:
* Compute absolute deviation:
|Close − Baseline|
* Take rolling median of deviation over madLen
* Optional normalization scales MAD toward a stdev-like measure (via constant factor)
This makes volatility estimation:
* Outlier-resistant
* Wick-resistant
* Regime-stable during abnormal price spikes
3) MAD Bands + SuperTrend Trailing Logic (Regime State Model)
Bands are built as:
* Upper Band = Baseline + Factor × MAD
* Lower Band = Baseline − Factor × MAD
Then classic SuperTrend-style trailing constraints are applied so the active band persists until a true regime break occurs.
That produces a state engine:
* Bull regime when price breaks above the trailing upper logic (transition into trend-up state)
* Bear regime when price breaks below the trailing lower logic (transition into trend-down state)
This behaves like a structural market regime model, not a reactive oscillator.
4) Strength Engine (Deviation-Based Intensity)
A defining layer of this tool is the MAD Z-score intensity system:
* Compute Z-score:
z = |Close − Baseline| / MAD
* Map into a 0 → 1 strength scale
Interpretation:
* Low deviation = weak regime confidence (likely chop / mean reversion)
* High deviation = strong regime confidence (trend expansion)
5) Intensity Visual Engine (Signal Clarity Layer)
WMA MAD Trend includes a protected visual engine that scales opacity with strength:
* Strong expansion = solid trend band
* Weak deviation = faded band
This gives immediate clarity:
Not all flips are equal — strength is displayed structurally.
6) Optional Institutional Filters
Two optional confirmation modules allow institutional-grade filtering:
Baseline Confirmation
* Bull flips only accepted if price is above baseline
* Bear flips only accepted if price is below baseline
EMA Stack Filter
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These modules make the tool suitable for:
* Directional portfolio bias frameworks (RSPS)
* Regime classification overlays
* Trend confirmation filters for execution systems
7) Strong Flip Tier Alerts
Signal quality is tiered:
* Standard flip alerts
* Strong flip alerts only when deviation strength exceeds a threshold
This produces a higher-confidence regime transition model for swing positioning and exposure scaling.
How To Use
✅ Trend regime overlay
✅ Wick-resistant volatility trend filter
✅ MAD-based deviation strength engine
✅ Directional bias tool for portfolio systems
Best use cases:
* 1H–1D trend frameworks
* Regime filters for signal stacking
* Chop suppression in volatile markets
Suggested workflow:
* Bull bias when the regime is bullish and strength is rising
* Reduce risk / defensive when strength fades or a bearish flip occurs
* Pair with execution tools (breakout/mean-reversion entries) for timing
Screenshot Placement
📸 Example chart / screenshot: snapshot
bezgincan_BPA Integrated Market Analyzer (V6) -
Why?
This is an advanced oscillator powered by the v6 engine that combines the four main pillars of technical analysis —Volume, Trend, Volatility , and Momentum —into a single mathematical model. It eliminates chart clutter, allowing you to monitor market strength, speed, and saturation from a single panel.
Fourfold Analysis Logic:
Trend: Calculates the main direction and slope of the price using linear regression slope.
Momentum: Measures the strength of price movement using RSI-based normalized momentum data.
Volatility: Compares current volatility to historical averages via the ATR ratio.
Volume: By relating volume increases to momentum, it confirms the reality of the motion.
How to Use?
The display operates on a fixed, normalized scale between -100 and +100 :
Zero Line Intersections: When the BPA line crosses above 0 (Green Area) , it indicates increased buying pressure, and when it crosses below 0 (Red Area), it indicates increased selling pressure.
Extremes (Yellow Background): When the indicator rises above +70 or falls below -70 , it means the market is "overheated". These zones signal that the trend is exhausted and a correction (or profit-taking) may be imminent.
Signal Labels: The triangles on the chart represent zero-line intersections (trend reversal confirmation).
Why this indicator?
Normalized Scale: Unlike classic indicators, it always stays within the -100/+100 range, providing visual consistency.
Filtered Data: It doesn't just look at price; it incorporates volume and volatility to help filter out "fake" patterns.
Pine Script v6: Performs fast and optimized calculations with the latest Pine Script engine.
Relative Performance ComparisonThe Script was made to compare the performance of the YM and the NQ for a period of time that you can adjust with the lookback period. There is also the possibility to adjust the smoothing of the lines in the graph and you can enable or disable the several visuals. If you wish to compare something different then you could also enter the ticker of the assets that you want to compare.
For YM and NQ the idea is that they have a high correlation and that if one of them is weaker than the other one, the stronger one could have more potential in that direction. Or if for example the weaker one is shifting in sctructure then the stronger one could also shift in structure but has the possibility of more gain as it held stronger through the weakness of the other one.
Percentage Volume Oscillator (Up-Only Hist)Based on a regular PVO, it points all bars upwards for a clearer read on how participation is changing.
ATR + ADX Expansion This script plots in real time a shorter period ATR compared to a longer period ATR allowing one to see if the market has above or below average volatility. This helps avoid choppy sideways markets.
Secondly, the table shows whether ADX is expanding above its signal line, or contracting below it's signal line further identifying a market in expansion or contraction.
Any set up must be deployed in a healthy market environment, this indicator measures core statistics in real time to allow you see at a glance what state the market is in.
Impulse Trend ArrowsThis indicator is a volatility-normalized momentum + trend state tool designed to provide a clean “market regime” read: UP / DOWN / NEUTRAL, with optional visual confirmation on the chart. Works on collection of clasic indicators and some simple math.
⚙️ How it works (logic)
1) Adaptive baseline
The core reference line is an EMA(basisLen) acting as a dynamic equilibrium price. You can treat this setting as a sensitivity for entire thing.
2) ATR volatility envelope
An ATR channel is built around the baseline:
Upper Band = EMA + (ATR × multiplier)
Lower Band = EMA − (ATR × multiplier)
This scales signals to current volatility (tight markets vs. fast markets).
3) “Impulse” detection
Bull impulse when price is above both the baseline and the upper ATR band.
Bear impulse when price is below both the baseline and the lower ATR band.
4) Momentum confirmation (filters)
Signals are confirmed only when momentum agrees:
RSI must be on the correct side of 50
MACD Histogram must match direction (positive for bullish / negative for bearish)
So a signal requires price expansion (ATR breakout) + momentum agreement (RSI + MACD).
🧭 Trend state behavior
When a new BUY/SELL impulse is confirmed, the script updates a persistent trend state (“BUY”, “SELL”, or “NONE”).
That state stays active until the opposite confirmed impulse appears.
✅ Visuals & Usage
Made some minor, mostly visual upgrades on this release:
Baseline + ATR bands are smoothed for cleaner visuals.
Optional BUY/SELL arrows are plotted outside the channel to avoid overlap with channel.
Optional full-chart background shading reflects the current trend state:
Green = UPTREND
Red = DOWNTREND
A minimal top panel shows the current regime (UP / DOWN / NEUTRAL).
I also recently added this channel smoother parameter (for Dragon Channel), if you want it to have less spikes on those MAs just use the bigger number, I picked 8 for default.
Actualy its as simple as just follow the arrows direction, given the correct settings with slightly higher basisLen on higher TFs you can get prety accurate long shots. Ofcourse you can still can get random signals or noise on lower TFs, so it can be used as a background trend/momentum confirmation layer alongside your other favorite indicators or strategy tools.
Moving Averages - High_Low & Close/ Written by Love Sharma, CMT, CFTe , the concept is to identify when the moving average is rising and that too of highs and lows
//since there are various ways to generate signal from moving average but the high or low of MA has much weight of evidence as we are using the slope
One can just use the slope, or close above/below MA
//THE IDEA IS SIMPLE TO REMAIN RIGHT SIDE OF THE TREND
MIZAN v9.2: Volumetric Chaos ShieldTitle: MIZAN v9.2: Volumetric Chaos Shield (VCS)
Description:
MIZAN-VCS is an advanced trend-following system developed by Mizan Lab. It is designed to filter out market noise and identify high-probability entries powered by volume and momentum. It combines a dynamic "Path" algorithm with a Choppiness Index and Volume confirmation to keep traders out of dangerous ranging markets.
Key Features:
The Path (Dynamic Support/Resistance): Instead of standard moving averages, MIZAN uses a density-based path algorithm to find the true center of the price action.
Cyan Line: Bullish Trend
Orange Line: Bearish Trend
Volumetric Chaos Shield (VCS):
The indicator automatically detects "Choppy/Ranging" markets using the Choppiness Index.
When the market is choppy, the main trend line turns Gray and Thin, signaling "DO NOT TRADE".
Signals are suppressed during high chaos to prevent whipsaws.
Volume Confirmation:
A breakout is only valid if there is sufficient volume backing it. Weak moves are ignored.
OCC & L-Score Integration:
Uses a proprietary blend of RSI, CCI, and Volume to validate the "Reality" of a price move.
Built-in Trailing Stop:
Automatically plots a trailing stop line (Green/Red) to help you manage risk and lock in profits.
How to Use:
BUY Signal: When the line is Cyan (thick), Volume is Strong, and a "VOL BUY" label appears.
SELL Signal: When the line is Orange (thick), Volume is Strong, and a "VOL SELL" label appears.
WAIT: When the line is Gray (thin) and the Dashboard says "CHOP (WAIT)".
Dashboard: The bottom-right panel provides real-time status on Market Mode (Trend vs. Chop), Volume Strength, and developer credits.
Disclaimer: This tool is for educational purposes only. Always use proper risk management.
© Developed by Mizan Lab
Exhaustion 1-9 ScannerFind numbers to use in the scanner. If +9 or close is a berishsetup, if -9 or close is a bullish setup
Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
Liquidity Grab Engulfing.This indicator highlights Liquidity Sweep Engulfing candles:
• Bullish: previous candle bearish, current candle sweeps the previous low and closes above the previous high.
• Bearish: previous candle bullish, current candle sweeps the previous high and closes below the previous low.
Use it as a price-action confirmation tool alongside your support/resistance, structure, and risk management. This script is for educational purposes only and does not constitute financial advice.
Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
Adaptive ATR Trend FollowerDESCRIPTION:
A practical educational tool for learning volatility-based trend following. This indicator demonstrates how to use ATR-adjusted trailing stops to adapt to changing market conditions. It shows traders how to dynamically adjust stop distances based on market volatility rather than using fixed price levels.
WHAT MAKES IT UNIQUE:
• Three preset trading modes (Fast/Balanced/Smooth) optimized for different market environments
• ATR-based dynamic stops that automatically widen during high volatility and tighten during calm periods
• Clear visual trend zones with adjustable transparency for better chart readability
• Educational focus on risk management concepts and adaptive position sizing
• Signal markers that highlight exact trend change points for precise analysis
HOW IT WORKS:
1. Calculates Average True Range (ATR) to measure current market volatility
2. Creates dynamic trailing stops using: Current Price ± (ATR × Multiplier)
3. Automatically switches trend direction when price crosses the trailing stop level
4. Provides continuous visual feedback through colored zones, signal markers, and bar coloring
5. Updates stop levels in real-time as market conditions change
EDUCATIONAL VALUE:
This indicator serves as a learning tool for understanding:
- How to use ATR for dynamic position and risk management
- The importance of adapting trading systems to current volatility conditions
- Trend-following principles with immediate visual feedback
- Risk management techniques through adaptive stop placement
- The relationship between volatility and optimal stop distances
SETTINGS EXPLAINED:
• ATR Period (14): The lookback period for volatility measurement. Higher values give smoother readings.
• ATR Multiplier (3.0): Determines stop distance from price. Higher = wider stops, Lower = tighter stops.
• Trading Style: Fast (tight stops for active trading), Balanced (default settings), Smooth (wide stops for volatile markets)
• Price Smoothing (1): EMA period applied to price. Reduces noise for cleaner trend detection.
• Trend Fill Transparency (80%): Controls visibility of the colored trend zone between price and stop line.
RISK WARNING & DISCLAIMER:
This is an educational trend-following tool designed for learning purposes. Important considerations:
• May produce whipsaw signals during sideways/consolidating markets
• Works best in clearly trending market environments
• Always combine with other analysis techniques for confirmation
• Practice proper risk management - never risk more than you can afford to lose
• Past performance does not guarantee future results
• This is NOT financial advice. Use at your own risk and discretion.
USE CASES:
- Learning about volatility-based trading systems and concepts
- Identifying potential trend direction changes with visual confirmation
- Setting adaptive stop-loss levels that adjust to market conditions
- Educational tool for understanding how ATR affects position management
- Visual study of how volatility impacts trend-following strategies
COMPATIBILITY:
• Works on all markets: Forex, Stocks, Crypto, Commodities, Indices
• Effective on multiple timeframes (5-minute to daily charts recommended)
• Compatible with other indicators for multi-factor analysis
INSTALLATION & USAGE:
1. Add indicator to your chart
2. Start with "Balanced" mode for most markets
3. Adjust ATR multiplier based on your risk tolerance
4. Use signals as potential entry/exit points (with confirmation)
5. Observe how stops adapt to changing volatility conditions
EDUCATIONAL TIP:
Try switching between Fast/Balanced/Smooth modes to see how different settings perform in various market conditions. Notice how wider stops (Smooth mode) can prevent premature exits during volatile trends, while tighter stops (Fast mode) may work better in calm, steady trends.
Adaptive Trend Checklist (EMA + Supertrend + ADX)Adaptive Trend Checklist is a market context and validation tool designed for discretionary traders who prioritize structure, risk control, and trade quality over aggressive signal chasing.
The script combines EMA, Supertrend, and ADX, with optional multi-timeframe (HTF) confirmation, to provide a clear view of market conditions before entering a trade.
This is not a signal-spamming indicator.
It is a visual checklist that helps identify when to trade, when to reduce risk, and when to stay out of the market.
🔹 Key Features
🔁 Automatic timeframe adaptation
Parameters (EMA, ATR, ADX, Supertrend) automatically adjust based on the current chart timeframe.
🧠 Trend & range filtering
Uses ADX and price structure to filter out ranging and low-probability market conditions.
⏱️ Multi-timeframe market context (optional)
Confirms directional bias using higher timeframes.
🧮 Risk classification
Trades are classified as:
NORMAL
REDUCED
NO TRADE
📋 Clear visual checklist
Displays in real time:
trading mode,
trend status,
ADX condition,
market session,
recommended risk level.
🎯 Integrated trade management
Automatically plots:
Entry
Stop Loss
Take Profits (TP1, TP2, TP3)
Position size in dollars based on selected risk.
🚫 No repaint
🚫 No signal spam
🚫 No win-rate promises
⚠️ Important Notice
This script is not intended for fully mechanical or automated trading.
It is designed as a decision-support tool for traders who understand market structure, context, and risk management.
Performance depends on:
market conditions,
timeframe,
and trader discipline.
👤 Who Is This For?
✔️ Discretionary traders
✔️ Scalpers & intraday traders seeking better filters
✔️ Swing traders needing HTF context
❌ Not recommended for blind signal following
📎 Usage Recommendation
Use it as a primary market filter, not as a standalone signal.
Combine it with your own entry criteria.
[CT] ORB SuiteThis indicator is an Opening Range first tool that also includes an Initial Balance framework, breakout detection, and a full target and alerting package. It is designed to define a clean Opening Range at the start of the regular trading session and then turn that range into an actionable breakout structure by plotting the key levels, projecting measured targets, and visually confirming the exact breakout candle on your chart. The Opening Range component can be configured as either the first bar of the session or a true time-based duration, such as 1, 2, 5, 10, 15, 30 minutes, or 1 hour, which lets you standardize the opening structure across different chart timeframes without needing to “count bars.” As price prints during the Opening Range window, the script continuously updates the OR high and OR low, then locks those levels once the window closes so you have a stable reference for the rest of the session. The OR area can be shaded for quick visual recognition, and an optional OR midpoint line and label can be displayed to help you judge whether price is accepting above the middle of the range or failing back through it.
Once the Opening Range is formed, the script upgrades the workflow by adding breakout qualification rules that you can control. You can choose confirmation based on a body cross, a close cross, or a close above or below the range boundary, which is a meaningful improvement over simple “touch” logic because it helps reduce false signals and makes the breakout trigger more consistent with how you actually trade. When a breakout is confirmed, the indicator can highlight the breakout candle itself so there is no ambiguity about which bar triggered the signal. You can highlight the candle body, the chart background, or both, and you can select separate colors for long and short breakouts. This makes chart review and live decision-making cleaner because you can immediately see where the breakout truly occurred instead of guessing between several candles that probed the level.
The next major upgrade is the breakout target system. After a long breakout, targets are calculated as true multiples of the Opening Range size, starting from the OR high and projecting upward by the selected multiples. After a short breakout, targets are calculated from the OR low and projected downward by the same multiple logic. By default, the script supports four take-profit targets, TP1 through TP4, with sensible preset multiples that step outward in a structured way, but you can customize each multiple to match your instrument and style. This target system is a practical enhancement because it provides objective, range-based profit-taking levels that align with common intraday expansion behavior rather than arbitrary fixed tick offsets. You also get full control over whether the target lines and labels appear only after a breakout triggers, which keeps the chart clean and prevents “pre-biasing,” or whether you want to see projected targets in both directions before the breakout occurs for planning and scenario mapping. In addition, the target hit detection is configurable so you can decide whether a target is considered “hit” by a simple high or low touch or only after a close crosses the target, which is important for traders who want stricter confirmation and cleaner backtesting logic.
Beyond the OR and targets, the indicator includes a complete Initial Balance module as an additional layer of structure. The IB duration is selectable and independent, and the script can plot IB high, IB low, and an optional IB midpoint, with optional fill shading to make the balance area obvious. A key upgrade here is the ability to base the breakout targets on either the Opening Range or the Initial Balance. This means you can run a pure OR breakout playbook, a pure IB breakout playbook, or compare both structures on the same session without changing indicators. This flexibility matters because OR breakouts tend to be more sensitive and earlier, while IB-based levels often better reflect the session’s early balance and can produce more stable expansion targets.
Another major improvement is the history and session management. The script can freeze all drawings at the end of the session so lines and fills do not incorrectly extend into the next day, and it can optionally keep a configurable amount of history, such as the last 20 sessions, so you can study how price reacts to prior OR and IB structures. You also have control over whether IB should be included in that stored history, which helps if you want a cleaner chart while still retaining the OR context. To support different chart themes and personal preferences, label styling is expanded with controls for label background colors, text colors, transparency, and horizontal offsets, so the levels remain readable without covering price action.
Finally, the alerting system is upgraded into a full set of actionable events. The indicator can generate alerts for session open and session close, for the moment the Initial Balance forms, for the moment the Opening Range forms, for long and short breakouts, and for each target hit from TP1 through TP4. Alerts can be used in standard alertcondition form or as dynamic alert() calls that include price-filled messages, which is a practical enhancement for traders who want their phone or desktop notifications to contain the exact level values rather than generic labels.
This script is a derivative work built on the original Initial Balance foundation authored by © czoa under the Mozilla Public License 2.0, with extensive additions and improvements by © ChaosTrader63 to expand it into a complete Opening Range and Initial Balance breakout suite. The core upgrades are the configurable time-based Opening Range, breakout candle highlighting, multi-target measured range projections through TP4 with optional pre-projection behavior, stricter breakout confirmation modes, target hit rules, richer history controls, stronger label customization, and a comprehensive alert system that turns the session structure into a usable trade planning and execution framework directly on TradingView.
Adaptive Kinetic Ribbon [QuantAlgo]🟢 Overview
The Adaptive Kinetic Ribbon indicator synthesizes price velocity and volatility dynamics to identify trend direction, momentum strength, and acceleration phases across varying market conditions. It combines velocity-based momentum measurement, adaptive volatility weighting, dual-speed ribbon analysis, and acceleration-deceleration detection into a unified visual system that quantifies periods of sustained directional movement and momentum shifts, helping traders and investors identify trend continuation and reversal signals across various timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its adaptive kinetic approach, where velocity and volatility components are calculated dynamically and then smoothed through an adaptive alpha mechanism.
First, Velocity is measured to capture raw directional momentum by calculating the net price change over the lookback period:
velocity = source - source
This creates a momentum vector that quantifies how far and in which direction price has moved, providing the foundation for understanding trend strength and establishing whether the market is in a sustained directional phase.
Then, Volatility is computed to evaluate price variability and market noise by analyzing the standard deviation of bar-to-bar price changes:
volatility = ta.stdev(source - source , length) * mult
The volatility sensitivity multiplier allows traders to adjust how responsive the indicator is to market noise, with higher values creating faster adaptation during volatile periods and lower values maintaining stability during choppy conditions.
Next, Adaptive Alpha is calculated to create a dynamic smoothing coefficient that automatically adjusts based on the relationship between velocity and volatility:
adaptive_alpha = math.abs(velocity) / (math.abs(velocity) + volatility)
This alpha value ranges from 0 to 1, where values closer to 1 indicate strong, clear directional movement (high velocity relative to volatility), causing the indicator to respond quickly, while values closer to 0 indicate noisy, range-bound conditions (high volatility relative to velocity), causing the indicator to smooth more heavily and filter out false signals.
Following this, the Kinetic Line is constructed using exponential smoothing with the adaptive alpha coefficient:
var float kinetic_line = na
kinetic_line := na(kinetic_line ) ? source : kinetic_line + adaptive_alpha * (source - kinetic_line )
This creates an adaptive moving average that automatically adjusts its responsiveness: during strong trends with clear velocity, it tracks price closely like a fast EMA; during choppy, volatile periods, it smooths heavily like a slow SMA, providing optimal trend identification across varying market regimes without manual parameter adjustment.
Then, Ribbon Lines are generated by applying additional moving average smoothing to the kinetic line at two different speeds:
ribbon_fast = ma(kinetic_line, ribbon_fast_length, ma_type)
ribbon_slow = ma(kinetic_line, ribbon_slow_length, ma_type)
The dual-ribbon structure creates a visual envelope around the kinetic line, where the fast ribbon responds quickly to kinetic changes while the slow ribbon provides trend confirmation, with crossovers between these ribbons generating primary trend reversal signals.
Finally, Trend State and Acceleration are determined by analyzing the relative positioning and directional movement of the ribbon lines:
trend_up = ribbon_fast > ribbon_slow
acceleration = ribbon_fast > ribbon_fast
ribbonColor = trend_up ?
acceleration ? bullAccel : bullDecel :
not acceleration ? bearAccel : bearDecel
This creates a four-state classification system that distinguishes between bullish acceleration (uptrend strengthening), bullish deceleration (uptrend weakening), bearish acceleration (downtrend strengthening), and bearish deceleration (downtrend weakening), providing traders with nuanced momentum insights beyond simple bullish/bearish binary signals.
🟢 Signal Interpretation
▶ Bullish Acceleration (Bright Green): Fast ribbon above slow ribbon AND fast ribbon rising, indicating confirmed uptrend with building momentum = Strongest bullish condition, ideal for new long entries, adding to positions, or holding existing longs with confidence
▶ Bullish Deceleration (Dark Green): Fast ribbon above slow ribbon BUT fast ribbon falling, indicating uptrend intact but momentum weakening = Caution signal for longs, potential trend exhaustion developing, consider tightening stops or taking partial profits
▶ Bearish Acceleration (Bright Red): Fast ribbon below slow ribbon AND fast ribbon falling, indicating confirmed downtrend with building momentum = Strongest bearish condition, ideal for new short entries, exiting longs, or maintaining defensive positioning
▶ Bearish Deceleration (Dark Red): Fast ribbon below slow ribbon BUT fast ribbon rising, indicating downtrend intact but momentum weakening = Caution signal for shorts, potential trend exhaustion developing, prepare for possible reversal or consolidation
▶ Bullish Crossover: Fast ribbon crosses above slow ribbon, signaling trend reversal from bearish to bullish and initiation of new upward momentum phase = Primary buy signal, entry opportunity for trend-following strategies, exit signal for short positions
▶ Bearish Crossover: Fast ribbon crosses below slow ribbon, signaling trend reversal from bullish to bearish and initiation of new downward momentum phase = Primary sell signal, entry opportunity for short strategies, exit signal for long positions
▶ Ribbon Spread Width: Distance between fast and slow ribbons indicates trend strength and conviction, where wider spreads suggest strong, sustained directional movement with low reversal probability, while tight or converging ribbons indicate weak trends, consolidation, or impending reversal conditions
▶ Bar Color Alignment: When bar coloring is enabled, candlestick colors mirror the ribbon state providing immediate visual confirmation of momentum conditions directly on price action, eliminating the need to reference the indicator separately and enabling faster decision-making during active trading
🟢 Features
▶ Preconfigured Presets: Three optimized parameter configurations accommodate different trading styles, timeframes, and market analysis approaches: "Default" provides balanced trend identification suitable for swing trading on 4-hour and daily charts, "Fast Response" delivers heightened sensitivity optimized for intraday trading and scalping on 5-minute to 1-hour charts, and "Smooth Trend" offers conservative trend identification ideal for position trading and long-term analysis on daily to weekly charts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend reversals and momentum transitions. "Bullish Crossover" triggers when the fast ribbon crosses above the slow ribbon, signaling the shift from downtrend to uptrend and the beginning of bullish momentum building. "Bearish Crossover" activates when the fast ribbon crosses below the slow ribbon, signaling the shift from uptrend to downtrend and the beginning of bearish momentum building. "Any Ribbon Crossover" provides a combined notification for either bullish or bearish crossover regardless of direction, useful for general trend reversal monitoring and ensuring no momentum shift goes unnoticed.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Cyber, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast and immediate identification of acceleration versus deceleration states across various devices and screen sizes. Each preset uses distinct colors for the four momentum states (bullish acceleration, bullish deceleration, bearish acceleration, bearish deceleration) with proper visual hierarchy. Optional bar coloring with adjustable transparency provides instant visual context of current momentum state and trend direction without switching between the price pane and indicator pane, enabling traders and investors to immediately assess trend positioning and acceleration dynamics while analyzing price action patterns and support/resistance levels.






















