Ultimate Trend Dashboard [Multi-Timeframe]This is a Universal Market Scanner designed for Crypto, Forex, and Metals (Gold/Silver). Instead of checking multiple charts one by one, this dashboard monitors 4 different timeframes instantly from a single screen.
### ๐ง How It Works ( The Logic) The system uses a "Double Confirmation" strategy to determine the true trend direction: 1. Supertrend: Checks if the momentum is Bullish or Bearish. 2. EMA 200 Filter: Checks if the price is above or below the 200-period Exponential Moving Average (The most important long-term trend line).
A signal is only generated if BOTH indicators agree.
### ๐ Dashboard Overview The panel on the screen scans the following timeframes (Adjustable in settings): * 15 Minutes (Scalping Trend) * 1 Hour (Intraday Trend) * 4 Hours (Swing Trend) * Daily (Major Trend)
### ๐ฆ How to Use (Step-by-Step)
1. Look at the "TOTAL" Row: The script calculates a score based on all timeframes.
2. STRONG BUY ๐ (All Green): * Meaning: All timeframes (Short & Long term) are Bullish. * Action: Look for Long entries. Do not Short.
3. STRONG SELL ๐ป (All Red): * Meaning: All timeframes are Bearish. * Action: Look for Short entries. Do not Buy.
4. NEUTRAL โ ๏ธ (Mixed Colors): * Meaning: The market is confused (e.g., Daily is Bullish but 15min is Bearish). * Action: Wait. Do not force a trade until the trend aligns.
### โ๏ธ Customization * You can change the Timeframes (e.g., set them to 5m, 15m, 1h, 4h) in the settings. * You can move the table position (Right, Left, Center) to fit your screen. * Works on ANY asset class (BTC, ETH, XAUUSD, EURUSD, Stocks).
Trendanalyse
Future Swing [BigBeluga]๐ต OVERVIEW
Future Swing is a swing-based projection tool that estimates the potential size and price target of the next swing move using historical swing behavior.
Instead of predicting direction randomly, it analyzes completed swing legs, measures their percentage moves, and projects a statistically derived swing target into the future.
The indicator combines swing structure, high/low zones, volume context, and a real-time dashboard to help traders anticipate where price may travel next.
๐ต CONCEPTS
Swing Detection โ Swing highs and lows are identified using a configurable lookback length.
Swing Percentage Tracking โ Each completed swing leg is converted into a percentage move and stored.
Statistical Projection โ Future swing size is estimated using Average, Median, or Mode of past swing percentages.
Directional Awareness โ Projections adapt automatically based on current swing direction.
๐ต FEATURES
Historical Swing Sampling โ
โข Uses a user-defined number of completed swings.
โข More samples = smoother projection, fewer samples = faster adaptation.
Future Swing Projection โ
โข Dashed line projects the estimated swing target forward in time.
โข Projection distance is visual-only and does not affect calculations.
High/Low Swing Zones โ
โข Upper and lower swing zones expand using ATR distance.
โข Zones visualize potential reaction and rejection areas.
Volume Context per Swing โ
โข Buy and sell volume are accumulated during each swing leg.
โข Delta and total volume are displayed in the dashboard.
Smart Dashboard โ
โข Displays each stored swing percentage.
โข Shows calculated swing projection value.
Flexible Projection Method โ
โข Average: smooth and balanced.
โข Median: filters out extreme outliers.
โข Mode: focuses on the most common swing size.
Extendable Zones โ
โข Swing zones can optionally extend forward indefinitely.
๐ต HOW TO USE
Anticipate Swing Targets โ Use the projected swing line as a probabilistic price objective.
Combine with Structure โ Align projections with support, resistance, or liquidity zones.
Filter by Volume โ Confirm swing quality using delta and total volume metrics.
Adjust Sensitivity โ Tune swing length and historical sample size to match timeframe and volatility.
Context, Not Certainty โ Use projections as guidance, not fixed take-profit levels.
๐ต CONCLUSION
Future Swing transforms past swing behavior into a forward-looking projection model.
By combining swing structure, statistical aggregation, ATR zones, and volume analysis, it offers traders a structured way to estimate where the next meaningful price move may reach โ without relying on fixed targets or subjective assumptions.
Smart Trader, Episode 03, by Ata Sabanci, Candles and TradelinesA volume-based multi-block analysis system designed for educational purposes. This indicator helps traders understand their current market situation through aggregated block analysis, volumetric calculations, trend detection, and an AI-style narrative engine.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
DESIGN PHILOSOPHY: CLEAN CHART, RICH DASHBOARD
Traditional indicators often clutter charts with dozens of support/resistance lines, making it difficult to see price action clearly. This indicator takes a different approach:
The Chart:
Displays only the most meaningful, nearest levels (1 up, 1 down) that have not been consumed by price. This keeps your chart clean and focused on what matters right now.
The Dashboard:
Contains all detailed metrics, calculations, and analysis. Instead of drawing 20 lines on your chart, you get comprehensive data in an organized table format.
Why this approach?
โข A clean chart allows you to see price action without visual noise
โข Fewer but more meaningful levels help focus attention on immediate reference points
โข The dashboard provides depth without sacrificing chart clarity
โข Beginners can learn chart reading with an uncluttered view while accessing detailed analysis when needed
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. BLOCK SEGMENTATION
What it does:
Divides the analysis window into fixed-size blocks. Each block contains multiple bars that are analyzed as a single unit.
Why:
Individual bars contain noise. A single red candle in an uptrend might cause unnecessary concern, but when you view 5-10 bars as one block, the overall direction becomes clear. Block segmentation filters out bar-to-bar noise and reveals the underlying structure.
Benefit:
โข Clearer view of market structure at a higher aggregation level
โข Enables comparison between time periods (Block 1 vs Block 2 vs Block 3)
โข Creates the foundation for composite candles and trend detection
โข Reduces emotional reaction to single-bar movements
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2. COMPOSITE CANDLES (FRACTAL CONCEPT)
What it does:
Each block generates a "ghost candle" representing aggregated OHLC:
โข Open: First bar's open in the block
โข High: Highest high across all bars in the block
โข Low: Lowest low across all bars in the block
โข Close: Last bar's close in the block
Why:
This is essentially a FRACTAL view of the market. The same candlestick patterns that appear on a daily chart also appear on hourly charts, and on 5-minute charts. By aggregating bars into composite candles, you create a synthetic higher timeframe view without changing your actual timeframe.
Benefit:
โข See higher timeframe patterns while staying on your preferred timeframe
โข Identify block-level candlestick patterns (Doji, Hammer, Marubozu, Engulfing, etc.)
โข Compare composite candle relationships: Does Block 1 engulf Block 2? Is Block 1 an inside bar relative to Block 2?
โข Recognize patterns that individual bars obscure due to noise
Fractal Nature:
A hammer pattern means the same thing whether it appears on a 1-minute chart or a weekly chart: price tested lower levels and was rejected. Composite candles let you see these patterns at your chosen aggregation level, providing a multi-scale view of market behavior.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3. VOLUME ENGINE
What it does:
This indicator is 100% VOLUME-BASED. It separates total volume into buying volume and selling volume using two methods:
Method 1 - Geometric (Approximation):
โข Buy Volume = Total Volume ร ((Close - Low) / Range)
โข Sell Volume = Total Volume ร ((High - Close) / Range)
Method 2 - Intrabar LTF (Precise):
Uses actual tick-level or lower timeframe data to determine real buy/sell distribution.
Why:
Raw volume tells you HOW MUCH was traded, but not WHO was aggressive. A large volume bar could mean heavy buying, heavy selling, or both. By separating buy and sell volume, you can identify which side is driving the market.
Benefit:
โข Identify whether buyers or sellers are more aggressive
โข Detect when volume contradicts price direction (divergence)
โข Measure accumulation (buying into weakness) vs distribution (selling into strength)
โข Quantify the delta (buy minus sell) to see net pressure
Why Delta Matters:
If price is rising but delta is negative, sellers are actually more aggressive despite the price increase. This divergence often precedes reversals because the price movement lacks volume confirmation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
4. PIN ANALYSIS (WICK MEASUREMENT)
What it does:
Calculates average upper pin (wick) and lower pin sizes for each block, then tracks how these change across consecutive blocks.
Why:
Upper pins represent price levels that were tested but rejected by sellers. Lower pins represent price levels that were tested but rejected by buyers. The size and direction of pins reveal rejection strength at specific price zones.
Benefit:
โข Large upper pins = strong selling pressure at higher levels
โข Large lower pins = strong buying support at lower levels
โข Increasing upper pins across blocks = intensifying selling pressure
โข Decreasing lower pins across blocks = weakening buying support
Why Track Pin Changes:
Pin behavior often changes before price direction changes. If lower pins are shrinking while price is still rising, the buying support that was defending dips is weakening. This is observable data, not prediction.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
5. TREND CHANNEL DETECTION
What it does:
Identifies trend direction using block-level price structure:
โข UPTREND: Block highs are higher than previous block highs, AND block lows are higher than previous block lows (HH/HL pattern)
โข DOWNTREND: Block highs are lower than previous block highs, AND block lows are lower than previous block lows (LH/LL pattern)
โข RANGE: No consistent directional pattern
Once detected, the system draws upper and lower channel boundaries by connecting extreme points within each trend segment.
Why:
HH/HL and LH/LL are the classical definitions of trend. By applying this logic to composite candles (blocks) rather than individual bars, the trend detection becomes more stable and less prone to whipsaws from single-bar noise.
Benefit:
โข Clear visual boundaries showing the current trend channel
โข Upper channel line = dynamic resistance based on actual price structure
โข Lower channel line = dynamic support based on actual price structure
โข Channel angle indicates trend strength (steeper = stronger)
โข Channel width indicates volatility
Why Lock Trend States:
Once a block's trend classification is determined, it locks and does not change on subsequent recalculations. Without locking, the same block could flip between UP and DOWN repeatedly, creating inconsistent analysis. Locking ensures stability.
Why Project Lines Forward:
Channel lines can be projected into the future to show where support/resistance would be if the current trend continues at the same angle. This is not a prediction; it is a visual reference showing the trend's trajectory.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
6. CORE LEVELS: POC, MAX BUY, MAX SELL
What it does:
Identifies key price levels within each block based on volume data:
POC (Point of Control):
The price level where the highest total volume occurred within the block.
MAX BUY Level:
The bar with the highest buying volume. The HIGH of this bar marks the level.
MAX SELL Level:
The bar with the highest selling volume. The LOW of this bar marks the level.
MIN BUY/SELL Levels:
Optional levels showing where minimum buy/sell volume occurred.
Why:
High volume at a specific price means many participants entered positions there. These participants have a vested interest in that price level. If price returns to that area, those same participants may act to defend their positions.
Benefit:
โข POC acts as a volume-based magnet; price tends to revisit high-volume areas
โข MAX BUY level shows where buyers committed most aggressively
โข MAX SELL level shows where sellers committed most aggressively
โข These levels are based on actual transaction data, not arbitrary calculations
Why Consumed Levels Disappear:
When price crosses through a level, that level has been "tested." Keeping consumed levels on the chart creates visual clutter and suggests they are still relevant when they may no longer be. Removing them keeps focus on levels that have not yet been tested.
Why Show Only Nearest Levels:
If you have 20 blocks, you could have 60+ potential levels (POC, MAX BUY, MAX SELL for each). Displaying all of them makes the chart unreadable. Showing only the nearest untested level above and below current price keeps the chart clean while providing immediate reference points.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
7. QUALITY SCORE AND TREND INTELLIGENCE
What it does:
Calculates a quality score (0-100) for the current trend based on multiple factors:
โข Angle steepness (stronger trends have steeper angles)
โข Delta consistency (does volume support the trend direction?)
โข Volume momentum (is participation increasing or decreasing?)
โข Body expansion (are candle bodies growing or shrinking?)
โข Pin alignment (do pins support the trend direction?)
โข Contradiction count (how many factors disagree?)
Why:
Not all trends are equal. A trend with consistent volume support, expanding bodies, and aligned pins is healthier than a trend with contradicting signals. The quality score quantifies this.
Benefit:
โข HIGH quality (80+): Multiple factors confirm the trend
โข MEDIUM quality (60-79): Some factors confirm, some neutral
โข LOW quality (below 60): Multiple contradictions exist
โข Strength rating based on channel angle: VERY STRONG, STRONG, MODERATE, WEAK
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
8. NARRATIVE ENGINE
What it does:
Generates a text-based market analysis by synthesizing all calculated data into readable sentences.
How it works:
1. Analyzes current candle: pattern type (Doji, Hammer, Marubozu, etc.), body/wick ratios, range vs ATR
2. Analyzes composite candle: Block 1 pattern and relationship to Block 2 (Engulfing, Inside, Outside)
3. Evaluates trend context: direction, duration, quality, transitions
4. Examines volume data: delta, dominance, momentum direction
5. Checks proximity to key levels: channel boundaries, POC, core levels
6. Identifies divergences: when price and volume directions contradict
7. Produces a coherent narrative describing the current situation
Why:
Numbers and charts require interpretation. The narrative engine translates calculated data into plain language, helping traders understand what the data means in context. This is especially valuable for beginners learning to read charts.
Benefit:
โข Synthesizes multiple data points into a coherent story
โข Explicitly flags divergences and contradictions
โข Describes the current situation without making predictions
โข Educational: shows how different factors relate to each other
What the Narrative Does NOT Do:
The narrative describes what IS, not what WILL BE. It does not predict future price movement. It reports the current candle pattern, the current trend state, the current volume situation, and the current proximity to levels.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
9. SMART DASHBOARD
What it does:
Displays all metrics in an organized table with multiple sections.
Sections:
โข Volume Engine: Calculation method, data availability, current candle buy/sell/delta
โข Trend Volumetrics: Aggregated buy/sell/delta across the current trend, trend type
โข Pressure and Momentum: Average pins, pin change percentages, body expansion status
โข Trend Channel Boundaries: Upper/lower levels with exact prices, distances, percentages
โข Trend Intelligence: Quality score, confidence level, strength rating, volume momentum
Why:
All the detailed calculations need to live somewhere without cluttering the chart. The dashboard provides comprehensive data in a structured format.
Benefit:
โข All metrics in one place
โข Organized by category for easy reference
โข Hover over any label to see a tooltip explaining that metric
โข No need to draw dozens of lines on the chart
TIP: Hover over dashboard headers and labels to see tooltips explaining each metric.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
10. LANGUAGE SUPPORT
The indicator supports three languages:
โข English
โข Tรผrkรงe (Turkish)
โข เคนเคฟเคจเฅเคฆเฅ (Hindi)
Why only three languages?
Each additional language requires duplicate strings throughout the code, increasing memory usage and compilation time. To keep the script optimized and responsive, language options are limited to these three.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
11. DATA ACCURACY AND LIMITATIONS
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations.
DATA ACCURACY LEVELS:
โข 1T (Tick): Most accurate, real volume distribution per tick
โข 1S (1 Second): Reasonably accurate approximation
โข 15S (15 Seconds): Good approximation, longer historical data available
โข 1M (1 Minute): Rough approximation, maximum historical data range
BACKTEST AND REPLAY LIMITATIONS:
โข Replay mode results may differ from live trading due to data availability
โข For longer backtest periods, use higher LTF settings (15S or 1M)
โข Not all symbols/exchanges support tick-level data
โข Crypto and Forex typically have better LTF data availability than stocks
A NOTE ON DATA ACCESS:
Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable calculations.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
12. SETTINGS OVERVIEW
Main Settings:
โข Window Bars: Total bars to analyze
โข Group Count: Number of blocks to create
โข Calculation Basis: Current bar (live updates) or Closed bar (stable, no repaint)
Block Analytics:
โข Show Composite Candle: Toggle ghost candles on/off
โข Composite Candle Transparency: Adjust visibility
โข Dim Original Candles: Fade original candles when composites are shown
Volume Engine:
โข Calculation Method: Geometric (approx) or Intrabar (precise)
โข Lower Timeframe: Select LTF for intrabar calculations
Multi-Segment Trend:
โข Enable Trend Detection: Toggle trend channels on/off
โข Range Angle Threshold: Angle below which trend is classified as RANGE
โข Line colors, width, and style
โข Project to Future: Extend trend lines forward
Core Calculation:
โข Enable Core Calculation: Toggle POC and core levels
โข Show POC Nearest Up/Down: Display nearest untested POC levels
โข Include MAX/MIN Buy/Sell Levels: Toggle extremes display
โข Nearest Only: Show only the closest level above and below price
Market Narrative:
โข Enable Market Narrative: Toggle narrative text
โข Language selection
โข Show Educational Disclaimer: Toggle disclaimer in dashboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EDUCATIONAL PURPOSE
This indicator is designed to help traders:
1. Understand their current market situation at a glance
2. Learn chart reading through block analysis and composite candles
3. See how volume relates to price movement
4. Recognize when technical factors align or contradict
5. Focus on meaningful levels without chart clutter
Whether you are a beginner learning to read charts or an experienced trader seeking a cleaner analytical view, this tool provides structured data to support your analysis.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
IMPORTANT DISCLAIMER
This indicator is for EDUCATIONAL PURPOSES ONLY and does not constitute investment advice. Always conduct your own research and consult with a qualified financial advisor before making investment decisions.
This disclaimer is also displayed within the indicator itself. If you prefer a cleaner chart, you can disable it in Settings under Market Narrative by unchecking Show Educational Disclaimer.
Regression Slope Oscillator [BigBeluga]๐ต OVERVIEW
The Regression Slope Oscillator is a trendโmomentum tool that applies multiple linear regression slope calculations over different lookback ranges, then averages them into a single oscillator line. This design helps traders visualize when price is extending beyond typical regression behavior, as well as when momentum is shifting up or down.
๐ต CONCEPTS
Regression Slope โ Measures the steepness and direction of price trends over a selected length.
f_log_regression(src, length) =>
float sumX = 0.0
float sumY = 0.0
float sumXSqr = 0.0
float sumXY = 0.0
for i = 0 to length - 1
val = math.log(src )
per = i + 1.0
sumX += per
sumY += val
sumXSqr += per * per
sumXY += val * per
slope = (length * sumXY - sumX * sumY) / (length * sumXSqr - sumX * sumX)
slope*-1
MultiโSample Averaging โ Instead of relying on one regression slope, the indicator loops through many lengths (from Min Range to Max Range with Step increments) and averages their slopes.
multiSlope(length)=>
// Get regression slope
slope = f_log_regression(close, length)
slopAvg.push(slope)
for i = minRange to maxRange by step
multiSlope(i)
Color Gradient โ The oscillator and candles are colored dynamically from oversold (orange) to overbought (aqua), based on slope extremes observed within the userโdefined Color Range.
Trend Oscillation โ When the oscillator rises, price trend is strengthening; when it falls, momentum weakens.
๐ต FEATURES
Calculates regression slopes across a userโdefined range (e.g., 10โ100 with steps of 5).
Averages all sampled slopes into a single oscillator line.
Dynamic coloring of oscillator and chart candles based on slope values.
Userโcontrolled Color Range :
High values (e.g., 50โ100) โ interpret as overbought vs oversold zones.
Low values (e.g., 2โ5) โ interpret as slope rising vs falling momentum shifts.
Dashboard table (topโright) displaying number of slope samples and current averaged slope value.
Candle coloring mode (optional) โ candles take on the oscillator gradient color for atโaโglance reading of trend bias.
Signal Line (SMA) โ A moving average of the slope oscillator used to identify momentum reversals.
Bullish Reversal Signal โ Triggered when the oscillator crosses above the signal line while below zero, indicating downside momentum exhaustion and potential trend recovery.
Bearish Reversal Signal โ Triggered when the oscillator crosses below the signal line while above zero, indicating upside momentum exhaustion and potential trend rollover.
Dual Placement Signals โ Reversal signals are plotted both:
On the oscillator pane (for momentum context)
On the price chart (for execution alignment)
Confirmation Logic โ Signals are only printed on confirmed bars to reduce repainting and false triggers.
๐ต HOW TO USE
Watch the oscillator cross above/below zero: signals shifts in regression slope direction.
Use the signal line crossovers near zero to identify early trend reversals.
Use high Color Range settings to identify potential overbought/oversold extremes in trend slope.
Use low Color Range settings for a faster, momentumโdriven color change that tracks slope rising/falling.
Candle coloring highlights shortโterm trend pressure in sync with the oscillator.
Combine reversal signals with structure, support/resistance, or volume for higherโprobability entries.
๐ต CONCLUSION
The Regression Slope Oscillator transforms raw regression slope data into a smooth, colorโcoded oscillator. By averaging across multiple regression lengths, it avoids the noise of singleโrange analysis while still capturing trend extensions and momentum shifts.
With the addition of signal line crossovers and confirmed reversal markers, the indicator now provides both trend context and actionable momentum signals within a single regression-based framework.
Point of Control [BigBeluga]๐ต OVERVIEW
Point of Control identifies the exact price level with the highest traded volume over a selected lookback period.
This levelโcalled the Point of Control (PoC) โmarks where the greatest market participation occurred, representing a zone of highest volume.
The indicator helps traders visualize dominant volume concentrations, fair-value levels, and structural balance within recent price action.
๐ต CONCEPTS
Point of Control (PoC) โ The single price level within the defined lookback range that has accumulated the most traded volume.
Volume Distribution Bins โ The price range is divided into 25 equal bins, and volume is aggregated per bin to locate the maximum concentration.
Range Boundaries โ The highest and lowest price within the lookback window are used to form the upper and lower reference limits.
PoC Channel โ Optional upper and lower bands plotted around the main PoC to visualize a fair-value corridor.
Volume Intensity Mapping โ Candle color dynamically shifts based on the candleโs position relative to the PoC channel, showing whether price is balanced or trending away from high-volume levels.
๐ต FEATURES
Configurable Lookback Range โ Adjust how many bars (10โ400) are used for calculating the PoC.
Precise PoC Calculation โ Volume aggregation across 25 bins to identify the exact volume peak.
Dynamic Channel Visualization โ PoC bands above and below the central level to indicate equilibrium tolerance.
Adaptive Candle Coloring โ
- Neutral โ price inside PoC channel. Gray
- Bullish โ price above PoC channel. Blue ๐ต
- Bearish โ price below PoC channel. Orange ๐
Automatic Volume Labeling โ Displays total volume at the active PoC level for quick reference.
Directional Indicators โ ๐ต or ๐ markers appear when price shifts above or below the PoC channel.
Range Visualization โ Plots the highest and lowest points of the active lookback window for contextual awareness.
Live Updating Logic โ PoC recalculates automatically every 15 bars for efficient chart performance and accuracy.
๐ต HOW TO USE
Volume Anchoring โ Use PoC as a reference for where the majority of volume occurred; price often reacts to or consolidates around this level.
Trend Confirmation โ Sustained price movement away from PoC channel may signal developing directional imbalance.
Value Tracking โ Watch the shifting of PoC across time to identify where fair value migrates during market evolution.
Equilibrium Mapping โ When price hovers around PoC, the market is balanced; when it departs, a new value zone may form.
Combine With Volume Profiles โ Use alongside profile tools for higher-resolution analysis of institutional activity.
๐ต CONCLUSION
Point of Control provides a pure, volume-centric view of market balance by pinpointing where most transactions occurred within any chosen range.
It delivers a clean and efficient visualization of fair value zonesโhelping traders track the heartbeat of market participation, recognize dominant liquidity areas, and stay aligned with where true market interest resides.
Historical Returns [BigBeluga]๐ต OVERVIEW
The Historical Returns indicator visualizes daily and monthly return data to help traders assess seasonal performance and volatility behavior. It provides a clean and informative dashboard showing the current monthโs daily return bubbles, monthly return curves, and a snapshot of the current month and year performance. This tool is ideal for spotting recurring return patterns and understanding the broader profitability context of a symbol.
๐ต CONCEPTS
Daily Return Bubbles: Each trading day is analyzed for its return percentage, and plotted as a bubble with size proportional to the return magnitude.
Monthly Performance Curves: Average or cumulative returns are calculated and plotted to show how the current month is performing relative to historical averages.
Current Year Return: Current year performance as a single return value, giving traders context on long-term profitability.
Current Month Average Return: Current month average performance as a single return value, giving traders context on short-term profitability.
Extreme Return Labels: Optionally highlights daily returns above +4% or below -4% with labeled percentages for spike recognition.
๐ต FEATURES
Shows daily return bubbles (1%โ7%+), color-coded by direction.
Labels monthly returns with the month name and percentage value.
Displays a performance dashboard with:
Daily return heatmap for the current month.
Average return for the current month.
Year-to-date return.
Toggle between average and cumulative modes for monthly return curves.
Clearly marks days with abnormal return spikes using optional labels.
Clean fallback warning if not on a daily chart ("โ ๏ธUSE DAILY TIMEFRAME").
Custom color themes for bullish and bearish values.
๐ต HOW TO USE
Use the monthly return curve to compare how the current month is performing against historical averages.
Look for clusters of positive or negative bubbles as signals of strong directional weeks.
Watch extreme return labels for volatility spikes or catalyst days.
Use year-to-date return to assess how the asset is trending in the broader macro cycle.
Combine with other BigBeluga tools to align trades with historically favorable periods.
๐ต CONCLUSION
Historical Returns is your visual companion for return analytics โ helping you identify profitable months, detect volatility surges, and understand historical seasonality at a glance. With a clean dashboard and insightful overlays, this tool supports better timing and improved statistical edge in both short- and long-term trades.
TZ - India VIX Volatility ZonesTZ โ India VIX Volatility Zones is a long-term volatility analysis indicator designed to visually map important India VIX regimes using clearly defined horizontal zones and labels.
The indicator highlights how market volatility cycles between complacency, normal conditions, elevated risk, and panic phases. These zones are based on historical behavior of India VIX and help traders understand when risk is underpriced or overstretched.
This tool is especially useful for:
Index traders
Options sellers and buyers
Risk management and regime filtering
Long-term volatility study
How It Works
The script plots static, historically significant volatility zones on the India VIX chart and visually separates them using shaded bands and labels.
Volatility Zones Explained
1.Extreme Low Volatility (VIX 8โ10)
Indicates market complacency and underpriced risk. Often precedes volatility expansion.
2.Low Volatility (VIX 10โ13)
Stable market conditions with controlled movement.
3.Normal Volatility (VIX 13โ18)
Healthy market behavior and balanced risk.
4.High Volatility (VIX 18โ25)
Rising uncertainty and increased intraday swings.
5.Panic Zone (VIX 25โ35+)
High fear environment, usually during major events or crises.
How Traders Can Use This Indicator
Identify volatility regimes before choosing option strategies
Avoid aggressive short-volatility trades during extreme zones
Prepare for volatility expansion during low-VIX phases
Use as a market risk context tool alongside price action
This indicator does not provide buy/sell signals. It is designed for contextual analysis and decision support.
Best Usage
Apply on India VIX (NSE:INDIAVIX)
Works best on Weekly and Monthly timeframes
Can be combined with index charts for volatility-based risk assessment
Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice or trade recommendations.
Users should apply proper risk management and confirm signals using additional analysis.
Smart Gap Concepts [MarkitTick]๐ก This indicator automates the identification and classification of price gaps, commonly known as Fair Value Gaps (FVG) or Imbalances, by integrating market structure and volume analysis. Unlike standard gap detectors that simply highlight empty space on a chart, this script applies algorithmic filters to categorize gaps into three distinct phases of market movement: Breakaway, Runaway, and Exhaustion. This helps traders understand the potential context of a move rather than just seeing a support or resistance zone.
โ Originality and Utility
The primary innovation of this tool is its dynamic classification system. It moves beyond visual detection by checking the "why" behind the gap. By referencing Swing Highs and Swing Lows (Market Structure) alongside Volume efficiency, it determines if a gap represents a breakout, a trend continuation, or a climatic end to a move. Additionally, the script features an automated mitigation tracking system that removes gaps from the chart once price has re-tested the midpoint, ensuring the visual workspace remains clean and relevant to current price action.
โ Methodology
The script operates on a multi-stage logic engine:
โข Gap Detection
It first identifies the core imbalance where the Low of the current bar does not overlap with the High of the bar two periods prior (for bullish gaps), ensuring the intervening candle represents a strong displacement.
โข Structural Analysis (Breakaway Gaps)
The script monitors Pivot Highs and Lows. If a gap occurs simultaneously with a close beyond a key structural Pivot, it is classified as a "Breakaway Gap." This signals the potential start of a new trend.
โข Volume and Time Analysis (Exhaustion Gaps)
To identify potential reversals, the script looks for "Trend Maturity." If a gap forms after a long duration since the last pivot and is accompanied by a volume spike (defined by the Volume Spike Multiplier), it is labeled as an "Exhaustion Gap."
โข Continuation (Runaway Gaps)
If a gap is valid but meets neither the Breakaway nor Exhaustion criteria, it is considered a "Runaway Gap," typically found in the middle of an established trend.
โข Dynamic Cleanup
The script tracks the midpoint of every active gap. If price creates a lower low (for bullish gaps) or higher high (for bearish gaps) beyond this midpoint, the gap is considered mitigated and is removed from the screen.
๐ How to Use
Traders can utilize the color-coded classifications to gauge market intent:
Breakaway (Default Blue): Watch these zones for potential trend initiations. These are often high-probability areas for a retest entry after a structure break.
Runaway (Default Orange): These indicate strong momentum. They can be used to trail stop-losses or add to winning positions, as price should ideally not close below these gaps in a healthy trend.
Exhaustion (Default Red): Be cautious when these appear. They suggest the current move is overextended and a reversal or complex pullback may be imminent.
โข Exhaustion Gap : A Practical Case Study
โข Breakaway Gap: A Practical Case Study
โข Runaway Gap : A Practical Case Study
โ๏ธ Inputs and Settings
Min Gap Size (Points): Filters out insignificant gaps smaller than this threshold.
Structure Lookback: Defines the sensitivity of the Pivot detection (Swing High/Low).
Volume Avg Length & Multiplier: Determines what qualifies as a "Volume Spike" for exhaustion logic.
Trend Maturity: The minimum number of bars required to consider a trend "old" enough for an exhaustion signal.
Visual Settings: Custom colors for each gap type and box extension length.
โ 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.
MA Strength Indicator EnhancedThe "MA Strength" is an indicator that measures market trend strength or (in the case of forex pairs) the relative strength of individual currencies based on up to five different moving averages (MA). It offers multiple calculation methods, such as simple summation, normalized value, or measuring ATR/percentage distance from the price. The results are summarized in a clear table, and it provides customizable alerts for trend changes or shifts in currency strength. The high level of configurability (e.g., MA weighting, "all MA alignment" requirement) allows for fine-tuning the strategy.
๐ฌ Interpreting the Table (Top Rows)
The top row of the table shows the final output of the indicator. This changes according to the set "Table Mode".
Trend Mode: The top row shows the final, aggregated trend status (e.g., "BULLISH", "NEUTRAL") and the corresponding "Trend Value". This is the value the indicator compares to its thresholds.
Forex Mode: (Only on 6-character pairs): The top two rows show the strength of the Base currency and the Quote currency separately.
Calculation of the top rows:
The indicator calculates the individual score of all active MAs (according to the chosen method).
Trend Value: This is the final value calculated from the scores.
If "Enable Averaging" is ON, this will be the average of the scores (e.g., MA1 score is 5.0, MA2 score is 7.0 -> Trend Value is 6.0).
If averaging is OFF, this will be the sum of the scores (e.g., 5.0 + 7.0 = 12.0).
Forex Calculation: "Forex Mode" uses this "Trend Value". If the Trend Value is +6.0 (on an EURUSD pair):
The Base currency (EUR) value will be +6.0.
The Quote currency (USD) value will be -6.0.
The indicator compares these values to the thresholds to determine the "STRONG" status for EUR and "WEAK" status for USD.
๐ Calculation Methods
The indicator can calculate trend strength using 5 methods. The final "Trend Value" is derived from the results of these calculations.
Sum:
Description: Simply adds up the individual scores of all enabled moving averages (MA).
Formula: If the price is above an MA, it gets the "Score Above" value (e.g., +2.0); if below, it gets the "Score Below" value (e.g., -2.0).
Example: Result = (MA1 score) + (MA2 score) + ...
Normalized:
Description: Takes the sum obtained by the "Sum" method and converts it to a scale between -100% (maximally bearish) and +100% (maximally bullish). It takes into account the maximum possible positive and negative scores.
Formula: Result = (Total Score / Max Possible Score) * 100
Percentage Distance:
Description: This method also considers distance. The further the price is from the MA in percentage terms, the higher the score.
Formula: MA Score = (|Close Price - MA| / MA * 100) * Weight (The "Weight" is the "Score Above/Below" value set in settings).
ATR Distance:
Description: Similar to percentage distance, but normalizes the distance using volatility via ATR (Average True Range).
Formula: MA Score = (|Close Price - MA| / ATR) * Weight
Candle Count:
Description: Counts how many consecutive candles have been above or below the MA. It multiplies this number by the set weight.
Formula: MA Score = (Number of consecutive candles) * Weight
โ๏ธ Settings Options
Moving Averages (MA 1-5)
For each moving average, you can set:
Enable MA: Turn the specific MA on or off.
Type: The type of moving average (SMA, EMA, WMA, etc.).
Period: The period of the MA (e.g., 50, 200).
Score Above / Below: The most important setting. This defines the "weight" of the MA in the calculation. In "Sum" mode, this is a fixed score; in distance-based modes, this is a multiplier (weight). It is advisable to write a positive number for "Score Above" and a negative number for "Score Below".
Calculation Settings
Enable Averaging: If this is on, the indicator shows the average of the active MA scores, not the total score.
Exception: This function is not available in "Normalized" mode.
Require All MA Alignment: This is a strict filter. If enabled, the indicator only gives a "BULLISH" (or "STRONG") signal if the price is above all enabled moving averages. Similarly, a "BEARISH" signal only occurs if the price is below all moving averages. If the price is on the opposite side of even just one MA (e.g., above 4, below 1), the status becomes "NEUTRAL", regardless of the scores.
Strength / Trend Thresholds
Enable Extra Levels: If active, statuses are expanded: "EXT. BULLISH" / "EXT. BEARISH" (Trend mode) or "EXT. STRONG" / "EXT. WEAK" (Forex mode). This indicates stronger, overbought/oversold conditions.
Threshold setting: The thresholds (e.g., "Strong Above - ATR") determine when the calculated value counts as a "STRONG" or "WEAK" status.
๐ข Setting Thresholds via Calculation
If "Enable Averaging" is OFF, the "Trend Value" shown in the table will be the sum of the individual MA scores. Therefore, we must define the threshold by adding up the minimum expected performance from each moving average. This allows us to set different expectations for short, medium, and long-term averages.
Step 1: Determine MA weights
In our example, we use 3 active MAs with the following weights (Score Above values):
MA1 (Short): Weight = +2
MA2 (Medium): Weight = +3
MA3 (Long): Weight = +4
Step 2: Determine the minimum expected distance
Define a minimum distance expected from each MA to trigger a "Strong" signal.
Step 3: Calculate target scores and the final threshold
Note: If "Enable Averaging" is ON, the resulting value (sum of target scores) must be
averaged to get the final threshold.
Example 1: ATR Distance
-Goal: I want a "Strong" signal if the price is...
...at least 1.0 ATR above MA1 (Short),
...at least 1.5 ATR above MA2 (Medium),
...and at least 2.0 ATR above MA3 (Long).
-Calculation (Expected Distance * Weight):
MA1 Target Score: 1.0 * 2 = 2.0
MA2 Target Score: 1.5 * 3 = 4.5
MA3 Target Score: 2.0 * 4 = 8.0
-Final Threshold (Sum of Target Scores): 2.0 + 4.5 + 8.0 = 14.5
-Setting: Set "Strong Above - ATR" threshold to 14.5.
If "Enable Averaging" is ON, the obtained value must be averaged, and the result will be the
threshold: 4.8 (14.5 / 3 = 4.83).
Example 2: Percentage Distance
-Goal: I want a "Strong" signal if the price is...
...at least 0.5% above MA1,
...at least 1.0% above MA2,
...and at least 1.5% above MA3.
-Calculation (Expected Distance * Weight):
MA1 Target Score: 0.5 * 2.0 = 1.0
MA2 Target Score: 1.0 * 3.0 = 3.0
MA3 Target Score: 1.5 * 4.0 = 6.0
-Final Threshold (Sum): 1.0 + 3.0 + 6.0 = 10.0
-Setting: Set "Strong Above - Percentage" threshold to 10.0.
If "Enable Averaging" is ON, the obtained value must be averaged, and the result will be the
threshold.
Example 3: Candle Count
-Goal: I want a "Strong" signal if...
...at least 3 consecutive candles are above MA1,
...at least 5 consecutive candles are above MA2,
...and at least 10 consecutive candles are above MA3.
-Calculation (Expected Candle Count * Weight):
MA1 Target Score: 3 * 2.0 = 6.0
MA2 Target Score: 5 * 3.0 = 15.0
MA3 Target Score: 10 * 4.0 = 40.0
-Final Threshold (Sum): 6.0 + 15.0 + 40.0 = 61.0
-Setting: Set "Strong Above - Candle" threshold to 61.0.
If "Enable Averaging" is ON, the obtained value must be averaged, and the result will be the
threshold.
Example 4: Sum
In this mode, distance does not matter, only whether the price is above or below the MA.
-Goal: "Strong" signal if the price is above the long-term averages, but can be below the short-term (MA1).
MA1 (Short): Can be below (Weight: -2.0)
MA2 (Medium): Must be above (Weight: +3.0)
MA3 (Long): Must be above (Weight: +4.0)
-Calculation: -2.0 + 3.0 + 4.0 = 5.0
-Setting: Set "Strong Above - Sum" threshold to 5.0.
If it must be above all three moving averages, the threshold would be 2.0 + 3.0 + 4.0 = 9.0.
If "Enable Averaging" is ON, the obtained value must be averaged, and the result will be the
threshold.
Example 5: Normalized
The basic logic is similar to the "Sum" method.
-Goal: "Strong" signal if price is above MA2 and MA3, but potentially below MA1.
-Calculation: Target Sum: 5.0. Max Possible Score (above all): 9.0.
-Threshold: (5.0 / 9.0) * 100 = 55.5
In this calculation method, averaging cannot be set.
The Usage of the "ATR %" Row
The "ATR %" row shows the percentage movement of an average candle.
How to use this with "Percentage Distance" mode:
This number gives a baseline. It helps decide if the "Percentage Distance" threshold is realistic.
Example: You see the "ATR %" value is hovering around 1.2%. This means a "normal" candle moves about 1.2%.
If you set the Percentage threshold to 0.5%, it is too low. The indicator will constantly give a "Strong" signal because even average movement (noise) exceeds the threshold.
Correct Usage: If "normal" movement is 1.2%, then a "strong" movement (trend) needs to be significantly larger. For example, set the threshold to double the ATR %: 2.4 (2 * 1.2). Thus, you only get a "Strong" signal if the movement is twice the average volatility.
Supplementary Information
Rounding Differences:
The numbers displayed in the table and the precision of calculations in the background differ.
Table Display: The indicator rounds numbers to two decimal places in the table. So, if the value is 0.996, the table shows 1.00 (rounded up).
Internal Calculation: The background calculation uses much higher precision. When determining status (STRONG vs NEUTRAL), the program compares the precise, unrounded value to the threshold.
Result: Due to rounding, it may happen that if the threshold is 1.00 and the table shows 1.00, the status flickers between Strong and Neutral. If this is bothersome, it is advisable to set a slightly lower threshold (e.g., 0.98).
๐ Alert Settings
The indicator can send alerts when the status changes.
Alert Method:
Trend: Alerts when the main trend status changes (e.g., from "NEUTRAL" to "BULLISH"). You can specify which direction to alert for (e.g., only "BULLISH").
Forex: Works only on 6-character forex pairs. You can set separate alerts for the Base or Quote currency.
Forex Strength Level: You can specify at which status level to alert (e.g., "WEAK" or "EXT. STRONG").
๐ Trading Tips
Trend Confirmation: Use the "BULLISH" / "BEARISH" status to confirm your existing strategy (e.g., breakouts, bounces off support).
Forex Pairing: In Forex mode, look for pairs where the Base currency is "STRONG" and the Quote currency is "WEAK" (or "EXT. STRONG" / "EXT. WEAK") for a long position.
Short Position: Reverse the above (Base: WEAK, Quote: STRONG).
Regime Filter [BigBeluga]๐ต OVERVIEW
Regime Filter is a dual-factor trend condition tool combining price trend momentum and volume expansion into a single, easy-to-read visual framework. It quantifies recent trend direction and volume shifts, then shows them as:
Two oscillator plots for Trend and Volume regimes
Dynamic candle coloring for trend clarity
A quadrant scatter map in your chart corner for immediate regime recognition.
This filter helps traders quickly detect when a trend is healthy & confirmed by strong volume, or weakening & vulnerable due to low volume.
๐ต CONCEPTS
Trend Oscillator: A loop-based trend value calculated by comparing the current smoothed price (HMA of HLC3) against its own trailing history. Positive values indicate trend-up regimes, negative values signal trend-down phases.
Volume Oscillator: Similar loop logic but on smoothed volume (HMA of Volume) โ highlighting whether trading activity is expanding or contracting relative to past bars.
hma = ta.hma(hlc3, 15)
vol = ta.hma(volume, 15)
for i = 0 to len
if hma > hma
trend += 1
else
trend -= 1
for i = 0 to len
if vol > vol
voltrend += 1
else
voltrend -= 1
Regime Map Scatter Plot: A unique 2D quadrant displayed in the bottom-right corner. This shows where the market is sitting:
> Top Right (green): Trend โ and Volume โ โ strong confirmed up trend.
> Top Left (red): Trend โ but Volume โ โ strong sell momentum.
> Bottom Right (blue): Trend โ but Volume โ โ uptrend losing steam.
> Bottom Left (yellow): Trend โ and Volume โ โ weak bearish drift.
Dynamic Candle Coloring: Candles are colored by trend only: green for uptrends, red for downtrends, and orange near reversals.
Threshold Fills: The oscillator region is shaded green above +10 (healthy uptrend) and red below -10 (strong downtrend) for instant confidence.
๐ต FEATURES
Normalized trend and volume values adapt automatically to your lookback length.
Candlestick color overrides highlight current trend state in real-time.
Clear zero-line and fill bands help you gauge strength vs. noise.
Scatter regime dashboard updates live to track when trend and volume align or decouple.
Color gradients show intensification or cooling in both oscillators and the regime map.
๐ต HOW TO USE
Look for sustained positive trend and volume values to confirm strong directional moves.
Watch for the scatter dot in the green square (top right) for high-confidence breakouts.
If the dot drops to bottom right, uptrend may be tiring โ possible exit zone.
If the dot jumps top left, bearish drive is reinforced by heavy volume โ caution on longs.
Use the orange trend coloring as an early warning that trend pressure may be shifting.
Combine with breakout levels or moving averages for a robust regime filter system.
๐ต CONCLUSION
The Regime Filter distills price trend and volume dynamics into an actionable multi-mode display: oscillators, color-coded candles, and an intuitive scatter map. This all-in-one layout helps traders visually read market regime strength and spot fading trends before they turn โ perfect for swing traders, intraday scalpers, and macro trend followers alike.
MFM โ Light Context HUD (Minimal)Overview
MFM Light Context HUD is the free version of the Market Framework Model. It gives you a fast and clean view of the current market regime and phase without signals or chart noise. The HUD shows whether the asset is in a bullish or bearish environment and whether it is in a volatile, compression, drift, or neutral phase. This helps you read structure at a glance.
Asset availability
The free version works only on a selected list of five assets.
Supported symbols are
SP:SPX
TVC:GOLD
BINANCE:BTCUSD
BINANCE:ETHUSDT
OANDA:EURUSD
All other assets show a context banner only.
How it works
The free version uses fixed settings based on the original MFM model. It calculates the regime using a higher timeframe RSI ratio and identifies the current phase using simplified momentum conditions. The chart stays clean. Only a small HUD appears in the top corner. Full visual phases, ratio logic, signals, and auto tune are part of the paid version.
The free version shows the phase name only. It does not display colored phase zones on the chart.
Phase meaning
The Market Framework Model uses four structural phases to describe how the market
behaves. These are not signals but context layers that show the underlying environment.
Volatile (Phase 1)
The market is in a fast, unstable or directional environment. Price can move aggressively with
stronger momentum swings.
Compression (Phase 2)
The market is in a contracting state. Momentum slows and volatility decreases. This phase
often appears before expansion, but it does not predict direction.
Drift (Phase 3)
The market moves in a more controlled, persistent manner. Trends are cleaner and volatility
is lower compared to volatile phases.
No phase
No clear structural condition is active.
These phases describe market structure, not trade entries. They help you understand the conditions you are trading in.
Cross asset context
The Market Framework Model reads markets as a multi layer system. The full version includes cross asset analysis to show whether the asset is acting as a leader or lagger relative to its benchmark. The free version uses the same internal benchmark logic for regime detection but does not display the cross asset layer on the chart.
Cross asset structure is a core part of the MFM model and is fully available in the paid version.
Included in this free version
Higher timeframe regime
Current phase name
Clean chart output
Context only
Works on a selected set of assets
Not included
No forecast signals
No ratio leader or lagger logic
No MRM zones
No MPF timing
No auto tune
The full version contains all features of the complete MFM model.
Full version
You can find the full indicator here:
payhip.com
More information
Model details and documentation:
mfm.inratios.com
Momentum Framework Model free HUD indicator User Guide: mfm.inratios.com
Disclaimer
The Market Framework Model (MFM) and all related materials are provided for educational and informational purposes only. Nothing in this publication, the indicator, or any associated charts should be interpreted as financial advice, investment recommendations, or trading signals. All examples, visualizations, and backtests are illustrative and based on historical data. They do not guarantee or imply any future performance. Financial markets involve risk, including the potential loss of capital, and users remain fully responsible for their own decisions. The author and Inratiosยฉ make no representations or warranties regarding the accuracy, completeness, or reliability of the information provided. MFM describes structural market context only and should not be used as the sole basis for trading or investment actions.
By using the MFM indicator or any related insights, you agree to these terms.
ยฉ 2025 Inratios. Market Framework Model (MFM) is protected via i-Depot (BOIP) โ Ref. 155670. No financial advice.
SPY/QQQ Customizable Price ConverterThis is a minimalist utility tool designed for Index traders (SPX, NDX, RUT). It allows you to monitor the price of a reference asset (like SPY, QQQ) directly on your main chart without cluttering your screen.
Key Features:
1.๐ฑ๏ธ Crosshair Sync for Historical Data (Highlight): Unlike simple info tables that only show the latest price, this script allows for historical inspection.
ยท How it works: Simply move your mouse crosshair over ANY historical candle on your chart.
ยท The script will instantly display the closing price of the reference asset (e.g., SPY) for that specific time in the Status Line (top-left) or the Data Window. Perfect for backtesting and reviewing price action.
2.๐ Fully Customizable Ticker: Default is set to SPY, but you can change it to anything in the settings.
e.g.
ยท Trading NDX Change it to QQQ.
ยท Trading RUT Change it to IWM.
3.๐ Clean Real-Time Dashboard:
ยท A floating table displays the current real-time price of your reference asset.
ยท Color-coded text (Green/Red) indicates price movement.
ยท Fully customizable size, position, and colors to fit your layout.
Luxy Super-Duper SuperTrend Predictor Engine and Buy/Sell signalA professional trend-following grading system that analyzes historical trend
patterns to provide statistical duration estimates using advanced similarity
matching and k-nearest neighbors analysis. Combines adaptive Supertrend with
intelligent duration statistics, multi-timeframe confluence, volume confirmation,
and quality scoring to identify high-probability setups with data-driven
target ranges across all timeframes.
Note: All duration estimates are statistical calculations based on historical data, not guarantees of future performance.
WHAT MAKES THIS DIFFERENT
Unlike traditional SuperTrend indicators that only tell you trend direction, this system answers the critical question: "What is the typical duration for trends like this?"
The Statistical Analysis Engine:
โข Analyzes your chart's last 15+ completed SuperTrend trends (bullish and bearish separately)
โข Uses k-nearest neighbors similarity matching to find historically similar setups
โข Calculates statistical duration estimates based on current market conditions
โข Learns from estimation errors and adapts over time (Advanced mode)
โข Displays visual duration analysis box showing median, average, and range estimates
โข Tracks Statistical accuracy with backtest statistics
Complete Trading System:
โข Statistical trend duration analysis with three intelligence levels
โข Adaptive Supertrend with dynamic ATR-based bands
โข Multi-timeframe confluence analysis (6 timeframes: 5M to 1W)
โข Volume confirmation with spike detection and momentum tracking
โข Quality scoring system (0-70 points) rating each setup
โข One-click preset optimization for all trading styles
โข Anti-repaint guarantee on all signals and duration estimates
METHODOLOGY CREDITS
This indicator's approach is inspired by proven trading methodologies from respected market educators:
โข Mark Minervini - Volatility Contraction Pattern (VCP) and pullback entry techniques
โข William O'Neil - Volume confirmation principles and institutional buying patterns (CANSLIM methodology)
โข Dan Zanger - Volatility expansion entries and momentum breakout strategies
Important: These are educational references only. This indicator does not guarantee any specific trading results. Always conduct your own analysis and risk management.
KEY FEATURES
1. TREND DURATION ANALYSIS SYSTEM - The Core Innovation
The statistical analysis engine is what sets this indicator apart from standard SuperTrend systems. It doesn't just identify trend changes - it provides statistical analysis of potential duration.
How It Works:
Step 1: Historical Tracking
โข Automatically records every completed SuperTrend trend (duration in bars)
โข Maintains separate databases for bullish trends and bearish trends
โข Stores up to 15 most recent trends of each type
โข Captures market conditions at each trend flip: volume ratio, ATR ratio, quality score, price distance from SuperTrend, proximity to support/resistance
Step 2: Similarity Matching (k-Nearest Neighbors)
โข When new trend begins, system compares current conditions to ALL historical flips
โข Calculates similarity score based on:
- Volume similarity (30% weight) - Is volume behaving similarly?
- Volatility similarity (30% weight) - Is ATR/volatility similar?
- Quality similarity (20% weight) - Is setup strength comparable?
- Distance similarity (10% weight) - Is price distance from ST similar?
- Support/Resistance proximity (10% weight) - Similar structural context?
โข Selects the 15 MOST SIMILAR historical trends (not just all trends)
โข This is like asking: "When conditions looked like this before, how long did trends last?"
Step 3: Statistical Analysis
โข Calculates median duration (most common outcome)
โข Calculates average duration (mean of similar trends)
โข Determines realistic range (min to max of similar trends)
โข Applies exponential weighting (recent trends weighted more heavily)
โข Outputs confidence-weighted statistical estimate
Step 4: Advanced Intelligence (Advanced Mode Only)
The Advanced mode applies five sophisticated multipliers to refine estimates:
A) Market Structure Multiplier (ยฑ30%):
โข Detects nearby support/resistance levels using pivot detection
โข If flip occurs NEAR a key level: Estimate adjusted -30% (expect bounce/rejection)
โข If flip occurs in open space: Estimate adjusted +30% (clear path for continuation)
โข Uses configurable lookback period and ATR-based proximity threshold
B) Asset Type Multiplier (ยฑ40%):
โข Adjusts duration estimates based on asset volatility characteristics
โข Small Cap / Biotech: +40% (explosive, extended moves)
โข Tech Growth: +20% (momentum-driven, longer trends)
โข Blue Chip / Large Cap: 0% (baseline, steady trends)
โข Dividend / Value: -20% (slower, grinding trends)
โข Cyclical: Variable based on macro regime
โข Crypto / High Volatility: +30% (parabolic potential)
C) Flip Strength Multiplier (ยฑ20%):
โข Analyzes the QUALITY of the trend flip itself
โข Strong flip (high volume + expanding ATR + quality score 60+): +20%
โข Weak flip (low volume + contracting ATR + quality score under 40): -20%
โข Logic: Historical data shows that powerful flips tend to be followed by longer trends
D) Error Learning Multiplier (ยฑ15%):
โข Tracks Statistical accuracy over last 10 completed trends
โข Calculates error ratio: (estimated duration / Actual Duration)
โข If system consistently over-estimates: Apply -15% correction
โข If system consistently under-estimates: Apply +15% correction
โข Learns and adapts to current market regime
E) Regime Detection Multiplier (ยฑ20%):
โข Analyzes last 3 trends of SAME TYPE (bull-to-bull or bear-to-bear)
โข Compares recent trend durations to historical average
โข If recent trends 20%+ longer than average: +20% adjustment (trending regime detected)
โข If recent trends 20%+ shorter than average: -20% adjustment (choppy regime detected)
โข Detects whether market is in trending or mean-reversion mode
Three analysis modes:
SIMPLE MODE - Basic Statistics
โข Uses raw median of similar trends only
โข No multipliers, no adjustments
โข Best for: Beginners, clean trending markets
โข Fastest calculations, minimal complexity
STANDARD MODE - Full Statistical Analysis
โข Similarity matching with k-nearest neighbors
โข Exponential weighting of recent trends
โข Median, average, and range calculations
โข Best for: Most traders, general market conditions
โข Balance of accuracy and simplicity
ADVANCED MODE - Statistics + Intelligence
โข Everything in Standard mode PLUS
โข All 5 advanced multipliers (structure, asset type, flip strength, learning, regime)
โข Highest Statistical accuracy in testing
โข Best for: Experienced traders, volatile/complex markets
โข Maximum intelligence, most adaptive
Visual Duration Analysis Box:
When a new trend begins (SuperTrend flip), a box appears on your chart showing:
โข Analysis Mode (Simple / Standard / Advanced)
โข Number of historical trends analyzed
โข Median expected duration (most likely outcome)
โข Average expected duration (mean of similar trends)
โข Range (minimum to maximum from similar trends)
โข Advanced multipliers breakdown (Advanced mode only)
โข Backtest accuracy statistics (if available)
The box extends from the flip bar to the estimated endpoint based on historical data, giving you a visual target for trend duration. Box updates in real-time as trend progresses.
Backtest & Accuracy Tracking:
โข System backtests its own duration estimates using historical data
โข Shows accuracy metrics: how well duration estimates matched actual durations
โข Tracks last 10 completed duration estimates separately
โข Displays statistics in dashboard and duration analysis boxes
โข Helps you understand statistical reliability on your specific symbol/timeframe
Anti-Repaint Guarantee:
โข duration analysis boxes only appear AFTER bar close (barstate.isconfirmed)
โข Historical duration estimates never disappear or change
โข What you see in history is exactly what you would have seen real-time
โข No future data leakage, no lookahead bias
2. INTELLIGENT PRESET CONFIGURATIONS - One-Click Optimization
Unlike indicators that require tedious parameter tweaking, this system includes professionally optimized presets for every trading style. Select your approach from the dropdown and ALL parameters auto-configure.
"AUTO (DETECT FROM TF)" - RECOMMENDED
The smartest option: automatically selects optimal settings based on your chart timeframe.
โข 1m-5m charts โ Scalping preset (ATR: 7, Mult: 2.0)
โข 15m-1h charts โ Day Trading preset (ATR: 10, Mult: 2.5)
โข 2h-4h-D charts โ Swing Trading preset (ATR: 14, Mult: 3.0)
โข W-M charts โ Position Trading preset (ATR: 21, Mult: 4.0)
Benefits:
โข Zero configuration - works immediately
โข Always matched to your timeframe
โข Switch timeframe = automatic adjustment
โข Perfect for traders who use multiple timeframes
"SCALPING (1-5M)" - Ultra-Fast Signals
Optimized for: 1-5 minute charts, high-frequency trading, quick profits
Target holding period: Minutes to 1-2 hours maximum
Best markets: High-volume stocks, major crypto pairs, active futures
Parameter Configuration:
โข Supertrend: ATR 7, Multiplier 2.0 (very sensitive)
โข Volume: MA 10, High 1.8x, Spike 3.0x (catches quick surges)
โข Volume Momentum: AUTO-DISABLED (too restrictive for fast scalping)
โข Quality minimum: 40 points (accepts more setups)
โข Duration Analysis: Uses last 15 trends with heavy recent weighting
Trading Logic:
Speed over precision. Short ATR period and low multiplier create highly responsive SuperTrend. Volume momentum filter disabled to avoid missing fast moves. Quality threshold relaxed to catch more opportunities in rapid market conditions.
Signals per session: 5-15 typically
Hold time: Minutes to couple hours
Best for: Active traders with fast execution
"DAY TRADING (15M-1H)" - Balanced Approach
Optimized for: 15-minute to 1-hour charts, intraday moves, session-based trading
Target holding period: 30 minutes to 8 hours (within trading day)
Best markets: Large-cap stocks, major indices, established crypto
Parameter Configuration:
โข Supertrend: ATR 10, Multiplier 2.5 (balanced)
โข Volume: MA 20, High 1.5x, Spike 2.5x (standard detection)
โข Volume Momentum: 5/20 periods (confirms intraday strength)
โข Quality minimum: 50 points (good setups preferred)
โข Duration Analysis: Balanced weighting of recent vs historical
Trading Logic:
The most balanced configuration. ATR 10 with multiplier 2.5 provides steady trend following that avoids noise while catching meaningful moves. Volume momentum confirms institutional participation without being overly restrictive.
Signals per session: 2-5 typically
Hold time: 30 minutes to full day
Best for: Part-time and full-time active traders
"SWING TRADING (4H-D)" - Trend Stability
Optimized for: 4-hour to Daily charts, multi-day holds, trend continuation
Target holding period: 2-15 days typically
Best markets: Growth stocks, sector ETFs, trending crypto, commodity futures
Parameter Configuration:
โข Supertrend: ATR 14, Multiplier 3.0 (stable)
โข Volume: MA 30, High 1.3x, Spike 2.2x (accumulation focus)
โข Volume Momentum: 10/30 periods (trend stability)
โข Quality minimum: 60 points (high-quality setups only)
โข Duration Analysis: Favors consistent historical patterns
Trading Logic:
Designed for substantial trend moves while filtering short-term noise. Higher ATR period and multiplier create stable SuperTrend that won't flip on minor corrections. Stricter quality requirements ensure only strongest setups generate signals.
Signals per week: 2-5 typically
Hold time: Days to couple weeks
Best for: Part-time traders, swing style
"POSITION TRADING (D-W)" - Long-Term Trends
Optimized for: Daily to Weekly charts, major trend changes, portfolio allocation
Target holding period: Weeks to months
Best markets: Blue-chip stocks, major indices, established cryptocurrencies
Parameter Configuration:
โข Supertrend: ATR 21, Multiplier 4.0 (very stable)
โข Volume: MA 50, High 1.2x, Spike 2.0x (long-term accumulation)
โข Volume Momentum: 20/50 periods (major trend confirmation)
โข Quality minimum: 70 points (excellent setups only)
โข Duration Analysis: Heavy emphasis on multi-year historical data
Trading Logic:
Conservative approach focusing on major trend changes. Extended ATR period and high multiplier create SuperTrend that only flips on significant reversals. Very strict quality filters ensure signals represent genuine long-term opportunities.
Signals per month: 1-2 typically
Hold time: Weeks to months
Best for: Long-term investors, set-and-forget approach
"CUSTOM" - Advanced Configuration
Purpose: Complete manual control for experienced traders
Use when: You understand the parameters and want specific optimization
Best for: Testing new approaches, unusual market conditions, specific instruments
Full control over:
โข All SuperTrend parameters
โข Volume thresholds and momentum periods
โข Quality scoring weights
โข analysis mode and multipliers
โข Advanced features tuning
Preset Comparison Quick Reference:
Chart Timeframe: Scalping (1M-5M) | Day Trading (15M-1H) | Swing (4H-D) | Position (D-W)
Signals Frequency: Very High | High | Medium | Low
Hold Duration: Minutes | Hours | Days | Weeks-Months
Quality Threshold: 40 pts | 50 pts | 60 pts | 70 pts
ATR Sensitivity: Highest | Medium | Lower | Lowest
Time Investment: Highest | High | Medium | Lowest
Experience Level: Expert | Advanced | Intermediate | Beginner+
3. QUALITY SCORING SYSTEM (0-70 Points)
Every signal is rated in real-time across three dimensions:
Volume Confirmation (0-30 points):
โข Volume Spike (2.5x+ average): 30 points
โข High Volume (1.5x+ average): 20 points
โข Above Average (1.0x+ average): 10 points
โข Below Average: 0 points
Volatility Assessment (0-30 points):
โข Expanding ATR (1.2x+ average): 30 points
โข Rising ATR (1.0-1.2x average): 15 points
โข Contracting/Stable ATR: 0 points
Volume Momentum (0-10 points):
โข Strong Momentum (1.2x+ ratio): 10 points
โข Rising Momentum (1.0-1.2x ratio): 5 points
โข Weak/Neutral Momentum: 0 points
Score Interpretation:
60-70 points - EXCELLENT:
โข All factors aligned
โข High conviction setup
โข Maximum position size (within risk limits)
โข Primary trading opportunities
45-59 points - STRONG:
โข Multiple confirmations present
โข Above-average setup quality
โข Standard position size
โข Good trading opportunities
30-44 points - GOOD:
โข Basic confirmations met
โข Acceptable setup quality
โข Reduced position size
โข Wait for additional confirmation or trade smaller
Below 30 points - WEAK:
โข Minimal confirmations
โข Low probability setup
โข Consider passing
โข Only for aggressive traders in strong trends
Only signals meeting your minimum quality threshold (configurable per preset) generate alerts and labels.
4. MULTI-TIMEFRAME CONFLUENCE ANALYSIS
The system can simultaneously analyze trend alignment across 6 timeframes (optional feature):
Timeframes analyzed:
โข 5-minute (scalping context)
โข 15-minute (intraday momentum)
โข 1-hour (day trading bias)
โข 4-hour (swing context)
โข Daily (primary trend)
โข Weekly (macro trend)
Confluence Interpretation:
โข 5-6/6 aligned - Very strong multi-timeframe agreement (highest confidence)
โข 3-4/6 aligned - Moderate agreement (standard setup)
โข 1-2/6 aligned - Weak agreement (caution advised)
Dashboard shows real-time alignment count with color-coding. Higher confluence typically correlates with longer, stronger trends.
5. VOLUME MOMENTUM FILTER - Institutional Money Flow
Unlike traditional volume indicators that just measure size, Volume Momentum tracks the RATE OF CHANGE in volume:
How it works:
โข Compares short-term volume average (fast period) to long-term average (slow period)
โข Ratio above 1.0 = Volume accelerating (money flowing IN)
โข Ratio above 1.2 = Strong acceleration (institutional participation likely)
โข Ratio below 0.8 = Volume decelerating (money flowing OUT)
Why it matters:
โข Confirms trend with actual money flow, not just price
โข Leading indicator (volume often leads price)
โข Catches accumulation/distribution before breakouts
โข More intuitive than complex mathematical filters
Integration with signals:
โข Optional filter - can be enabled/disabled per preset
โข When enabled: Only signals with rising volume momentum fire
โข AUTO-DISABLED in Scalping mode (too restrictive for fast trading)
โข Configurable fast/slow periods per trading style
6. ADAPTIVE SUPERTREND MULTIPLIER
Traditional SuperTrend uses fixed ATR multiplier. This system dynamically adjusts the multiplier (0.8x to 1.2x base) based on:
โข Trend Strength: Price correlation over lookback period
โข Volume Weight: Current volume relative to average
Benefits:
โข Tighter bands in calm markets (less premature exits)
โข Wider bands in volatile conditions (avoids whipsaws)
โข Better adaptation to biotech, small-cap, and crypto volatility
โข Optional - can be disabled for classic constant multiplier
7. VISUAL GRADIENT RIBBON
26-layer exponential gradient fill between price and SuperTrend line provides instant visual trend strength assessment:
Color System:
โข Green shades - Bullish trend + volume confirmation (strongest)
โข Blue shades - Bullish trend, normal volume
โข Orange shades - Bearish trend + volume confirmation
โข Red shades - Bearish trend (weakest)
Opacity varies based on:
โข Distance from SuperTrend (farther = more opaque)
โข Volume intensity (higher volume = stronger color)
The ribbon provides at-a-glance trend strength without cluttering your chart. Can be toggled on/off.
8. INTELLIGENT ALERT SYSTEM
Two-tier alert architecture for flexibility:
Automatic Alerts:
โข Fire automatically on BUY and SELL signals
โข Include full context: quality score, volume state, volume momentum
โข One alert per bar close (alert.freq_once_per_bar_close)
โข Message format: "BUY: Supertrend bullish + Quality: 65/70 | Volume: HIGH | Vol Momentum: STRONG (1.35x)"
Customizable Alert Conditions:
โข Appear in TradingView's "Create Alert" dialog
โข Three options: BUY Signal Only, SELL Signal Only, ANY Signal (BUY or SELL)
โข Use TradingView placeholders: {{ticker}}, {{interval}}, {{close}}, {{time}}
โข Fully customizable message templates
All alerts use barstate.isconfirmed - Zero repaint guarantee.
9. ANTI-REPAINT ARCHITECTURE
Every component guaranteed non-repainting:
โข Entry signals: Only appear after bar close
โข duration analysis boxes: Created only on confirmed SuperTrend flips
โข Informative labels: Wait for bar confirmation
โข Alerts: Fire once per closed bar
โข Multi-timeframe data: Uses lookahead=barmerge.lookahead_off
What you see in history is exactly what you would have seen in real-time. No disappearing signals, no changed duration estimates.
HOW TO USE THE INDICATOR
QUICK START - 3 Steps to Trading:
Step 1: Select Your Trading Style
Open indicator settings โ "Quick Setup" section โ Trading Style Preset dropdown
Options:
โข Auto (Detect from TF) - RECOMMENDED: Automatically configures based on your chart timeframe
โข Scalping (1-5m) - For 1-5 minute charts, ultra-fast signals
โข Day Trading (15m-1h) - For 15m-1h charts, balanced approach
โข Swing Trading (4h-D) - For 4h-Daily charts, trend stability
โข Position Trading (D-W) - For Daily-Weekly charts, long-term trends
โข Custom - Manual configuration (advanced users only)
Choose "Auto" and you're done - all parameters optimize automatically.
Step 2: Understand the Signals
BUY Signal (Green Triangle Below Price):
โข SuperTrend flipped bullish
โข Quality score meets minimum threshold (varies by preset)
โข Volume confirmation present (if filter enabled)
โข Volume momentum rising (if filter enabled)
โข duration analysis box shows expected trend duration
SELL Signal (Red Triangle Above Price):
โข SuperTrend flipped bearish
โข Quality score meets minimum threshold
โข Volume confirmation present (if filter enabled)
โข Volume momentum rising (if filter enabled)
โข duration analysis box shows expected trend duration
Duration Analysis Box:
โข Appears at SuperTrend flip (start of new trend)
โข Shows median, average, and range duration estimates
โข Extends to estimated endpoint based on historical data visually
โข Updates mode-specific intelligence (Simple/Standard/Advanced)
Step 3: Use the Dashboard for Context
Dashboard (top-right corner) shows real-time metrics:
โข Row 1 - Quality Score: Current setup rating (0-70)
โข Row 2 - SuperTrend: Direction and current level
โข Row 3 - Volume: Status (Spike/High/Normal/Low) with color
โข Row 4 - Volatility: State (Expanding/Rising/Stable/Contracting)
โข Row 5 - Volume Momentum: Ratio and trend
โข Row 6 - Duration Statistics: Accuracy metrics and track record
Every cell has detailed tooltip - hover for full explanations.
SIGNAL INTERPRETATION BY QUALITY SCORE:
Excellent Setup (60-70 points):
โข Quality Score: 60-70
โข Volume: Spike or High
โข Volatility: Expanding
โข Volume Momentum: Strong (1.2x+)
โข MTF Confluence (if enabled): 5-6/6
โข Action: Primary trade - maximum position size (within risk limits)
โข Statistical reliability: Highest - duration estimates most accurate
Strong Setup (45-59 points):
โข Quality Score: 45-59
โข Volume: High or Above Average
โข Volatility: Rising
โข Volume Momentum: Rising (1.0-1.2x)
โข MTF Confluence (if enabled): 3-4/6
โข Action: Standard trade - normal position size
โข Statistical reliability: Good - duration estimates reliable
Good Setup (30-44 points):
โข Quality Score: 30-44
โข Volume: Above Average
โข Volatility: Stable or Rising
โข Volume Momentum: Neutral to Rising
โข MTF Confluence (if enabled): 3-4/6
โข Action: Cautious trade - reduced position size, wait for additional confirmation
โข Statistical reliability: Moderate - duration estimates less certain
Weak Setup (Below 30 points):
โข Quality Score: Below 30
โข Volume: Low or Normal
โข Volatility: Contracting or Stable
โข Volume Momentum: Weak
โข MTF Confluence (if enabled): 1-2/6
โข Action: Pass or wait for improvement
โข Statistical reliability: Low - duration estimates unreliable
USING duration analysis boxES FOR TRADE MANAGEMENT:
Entry Timing:
โข Enter on SuperTrend flip (signal bar close)
โข duration analysis box appears simultaneously
โข Note the median duration - this is your expected hold time
Profit Targets:
โข Conservative: Use MEDIAN duration as profit target (50% probability)
โข Moderate: Use AVERAGE duration (mean of similar trends)
โข Aggressive: Aim for MAX duration from range (best historical outcome)
Position Management:
โข Scale out at median duration (take partial profits)
โข Trail stop as trend extends beyond median
โข Full exit at average duration or SuperTrend flip (whichever comes first)
โข Re-evaluate if trend exceeds estimated range
analysis mode Selection:
โข Simple: Clean trending markets, beginners, minimal complexity
โข Standard: Most markets, most traders (recommended default)
โข Advanced: Volatile markets, complex instruments, experienced traders seeking highest accuracy
Asset Type Configuration (Advanced Mode):
If using Advanced analysis mode, configure Asset Type for optimal accuracy:
โข Small Cap: Stocks under $2B market cap, low liquidity
โข Biotech / Speculative: Clinical-stage pharma, penny stocks, high-risk
โข Blue Chip / Large Cap: S&P 500, mega-cap tech, stable large companies
โข Tech Growth: High-growth tech (TSLA, NVDA, growth SaaS)
โข Dividend / Value: Dividend aristocrats, value stocks, utilities
โข Cyclical: Energy, materials, industrials (macro-driven)
โข Crypto / High Volatility: Bitcoin, altcoins, highly volatile assets
Correct asset type selection improves Statistical accuracy by 15-20%.
RISK MANAGEMENT GUIDELINES:
1. Stop Loss Placement:
Long positions:
โข Place stop below recent swing low OR
โข Place stop below SuperTrend level (whichever is tighter)
โข Use 1-2 ATR distance as guideline
โข Recommended: SuperTrend level (built-in volatility adjustment)
Short positions:
โข Place stop above recent swing high OR
โข Place stop above SuperTrend level (whichever is tighter)
โข Use 1-2 ATR distance as guideline
โข Recommended: SuperTrend level
2. Position Sizing by Quality Score:
โข Excellent (60-70): Maximum position size (2% risk per trade)
โข Strong (45-59): Standard position size (1.5% risk per trade)
โข Good (30-44): Reduced position size (1% risk per trade)
โข Weak (Below 30): Pass or micro position (0.5% risk - learning trades only)
3. Exit Strategy Options:
Option A - Statistical Duration-Based Exit:
โข Exit at median estimated duration (conservative)
โข Exit at average estimated duration (moderate)
โข Trail stop beyond average duration (aggressive)
Option B - Signal-Based Exit:
โข Exit on opposite signal (SELL after BUY, or vice versa)
โข Exit on SuperTrend flip (trend reversal)
โข Exit if quality score drops below 30 mid-trend
Option C - Hybrid (Recommended):
โข Take 50% profit at median estimated duration
โข Trail stop on remaining 50% using SuperTrend as trailing level
โข Full exit on SuperTrend flip or quality collapse
4. Trade Filtering:
For higher win-rate (fewer trades, better quality):
โข Increase minimum quality score (try 60 for swing, 50 for day trading)
โข Enable volume momentum filter (ensure institutional participation)
โข Require higher MTF confluence (5-6/6 alignment)
โข Use Advanced analysis mode with appropriate asset type
For more opportunities (more trades, lower quality threshold):
โข Decrease minimum quality score (40 for day trading, 35 for scalping)
โข Disable volume momentum filter
โข Lower MTF confluence requirement
โข Use Simple or Standard analysis mode
SETTINGS OVERVIEW
Quick Setup Section:
โข Trading Style Preset: Auto / Scalping / Day Trading / Swing / Position / Custom
Dashboard & Display:
โข Show Dashboard (ON/OFF)
โข Dashboard Position (9 options: Top/Middle/Bottom + Left/Center/Right)
โข Text Size (Auto/Tiny/Small/Normal/Large/Huge)
โข Show Ribbon Fill (ON/OFF)
โข Show SuperTrend Line (ON/OFF)
โข Bullish Color (default: Green)
โข Bearish Color (default: Red)
โข Show Entry Labels - BUY/SELL signals (ON/OFF)
โข Show Info Labels - Volume events (ON/OFF)
โข Label Size (Auto/Tiny/Small/Normal/Large/Huge)
Supertrend Configuration:
โข ATR Length (default varies by preset: 7-21)
โข ATR Multiplier Base (default varies by preset: 2.0-4.0)
โข Use Adaptive Multiplier (ON/OFF) - Dynamic 0.8x-1.2x adjustment
โข Smoothing Factor (0.0-0.5) - EMA smoothing applied to bands
โข Neutral Bars After Flip (0-10) - Hide ST immediately after flip
Volume Momentum:
โข Enable Volume Momentum Filter (ON/OFF)
โข Fast Period (default varies by preset: 3-20)
โข Slow Period (default varies by preset: 10-50)
Volume Analysis:
โข Volume MA Length (default varies by preset: 10-50)
โข High Volume Threshold (default: 1.5x)
โข Spike Threshold (default: 2.5x)
โข Low Volume Threshold (default: 0.7x)
Quality Filters:
โข Minimum Quality Score (0-70, varies by preset)
โข Require Volume Confirmation (ON/OFF)
Trend Duration Analysis:
โข Show Duration Analysis (ON/OFF) - Display duration analysis boxes
โข analysis mode - Simple / Standard / Advanced
โข Asset Type - 7 options (Small Cap, Biotech, Blue Chip, Tech Growth, Dividend, Cyclical, Crypto)
โข Use Exponential Weighting (ON/OFF) - Recent trends weighted more
โข Decay Factor (0.5-0.99) - How much more recent trends matter
โข Structure Lookback (3-30) - Pivot detection period for support/resistance
โข Proximity Threshold (xATR) - How close to level qualifies as "near"
โข Enable Error Learning (ON/OFF) - System learns from estimation errors
โข Memory Depth (3-20) - How many past errors to remember
Box Visual Settings:
โข duration analysis box Border Color
โข duration analysis box Background Color
โข duration analysis box Text Color
โข duration analysis box Border Width
โข duration analysis box Transparency
Multi-Timeframe (Optional Feature):
โข Enable MTF Confluence (ON/OFF)
โข Minimum Alignment Required (0-6)
โข Individual timeframe enable/disable toggles
โข Custom timeframe selection options
All preset configurations override manual inputs except when "Custom" is selected.
ADVANCED FEATURES
1. Scalpel Mode (Optional)
Advanced pullback entry system that waits for healthy retracements within established trends before signaling entry:
โข Monitors price distance from SuperTrend levels
โข Requires pullback to configurable range (default: 30-50%)
โข Ensures trend remains intact before entry signal
โข Reduces whipsaw and false breakouts
โข Inspired by Mark Minervini's VCP pullback entries
Best for: Swing traders and day traders seeking precision entries
Scalpers: Consider disabling for faster entries
2. Error Learning System (Advanced analysis mode Only)
The system learns from its own estimation errors:
โข Tracks last 10-20 completed duration estimates (configurable memory depth)
โข Calculates error ratio for each: estimated duration / Actual Duration
โข If system consistently over-estimates: Applies negative correction (-15%)
โข If system consistently under-estimates: Applies positive correction (+15%)
โข Adapts to current market regime automatically
This self-correction mechanism improves accuracy over time as the system gathers more data on your specific symbol and timeframe.
3. Regime Detection (Advanced analysis mode Only)
Automatically detects whether market is in trending or choppy regime:
โข Compares last 3 trends to historical average
โข Recent trends 20%+ longer โ Trending regime (+20% to estimates)
โข Recent trends 20%+ shorter โ Choppy regime (-20% to estimates)
โข Applied separately to bullish and bearish trends
Helps duration estimates adapt to changing market conditions without manual intervention.
4. Exponential Weighting
Option to weight recent trends more heavily than distant history:
โข Default decay factor: 0.9
โข Recent trends get higher weight in statistical calculations
โข Older trends gradually decay in importance
โข Rationale: Recent market behavior more relevant than old data
โข Can be disabled for equal weighting
5. Backtest Statistics
System backtests its own duration estimates using historical data:
โข Walks through past trends chronologically
โข Calculates what duration estimate WOULD have been at each flip
โข Compares to actual duration that occurred
โข Displays accuracy metrics in duration analysis boxes and dashboard
โข Helps assess statistical reliability on your specific chart
Note: Backtest uses only data available AT THE TIME of each historical flip (no lookahead bias).
TECHNICAL SPECIFICATIONS
โข Pine Script Version: v6
โข Indicator Type: Overlay (draws on price chart)
โข Max Boxes: 500 (for duration analysis box storage)
โข Max Bars Back: 5000 (for comprehensive historical analysis)
โข Security Calls: 1 (for MTF if enabled - optimized)
โข Repainting: NO - All signals and duration estimates confirmed on bar close
โข Lookahead Bias: NO - All HTF data properly offset, all duration estimates use only historical data
โข Real-time Updates: YES - Dashboard and quality scores update live
โข Alert Capable: YES - Both automatic alerts and customizable alert conditions
โข Multi-Symbol: Works on stocks, crypto, forex, futures, indices
Performance Optimization:
โข Conditional calculations (duration analysis can be disabled to reduce load)
โข Efficient array management (circular buffers for trend storage)
โข Streamlined gradient rendering (26 layers, can be toggled off)
โข Smart label cooldown system (prevents label spam)
โข Optimized similarity matching (analyzes only relevant trends)
Data Requirements:
โข Minimum 50-100 bars for initial duration analysis (builds historical database)
โข Optimal: 500+ bars for robust statistical analysis
โข Longer history = more accurate duration estimates
โข Works on any timeframe from 1 minute to monthly
KNOWN LIMITATIONS
โข Trending Markets Only: Performs best in clear trends. May generate false signals in choppy/sideways markets (use quality score filtering and regime detection to mitigate)
โข Lagging Nature: Like all trend-following systems, signals occur AFTER trend establishment, not at exact tops/bottoms. Use duration analysis boxes to set realistic profit targets.
โข Initial Learning Period: Duration analysis system requires 10-15 completed trends to build reliable historical database. Early duration estimates less accurate (first few weeks on new symbol/timeframe).
โข Visual Load: 26-layer gradient ribbon may slow performance on older devices. Disable ribbon if experiencing lag.
โข Statistical accuracy Variables: Duration estimates are statistical estimates, not guarantees. Accuracy varies by:
- Market regime (trending vs choppy)
- Asset volatility characteristics
- Quality of historical pattern matches
- Timeframe traded (higher TF = more reliable)
โข Not Best Suitable For:
- Ultra-short-term scalping (sub-1-minute charts)
- Mean-reversion strategies (designed for trend-following)
- Range-bound trading (requires trending conditions)
- News-driven spikes (estimates based on technical patterns, not fundamentals)
FREQUENTLY ASKED QUESTIONS
Q: Does this indicator repaint?
A: Absolutely not. All signals, duration analysis boxes, labels, and alerts use barstate.isconfirmed checks. They only appear after the bar closes. What you see in history is exactly what you would have seen in real-time. Zero repaint guarantee.
Q: How accurate are the trend duration estimates?
A: Accuracy varies by mode, market conditions, and historical data quality:
โข Simple mode: 60-70% accuracy (within ยฑ20% of actual duration)
โข Standard mode: 70-80% accuracy (within ยฑ20% of actual duration)
โข Advanced mode: 75-85% accuracy (within ยฑ20% of actual duration)
Best accuracy achieved on:
โข Higher timeframes (4H, Daily, Weekly)
โข Trending markets (not choppy/sideways)
โข Assets with consistent behavior (Blue Chip, Large Cap)
โข After 20+ historical trends analyzed (builds robust database)
Remember: All duration estimates are statistical calculations based on historical patterns, not guarantees.
Q: Which analysis mode should I use?
A:
โข Simple: Beginners, clean trending markets, want minimal complexity
โข Standard: Most traders, general market conditions (RECOMMENDED DEFAULT)
โข Advanced: Experienced traders, volatile/complex markets (biotech, small-cap, crypto), seeking maximum accuracy
Advanced mode requires correct Asset Type configuration for optimal results.
Q: What's the difference between the trading style presets?
A: Each preset optimizes ALL parameters for a specific trading approach:
โข Scalping: Ultra-sensitive (ATR 7, Mult 2.0), more signals, shorter holds
โข Day Trading: Balanced (ATR 10, Mult 2.5), moderate signals, intraday holds
โข Swing Trading: Stable (ATR 14, Mult 3.0), fewer signals, multi-day holds
โข Position Trading: Very stable (ATR 21, Mult 4.0), rare signals, week/month holds
Auto mode automatically selects based on your chart timeframe.
Q: Should I use Auto mode or manually select a preset?
A: Auto mode is recommended for most traders. It automatically matches settings to your timeframe and re-optimizes if you switch charts. Only use manual preset selection if:
โข You want scalping settings on a 15m chart (overriding auto-detection)
โข You want swing settings on a 1h chart (more conservative than auto would give)
โข You're testing different approaches on same timeframe
Q: Can I use this for scalping and day trading?
A: Absolutely! The preset system is specifically designed for all trading styles:
โข Select "Scalping (1-5m)" for 1-5 minute charts
โข Select "Day Trading (15m-1h)" for 15m-1h charts
โข Or use "Auto" mode and it configures automatically
Volume momentum filter is auto-disabled in Scalping mode for faster signals.
Q: What is Volume Momentum and why does it matter?
A: Volume Momentum compares short-term volume (fast MA) to long-term volume (slow MA). It answers: "Is money flowing into this asset faster now than historically?"
Why it matters:
โข Volume often leads price (early warning system)
โข Confirms institutional participation (smart money)
โข No lag like price-based indicators
โข More intuitive than complex mathematical filters
When the ratio is above 1.2, you have strong evidence that institutions are accumulating (bullish) or distributing (bearish).
Q: How do I set up alerts?
A: Two options:
Option 1 - Automatic Alerts:
1. Right-click on chart โ Add Alert
2. Condition: Select this indicator
3. Choose "Any alert() function call"
4. Configure notification method (app, email, webhook)
5. You'll receive detailed alerts on every BUY and SELL signal
Option 2 - Customizable Alert Conditions:
1. Right-click on chart โ Add Alert
2. Condition: Select this indicator
3. You'll see three options in dropdown:
- "BUY Signal" (long signals only)
- "SELL Signal" (short signals only)
- "ANY Signal" (both BUY and SELL)
4. Choose desired option and customize message template
5. Uses TradingView placeholders: {{ticker}}, {{close}}, {{time}}, etc.
All alerts fire only on confirmed bar close (no repaint).
Q: What is Scalpel Mode and should I use it?
A: Scalpel Mode waits for healthy pullbacks within established trends before signaling entry. It reduces whipsaws and improves entry timing.
Recommended ON for:
โข Swing traders (want precision entries on pullbacks)
โข Day traders (willing to wait for better prices)
โข Risk-averse traders (prefer fewer but higher-quality entries)
Recommended OFF for:
โข Scalpers (need immediate entries, can't wait for pullbacks)
โข Momentum traders (want to enter on breakout, not pullback)
โข Aggressive traders (prefer more opportunities over precision)
Q: Why do some duration estimates show wider ranges than others?
A: Range width reflects historical trend variability:
โข Narrow range: Similar historical trends had consistent durations (high confidence)
โข Wide range: Similar historical trends had varying durations (lower confidence)
Wide ranges often occur:
โข Early in analysis (fewer historical trends to learn from)
โข In volatile/choppy markets (inconsistent trend behavior)
โข On lower timeframes (more noise, less consistency)
The median and average still provide useful targets even when range is wide.
Q: Can I customize the dashboard position and appearance?
A: Yes! Dashboard settings include:
โข Position: 9 options (Top/Middle/Bottom + Left/Center/Right)
โข Text Size: Auto, Tiny, Small, Normal, Large, Huge
โข Show/Hide: Toggle entire dashboard on/off
Choose position that doesn't overlap important price action on your specific chart.
Q: Which timeframe should I trade on?
A: Depends on your trading style and time availability:
โข 1-5 minute: Active scalping, requires constant monitoring
โข 15m-1h: Day trading, check few times per session
โข 4h-Daily: Swing trading, check once or twice daily
โข Daily-Weekly: Position trading, check weekly
General principle: Higher timeframes produce:
โข Fewer signals (less frequent)
โข Higher quality setups (stronger confirmations)
โข More reliable duration estimates (better statistical data)
โข Less noise (clearer trends)
Start with Daily chart if new to trading. Move to lower timeframes as you gain experience.
Q: Does this work on all markets (stocks, crypto, forex)?
A: Yes, it works on all markets with trending characteristics:
Excellent for:
โข Stocks (especially growth and momentum names)
โข Crypto (BTC, ETH, major altcoins)
โข Futures (indices, commodities)
โข Forex majors (EUR/USD, GBP/USD, etc.)
Best results on:
โข Trending markets (not range-bound)
โข Liquid instruments (tight spreads, good fills)
โข Volatile assets (clear trend development)
Less effective on:
โข Range-bound/sideways markets
โข Ultra-low volatility instruments
โข Illiquid small-caps (use caution)
Configure Asset Type (in Advanced analysis mode) to match your instrument for best accuracy.
Q: How many signals should I expect per day/week?
A: Highly variable based on:
By Timeframe:
โข 1-5 minute: 5-15 signals per session
โข 15m-1h: 2-5 signals per day
โข 4h-Daily: 2-5 signals per week
โข Daily-Weekly: 1-2 signals per month
By Market Volatility:
โข High volatility = more SuperTrend flips = more signals
โข Low volatility = fewer flips = fewer signals
By Quality Filter:
โข Higher threshold (60-70) = fewer but better signals
โข Lower threshold (30-40) = more signals, lower quality
By Volume Momentum Filter:
โข Enabled = Fewer signals (only volume-confirmed)
โข Disabled = More signals (all SuperTrend flips)
Adjust quality threshold and filters to match your desired signal frequency.
Q: What's the difference between entry labels and info labels?
A:
Entry Labels (BUY/SELL):
โข Your primary trading signals
โข Based on SuperTrend flip + all confirmations (quality, volume, momentum)
โข Include quality score and confirmation icons
โข These are actionable entry points
Info Labels (Volume Spike):
โข Additional market context
โข Show volume events that may support or contradict trend
โข 8-bar cooldown to prevent spam
โข NOT necessarily entry points - contextual information only
Control separately: Can show entry labels without info labels (recommended for clean charts).
Q: Can I combine this with other indicators?
A: Absolutely! This works well with:
โข RSI: For divergences and overbought/oversold conditions
โข Support/Resistance: Confluence with key levels
โข Fibonacci Retracements: Pullback targets in Scalpel Mode
โข Price Action Patterns: Flags, pennants, cup-and-handle
โข MACD: Additional momentum confirmation
โข Bollinger Bands: Volatility context
This indicator provides trend direction and duration estimates - complement with other tools for entry refinement and additional confluence.
Q: Why did I get a low-quality signal? Can I filter them out?
A: Yes! Increase the Minimum Quality Score in settings.
If you're seeing signals with quality below your preference:
โข Day Trading: Set minimum to 50
โข Swing Trading: Set minimum to 60
โข Position Trading: Set minimum to 70
Only signals meeting the threshold will appear. This reduces frequency but improves win-rate.
Q: How do I interpret the MTF Confluence count?
A: Shows how many of 6 timeframes agree with current trend:
โข 6/6 aligned: Perfect agreement (extremely rare, highest confidence)
โข 5/6 aligned: Very strong alignment (high confidence)
โข 4/6 aligned: Good alignment (standard quality setup)
โข 3/6 aligned: Moderate alignment (acceptable)
โข 2/6 aligned: Weak alignment (caution)
โข 1/6 aligned: Very weak (likely counter-trend)
Higher confluence typically correlates with longer, stronger trends. However, MTF analysis is optional - you can disable it and rely solely on quality scoring.
Q: Is this suitable for beginners?
A: Yes, but requires foundational knowledge:
You should understand:
โข Basic trend-following concepts (higher highs, higher lows)
โข Risk management principles (position sizing, stop losses)
โข How to read candlestick charts
โข What volume and volatility mean
Beginner-friendly features:
โข Auto preset mode (zero configuration)
โข Quality scoring (tells you signal strength)
โข Dashboard tooltips (hover for explanations)
โข duration analysis boxes (visual profit targets)
Recommended for beginners:
1. Start with "Auto" or "Swing Trading" preset on Daily chart
2. Use Standard Analysis Mode (not Advanced)
3. Set minimum quality to 60 (fewer but better signals)
4. Paper trade first for 2-4 weeks
5. Study methodology references (Minervini, O'Neil, Zanger)
Q: What is the Asset Type setting and why does it matter?
A: Asset Type (in Advanced analysis mode) adjusts duration estimates based on volatility characteristics:
โข Small Cap: Explosive moves, extended trends (+30-40%)
โข Biotech / Speculative: Parabolic potential, news-driven (+40%)
โข Blue Chip / Large Cap: Baseline, steady trends (0% adjustment)
โข Tech Growth: Momentum-driven, longer trends (+20%)
โข Dividend / Value: Slower, grinding trends (-20%)
โข Cyclical: Macro-driven, variable (ยฑ10%)
โข Crypto / High Volatility: Parabolic potential (+30%)
Correct configuration improves Statistical accuracy by 15-20%. Using Blue Chip settings on a biotech stock may underestimate trend length (you'll exit too early).
Q: Can I backtest this indicator?
A: Yes! TradingView's Strategy Tester works with this indicator's signals.
To backtest:
1. Note the entry conditions (SuperTrend flip + quality threshold + filters)
2. Create a strategy script using same logic
3. Run Strategy Tester on historical data
Additionally, the indicator includes BUILT-IN duration estimate validation:
โข System backtests its own duration estimates
โข Shows accuracy metrics in dashboard and duration analysis boxes
โข Helps assess reliability on your specific symbol/timeframe
Q: Why does Volume Momentum auto-disable in Scalping mode?
A: Scalping requires ultra-fast entries to catch quick moves. Volume Momentum filter adds friction by requiring volume confirmation before signaling, which can cause missed opportunities in rapid scalping.
Scalping preset is optimized for speed and frequency - the filter is counterproductive for that style. It remains enabled for Day Trading, Swing Trading, and Position Trading presets where patience improves results.
You can manually enable it in Custom mode if desired.
Q: How much historical data do I need for accurate duration estimates?
A:
Minimum: 50-100 bars (indicator will function but duration estimates less reliable)
Recommended: 500+ bars (robust statistical database)
Optimal: 1000+ bars (maximum Statistical accuracy)
More history = more completed trends = better pattern matching = more accurate duration estimates.
New symbols or newly-switched timeframes will have lower Statistical accuracy initially. Allow 2-4 weeks for the system to build historical database.
IMPORTANT DISCLAIMERS
No Guarantee of Profit:
This indicator is an educational tool and does not guarantee any specific trading results. All trading involves substantial risk of loss. Duration estimates are statistical calculations based on historical patterns and are not guarantees of future performance.
Past Performance:
Historical backtest results and Statistical accuracy statistics do not guarantee future performance. Market conditions change constantly. What worked historically may not work in current or future markets.
Not Financial Advice:
This indicator provides technical analysis signals and statistical duration estimates only. It is not financial, investment, or trading advice. Always consult with a qualified financial advisor before making investment decisions.
Risk Warning:
Trading stocks, options, futures, forex, and cryptocurrencies involves significant risk. You can lose all of your invested capital. Never trade with money you cannot afford to lose. Only risk capital you can lose without affecting your lifestyle.
Testing Required:
Always test this indicator on a demo account or with paper trading before risking real capital. Understand how it works in different market conditions. Verify Statistical accuracy on your specific instruments and timeframes before trusting it with real money.
User Responsibility:
You are solely responsible for your trading decisions. The developer assumes no liability for trading losses, incorrect duration estimates, software errors, or any other damages incurred while using this indicator.
Statistical Estimation Limitations:
Trend Duration estimates are statistical estimates based on historical pattern matching. They are NOT guarantees. Actual trend durations may differ significantly from duration estimates due to unforeseen news events, market regime changes, or lack of historical precedent for current conditions.
CREDITS & ACKNOWLEDGMENTS
Methodology Inspiration:
โข Mark Minervini - Volatility Contraction Pattern (VCP) concepts and pullback entry techniques
โข William O'Neil - Volume analysis principles and CANSLIM institutional buying patterns
โข Dan Zanger - Momentum breakout strategies and volatility expansion entries
Technical Components:
โข SuperTrend calculation - Classic ATR-based trend indicator (public domain)
โข Statistical analysis - Standard median, average, range calculations
โข k-Nearest Neighbors - Classic machine learning similarity matching concept
โข Multi-timeframe analysis - Standard request.security implementation in Pine Script
For questions, feedback, or support, please comment below or send a private message.
Happy Trading!
Fractals Trend [BigBeluga]๐ต OVERVIEW
Fractals Trend is a trend-following overlay that leverages fractal swing points to define dynamic support and resistance zones. By storing and averaging recent high and low fractals, it determines trend direction and plots a smooth band that flips depending on market biasโdisplaying support during uptrends and resistance during downtrends .
๐ต CONCEPTS
Fractal Swings: Fractals are identified using a customizable length. A high fractal forms when the current high is the highest in a range; a low fractal when the current low is the lowest.
Fractal Memory: The indicator keeps a rolling window of recent high and low fractals inside arrays, limited by the user-defined storage quantity.
switch
upperF => FracrtalsUpper.push(high )
lowerF => FracrtalsLower.push(low )
FracrtalsUpper.size() > fCount => FracrtalsUpper.shift()
FracrtalsLower.size() > fCount => FracrtalsLower.shift()
Trend Detection: Price crossing above the average, min/max or median high fractals signals an uptrend; crossing below average, min/max or median low fractals signals a downtrend.
Dynamic Band Plotting: Depending on the trend, the script plots the average of either the upper or lower fractals as a trailing support or resistance line.
Visual Confirmation: Fractal labels appear as triangle markers at highs and lows, providing additional structural context.
๐ต FEATURES
Automatically detects high and low fractals using customizable length.
Stores a defined number of fractals to smooth out noise and reduce false signals.
Flips trend bias dynamically with colored band and smooth transitions.
Plots fractal-based support in bullish trends, resistance in bearish trends.
Triangle markers show real-time fractal highs and lows.
Fully configurable visuals, color themes, and fractal detection logic.
Clean, non-intrusive overlay that works on any market or timeframe.
๐ต HOW TO USE
Use the colored band as a directional filter: green = uptrend (support), orange = downtrend (resistance).
Combine with entry signals or break/retest strategies when price approaches the band.
Use triangle markers to confirm structural swing points.
Adjust Fractals Length to tune sensitivityโshorter values detect quicker shifts, longer values reduce noise.
Change the fractal bands type to adapt trend detection to different market conditions.
Use in conjunction with momentum or volume tools for confluence.
๐ต CONCLUSION
Fractals Trend offers a lightweight, intuitive way to track market bias using price structure alone. Its smart switching logic and clean visuals make it a powerful tool for trend traders seeking structure-based dynamic S/Rโwithout laggy moving averages or overcomplicated signals.
TICK & ADD Market Internals SuiteOverview: This is the ultimate Market Internals tool designed for professional SPX/ES and NQ intraday traders.
Traders often monitor both TICK (for short-term timing) and ADD (for daily trend context). However, displaying them on the same chart is usually problematic due to their different scales (TICK ยฑ1000 vs. ADD ยฑ2000), causing chart compression.
Market Internals Suite solves this with a smart "Visual Scaling" algorithm, perfectly fusing TICK Candles and the ADD Line into a single, coherent pane.
Key Features
1.Hybrid Visualization:
ยท TICK (Foreground): Displayed as OHLC Candles to capture instant liquidity sweeps and wicks.
ยท ADD (Background): Displayed as a clean Line to show the underlying market breadth trend without clutter.
2.Smart Visual Scaling:
ยท To prevent chart distortion, the ADD line is visually scaled down (Default Ratio: 1.5).
ยท This aligns the ADD trend volatility with the TICK range, allowing you to instantly spot divergences or resonance between sentiment and trend.
3.Real-Time Data Dashboard:
ยท Never lose track of the actual numbers. A dashboard in the top-right corner displays the TRUE values for both TICK and ADD (unscaled).
ยท Customizable Text Size: You can adjust the dashboard font size (Small/Normal/Large/Huge) in the settings to fit your screen.
4.TICK Extreme Alerts:
ยท Visual Highlight: The chart background highlights (Green/Red) only when TICK hits the extreme ยฑ1000 levels.
ยท The ADD line remains clean and alert-free to serve as a stable reference.
Strategy: Context + Timing:
1.Trend Resonance
When the ADD line trends upward and TICK candles consistently maintain levels above zero, it indicates a healthy, strong trend. This is a signal to look for trend-following long setups.
2.Divergence Analysis (The "Holy Grail" Signal)
This combination view makes spotting internal divergences incredibly easy:
ยท Bearish Divergence: When Price makes a New High, but the ADD line or TICK peaks make a Lower High. This suggests buying exhaustion beneath the surface and often precedes a reversal down.
ยท Bullish Divergence: When Price makes a New Low, but the ADD line or TICK lows make a Higher Low. This suggests that selling pressure is being absorbed, signaling a potential bounce or reversal up.
Directional Imbalance Index [BigBeluga]๐ต OVERVIEW
The Directional Imbalance Index is designed to track market strength by counting how often price sets new highs or lows over a defined lookback period. Every time a bar forms a new extreme, the indicator records a +1 count for either bullish (highs) or bearish (lows). These counts are aggregated into a rolling calculation, allowing traders to see which side dominates and how directional imbalance evolves.
๐ต CONCEPTS
Each new highest high โ adds a bullish count (+1).
Each new lowest low โ adds a bearish count (+1).
Counts are stored inside arrays over a user-defined Calculation Period .
for i = 0 to period-1
h = high
l = low
if h == upper
countUp.push(1)
if l == lower
countDn.push(1)
The balance between bullish and bearish counts highlights dominance and imbalance.
Normalized percentages help compare both sides (e.g., 65% bullish vs 35% bearish).
๐ต FEATURES
Counts new highs/lows over a chosen Highest/Lowest Length .
Aggregates values over a rolling Calculation Period .
Plots cumulative bullish vs bearish totals in the subchart.
Displays % share of bulls vs bears from total counts.
On-chart labels mark bars where a count was added.
Plots reference lines of the current upper (high) and lower (low) ranges.
Dynamic fill between bullish/bearish plots to visualize which side dominates.
๐ต HOW TO USE
Look for persistent bullish imbalance (bull % > bear %) as confirmation of upward momentum.
Look for persistent bearish imbalance (bear % > bull %) as confirmation of downward momentum.
Watch for shifts in % dominance โ often early signs of trend reversal or weakening strength.
Use labels on the chart to visually confirm which bars contributed to directional bias.
Combine with trend or volume tools to confirm whether imbalance aligns with market direction.
๐ต CONCLUSION
The Directional Imbalance Index offers a systematic way to measure directional pressure. By counting how often price pushes into new territory, the indicator reveals whether bulls or bears are taking control. This makes it a valuable tool for detecting early signs of trend continuation or exhaustion, helping traders align with the side most likely to dominate.
EMA HeatmapEMA Heatmap โ Indicator Description
The EMA Order Heatmap is a visual trend-structure tool designed to show whether the market is currently trending bullish, trending bearish, or moving through a neutral consolidation phase. It evaluates the alignment of multiple exponential moving averages (EMAs) at three different structural layers: short-term daily, medium-term daily, and weekly macro trend. This creates a quick and intuitive picture of how well price movement is organized across timeframes.
Each layer of the heatmap is scored from bearish to bullish based on how the EMAs are stacked relative to each other. When EMAs are in a fully bullish configuration, the row displays a bright green or lime color. Fully bearish alignment is shown in red. Yellow tones appear when the EMAs are mixed or compressing, indicating uncertainty, trend exhaustion, or a change in market character. The three rows combined offer a concise view of whether strength or weakness is isolated to one timeframe or broad across the market.
This indicator is best used as a trend filter before making trading decisions. Traders may find more consistent setups when the majority of the heatmap supports the direction of their trade. Green-dominant conditions suggest a trending bullish environment where long trades can be favored. Red-dominant conditions indicate bearish momentum and stronger potential for short opportunities. When yellow becomes more prominent, the market may be transitioning, ranging, or gearing up for a breakout, making timing more challenging and risk higher.
โข Helps quickly identify directional bias
โข Highlights when trends strengthen, weaken, or turn
โข Provides insight into whether momentum is supported by higher timeframes
โข Encourages traders to avoid fighting market structure
It is important to recognize the limitations. EMAs are lagging indicators, so the heatmap may confirm a trend after the initial move is underway, especially during fast reversals. In sideways or low-volume environments, the structure can shift frequently, reducing clarity. This tool does not generate entry or exit signals on its own and should be paired with price action, momentum studies, or support and resistance analysis for precise trade execution.
The EMA Order Heatmap offers a clean and reliable way to stay aligned with the broader market environment and avoid lower-quality trades in indecisive conditions. It supports more disciplined decision-making by helping traders focus on setups that match the prevailing structural trend.
Volume Delta [BigBeluga]๐ต OVERVIEW
The Volume Delta indicator visualizes the dominance between buying and selling volume within a given period. It calculates the percentage of bullish (buy) versus bearish (sell) volume, then color-codes the candles and provides a real-time dashboard comparing delta values across multiple currency pairs. This makes it a powerful tool for monitoring order-flow strength and intermarket relationships in real time.
๐ต CONCEPTS
Each barโs buy volume is counted when the close is higher than the open.
Each barโs sell volume is counted when the close is lower than the open.
volumeBuy = 0.
volumeSell = 0.
for i = 0 to period
if close > open
volumeBuy += volume
else
volumeSell += volume
The indicator sums both over a chosen period to calculate the ratio of buy-to-sell pressure.
Delta (%) = (Buy Volume รท (Buy Volume + Sell Volume)) ร 100.
Gradient colors highlight whether buying or selling pressure dominates.
๐ต FEATURES
Calculates real-time Volume Delta for the selected chart or for multiple assets.
Colors candles dynamically based on the delta intensity (green = buy pressure, red = sell pressure).
Displays a dashboard table showing volume delta % for up to five instruments.
The dashboard features visual progress bars for quick intermarket comparison.
An optional Delta Bar Panel shows the ratio of Buy/Sell volumes near the latest bar.
A floating label shows the exact Buy/Sell percentages.
Works across all symbols and timeframes for multi-asset delta tracking.
๐ต HOW TO USE
When Buy % > Sell % , it often signals bullish momentum or strong accumulationโbut can also indicate over-excitement and a possible market top.
Market Tops
When Sell % > Buy % , it typically reflects bearish pressure or distributionโbut may also occur near a market bottom where selling exhaustion forms.
Market Bottom
Use the Dashboard to compare volume flow across correlated assets (e.g., major Forex pairs or sector groups).
Combine readings with trend or volatility filters to confirm whether the imbalance aligns with broader directional conviction.
Treat the Delta Bar visualization as a real-time sentiment gaugeโshowing which side (buyers or sellers) dominates the current session.
๐ต CONCLUSION
Volume Delta transforms volume analysis into an intuitive directional signal.
By quantifying buy/sell pressure and displaying it as a percentage or color gradient, it provides traders with a clearer picture of real-time volume imbalance โ whether within one market or across multiple correlated instruments.
Pivot Trend Flow [BigBeluga]๐ต OVERVIEW
Pivot Trend Flow turns raw swing points into a clean, adaptive trend band. It averages recent pivot highs and lows to form two dynamic reference levels; when price crosses above the averaged highs, trend flips bullish and a green band is drawn; when it crosses below the averaged lows, trend flips bearish and a red band is drawn. During an uptrend the script highlights breakouts of previous pivot highs with โฒ labels, and during a downtrend it flags breakdowns of previous pivot lows with โผ labelsโmaking structure shifts and continuation signals obvious.
๐ต CONCEPTS
Pivot-Based Averages : Recent pivot highs/lows are collected and averaged to create smoothed upper/lower reference levels.
if not na(ph)
phArray.push(ph)
if not na(pl)
plArray.push(pl)
if phArray.size() > avgWindow
upper := phArray.avg()
phArray.shift()
if plArray.size() > avgWindow
lower := plArray.avg()
plArray.shift()
Trend State via Crosses : Close above the averaged-highs โ bullish trend; close below the averaged-lows โ bearish trend.
Trend Band : A colored band (green/red) is plotted and optionally filled to visualize the active regime around price.
Structure Triggers :
In bull mode the tool watches for prior pivot-high breakouts (โฒ).
In bear mode it watches for prior pivot-low breakdowns (โผ).
๐ต FEATURES
Adaptive Trend Detection from averaged pivot highs/lows.
Clear Visuals : Green band in uptrends, red band in downtrends; optional fill for quick read.
Breakout/Breakdown Labels :
โฒ marks breaks of previous pivot highs in uptrends
โผ marks breaks of previous pivot lows in downtrends
Minimal Clutter : Uses compact lines and labels that extend only on confirmation.
Customizable Colors & Fill for trend states and band styling.
๐ต HOW TO USE
Pivot Length : Sets how swing points are detected. Smaller = more reactive; larger = smoother.
Avg Window (pivots) : How many recent pivot highs/lows are averaged. Increase to stabilize the band; decrease for agility.
Read the Band :
Green band active โ prioritize longs, pullback buys toward the band.
Red band active โ prioritize shorts, pullback sells toward the band.
Trade the Triggers :
In bull mode, โฒ on a prior pivot-high break can confirm continuation.
In bear mode, โผ on a prior pivot-low break can confirm continuation.
Combine with Context : Use HTF trend, S/R, or volume for confluence and to filter signals.
Fill Color Toggle : Enable/disable band fill to match your chart style.
๐ต CONCLUSION
Pivot Trend Flow converts swing structure into an actionable, low-lag trend framework. By blending averaged pivots with clean breakout/breakdown labels, it clarifies trend direction, timing, and continuation spotsโideal as a core bias tool or a confirmation layer in any trading system.
Elliott Wave [BigBeluga]๐ต OVERVIEW
Elliott Wave automatically finds and draws an Elliott-style 5-wave impulse and a dashed projection for a potential -(a)โ(b)โ(c) correction. It detects six sequential reversal points from rolling highs/lows โ 1, 2, 3, 4, 5, (a) โ validates their relative placement, and then renders the wave with labels and horizontal reference lines. If price invalidates the structure by closing back through the Wave-5 level inside a 100-bar window, the pattern is cleared (optionally kept as โbrokenโ) while key dotted levels remain for context.
๐ต CONCEPTS
Reversal harvesting from extremes : The script scans highest/lowest values over a user-set Length and stores swing points with their bar indices.
Six-point validation : A pattern requires six pivots (1โฆ5 and (a)). Their vertical/temporal order must satisfy Elliott-style constraints before drawing.
Impulse + projection : After confirming 1โ5, the tool plots a curved polyline through the pivots and a dashed forward path from (a) toward (b) (midpoint of 5 and (a)) and back to (c).
Risk line (invalidator) : The Wave-5 price is tracked; a close back through it within 100 bars marks the structure as broken.
Minimal persistence : When broken, the wave drawing is removed to avoid noise, while dotted horizontals for waves 5 and 4 remain as reference.
๐ต FEATURES
Automatic pivot collection from rolling highs/lows (user-controlled Length ).
Wave labeling : Points 1โ5 are printed; the last collected swing is marked b
. Projected i
& i
are shown with a dashed polyline.
Breaker line & cleanup : If price closes above Wave-5 (opposite for bears) within 100 bars, the pattern is removed; only dotted levels of 5 and 4 stay.
Styling controls :
Length (pivot sensitivity)
Text Size for labels (tiny/small/normal/large)
Wave color input
Show Broken toggle to keep invalidated patterns visible
Lightweight memory : Keeps a compact buffer of recent pivots/draws to stay responsive.
๐ต HOW TO USE
Set sensitivity : Increase Length on noisy charts for cleaner pivots; decrease to catch earlier/shorter structures.
Wait for confirmation : Once 1โ5 is printed and (a) appears, use the Wave-5 line as your invalidation. A close back through it within ~100 bars removes the active wave (unless Show Broken is on).
Plan with the dashed path : The (a)โ(b)โ(c) projection offers a scenario for potential corrective movement and risk placement.
Work MTF : Identify cleaner waves on higher TFs; refine execution on lower TFs near the breaker or during the move toward (b).
Seek confluence : Align with structure (S/R), volume/Delta, or your trend filter to avoid counter-context trades.
๐ต CONCLUSION
Elliott Wave systematizes discretionary wave analysis: it detects and labels the 5-wave impulse, projects a plausible (a)-(b)-(c) path, and self-cleans on invalidation. With clear labels, dotted reference levels, and a practical breaker rule, it gives traders an objective framework for scenario planning, invalidation, and timing.
Swing Anchored Vwap [BigBeluga]๐ต OVERVIEW
Swing Anchored Vwap tracks the marketโs directional behavior by anchoring VWAPs (Volume Weighted Average Price) to dynamically detected swing highs and lows. It visually distinguishes the active swing VWAP from historical onesโoffering traders a clean view of trend-aligned value zones with clearly marked inflection points.
๐ต CONCEPTS
Swing Anchored VWAPs: VWAPs are initiated from recent swing highs during downtrends and swing lows during uptrends.
Trend Detection: The indicator identifies trend shifts based on the breaking of recent highest or lowest price value.
Trend-Based Coloring:
โโข Green VWAPs: are drawn from swing lows in uptrends.
โโข Blue VWAPs: are drawn from swing highs in downtrends.
Sensitivity Control: The Length input defines how far back the script looks to determine swing pointsโshorter lengths make it more reactive.
๐ต FEATURES
Real-time VWAP projection from the current swing point, updated live.
Historical VWAP traces with slightly faded color to emphasize the current active one.
Swing markers automatically placed on highs/lows where VWAPs are anchored.
Label with price value at the end of each active VWAP line for clarity.
Adaptive color scheme that visually separates uptrend/downtrend zones.
๐ต HOW TO USE
Use active VWAP as a dynamic support/resistance guide during ongoing trends.
Observe breaks or rejections around these VWAPs for trend continuation or reversal clues .
Compare current price position relative to swing VWAPs to assess trend maturity and extension .
Combine with volume analysis or structure to increase conviction at swing points.
๐ต CONCLUSION
Swing Anchored Vwap merges the logic of anchored VWAPs and swing structure into a responsive visual tool. It helps traders stay aligned with the current trend while offering historical context via previous value anchorsโideal for intraday to swing-level analysis.
Squeeze Momentum Regression Clouds [SciQua]โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โ โ โโ โโ โ โ โ โ โโ โโ โ โ๏ธ Squeeze Momentum Regression Clouds
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
๐ Overview
The Squeeze Momentum Regression Clouds (SMRC) indicator is a powerful visual tool for identifying price compression , trend strength , and slope momentum using multiple layers of linear regression Clouds. Designed to extend the classic squeeze framework, this indicator captures the behavior of price through dynamic slope detection, percentile-based spread analytics, and an optional UI for trend inspection โ across up to four customizable regression Clouds .
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โโ โโ โ โ๏ธ Core Features
โฐโโโโโโโโโโโโโโโโโฏ
Up to 4 Regression Clouds โ Each Cloud is created from a top and bottom linear regression line over a configurable lookback window.
Slope Detection Engine โ Identifies whether each band is rising, falling, or flat based on slope-to-ATR thresholds.
Spread Compression Heatmap โ Highlights compressed zones using yellow intensity, derived from historical spread analysis.
Composite Trend Scoring โ Aggregates directional signals from each Cloud using your chosen weighting model.
Color-Coded Candles โ Optional candle coloring reflects the real-time composite score.
UI Table โ A toggleable info table shows slopes, compression levels, percentile ranks, and direction scores for each Cloud.
Gradient Cloud Styling โ Apply gradient coloring from Cloud 1 to Cloud 4 for visual slope intensity.
Weight Aggregation Options โ Use equal weighting, inverse-length weighting, or max pooling across Clouds to determine composite trend strength.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โ โ โ โ โ โโ โโ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ ๐งช How to Use the Indicator
โ โ โ โ โ โ โ โ โ โโ โโ โ โ โ โ โ โ 1. Understand Trend Bias with Cloud Colors
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Each Cloud changes color based on its current slope:
Green indicates a rising trend.
Red indicates a falling trend.
Gray indicates a flat slope โ often seen during chop or transitions.
Cloud 1 typically reflects short-term structure, while Cloud 4 represents long-term directional bias. Watch for multi-Cloud alignment โ when all Clouds are green or red, the trend is strong. Divergence among Clouds often signals a potential shift.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โ โ โ โ โ โ โ โโ โโ โโ โโ โ โ โ โ 2. Use Compression Heat to Anticipate Breakouts
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
The space between each Cloudโs top and bottom regression lines is measured, normalized, and analyzed over time. When this spread tightens relative to its history, the script highlights the band with a yellow compression glow .
This visual cue helps identify squeeze zones before volatility expands. If you see compression paired with a changing slope color (e.g., gray to green), this may indicate an impending breakout.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โ โ โ โ โ โ โโ โโ โ โ โ 3. Leverage the Optional Table UI
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
The indicator includes a dynamic, floating table that displays real-time metrics per Cloud. These include:
Slope direction and value , with historical Min/Max reference.
Top and Bottom percentile ranks , showing how price sits within the Cloud range.
Current spread width , compared to its historical norms.
Composite score , which blends trend, slope, and compression for that Cloud.
You can customize the tableโs position, theme, transparency, and whether to show a combined summary score in the header.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โ โ โ โโ โโ โ โ โ โ โ โ โ โ โ 4. Analyze Candle Color for Composite Signals
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
When enabled, the indicator colors candles based on a weighted composite score. This score factors in:
The signed slope of each Cloud (up, down, or flat)
The percentile pressure from the top and bottom bands
The degree of spread compression
Expect green candles in bullish trend phases, red candles during bearish regimes, and gray candles in mixed or low-conviction zones.
Candle coloring provides a visual shorthand for market conditions , useful for intraday scanning or historical backtesting.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โ โโ โโโ โ โ โ ๐งฐ Configuration Guidance
โฐโโโโโโโโโโโโโโโโโโโโโโโโโฏ
To tailor the indicator to your strategy:
Use Cloud lengths like 21, 34, 55, and 89 for a balanced multi-timeframe view.
Adjust the slope threshold (default 0.05) to control how sensitive the trend coloring is.
Set the spread floor (e.g., 0.15) to tune when compression is detected and visualized.
Choose your weighting style : Inverse Length (favor faster bands), Equal, or Max Pooling (most aggressive).
Set composite weights to emphasize trend slope, percentile bias, or compressionโdepending on your market edge.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโฎ
โ โ โ โโ โโโ โ โ โ โ
Best Practices
โฐโโโโโโโโโโโโโโโโโฏ
Use aligned Cloud colors across all bands to confirm trend conviction.
Combine slope direction with compression glow for early breakout entry setups.
In choppy markets, watch for Clouds 1 and 2 turning flat while Clouds 3 and 4 remain directional โ a sign of potential trend exhaustion or consolidation.
Keep the table enabled during backtesting to manually evaluate how each Cloud behaved during price turns and consolidations.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ โโ โ โ โโ โโ โ ๐ License & Usage Terms
โฐโโโโโโโโโโโโโโโโโโโโโโโโฏ
This script is provided under the Creative Commons Attribution-NonCommercial 4.0 International License .
โ
You are allowed to:
Use this script for personal or educational purposes
Study, learn, and adapt it for your own non-commercial strategies
โ You are not allowed to:
Resell or redistribute the script without permission
Use it inside any paid product or service
Republish without giving clear attribution to the original author
For commercial licensing , private customization, or collaborations, please contact Joshua Danford directly.
Hann Window FIR Filter Ribbon [BigBeluga]๐ต OVERVIEW
The Hann Window FIR Filter Ribbon is a trend-following visualization tool based on a family of FIR filters using the Hann window function. It plots a smooth and dynamic ribbon formed by six Hann filters of progressively increasing length. Gradient coloring and filled bands reveal trend direction and compression/expansion behavior. When short-term trend shifts occur (via filter crossover), it automatically anchors visual support/resistance zones at the nearest swing highs or lows.
๐ต CONCEPTS
Hann FIR Filter: A finite impulse response filter that uses a Hann (cosine-based) window for weighting past price values, resulting in a non-lag, ultra-smooth output.
hannFilter(length)=>
var float hann = na // Final filter output
float filt = 0
float coef = 0
for i = 1 to length
weight = 1 - math.cos(2 * math.pi * i / (length + 1))
filt += price * weight
coef += weight
hann := coef != 0 ? filt / coef : na
Ribbon Stack: The indicator plots 6 Hann FIR filters with increasing lengths, creating a smooth "ribbon" that adapts to price shifts and visually encodes volatility.
Gradient Coloring: Line colors and fill opacity between layers are dynamically adjusted based on the distance between the filters, showing momentum expansion or contraction.
Dynamic Swing Zones: When the shortest filter crosses its nearest neighbor, a swing high/low is located, and a triangle-style level is anchored and projected to the right.
Self-Extending Levels: These dynamic levels persist and extend until invalidated or replaced by a new opposite trend break.
๐ต FEATURES
Plots 6 Hann FIR filters with increasing lengths (controlled by Ribbon Size input).
Automatically colors each filter and the fill between them with smooth gradient transitions.
Detects trend shifts via filter crossover and anchors visual resistance (red) or support (green) zones.
Support/resistance zones are triangle-style bands built around recent swing highs/lows.
Levels auto-extend right and adapt in real time until invalidated by price action.
Ribbon responds smoothly to price and shows contraction or expansion behavior clearly.
No lag in crossover detection thanks to FIR architecture.
Adjustable sensitivity via Length and Ribbon Size inputs.
๐ต HOW TO USE
Use the ribbon gradient as a visual trend strength and smooth direction cue.
Watch for crossover of shortest filters as early trend change signals.
Monitor support/resistance zones as potential high-probability reaction points.
Combine with other tools like momentum or volume to confirm trend breaks.
Adjust ribbon thickness and length to suit your trading timeframe and volatility preference.
๐ต CONCLUSION
Hann Window FIR Filter Ribbon blends digital signal processing with trading logic to deliver a visually refined, non-lagging trend tool. The adaptive ribbon offers insight into momentum compression and release, while swing-based levels give structure to potential reversals. Ideal for traders who seek smooth trend detection with intelligent, auto-adaptive zone plotting.






















