Institutional Market Structure Pro [JOAT]Institutional Market Structure Pro โ SMC, MTF Momentum & Z-Score Confluence Engine
IMPORTANT NOTES (READ FIRST)
This is an indicator (not a strategy). It does not place trades. It provides a structured confluence framework combining market structure, momentum, and statistical analysis.
This script is written in Pine Script v6 and is intended to be used on standard candlestick charts .
Source code visibility: This script is published as Protected Source (closed-source) . The purpose is to protect the work from unauthorized re-uploads/copies and to maintain a stable versioning path. This description is intentionally detailed so you can understand what the indicator does and how to use each feature without needing access to the implementation.
Non-Repainting: HTF data uses confirmed historical values with proper offset, ensuring reliable signals for live trading.
Protected Source / Closed-Source Clarification
Protected source does not mean "trust me blindly". It means the internal implementation is not publicly viewable.
The operational behavior is documented here: what is plotted, what each dashboard cell means, what each input controls, and how to interpret the output.
If you see re-uploads or near-identical copies elsewhere, treat them with caution and rely on the official publication.
Overview
Institutional Market Structure Pro (IMS Pro) is a comprehensive technical analysis indicator designed to help traders identify market structure shifts, momentum alignment, and statistical price extremes. It combines:
Smart Money Concepts (SMC) โ Swing highs/lows, Change of Character (CHoCH), Break of Structure (BOS)
Higher Timeframe Momentum โ MACD-based institutional bias from configurable HTF
Statistical Z-Score Analysis โ Standard deviation bands identifying statistically extreme price levels
Trend Cloud โ EMA-based short-term trend visualization
Confluence Scoring โ Four-factor system combining all layers into actionable bias
The indicator was developed to address a common challenge: most retail traders struggle to identify when institutional order flow is shifting direction. By combining market structure analysis with higher timeframe momentum and statistical deviation measurements, IMS Pro helps traders see the market through an institutional lens.
What Makes It Original (Originality & Usefulness)
This script is not a simple mashup of SMC concepts. It is a coordinated workflow:
Market Structure Layer identifies swing highs, swing lows, and structural breaks (CHoCH and BOS) using configurable pivot detection
Momentum Layer analyzes higher timeframe MACD to determine institutional momentum bias with non-repainting implementation
Statistical Layer calculates Z-Score deviation bands to identify statistically extreme price levels where reversals are more likely
Confluence Scoring combines all layers into a single actionable bias score (STRONG BULL to STRONG BEAR)
When these three layers align, the indicator provides high-probability trading opportunities. The dashboard displays real-time confluence scoring so traders can quickly assess market conditions.
1) Chart Visuals โ What You See on the Chart
A) Swing Highs and Swing Lows
The indicator identifies swing points using a configurable pivot detection algorithm:
Swing Highs โ Red circles above the price level where they formed
Swing Lows โ Green circles below the price level where they formed
Pivot Sensitivity โ Controls how many bars are required to confirm a swing point (default: 10 bars)
Higher pivot sensitivity values result in fewer but more significant swing points. Lower values capture more swings but may include noise.
B) Change of Character (CHoCH)
A Change of Character occurs when price breaks a swing level in the opposite direction of the current trend, signaling a potential trend reversal:
Bullish CHoCH โ Price breaks above a swing high while the market was previously in bearish structure. Displayed as a green dashed line with "CHoCH" label.
Bearish CHoCH โ Price breaks below a swing low while the market was previously in bullish structure. Displayed as a red dashed line with "CHoCH" label.
CHoCH signals are significant because they indicate that the side previously in control (buyers or sellers) has lost dominance. These are often the first signs of a trend reversal.
C) Break of Structure (BOS)
A Break of Structure occurs when price breaks a swing level in the same direction as the current trend, confirming trend continuation:
Bullish BOS โ Price breaks above a swing high while already in bullish structure. Displayed as a light green solid line with "BOS" label.
Bearish BOS โ Price breaks below a swing low while already in bearish structure. Displayed as a light red solid line with "BOS" label.
BOS signals confirm that the current trend remains intact and the dominant side maintains control.
D) Z-Score Deviation Bands
Statistical bands showing price deviation from mean:
Upper Band (+2 sigma) โ Light red line showing the overbought threshold
Lower Band (-2 sigma) โ Light green line showing the oversold threshold
Mean Line โ Gray line showing the statistical average price
Extreme Markers โ Diamond shapes appear when price first enters extreme zones
Statistical Probability Context:
68% of price action occurs within +/- 1 standard deviation
95% of price action occurs within +/- 2 standard deviations
99.7% of price action occurs within +/- 3 standard deviations
When price reaches +/- 2 standard deviations, there is only a 5% probability of it moving further in that direction, making these levels statistically significant for potential reversals.
E) Trend Cloud
Visual representation of short-term trend direction using two EMAs (9 and 21):
Green Cloud โ Fast EMA is above slow EMA, indicating bullish short-term momentum
Red Cloud โ Fast EMA is below slow EMA, indicating bearish short-term momentum
F) HTF Momentum Background Tint
Subtle background coloring based on higher timeframe MACD:
Green Background Tint โ Higher timeframe momentum is bullish (MACD line > signal line)
Red Background Tint โ Higher timeframe momentum is bearish (MACD line < signal line)
No Tint โ Momentum is neutral or the feature is disabled
2) IMS PRO Dashboard โ Full Glossary
A compact table displays real-time summary of all analysis layers:
Header Row
Displays "IMS PRO" and current symbol
Color changes based on overall bias (green for bullish, red for bearish)
Row 1 โ Structure
BULLISH : Higher highs and higher lows pattern
BEARISH : Lower highs and lower lows pattern
NEUTRAL : Mixed swings, ranging/consolidating market
Row 2 โ HTF
Shows higher timeframe momentum bias with selected timeframe in parentheses
BULLISH : MACD line > signal line on HTF
BEARISH : MACD line < signal line on HTF
Row 3 โ Z-Score
Displays current Z-Score value with color coding
Green for positive, red for negative
Bright colors for extreme values (beyond +/- 2)
Row 4 โ Trend
UP : Fast EMA > Slow EMA
DOWN : Fast EMA < Slow EMA
RANGING : EMAs approximately equal
Row 5 โ Overall Bias
STRONG BULL : Score +3 to +4 (all factors aligned bullish)
BULL : Score +1 to +2 (majority of factors bullish)
NEUTRAL : Score 0 (mixed signals)
BEAR : Score -1 to -2 (majority of factors bearish)
STRONG BEAR : Score -3 to -4 (all factors aligned bearish)
Row 6 โ Swing High
Price level of the most recent swing high
Useful for stop loss and target placement
Row 7 โ Swing Low
Price level of the most recent swing low
Useful for stop loss and target placement
3) How the Confluence Scoring Works (High-Level)
IMS Pro uses a four-factor confluence scoring system:
Market Structure (+1/-1) : Bullish structure adds +1, bearish structure adds -1
HTF Momentum (+1/-1) : Bullish HTF momentum adds +1, bearish adds -1
Trend Direction (+1/-1) : Uptrend adds +1, downtrend adds -1
Z-Score Position (+1/-1) : Z-Score above +0.5 adds +1, below -0.5 adds -1
Score Interpretation:
Score +3 to +4 = STRONG BULL โ All factors aligned bullish
Score +1 to +2 = BULL โ Majority of factors bullish
Score 0 = NEUTRAL โ Mixed signals
Score -1 to -2 = BEAR โ Majority of factors bearish
Score -3 to -4 = STRONG BEAR โ All factors aligned bearish
Z-Score Calculation:
Z-Score = (Price - Mean) / Standard Deviation
Mean and StdDev calculated over configurable lookback period (default: 75)
Z-Score = 0 means price is at the mean
Z-Score = +2 means price is two standard deviations above mean (statistically overbought)
Z-Score = -2 means price is two standard deviations below mean (statistically oversold)
4) Inputs & Settings โ Full Reference
Market Structure Settings
Pivot Sensitivity (default: 10): Number of bars to confirm swing points. Range: 2-50.
Show Last N Bars (default: 500): Limits historical display for performance.
Show Swing Highs : Toggle swing high markers.
Show Swing Lows : Toggle swing low markers.
Show CHoCH : Toggle Change of Character labels.
Show BOS : Toggle Break of Structure labels.
Swing High Color (default: red): Color for swing high markers.
Swing Low Color (default: green): Color for swing low markers.
Higher Timeframe Momentum Settings
Enable HTF Momentum : Toggle HTF analysis.
Higher Timeframe (default: 240/4H): Timeframe for momentum analysis.
MACD Fast Length (default: 12): Fast EMA period for MACD.
MACD Slow Length (default: 26): Slow EMA period for MACD.
MACD Signal Length (default: 9): Signal line period.
Show HTF Bias Background : Toggle background tint.
Bias Background Transparency (default: 92): Opacity of background tint.
Statistical Analysis Settings
Enable Z-Score Analysis : Toggle statistical analysis.
Z-Score Lookback (default: 75): Period for mean and standard deviation calculation.
Show Extreme Deviation Bands : Toggle +/- 2 sigma bands.
Extreme Z-Score Threshold (default: 2.0): Z-Score level considered extreme.
Visual Settings
Show Information Dashboard : Toggle dashboard display.
Dashboard Position (default: Top Right): Corner placement for dashboard.
Color Bars by Trend : Toggle bar coloring based on confluence.
Show Trend Cloud : Toggle EMA cloud display.
Cloud Transparency (default: 85): Opacity of trend cloud fill.
Alert Settings
Alert on CHoCH : Enable CHoCH alerts and visual markers.
Alert on BOS : Enable BOS alerts and visual markers.
Alert on Extreme Z-Score : Enable extreme zone alerts and markers.
5) Recommended Workflow (Practical Use)
Step 1: Identify Market Structure
Observe swing highs and swing lows to understand current structure
Higher highs + higher lows = Bullish structure
Lower highs + lower lows = Bearish structure
Mixed swings = Ranging/consolidating market
Step 2: Check Higher Timeframe Bias
Look at background tint and dashboard HTF reading
Trading with HTF momentum increases probability of success
Step 3: Wait for Structure Breaks
For trend reversals: Wait for CHoCH signals that align with HTF momentum
For trend continuation: Wait for BOS signals that confirm existing trend
Step 4: Consider Statistical Context
Avoid buying when Z-Score is extremely positive (overbought)
Avoid selling when Z-Score is extremely negative (oversold)
Look for reversals when price reaches extreme bands
Step 5: Assess Overall Confluence
STRONG BULL = High-probability long setups
STRONG BEAR = High-probability short setups
NEUTRAL = Wait for clearer signals
Recommended Timeframe Settings:
For 15-minute charts: Use 4H (240) higher timeframe
For 1-hour charts: Use Daily (D) higher timeframe
For 4-hour charts: Use Weekly (W) higher timeframe
6) Alerts
IMS Pro ships with alert conditions for:
Bullish CHoCH : Triggers when a bullish Change of Character is detected
Bearish CHoCH : Triggers when a bearish Change of Character is detected
Bullish BOS : Triggers when a bullish Break of Structure is detected
Bearish BOS : Triggers when a bearish Break of Structure is detected
Extreme Overbought : Triggers when Z-Score first exceeds the extreme threshold
Extreme Oversold : Triggers when Z-Score first drops below the negative extreme threshold
Bullish Confluence : Triggers when CHoCH + HTF Bullish + Oversold Z-Score align
Bearish Confluence : Triggers when CHoCH + HTF Bearish + Overbought Z-Score align
The confluence alerts are particularly valuable as they only trigger when multiple factors align, filtering out lower-probability setups.
7) Limitations & Best-Use Guidance
Market structure analysis works best in trending markets; may produce mixed signals in choppy conditions.
Higher timeframe data requires sufficient historical bars to calculate accurately.
Z-Score assumes normal distribution which may not hold during extreme market events.
Past structural patterns do not guarantee future price behavior.
The indicator is a tool for analysis, not a standalone trading system.
Always validate on your own symbols and timeframes before committing capital.
Best Practices:
Always trade in the direction of the higher timeframe momentum
Use CHoCH signals for potential reversals, BOS signals for continuations
Avoid entries when Z-Score is at extremes against your trade direction
Wait for STRONG BULL or STRONG BEAR confluence for highest probability trades
Adjust pivot sensitivity based on your trading timeframe (higher for swing trading, lower for day trading)
Use the swing high and swing low levels from the dashboard for stop loss and target placement
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Past performance of any trading methodology is not indicative of future results. Users should conduct their own research and consult with qualified financial advisors before making trading decisions. The author is not responsible for any losses incurred from using this indicator.
-Made with passion by officialjackofalltrades
Analisis Tren
Ale Tonkis Swing Failure + TP RRSwing Failure Pattern (SFP) indicator with multi-timeframe confirmation and dynamic Take Profit logic.
It detects bullish and bearish SFP setups, confirms them using 5m and 15m timeframes, and automatically plots Take Profit targets with a 1:2 or 1:3 riskโreward ratio, based on previous highs and lows (market structure pivots).
Designed for Forex and Crypto trading, fully visual and non-repainting.
FTFC (FULL TIMEFRAME CONTINUITY) STRATThe Strat FTFC Command Center is an all-in-one visual toolkit designed to eliminate the guesswork from Timeframe Continuity. Based on the teachings of Rob Smith, this indicator tracks the opening prices of 6 critical timeframes simultaneously. It provides a real-time "Command Center" (HUD) to monitor price distance from openings and identifies the exact "FTFC Thresholds" where the Daily, Weekly, and Monthly charts align for high-probability trade entries.
Note: 1 hour/60 minute timeframe should be taken into account for FTFC as per STRAT/Rob Smith as well, but most traders who trade STRAT watch 60 min timeframe so it's left to the discretion of the trader to watch whether or not the 60 min aligns with D, W, M and/or their trade plan or not.
Key Features
Dynamic FTFC Thresholds: Automatically calculates and draws the FTFC Green and FTFC Red lines. When price clears these levels, you have full continuity in your favor.
6-Timeframe HUD: A customizable table tracking the status (Bullish/Bearish) and price-distance for 1H, Daily, Weekly, Monthly, 3-Month, and 12-Month timeframes.
Opening Level Rays: Draws and labels automated horizontal rays for all major opening price levels.
Continuity Signal Dots: Visual "Go/No-Go" dots at the bottom of the chart that only illuminate when price achieves Full Timeframe Continuity (D, W, M green/red).
Customizable Settings Guide
1. Opening Level Rays
Show Opening Rays: Toggle the visibility of the 6 individual timeframe opens.
Ray Style/Color: Globally control the aesthetic of the level lines (Solid, Dotted, or Dashed).
Ray Label Offset: Move the text labels into the "future" (right of price) to keep the current price action clear.
Placement: Choose if labels sit Above, Below, or Centered on the line.
2. FTFC Thresholds (The "Triggers")
Show Threshold Lines: Toggles the thick Green/Red FTFC levels.
Independent Offset: Set a separate horizontal offset for these labels (e.g., keep them further to the right than standard rays for a visual hierarchy).
Label Toggle: Turn labels off while keeping the lines visible for a cleaner look.
3. UI & Table Customization
Table Position: Place the HUD in any of the 8 corners/sides of the chart.
Orientation: Switch between Vertical (list) and Horizontal (ribbon) layouts to match your screen real estate.
Size Toggles: Adjust the font/table size (Small, Normal, Large) and the Continuity Signal Dot size (Tiny, Small, Normal).
Risk Disclosure: Trading involves significant risk. This indicator is an analytical tool designed to visualize price action based on historical opening levels; it is not a financial advisor or a signal service. Past performance is not indicative of future results. Always use proper risk management and consult your own trading plan before executing entries. The author is not responsible for any financial losses incurred through the use of this script.
Weekly EMA Squeeze (Bullish + Bearish)Purpose
The Weekly EMA Squeeze indicator identifies periods where price is compressing tightly around a cluster of weekly EMAs and then flags when that compression resolves with directional bias. It is designed to surface high-timeframe inflection points where trends are most likely to begin or meaningfully change.
This indicator operates entirely on weekly data, even when viewed on lower timeframes.
________________________________________
Core Components
1. Weekly EMA Cluster
โข Uses three weekly EMAs (fast / mid / slow)
โข Compression is defined by:
o Tight EMA spread
o Reduced weekly volatility (ATR contraction)
โข Represents balance and indecision at a higher timeframe
2. Bullish Weekly EMA Squeeze
Triggered when:
โข EMAs are tightly compressed
โข Price is holding above or within the EMA cluster
โข EMA slopes flatten or turn upward (optional filter)
โข Optional requirement: weekly close above EMA cluster
Displayed as:
โข Green upward triangles
โข Green vertical shaded band marking the squeeze event window
3. Bearish Weekly EMA Squeeze
Triggered when:
โข EMAs are tightly compressed
โข Price is holding below or within the EMA cluster
โข EMA slopes flatten or turn downward (optional filter)
โข Optional requirement: weekly close below EMA cluster
Displayed as:
โข Red downward triangles
โข Red vertical shaded band marking the squeeze event window
4. Vertical Shaded Event Bands
โข Each squeeze event (bull or bear) is visually marked with a vertical shaded region
โข Shading appears on every qualifying event, including consecutive ones
โข Purpose: clearly identify when the market entered a compressed, directional decision state
________________________________________
What the Indicator Is Signaling
โข Compression + directional bias, not immediate breakouts
โข Transition points between:
o Range โ trend
o Trend โ reversal
o Trend โ re-acceleration after consolidation
This indicator does not attempt to predict magnitude โ it identifies timing and regime change risk.
________________________________________
How to Use It
Best used for:
โข High-timeframe bias setting
โข Filtering lower-timeframe signals
โข Identifying when to stop fading price
โข Recognizing when volatility expansion is likely
Typical interpretations:
โข Bullish squeeze โ bias shifts upward; favor long exposure
โข Bearish squeeze โ bias shifts downward; favor defensive or short exposure
โข Multiple squeezes in same direction โ trend reinforcement
โข Rapid bull โ bear flips โ higher-timeframe indecision
________________________________________
What It Is Not
โข Not an entry trigger by itself
โข Not a momentum oscillator
โข Not a replacement for breakout confirmation
This indicator answers:
โIs the weekly market coiling, and in which direction is pressure building?โ
Weekly Breakout Confirm + RS vs BTC + VolumePurpose
The Weekly Breakout Confirmation indicator validates whether price has structurally exited a prior weekly range and whether that breakout is supported by volume expansion and relative strength vs BTC.
It is a regime confirmation tool, designed to separate real breakouts from false ones.
________________________________________
Core Components
1. Weekly Donchian Channel
โข Upper band (green): prior weekly range high
โข Lower band (red): prior weekly range low
โข Calculated on weekly data with no repainting
These levels define the structural range the market must escape to enter a new regime.
________________________________________
2. Weekly Breakout (W BO)
Triggered when:
โข Weekly close breaks above the upper Donchian band
โข Volume confirms expansion
โข Optional filter: relative strength vs BTC is rising
Displayed as:
โข Bullish breakout marker
โข Green structure line remains on chart as reference
________________________________________
3. Weekly Breakdown (W BD)
Triggered when:
โข Weekly close breaks below the lower Donchian band
โข Volume confirms expansion
โข Optional filter: relative strength vs BTC is weakening
Displayed as:
โข Bearish breakdown marker
โข Red structure line remains on chart as reference
________________________________________
4. Relative Strength vs BTC
โข Measures asset performance relative to BTC on a weekly basis
โข Helps identify:
o True altcoin leadership
o False breakouts driven only by BTC beta
โข Optional requirement for breakout validation
________________________________________
5. Volume Confirmation
โข Weekly volume must exceed a moving average threshold
โข Filters out low-participation breakouts
โข Ensures institutional-grade participation
________________________________________
What the Indicator Is Signaling
โข Confirmed regime transitions
โข Entry into:
o Sustained trends
o Distribution phases
o Structural breakdowns
Once a breakout is confirmed:
โข The prior range is invalidated
โข The green/red line becomes support/resistance reference, not a trigger
________________________________________
How to Use It
Best used for:
โข Determining whether the market is trending or ranging
โข Confirming whether weekly EMA squeezes are actionable
โข Managing exposure duration and risk tolerance
Interpretation framework:
โข W BO + rising RS + volume โ trend acceptance
โข W BO without RS โ BTC-driven move (lower confidence)
โข No recent W BO / W BD โ consolidation regime
โข W BD โ risk-off, defensive posture
Over Night Hold Scanner Born InvestorOver Night Hold (ONH) Scanner - Daily Timeframe
Identifies high-probability overnight hold candidates based on Trader Stewie's methodology. Scans for explosive volume (2x+ average), strong closes in top 15% of range, and momentum contextโregardless of your current chart timeframe.
Key Features:
Always reads from Daily chart data
Customizable data table (resizable, repositionable)
Volume ratio and close strength scoring
Price & liquidity filters ($3+ min, 1M+ volume)
Trend confirmation or reversal detection
EMA Buy/Sell & Smart Zones(5Min TF only)### **Indicator Title:**
**EMA Buy/Sell & Smart Zones**
---
### **Description:**
**EMA Buy/Sell & Smart Zones** is a specialized intraday trading tool designed to combine trend analysis with precise market structure zones. This script utilizes a custom tracking algorithm to identify the **specific candle** that formed the previous session's high or low, allowing it to plot accurate Supply and Demand zones for the current trading day.
This indicator has been rigorously tested on the **Nifty Index** and is optimized for use on the **5-minute timeframe**.
### **Key Features**
**1. Smart Session Wick Zones ("True Wick" Logic)**
The indicator automatically scans every candle of the previous session to locate the exact price action that formed the day's extremes.
* **Smart High Zone:** Identifies the specific candle that made yesterday's High and plots a zone from that High down to that candle's Open or Close (based on body direction).
* **Smart Low Zone:** Identifies the specific candle that made yesterday's Low and plots a zone from that Low up to that candle's Open or Close.
* **Close Range:** Highlights the High-Low range of the very last candle of the previous session to show the closing sentiment.
*All zones automatically stop extending at the end of the current session, ensuring the chart remains clean and historically accurate.*
**2. EMA Trend System**
The script plots three key Exponential Moving Averages to define market direction:
* **EMA 21:** Captures short-term momentum.
* **EMA 63:** Defines the medium-term trend.
* **EMA 1575:** Establishes the long-term baseline.
**3. Buy/Sell Signals**
Clear signals are generated on the chart based on specific criteria:
* **BUY Signal:** Generated when a green candle closes above the EMA 21 and EMA 63.
* **SELL Signal:** Generated when a red candle closes below the EMA 21 and EMA 63.
* *Note: The logic includes a filter to alternate signals (Buy -> Sell -> Buy), preventing clutter during choppy markets.*
### **How to Use**
* **Recommended Timeframe:** **5 Minutes**.
* **Recommended Markets:** Indices (Nifty, Bank Nifty) and high-volume stocks.
* **Workflow:**
* Use the **Smart Zones** (Red/Green boxes) to identify potential rejection areas or breakout targets.
* Use the **Buy/Sell Labels** as confirmation triggers when price is reacting near these zones or trending strongly above/below the EMAs.
### **Settings & Customization**
* **Visibility Control:** Toggle each box type (High, Low, Close) and text labels on or off individually.
* **Color Customization:** Fully adjustable colors for all EMAs, Zone Backgrounds, Borders, and Text Labels to suit your chart theme.
* **Label Size:** Adjust the text size of the zone labels directly from the settings menu.
---
**Disclaimer:** This tool is for educational purposes and should be used to assist your analysis. Always manage your risk appropriately.
Market Regime: Squeeze Box + Trend DashboardMarket Regime: Squeeze Box + Trend Dashboard
Market Regime is a overlay designed to provide instant market context (trend vs consolidation) and highlight volatility compression (squeeze) setups before potential breakouts. Built with stock charts in mind, it focuses on clean visuals and practical decision support.
What this indicator shows:
1) Market Regime (TREND / RANGE / NEUTRAL)
The regime is detected using DMI/ADX with built-in confirmation to reduce flicker:
TREND : ADX stays above a threshold for N bars
RANGE : ADX stays below a threshold for N bars
NEUTRAL : neither trend nor range is confirmed
Trend direction is derived from DI+ vs DI- (UP / DOWN / MIXED).
2) Squeeze (BB inside KC)
A squeeze is detected when Bollinger Bands contract inside Keltner Channels (volatility compression).
SQZ = squeeze start
REL = squeeze release (the first bar *after* squeeze โ technically correct)
3) Squeeze Box
The core feature: a box drawn from SQZ โ REL , dynamically tracking the highest high / lowest low during the squeeze. This creates a clean visual range for the compression zone and helps frame breakout context.
4) EMA Ribbon with ADX-based intensity
Two EMAs (fast/slow) form a ribbon. The fill becomes more pronounced as ADX strength increases, making trend momentum easier to read at a glance.
5) Trend Dashboard (corner panel)
A compact dashboard summarizing key metrics:
REGIME, DIR, ADX (with normalized strength %)
SQUEEZE ON/OFF
Relative Volume (relVol + tier)
ATR% (14), EMA Slope%, GAP% (Open vs previous Close)
Customization / Settings
Fully configurable for different styles and markets:
ADX/DMI lengths and thresholds
BB/KC parameters (lengths and multipliers)
Relative Volume thresholds
Background mode: Off / Squeeze only / All regimes
Visual toggles: ribbon, squeeze box, markers, dashboard
History controls and limits for boxes/labels (clean chart + performance)
How to use (practical workflow)
Trend context : read REGIME + DIR and ribbon intensity (ADX strength).
Squeeze setup : when squeeze is active, the box defines the compression range (high/low).
Release : REL marks the first bar after squeeze ends (potential breakout/expansion context).
Notes
No look-ahead logic is used; calculations rely on current and historical bars only.
On realtime (still-forming) candles, values can change intrabar, normal behavior for indicators computed on the current bar.
Trading Disclaimer:
This indicator is provided for research and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use at your own risk. You are solely responsible for any trading decisions made using this script.
Engulfing Candlestick ScannerThis Indicator is used to Identify Engulfing Candles. It work on any timeframe.
Market Structure (HH,Hl,LH,LL)This script shows you the most recent HH,HL,LH,LL, with the BOS. To help you indetify the Trend, my suggestion is to change the swing length to 10.
Macro FVG with Quarter Theory & CE AlertsStarting with Python, target, starting with script now, but I made this FvVG identifier. It will. Create the favorite group as it. Occurs. Just moving up it would be green, if it's moving down it would be red and if it's mitigated but turn dark black.
Abi 15m System ๐ Intended Use
Primary timeframe: 15-Minute
Markets: Liquid stocks, ETFs, index products
Style: Intraday swing / trend continuation
Execution: Discretionary execution with systematic alerts
This script is designed for traders who want structure and confirmation, not prediction.
๐งญ Market Structure Logic
The system evaluates trend conditions across multiple timeframes:
Higher timeframe (Daily / 1H): Defines the dominant market direction
Execution timeframe (15M): Determines trade timing and structure
Trades are highlighted only when higher-timeframe context supports continuation, helping traders avoid counter-trend entries and low-quality consolidation zones.
๐ฏ Signal Philosophy
Signals are confirmation-based, not anticipatory
No forecasting or future data is used
Fewer signals by design, prioritizing clarity over frequency
Best suited for trend legs and continuation phases
The system is intentionally conservative to filter out marginal setups.
๐ Visual Components
Background state
Bullish: favorable long-bias environment
Bearish: favorable short-bias environment
Moving averages
Used as structural references, not predictive tools
Entry markers
Highlight qualified opportunities without cluttering the chart
All visuals are designed to support decision-making at a glance.
๐ Alerts
Entry-focused alerts only
Designed for manual trade management
Compatible with stock, ETF, and options workflows
Exit strategy and position management are left to the traderโs discretion.
โ ๏ธ Important Notes
This system is optimized specifically for the 15-minute timeframe
Performance depends on market regime and execution discipline
Not intended as a fully automated trading strategy
For best results, use alongside higher-timeframe analysis and risk management rules.
๐ก Access & Usage
This script is provided as an Invite-Only study to maintain quality, consistency, and controlled distribution.
Abi 15m System ๐ Intended Use
Primary timeframe: 15-Minute
Markets: Liquid stocks, ETFs, index products
Style: Intraday swing / trend continuation
Execution: Discretionary execution with systematic alerts
This script is designed for traders who want structure and confirmation, not prediction.
๐งญ Market Structure Logic
The system evaluates trend conditions across multiple timeframes:
Higher timeframe (Daily / 1H): Defines the dominant market direction
Execution timeframe (15M): Determines trade timing and structure
Trades are highlighted only when higher-timeframe context supports continuation, helping traders avoid counter-trend entries and low-quality consolidation zones.
๐ฏ Signal Philosophy
Signals are confirmation-based, not anticipatory
No forecasting or future data is used
Fewer signals by design, prioritizing clarity over frequency
Best suited for trend legs and continuation phases
The system is intentionally conservative to filter out marginal setups.
๐ Visual Components
Background state
Bullish: favorable long-bias environment
Bearish: favorable short-bias environment
Moving averages
Used as structural references, not predictive tools
Entry markers
Highlight qualified opportunities without cluttering the chart
All visuals are designed to support decision-making at a glance.
๐ Alerts
Entry-focused alerts only
Designed for manual trade management
Compatible with stock, ETF, and options workflows
Exit strategy and position management are left to the traderโs discretion.
โ ๏ธ Important Notes
This system is optimized specifically for the 15-minute timeframe
Performance depends on market regime and execution discipline
Not intended as a fully automated trading strategy
For best results, use alongside higher-timeframe analysis and risk management rules.
๐ก Access & Usage
This script is provided as an Invite-Only study to maintain quality, consistency, and controlled distribution.
Qualidade da Tendencia - Renato SaabTrend Quality Score (TQS)
What it is
The Trend Quality Score is an indicator that objectively measures the quality of a trend, classifying it as CLEAN, DIRTY, or SIDEWAYS. Designed to identify trends with high operational potential โ those with clear directional movement, low relative volatility, and preserved technical structure.
What it's for
Filter assets that are in high-quality trends, ideal for directional trades
Monitor trend deterioration before it breaks down
Identify the current regime: active trend, consolidation, or loss of momentum
Avoid trading assets with "dirty" trends - those that even while rising or falling, show excessive noise and volatility
How to interpret
The indicator generates a score from 0 to 100:
70+ : CLEAN trend (green): solid structure, ideal for trend following
45-69 : DIRTY trend (orange): there's direction, but with noise; use caution
<45 : SIDEWAYS (gray): no defined trend or compromised structure
The side panel displays a detailed diagnosis, including separate short-term and long-term analysis, allowing you to understand whether the asset is in healthy consolidation or genuine loss of strength.
Concept
"Clean" trends are those where price flows with directional consistency, moving averages move in an organized manner like railroad tracks, and pullbacks respect the structure without violating it. "Dirty" trends may have direction, but with excessive crossovers, volatility, and disorganized moving averages โ making trades difficult and increasing risk.
Developed by Renato Saab | Patrimรดnio Global
Adaptive Momentum Contextdaptive Momentum Context (AMC)
Adaptive Momentum Context (AMC) is a single-panel, overlay indicator designed to help traders read market context, momentum behavior, and volatility-driven rhythm in a structured and non-misleading way.
This indicator does not aim to predict future price movements. Instead, it focuses on describing current market conditions using adaptive smoothing and higher-timeframe bias.
Concept Overview
AMC is built around three core ideas:
Higher Timeframe Context (Bias)
Adaptive Market Rhythm
Momentum Behavior within Context
These components are combined to provide a clearer view of when momentum aligns with the broader market structure.
Higher Timeframe Bias
The indicator retrieves price data from a user-selected higher timeframe and compares it to a moving average on that timeframe.
When higher timeframe price is above its average, the background is shaded green.
When it is below, the background is shaded red.
This background does not generate signals.
Its purpose is to define directional context and reduce decision-making against dominant market conditions.
Adaptive Market Rhythm
Instead of using a fixed-length moving average, AMC calculates an adaptive smoothing length based on relative volatility.
When volatility expands, the smoothing period increases.
When volatility contracts, the smoothing period shortens.
Because Pine Script does not allow dynamic lengths in built-in moving averages, the adaptive line is calculated manually using a recursive EMA formula.
This ensures:
No repainting
No future data access
Full Pine Script v6 compliance
The adaptive line represents the current market rhythm, not a trend guarantee.
Momentum Behavior
Momentum is derived from changes in the adaptive rhythm rather than raw price.
Small visual markers appear when:
Momentum accelerates in the direction of the higher timeframe bias
Momentum decelerates against that bias
These markers are contextual cues, not standalone trade signals.
How to Use
AMC is best used as a context and filtering tool, not as a mechanical entry system.
Possible use cases:
Filtering lower-timeframe entries
Avoiding trades against higher-timeframe structure
Visualizing momentum shifts during pullbacks or continuations
Users are encouraged to combine this indicator with their own risk management and execution rules.
Important Notes
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
No lookahead, no repainting, or non-standard chart types are used.
Default settings are intended for general use and may require adjustment depending on market and timeframe.
Chainbey AI - 4H Dynamic Range (Auto Reset + Alert)๐ Chainbey AI โ 4H Dynamic Range (Auto Reset + Strong Breakout Alerts)
Chainbey AI โ 4H Dynamic Range is a professional, clean, and non-repainting range-based indicator designed to identify high-probability market structure on the 4H timeframe and help traders execute precisely on lower timeframes (5m / 15m).
This tool automatically detects the active 4H range (mother candle), continuously updates it, and resets only after a confirmed strong breakout, keeping your chart clean and focused on what really matters.
๐ How It Works
โ
4H Dynamic Range Detection
Automatically marks the current active 4H range using:
High & Low lines
Background fill with adjustable opacity
The range stays active as long as price remains inside it.
๐ Smart Auto Reset Logic
The range is not reset by random wicks.
It resets only when a strong 4H breakout is confirmed (based on your selected rules).
When broken, the old range is cleared and a new 4H range is detected automatically.
๐ Alerts (Very Important)
This indicator includes two powerful alert types:
1๏ธโฃ New 4H Range Found
Triggered when:
A strong breakout is confirmed
The indicator resets and starts tracking a new 4H range
๐ข Use this alert to know when market structure has changed.
2๏ธโฃ Strong 4H Range Breakout (UP / DOWN)
Triggered when:
A confirmed 4H candle close breaks above or below the range
Optional ATR buffer and impulse strength filters are satisfied
๐ข Use this alert to prepare for continuation, trend shift, or pullback trades.
โ
Alerts are based on confirmed 4H candles, making them stable and non-repainting.
โ๏ธ Strong Breakout Filtering (User Adjustable)
You can choose how strict the breakout confirmation should be:
Close only
Close + ATR buffer (recommended)
Close + ATR buffer + impulse candle strength
This helps eliminate fake breakouts and noise.
๐ฏ Best Use Case
Identify HTF structure
Trade range highs / lows
Confirm breakouts before entering
Perfect for Forex, Gold (XAUUSD), Crypto, Indices
๐ง Why Chainbey AI?
Chainbey AI focuses on clarity, confirmation, and disciplineโnot over-signals or clutter.
If you want to trade what matters, not what moves randomly, this indicator is built for you.
๐ Tip:
For alerts, use โOnce per bar closeโ for the most reliable results.
QC Channelsโ OVERVIEW
QC Channels is a multi-timeframe regression channel indicator with an integrated dashboard. It identifies when price is statistically overextended across six timeframes simultaneously, helping traders spot potential mean-reversion opportunities with timeframe confluence.
โ WHAT MAKES THIS INDICATOR UNIQUE
Unlike standard channel indicators that only show a single timeframe, QC Channels provides a real-time dashboard displaying channel status across 1M, 5M, 15M, 1H, 6H, and 1D timeframes. This allows traders to quickly identify when multiple timeframes align โ a key element often missed when analyzing channels on just one timeframe.
The proprietary calculation method determines statistically significant price boundaries and evaluates positioning across all monitored timeframes in real-time.
โ DASHBOARD INTERPRETATION
The dashboard uses a simple color-coded system:
โข ๐ข GREEN / "BUY" โ Price is below the lower channel boundary
โข ๐ด RED / "SELL" โ Price is above the upper channel boundary
โข โช GRAY / "-" โ Price is within the channel (neutral zone)
Stronger signals occur when multiple timeframes display the same status.
โ HOW TO USE
1 โ Monitor the dashboard for timeframe confluence
2 โ Use the on-chart channel lines as dynamic support/resistance zones
3 โ Set alerts to be notified of channel breakouts across your watchlist
4 โ Adjust the lookback and deviation inputs to match your instrument's volatility
โ INPUTS
โข Bar Lookback โ Sensitivity of the channel calculation
โข Deviation โ Controls channel width
โข Forward Prediction โ Projects channel lines forward when enabled
โข Line Width โ Visual thickness of channel boundaries
โ BUILT-IN ALERTS
โข Price Above Channel (SELL)
โข Price Below Channel (BUY)
โข Trend Direction Change (Up/Down)
โ LIMITATIONS
โข Mean-reversion signals may remain extended during strong trends
โข Multi-timeframe data relies on request.security() and may experience minor delays
โข This tool assists analysis โ it does not predict future price action
โ DISCLAIMER
This indicator is an analytical tool, not financial advice. Always apply proper risk management and use multiple confirmation factors before trading.
Sri - Auto Swing Fib Plus (Trend-Aware | Custom TF Labels)๐ Sri โ Auto Swing Fib Plus (Trend-Aware | Custom TF Labels)
Advanced Automatic Swing-Based Fibonacci Tool With Multi-Timeframe Trend Awareness
Sri โ Auto Swing Fib Plus is a next-generation swing-based Fibonacci mapping tool designed for professional price-action traders.
Unlike classical static Fibonacci drawings, this indicator automatically detects true market swings, adapts to timeframe conditions, and labels Fibonacci levels dynamically using non-repainting pivot logic.
This is not a simple Fib drawing.
It uses a unique trend-aware swing engine that updates levels only when a confirmed pivot forms on the selected timeframe (CTF).
Because this logic is proprietary and significantly different from the hundreds of open-source Fibonacci scripts, this version is protected.
๐ What This Indicator Does
โ 1. Automatic Swing Detection (Non-Repainting)
The script uses:
ta.pivothigh() and ta.pivotlow()
executed on a custom timeframe via request.security()
with lookahead_off to ensure fully non-repainting behaviour.
Only the most recent CONFIRMED swing high and low are stored and used for fib calculations.
This eliminates โfloatingโ or repainting Fib levels that many other indicators suffer from.
โ 2. Auto-Timeframe (CTF) System
The indicator includes a full automatic timeframe engine:
Chart TF Auto CTF Selected
โค 1D 1D
1D 1W
1W 1M
>1W 1M
This ensures Fib swings are always taken from a higher timeframe than the chart for:
Clean structure
Reduced noise
Better major swing detection
You can also switch to Manual Mode to choose any TF.
โ 3. Trend-Aware Fibonacci Mapping
Trend direction is identified by comparing:
The bar index of last confirmed high
The bar index of last confirmed low
This creates:
Uptrend Fib map (low โ high)
Downtrend Fib map (high โ low)
The Fib levels included:
0%
38.2%
50%
61.8%
78.6%
100%
These levels update automatically as soon as a new pivot confirms.
โ 4. Auto-Labeling System
Each Fibonacci level is labeled with:
Tiny label size
Color coding
Automatic directional placement
Furthermore, if the user sets a negative label offset, the label orientation reverses automatically (right/left).
This prevents overlapping labels on various chart layouts.
๐ฏ What Makes This Script Unique
There are hundreds of Fibonacci scripts on TradingView, but this script is different because it combines:
โญ MTF Non-Repainting Swing Engine
Most public scripts plot Fib levels on the current timeframe only.
This script extracts swing structure from higher TFs, providing significantly stronger swing reliability.
โญ Trend-Aware Fib Direction Mapping
Instead of plotting Fib levels blindly, the indicator flips direction based on the actual structure, not just price movement.
โญ Dynamic Auto-Label Logic With Orientation Handling
Tiny labels, auto clean-ups, reversible layout, and visual consistency make it ideal for minimalistic price action charts.
โญ Pure Pivot-Based Logic, Not ZigZag or Fractals
ZigZag-based Fibs repaint heavily.
This script uses confirmed pivots only, ensuring stable and trustworthy levels.
โญ Fast performance with maximum label control
The script refreshes labels every 5 bars only, reducing clutter and improving chart performance.
These features collectively justify keeping the script closed-source.
๐ How to Use
1. Select CTF Mode
Auto Mode (Recommended)
Automatically chooses the best swing timeframe for your chart.
Manual Mode
Choose any timeframe (ex: 1D, 4H, 1W) to control the swing calculation.
2. Look for Major Reversal Points
The indicator highlights the true structure swing used for Fib mapping.
3. Use Fibonacci Levels for:
Pullback entries
Continuation confirmation
Breakout targets
Stop-loss placement
Trend continuation vs reversal identification
4. Combine with Your Strategy
This indicator works exceptionally well with:
Swing trading
Trend following
Liquidity zones
S/R trading
Wave analysis
Market structure tools
โ Important Notes
No repainting (confirmed pivots only)
Works on all assets and all timeframes
Labels automatically reverse when negative offset is used
Designed for clean, minimalistic price charts
๐ Final Summary
Sri โ Auto Swing Fib Plus gives traders an intelligent, trend-aware Fibonacci plotting system that updates dynamically, respects structure, and adapts to multi-timeframe environments โ offering precision far beyond standard Fib tools.
This is a unique, proprietary swing-engine, not a clone of existing public Fibonacci indicators.
High and Low levels Dashboard - PMH PDH PML PDL overview This indicator is a high-performance multi-asset monitoring terminal designed for intraday traders.
It provides real-time visibility into price action, volume anomalies, and key institutional levels across 13 customizable tickers simultaneously. By centralizing critical data points into a single interface, it eliminates the need for manual chart switching and enhances situational awareness during high-volatility sessions.
Core Objectives
Institutional Level Tracking: Monitors price proximity to Previous Day High/Low (PDH/PDL) and Pre-market High/Low (PMH/PML), which serve as primary liquidity zones.
Volume Analysis: Integrated Relative Volume (RVOL) identifies symbols experiencing unusual institutional participation compared to their 20-day average.
Trend Synthesis: Aggregates multiple price-location factors to provide a definitive directional bias for each asset.
Key Components and Functionality
1. Price and Momentum (Price / % Chg)
Displays current market price and percentage change from the previous day's close. This allows for immediate identification of the day's leaders and laggards.
2. Relative Volume (RVOL)
Calculates the ratio between current volume and average volume.
RVOL > 1.0: Higher than average activity; confirms the validity of price moves.
RVOL > 2.0: Significant institutional "effort," often leading to sustained breakouts or reversals.
3. Progression Bars (PMH / PDH / PML / PDL)
These 8-segment visual scales represent the price's journey from the market open toward a specific target level.
Partial Fill (โโโโ): Price is far from the target.
Full Fill (โโโโ): Price is nearing the level.
Status Indicator (โ): The level has been breached. This transition marks a shift from a "range-bound" state to a "breakout" state.
4. Trend Column
The final column synthesizes the overall technical state:
Upward Triangle (โฒ): Bullish. Price has cleared key resistance levels (PDH or PMH).
Downward Triangle (โผ): Bearish. Price has dropped below key support levels (PDL or PML).
Caution Sign (โ ): Neutral/Choppy. Price is trapped within the previous day's range. This signifies a lack of clear direction and high risk for "washouts."
Strategic Application
Step 1: Contextualize the Market Check the ETF section (SPY/QQQ/IWM) at the bottom of the dashboard. If the broad market is neutral (โ ), individual stock breakouts (โฒ) are more likely to fail. Align your trades with the overall market trend.
Step 2: Identify High-Probability Setups Look for a "Confluence of Strength": A ticker showing a green percentage change, an RVOL above 1.5, and a Status Indicator (โ) on its PDH/PMH columns. This indicates a high-conviction breakout.
Step 3: Risk Management Use the progression bars to anticipate reversals. If a stock is at its PMH but the RVOL is low, the move may lack the necessary volume to sustain a breakout, suggesting a potential "fake-out" or mean-reversion trade.
This indicator is for information only. It does not provide any financial advice.
SMT - Malibu SMT Correlation Crack Indicator
This indicator detects Smart Money Technique (SMT) divergences between two correlated assets, helping traders identify potential reversal points when the primary asset and comparison symbol show opposite price movements.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WHAT IT DOES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โข Detects Bearish Divergence: Primary makes Higher High while Compare makes Lower High
โข Detects Bullish Divergence: Primary makes Lower Low while Compare makes Higher Low
โข Draws divergence lines between swing points automatically
โข Optional labels for quick identification
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
HOW TO USE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. Set your Comparison Symbol (e.g., NQ1! for Nasdaq when trading ES)
2. Adjust Swing Length for sensitivity (lower = more swings, higher = fewer)
3. Customize colors to match your chart theme
4. Enable/disable labels based on your preference
Recommended Pairs:
โข ES1! vs NQ1! (S&P 500 vs Nasdaq)
โข GC1! vs SI1! (Gold vs Silver)
โข EURUSD vs GBPUSD (Forex pairs)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TRADING CONCEPT
SMT divergence occurs when correlated assets move in opposite directions at swing points. This often indicates institutional activity and can signal potential reversals.
โข Bearish Divergence โ Potential Short Setup
โข Bullish Divergence โ Potential Long Setup
Always use with confluence from other SMT elements (Order Blocks, FVGs, Liquidity).
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SETTINGS
โข Compare Symbol: Second asset to compare with current chart
โข Timeframe: Leave empty to use current chart timeframe
โข Swing Length: Swing detection sensitivity (1-20)
โข Colors: Customizable for bearish/bullish divergences
โข Show Labels: Display BEAR/BULL tags at divergences
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
DISCLAIMER
This indicator is for educational purposes only. Trading involves substantial risk. Past performance does not guarantee future results. Always use proper risk management.
THUAN SYSTEM TRADING FULL BMUser Guide: THUแบฌN SYSTEM TRADING FULL BM
Overview: This is a multi-timeframe trend and support/resistance indicator designed to identify key market structures.
Security Notice: The script has a built-in expiration date set for 31/12/2026; after this date, the indicator will display an expiration error and stop functioning.
Noise Filtering: You can adjust the "Noise mode" (Ticks, Absolute, or Pips) to control how sensitive the script is to price fluctuations.
Sensitivity Settings: Increase the "Ticks multiplier" or "Absolute points" to filter out minor market noise and focus on major moves.
Support/Resistance (HT/KC): The script automatically draws Major Support (HT) in green and Major Resistance (KC) in red boxes.
Zone Extension: Use the "Sแป nแบฟn kรฉo dร i" setting to extend the Support and Resistance zones further to the right of your chart.
Dashboard 6TF: A built-in table displays the trend status (UP/DOWN/INIT) for six different timeframes simultaneously.
Custom Timeframes: You can customize each of the six dashboard timeframes (from 5m to Daily) in the script settings.
Trend Indicators: On the dashboard, UP signifies a bullish trend, while DOWN signifies a bearish trend for that specific timeframe.
Reversal Detection: The script identifies bullish reversal patterns (like Pinbars and Engulfing candles) at Support zones.
Bearish Patterns: It also detects bearish reversal patterns when price action hits Resistance zones.
Signal Icons (๐): A diamond icon appears below a candle for a Bullish Reversal or above a candle for a Bearish Reversal.
Stophunt Signals (โก): A lightning bolt icon marks "Sweep/Stophunt" events where the price pierces a zone but closes back inside it.
Major Breakouts: When the price closes firmly above Resistance or below Support, the script triggers a "Breakout Confirmed" alert.
Zone Deactivation: Once a Support or Resistance zone is broken by a closing price, the box stops extending and is considered "invalid".
Visual Customization: You can modify the transparency and colors of the ZigZag lines, Minor lines, and Major zones in the inputs.
Real-Time Alerts: Enable "Bแบญt Cแบฃnh bรกo" to receive notifications for reversals, stophunts, and trend shifts.
Dashboard Placement: The dashboard is fixed at the top-right of your screen for easy monitoring without cluttering the main price action.
Dynamic Updates: All calculations, including the Multi-Timeframe (MTF) trend states, update in real-time as each candle closes.
Access Management: Ensure your TradingView username is provided to the developer to be added to the "Invite-only" list for access.
Trend Stretch Meter(Expansion/Compression(MTF))[NETSGAIN]
"Trend Stretch Meter(Expansion/Compression(MTF)) " is a visual tool to read the marketโs flow around a moving average โ like a โmagnetic middle.โ
Most markets donโt move in one direction forever. Price tends to stretch away from the average, then compress back toward it.
This indicator helps you see that behavior clearly using:
-Duration (how long price stayed on one side of the MA)
-Max distance reached during that run
-Current distance now
-A simple State label: Expansion / Flat / Compression
Itโs not a buy/sell signal. Itโs context.
Look back at any chart: price often moves up and down around a central average.
Think of the MA as the โmiddle lineโ price naturally revisits:
After a long bullish stretch, momentum usually fades โ pullback risk rises
After a long bearish stretch, selling pressure often weakens โ bounce risk rises
This tool helps you measure how stretched the market is, and whether itโs still expanding or already compressing back toward the MA.
Each timeframe row is calculated inside that timeframe:
โ
Duration
Number of consecutive candles price stayed above or below the MA
1H duration = counted in 1H candles
4H duration = counted in 4H candles
Same for 5m / 15m / 1D
โ
Distance
Max = the farthest distance (%) from the MA during the current run
Now = current distance (%) from the MA
โ
State
A simple ratio check:
Let:
ratio = |NowDist| / |MaxDist|
Expansion if ratio >= Expansion threshold
Compression if ratio <= Compression threshold
Otherwise Flat
So if price was once far from the MA, but is now much closer โ Compression = momentum fading.
Use it as a โmarket conditionโ dashboard:
When you often get โlate trend / flip conditionsโ
Long Duration + High MaxDist + Compression
The move stretched far and lasted long, but now itโs compressing
Often a sign momentum is weakening โ mean reversion risk rises
When trend is still healthy
Duration + MaxDist rising + Expansion
Price remains near its max extension โ momentum still strong
Multi-timeframe confirmation (simple)
If several TFs show Compression, the move is likely losing force
If several TFs show Expansion, trend strength is still alive
Again: not a signal, but great context for trade management.
In the first chart, observe the market after a prolonged extended move away from the MA.
The higher timeframe shows long duration
1H: Compression
4H: Flat state with extended duration (~50 bars)
Meanwhile, lower timeframes (5m / 15m) begin to shift into bearish expansion
This combination indicates that although the move lasted long, momentum is no longer strengthening. Lower timeframes turn first, signaling internal weakness.
In the next chart, price loses momentum and changes direction, returning toward the MA.
This pattern appears frequently across markets:
Long duration
Large distance from the MA
Followed by compression or lower-TF expansion against the prior move
The key idea is simple:
Price tends to revert back toward the middle.
When a move stays extended for too long and distance stops expanding, momentum fades and a reversal or deeper pullback becomes increasingly likely.
โ
MA Length: 50
Type: MA (default)
Why MA50?
Itโs responsive enough for crypto and intraday flows, but still acts like a โmiddleโ reference.
Note:
This is a recommendation, not a rule.
You can freely adjust the MA length to match your market, timeframe, or trading style.
โ
Expansion threshold: 0.70
โ
Compression threshold: 0.30
How to think about it:
Expansion 0.70 means: โprice is still at least 70% of its max stretchโ
Compression 0.30 means: โprice has pulled back close to the MA relative to its maxโ
If you want earlier โmomentum fadingโ detection:
Expansion: 0.65โ0.70
Compression: 0.30โ0.45
TradingView cannot auto-detect device reliably, so this script provides a manual toggle:
Mobile Compact Mode: OFF
Bigger panel text + multi-line distance display
Mobile Compact Mode: ON
Shortened distance strings to prevent panel overflow
Tip: Click panel position and set it to bottom
Trend Stretch Meter(Expansion/Compression(MTF)) is built to answer:
โHow long has price been stretched on this side?โ
โHow far did it extend from the mean?โ
โIs momentum still expandingโฆ or already compressing back?โ
Use it to read the flow and manage trades with better context โ especially when moves start to get โtoo extended for too long.โ
This indicator is provided for informational and educational purposes only.
It does not constitute financial, investment, or trading advice.
All trading decisions made using this indicator are the sole responsibility of the user.
Past performance is not indicative of future results. Trading involves risk.
Market Structure Indicator v1.4This indicator is designed to analyze market structure across multiple timeframes (HTF and LTF).
It identifies key structural elements such as:
- Break of Structure (BOS)
- Change of Character (CHoCH)
- Points of Interest (POI)
- 50% equilibrium and structural balance areas
The indicator helps traders understand market context, directional bias, and structural transitions
without providing automated trade entries or exits.
This tool is intended for educational and analytical purposes only and should be used
as part of a broader trading methodology and risk management process.






















