Volume Sentiment Breakout Channels [AlgoAlpha]๐  OVERVIEW 
This tool visualizes breakout zones based on  volume sentiment within dynamic price channels . It identifies high-impact consolidation areas, quantifies buy/sell dominance inside those zones, and then displays real-time shifts in sentiment strength. When the market breaks above or below these sentiment-weighted channels, traders can interpret the event as a change in conviction, not just a technical breakout.
๐  CONCEPTS 
The script builds on two layers of logic:
 
   Channel Detection : A volatility-based algorithm locates price compression areas using normalized highs and lows over a defined lookback. These โboxesโ mark accumulation or distribution ranges.
   Volume Sentiment Profiling : Each channel is internally divided into small bins, where volume is aggregated and signed by candle direction. This produces a granular sentiment map showing which levels are dominated by buyers or sellers.
 
When a breakout occurs, the script clears the previous box and forms a new one, letting traders visually track transitions between phases of control. The colored gradients and text updates continuously reflect the internal biasโgreen for net-buying, red for net-sellingโso you can see conviction strength at a glance.
๐  FEATURES 
 
  Volume-weighted sentiment map inside each box, with gradient color intensity proportional to participation.
  
  Dynamic text display of current and overall sentiment within each channel.
  
  Real-time trail lines to show active bullish/bearish trend extensions after breakout.
  
 
๐  USAGE 
 
   Setup : Add the script to your chart and enable  Strong Closes Only  if you prefer cleaner breakouts. Use shorter normalization length (e.g., 50โ80) for fast markets; longer (100โ200) for smoother transitions.
   Read Signals : Transparent boxes mark active sentiment channels. Green gradients show buy-side dominance, red shows sell-side. The middle dashed line is the equilibrium of the channel. โโฒโ appears when price breaks upward, โโผโ when it breaks downward.
  
   Understanding Sentiment : The sentiment profile can be used to show the probability of the price moving up or down at respective price levels.
  
 
Penunjuk dan strategi
Session Streaks [LuxAlgo]The  Session Streaks  tool allows traders to identify whether a session is bullish or bearish on the chart. It also shows the current session streak, or the number of consecutive bullish or bearish sessions.
The tool features a dashboard with information about the session streaks of the underlying product on the chart.
๐ถ  USAGE 
  
Analyzing session streaks is commonly used for market timing by studying the number of consecutive sessions over time and how long they last before the market changes direction.
We identify a bullish session as one in which the closing price is equal to or greater than the opening price, and a bearish session as one in which the closing price is below the opening price.
Each session is labeled according to its bias (bullish or bearish) and the number of consecutive sessions of the same type that conform the current streak.
๐น  Dashboard 
  
The dashboard at the top shows information about the current session.
Under the "Streaks" header, historical information about session streaks is displayed, divided into bullish and bearish categories.
 
 Number: Total number of streaks.
 Median: The average duration of those streaks. We chose the median over the mean to avoid misrepresentation due to outliers.
 Mode: The most common streak duration.
 
As the image shows, for this particular market, there are more bullish streaks than bearish ones. Bullish streaks have an average duration that is longer than that of bearish streaks, and both have the same most common streak duration.
If the current session is bullish and the median streak duration for bullish sessions is three, then we could consider scenarios in which the next two sessions are bullish.
๐ถ  DETAILS 
๐น  Streaks On Larger Timeframes 
  
On timeframes lower than or equal to Daily, the tool identifies each consecutive session, but this behavior changes on larger timeframes.
On timeframes larger than daily, the tool identifies the last session of each bar. Let's use the chart in the image as a reference.
At the top of the image, there is a daily chart where each session corresponds to each candle. One candle equals one day.
In the middle, we have a weekly chart where each session is the last session of each week, which is usually Friday for the Nasdaq 100 futures contract. The levels and labels displayed correspond to the last session within each candle, which is the last day of each week.
The levels and labels on the monthly chart correspond to the last session of each month, which is the last day of each month.
๐น  Gradient Style 
  
Traders can choose between two different color gradients for the session background. Each gradient provides different information about price behavior within each session.
 
  Horizontal: Green indicates prices at the top of the session range and red indicates prices at the bottom.
  Vertical: Green indicates prices that are equal to or greater than the open price and red indicates prices that are below the open price of the session.
 
๐ถ  SETTINGS 
๐น  Dashboard 
 
  Dashboard: Enable or disable the dashboard.
  Position: Select the location of the dashboard.
  Size: Select the dashboard size.
 
๐น  Style 
 
  Bullish: Select a color for bullish sessions.
  Bearish: Select a color for bearish sessions.
  Transparency: Select a transparency level from 100 to 0.
  Gradient: Select a horizontal or vertical gradient.
Auto Fibonacci LevelsAuto Fibonacci Momentum Zones with Visible Range Table
 Overview and Originality 
The Auto Fibonacci Momentum Zones indicator offers a streamlined, static overlay of Fibonacci retracement levels inspired by extreme RSI momentum thresholds, enhanced with a dynamic table displaying the high and low of the currently visible chart range. This isn't a repackaged RSI oscillator or basic Fib drawerโcommon in TradingView's libraryโbut a purposeful fusion of geometric harmony (Fibonacci ratios) with momentum psychology (RSI extremes at 35/85), projected as fixed horizontal reference lines on the price chart. The addition of the visible range table, powered by PineCoders' VisibleChart library, provides real-time context for the chart's current view, enabling traders to quickly assess range compression or expansion relative to these zones.  
This script's originality stems from its "static momentum mapping": by hardcoding Fib levels on a dynamic chart, it creates universal psychological support/resistance lines that transcend specific assets or timeframes. 
Unlike dynamic Fib tools that auto-adjust to price swings (risking noise in ranging markets) or standalone RSI plots (confined to panes), this delivers clean, bias-adjustable overlays for confluence analysis. The visible range table justifies the library integrationโit's not a gratuitous add-on but a complementary tool that quantifies the "screen real estate" of price action, helping users correlate Fib touches with actual volatility. Drawn from original code (no auto-generation or public templates), it builds TradingView's body of knowledge by simplifying multi-tool workflows into one indicator, ideal for discretionary traders who value visual efficiency over algorithmic complexity.
 How It Works: Underlying Concepts 
Fibonacci retracements, derived from the Fibonacci sequence and the golden ratio (โ0.618), identify potential reversal points based on the idea that markets retrace prior moves in predictable proportions: shallow (23.6%, 38.2%), mid (50%), and deep (61.8%, 78.6%). 
Adjustable Outputs
1. The "Invert Fibs" toggle (default: true) for bearish/topping bias, can be flipped aligning with trend context.  
2. Fibonacci Levels: Seven semi-transparent horizontal lines are drawn using `hline()`:  
   - 0.0 at high (gray).  
   - 0.236: high - (range ร 0.236) (light cyan, shallow pullback).  
   - 0.382: high - (range ร 0.382) (teal, common retracement).  
   - 0.5: midpoint average (green, equilibrium).  
   - 0.618: high - (range ร 0.618) (amber, golden pocket for reversals).  
   - 0.786: high - (range ร 0.786) (orange, deep support).  
   - 1.0 at low (gray).  
Colors progress from cool (shallow) to warm (deep) for intuitive scanning.
3. Optional Fib Labels: Right-edge text labels (e.g., "0.618") appear only if enabled, positioned at the last bar + offset for non-cluttering visibility.  
4. Visible Range Table: Leveraging the VisibleChart library's `visible.high()` and `visible.low()` functions, a compact 2x2 table (top-right corner) updates on the last bar to show the extrema of bars currently in view. This mashup enhances utility: Fib zones provide fixed anchors, while the table's dynamic values reveal if price is "pinned" to a zone (e.g., visible high hugging 0.382 signals resistance). The library is invoked sparingly for performance, adding value by bridging static geometry with viewport-aware dataโunavailable in built-ins without custom code.  
 How to Use It 
 1. Setup:  
 
 Add to any chart (e.g., 15M for scalps, Daily for swings). As an overlay, lines appear directly on price candlesโadjust chart scaling if needed.  
 
 2. Input Tweaks:   
 
 Invert Fibs: Enable for downtrends (85 top), disable for uptrends (35 bottom).  
 Show Fibs: Toggle labels for ratio callouts (off for clean charts).  
 Show Table: Display/hide the visible high/low summary (red for high, green for low, formatted to 2 decimals).
 
 3. Trading Application:   
 
 Zone Confluence: Seek price reactions at each fibonacci levelโe.g., a doji at 0.618 + rising volume suggests entry; use 0.0/1.0 as invalidation.
 Range Context: Check the table: If visible high/low spans <20% of the Fib arc (e.g., both near 0.5), anticipate breakout; wider spans signal consolidation.
 Multi-Timeframe: Overlay on higher TF for bias, lower for precisionโe.g., Daily Fibs guide 1H entries.
 Enhancements: Pair with volume or candlesticks; set alerts on line crosses via TradingView's built-in tools. Backtest on your symbols to validate (e.g., equities favor 0.382, forex the 0.786).  
 
This indicator automates advanced Fibonacci synthesis dynamically, eliminating manual measurement and calculations.
published by ozzy_livin
[AS] MACD-v  & Hist [Alex Spiroglou | S.M.A.R.T. TRADER SYSTEMS]    MACD-v & MACD-v Histogram  
=======================================
  Volatility Normalised Momentum ๐
     Twice Awarded Indicator ๐
=======================================
 =======================================
โ
 1. INTRODUCTION TO THE MACD-v โ
======================================= 
I created the MACD-v in 2015,
as a way to deal with the limitations
of well known indicators like the Stochastic, RSI, MACD.
I decided to publicly share a very small part of my research
in the form of a research paper I wrote in 2022,
titled  "MACD-v: Volatility Normalised Momentum". 
That paper was awarded twice:
 
1. The "Charles H. Dow" Award (2022), 
for outstanding research in Technical Analysis,
by the Chartered Market Technicians Association (CMTA)
 2. The "Founders" Award (2022), 
for advances in Active Investment Management,
by the National Association of Active Investment Managers (NAAIM)
  
=======================================
 ===================================================
โ 2. WHY CREATE THE MACD-v ?
THE LIMITATIONS OF CONVENTIONAL MOMENTUM INDICATORS
==================================================== 
Technical Analysis indicators focused on momentum,
come in two general categories,
each with its own set of limitations:
 (i) Range Bound Oscillators (RSI, Stochastics, etc) 
These usually have a scaling of 0-100,
and thus have the advantage of having normalised readings,
that are comparable across time and securities.
However they have the following limitations (among others):
1. Skewing effect of steep trends
2. Indicator values do not adjust with and reflect true momentum 
    (indicator values are capped to 100)
 (ii) Unbound Oscillators (MACD, RoC, etc) 
These are boundless indicators,
and can expand with the market,
without being limited by a 0-100 scaling,
and thus have the advantage of really measuring momentum.
They have the main following limitations (among others):
1. Subjectivity of overbought / oversold levels
2. Not comparable across time
3. Not comparable across securities
  
=======================================
 =======================================
๐ก 3. THE SOLUTION TO SOLVE THESE LIMITATIONS
======================================= 
In order to deal with these limitations,
I decided to create an indicator,
that would be the "Best of two worlds".
A unique & hybrid indicator,
that would have objective normalised readings
(similar to Range Bound Oscillators - RSI)
but would also be able to have no upper/lower boundaries
(similar to Unbound Oscillators - MACD).
This would be achieved by "normalising" a boundless oscillator (MACD)
=======================================
 ==================================================
โ 4. DEEP DIVE INTO THE 5 LIMITATIONS OF THE MACD
================================================== 
A Bloomberg study found that the MACD
is the most popular indicator after the RSI,
but the MACD has 5 BIG limitations.
 Limitation 1: MACD values are not comparable across Time 
The raw MACD values shift 
as the underlying security's absolute value changes across time,
making historical comparisons obsolete
e.g S&P 500 maximum MACD was 1.56 in 1957-1971,
but reached 86.31 in 2019-2021 - not indicating 55x stronger momentum, 
but simply different price levels.
  
 Limitation 2:  MACD values are not comparable across Assets 
Traditional MACD cannot compare momentum between different assets.
S&P 500 MACD of 65 versus EUR/USD MACD of -0.5 
reflects absolute price differences, not momentum differences
  
 Limitation 3: MACD values cannot be Systematically Classified 
Due to limitations #1 & #2, it is not possible to create 
a momentum level classification scale
where one can define "fast", "slow", "overbought", "oversold" momentum
making systematic analysis impossible
  
 Limitation 4: MACD Signal Line gives false crossovers in low-momentum ranges 
In range-bound, low momentum environments, 
most of the MACD signal line crossovers are false (noise)
Since there is no objective momentum classification system (limitation #3),
it is not possible to filter these signals out,
by avoiding them when momentum is low
  
 Limitation 5: MACD Signal Line gives late crossovers in high momentum regimes. 
Signal lag in strong trends not good at timing the turning point
โ In high-momentum moves, MACD crossovers may come late.
Since there is no objective momentum classification system (limitation #3),
it is not possible to filter these signals out,
by avoiding them when momentum is high
  
===================================================================
 
===================================================================
๐ 5. MACD-v : THE SOLUTION TO THE LIMITATIONS OF THE MACD , RSI, etc 
==================================================================== 
MACD-v is a volatility normalised momentum indicator.
It remedies these 5 limitations of the classic MACD,
while creating a tool with unique properties.
 Formula:   ร 100 
MACD-V enhances the classic MACD by normalizing for volatility, 
transforming price-dependent readings into standardized momentum values. 
This resolves key limitations of traditional MACD and adds significant analytical power.
 Core Advantages of MACD-V 
 Advantage 1: Time-Based Stability 
MACD-V values are consistent and comparable over time. 
A reading of 100 has the same meaning today as it did in the past
(unlike traditional MACD which is influenced by changes in price and volatility over time)
  
 Advantage 2: Cross-Market Comparability 
MACD-V provides universal scaling. 
Readings (e.g., ยฑ50) apply consistently across all asset classesโstocks, 
bonds, commodities, or currencies,
allowing traders to compare momentum across markets reliably.
 Advantage 3: Objective Momentum Classification 
MACD-V includes a defined 5-range momentum lifecycle 
with standardized thresholds (e.g., -150 to +150). 
This offers an objective framework for analyzing market conditions 
and supports integration with broader models.
  
 Advantage 4: False Signal Reduction in Low-Momentum Regimes 
MACD-V introduces a "neutral zone" (typically -50 to +50) 
to filter out these low-probability signals.
 Advantage 5: Improved Signal Timing in High-Momentum Regimes 
MACD-V identifies extremely strong trends,
allowing for more precise entry and exit points.
 
 Advantage 6: Trend-Adaptive Scaling 
Unlike bounded oscillators like RSI or Stochastic, 
MACD-V dynamically expands with trend strength, 
providing clearer momentum insights without artificial limits.
 Advantage 7: Enhanced Divergence Detection 
MACD-V offers more reliable divergence signals 
by avoiding distortion at extreme levels, 
a common flaw in bounded indicators (RSI, etc)
  
====================================================================
 =======================================
โ๏ธ 5. HOW TO USE THE MACD-v: 7 CORE PATTERNS 
         HOW TO USE THE MACD-v Histogram: 2 CORE PATTERNS 
======================================= 
>>>>>>  BASIC USE  (RANGE RULES) <<<<<<
The MACD-v has 7 Core Patterns (Ranges) :
 1. Risk Range (Overbought) 
โCondition: MACD-V > Signal Line and MACD-V > +150
โInterpretation: Extremely strong bullish momentumโpotential exhaustion or reversal zone.
 2. Retracing 
โCondition: MACD-V < Signal Line and MACD-V > -50
โInterpretation: Mild pullback within a bullish trend.
 3. Rundown 
โCondition: MACD-V < Signal Line and -50 > MACD-V > -150
โInterpretation: Momentum is weakeningโbearish pressure building.
 4. Risk Range (Oversold) 
โCondition: MACD-V < Signal Line and MACD-V < -150
โInterpretation: Extreme bearish momentumโpotential for reversal or capitulation.
 5. Rebounding 
โCondition: MACD-V > Signal Line and MACD-V > -150
โInterpretation: Bullish recovery from oversold or weak conditions.
 6. Rallying 
โCondition: MACD-V > Signal Line and MACD-V > +50
โInterpretation: Strengthening bullish trendโmomentum accelerating.
 7. Ranging (Neutral Zone) 
โCondition: MACD-V remains between -50 and +50 for 20+ bars
โInterpretation: Sideways marketโlow conviction and momentum.
  
 The MACD-v Histogram has 2 Core Patterns (Ranges) : 
 1. Risk (Overbought) 
โCondition: Histogram > +40
โInterpretation: Short-term bullish momentum is stretchedโpossible overextension or reversal risk.
 2. Risk (Oversold) 
โCondition: Histogram < -40
โInterpretation: Short-term bearish momentum is stretchedโpotential for rebound or reversal.
  
=======================================
 
=======================================
๐ 6. ADVANCED PATTERNS WITH MACD-v 
======================================= 
Thanks to its volatility normalization, 
the MACD-V framework enables the development 
of a wide range of advanced pattern recognition setups, 
trading signals, and strategic models. 
These patterns go beyond basic crossovers, 
offering deeper insight into momentum structure, 
regime shifts, and high-probability trade setups.
These are not part of this script
=======================================
 
===========================================================
โ๏ธ 7. FUNCTIONALITY - HOW TO ADD THE INDICATORS TO YOUR CHART
=========================================================== 
The script allows you to see :
 1.	MACD-v  
The indicator with the ranges (150,50,0,-50,-150)
and colour coded according to its 7 basic patterns
  
 2.	MACD-v Histogram 
The indicator The indicator with the ranges (40,0,-40)
and colour coded according to its 2 basic ranges / patterns
  
 3.	MACD-v Heatmap 
   You can see the MACD-v in a Multiple Timeframe basis,
   using a colour-coded Heatmap
   Note that lowest timeframe in the heatmap must be the one on the chart
   i.e. if you see the daily chart, then the Heatmap will be Daily, Weekly, Monthly 
     
 4. MACD-v Dashboard 
   You can see the MACD-v for 7 markets,
   in a multiple timeframe basis
  
=======================================
 
=======================================
๐ค CONTRIBUTIONS ๐ค
======================================= 
I would like to thank the following people:
1.	Mike Christensen for coding the indicator
@TradersPostInc, @Mik3Christ3ns3n, 
2.	@Indicator-Jones For allowing me to use his Scanner
3.	@Daveatt For allowing me to use his heatmap
=======================================
 =======================================
โ ๏ธ LEGAL - Usage and Attribution Notice โ ๏ธ
======================================= 
Use of this Script is permitted 
for personal or non-commercial purposes, 
including implementation by coders and TradingView users. 
However, any form of paid redistribution, 
resale, or commercial exploitation is strictly prohibited.
Proper attribution to the original author is expected and appreciated, 
in order to acknowledge the source 
and maintain the integrity of the original work.
Failure to comply with these terms, 
or to take corrective action within 48 hours of notification, 
will result in a formal report to TradingViewโs moderation team,
and  will actively pursue account suspension and removal of the infringing script(s). 
 Continued violations may result in further legal action, as deemed necessary. 
=======================================
 =======================================
โ ๏ธ DISCLAIMER โ ๏ธ
======================================= 
This indicator is For Educational Purposes Only (F.E.P.O.).
I am just Teaching by Example (T.B.E.)
It does not constitute investment advice.
There are no guarantees in trading - except one.
You will have losses in trading. 
I can guarantee you that with 100% certainty.
The author is not responsible for any financial losses
or trading decisions made based on this indicator. ๐
Always perform your own analysis and use proper risk management. ๐ก๏ธ
=======================================
Ichimoku Average with Marginโ OVERVIEW
โIchimoku Average with Marginโ is a technical analysis indicator based on an average of selected Ichimoku system lines, enhanced with a dynamic safety margin (tolerance). Designed for traders seeking a simple yet effective tool for trend identification with breakout confirmation. The indicator offers flexible settings, line and label coloring, visual fills, and alerts for trend changes.
โ CONCEPT
The Ichimoku Cloud (Ichimoku Kinko Hyo) is an excellent, comprehensive technical analysis system, but for many tradersโespecially beginnersโit remains difficult to interpret due to multiple overlapping lines and time displacements.
Experimentally, I decided to create a simplified version based on its foundations: combining selected lines into a single readable average (avgLine) and introducing a dynamic safety margin that acts as a buffer against market noise.
This is not the full Ichimoku systemโitโs merely a clear method for determining trend, accessible even to beginners. The trend changes only after the price closes beyond the margin, eliminating false signals.
โ FEATURES
Ichimoku Lines:
- Tenkan-sen (Conversion Line) โ Donchian average over 9 periods
- Kijun-sen (Base Line) โ Donchian average over 26 periods
- Senkou Span A โ average of Tenkan and Kijun
- Senkou Span B โ Donchian average over 52 periods
- Chikou Span โ close price (no offset)
Dynamic Average (avgLine):
- Arithmetic mean of only the enabled Ichimoku lines โ full component selection flexibility.
Safety Margin (tolerance):
Calculated as:
- tolerance = multiplier ร SMA(|open - close|, periods)
- Default: multiplier 1.8, period 100.
Trend Detection:
- Uptrend โ when price > avgLine + tolerance
- Downtrend โ when price < avgLine - tolerance
- Trend changes only after full margin breakout.
- Margin can be set to 0 โ then signals trigger on avgLine crossover.
Signal Labels:
- โBuyโ (green, upward arrow) โ on shift to uptrend
- โSellโ (red, downward arrow) โ on shift to downtrend
Visual Fills:
- Between avgLine and marginLine
- Between avgLine and price (with transparency)
- Colors: green (uptrend), red (downtrend)
Alerts:
- Trend Change Up โ price crosses above margin
- Trend Change Down โ price crosses below margin
โ HOW TO USE
Add to Chart: Paste code in Pine Editor or find in the indicator library.
Settings:
Ichimoku Parameters:
- Conversion Line Length โ default 9
- Base Line Length โ default 26
- Leading Span B Length โ default 52
- Average Body Periods โ default 100
- Tolerance Multiplier โ default 1.8
Line Selection:
- Enable/disable: Tenkan, Kijun, Span A, Span B, Chikou
Visual Settings:
- Uptrend Color โ default green
- Downtrend Color โ default red
- Fill Between Price & Avg โ enables shadow fill
Signal Interpretation:
- Average Line (avgLine): Primary trend reference level.
- Margin (marginLine): Buffer โ price must break it to change trend. Set to 0 for signals on avgLine crossover.
- Buy/Sell Labels: Appear only on confirmed trend change.
- Fills: Visualize distance between price, average, and margin.
- Alerts: Set in TradingView โ notifications on trend change.
โ APPLICATIONS
The indicator works well in:
- Trend-following: Enter on Buy/Sell, exit on reversal.
- Breakout confirmation: Ideal for breakout strategies with false signal protection.
- Noise filtering: Margin eliminates consolidation fluctuations.
Adjusting margin to trading style:
- Short-term trading (scalping, daytrading): Reduce or set margin to 0 โ more and faster signals (but more false ones).
- Long-term strategies (swing, position): Increase margin (e.g. 2.0โ3.0) โ fewer signals, higher quality.
Entry signals are not limited to Buy/Sell labels โ use like moving averages:
- Test and bounce off avgLine as support/resistance
- avgLine breakout as momentum signal
- Pullback to margin as trend continuation entry
Combine with:
- Support/resistance levels
- Fair Value Gaps (FVG)
- Volume or other momentum indicators
โ NOTES
- Works on all markets and timeframes.
- Adjust multiplier and periods to instrument volatility.
- Higher multiplier โ fewer signals, higher quality.
- Disable unused Ichimoku lines to simplify the average.
FVG MagicFVG Magic โ Fair Value Gaps with Smart Mitigation, Inversion & Auto-Clean-up
FVG Magic finds every tradable Fair Value Gap (FVG), shows who powered it, and then manages each gap intelligently as price interacts with itโso your chart stays actionable and clean.
Attribution
This tool is inspired by the idea popularized in โVolumatic Fair Value Gaps  โ by BigBeluga (licensed CC BY-NC-SA 4.0). Credit to BigBeluga for advancing FVG visualization in the community.
Important: This is a from-scratch implementationโno code was copied from the original. I expanded the concept substantially with a different detection stack, a gap state machine (ACTIVE โ 50% SQ โ MITIGATED โ INVERSED), auto-clean up rules, lookback/nearest-per-side pruning, zoom-proof volume meters, and timeframe auto-tuning for 15m/H1/H4.
What makes this version more accurate
Full-coverage detection (no โmissedโ gaps)
Default ICT-minimal rule (Bullish: low > high , Bearish: high < low ) catches all valid 3-candle FVGs.
Optional Strict filter (stricter structure checks) for traders who prefer only โcleanโ gaps.
Optional size percentile filterโoff by default so nothing is hidden unless you choose to filter.
Correct handling of confirmations (wick vs close)
Mitigation Source is user-selectable: high/low (wick-based) or close (strict).
This avoids false โmissesโ when you expect wick confirmations (50% or full fill) but your logic required closes.
State-aware labelling to prevent misleading data
The Bull%/Bear% meter is shown only while a gap is ACTIVE.
As soon as a gap is 50% SQ, MITIGATED, or INVERSED, the meter is hidden and replaced with a clear tagโso you never read stale participation stats.
Robust zoom behaviour
The meter uses a fixed bar-width (not pixels), so it stays proportional and readable at any zoom level.
Deterministic lifecycle (no stale boxes)
Remove on 50% SQ (instant or delayed).
Inversion window after first entry: if price enters but doesnโt invert within N bars, the box auto-removes once fully filled.
Inversion clean up: after a confirmed flip, keep for N bars (context) then delete (or 0 = immediate).
Result: charts auto-maintain themselves and never โlieโ about relevance.
Clarity near current price
Nearest-per-side (keep N closest bullish & bearish gaps by distance to the midpoint) focuses attention where it matters without altering detection accuracy.
Lookback (bars) ensures reproducible behaviour across accounts with different data history.
Timeframe-aware defaults
Sensible auto-tuning for 15m / H1 / H4 (right-extension length, meter width, inversion windows, clean up bars) to reduce setup friction and improve consistency.
What it does (under the hood)
Detects FVGs using ICT-minimal (default) or a stricter rule.
Samples volume from a 10ร lower timeframe to split participation into Bull % / Bear % (sum = 100%).
Manages each gap through a state machine:
ACTIVE โ 50% SQ (midline) โ MITIGATED (full) โ INVERSED (SR flip after fill).
Auto-clean up keeps only relevant levels, per your rules.
Dashboard (top-right) displays counts by side and the active state tags.
How to use it
First run (show everything)
Use Strict FVG Filter: OFF
Enable Size Filter (percentile): OFF
Mitigation Source: high/low (wick-based) or close (stricter), as you prefer.
Remove on 50% SQ: ON, Delay: 0
Read the context
While ACTIVE, use the Bull%/Bear% meter to gauge demand/supply behind the impulse that created the gap.
Confluence with your HTF structure, sessions, VWAP, OB/FVG, RSI/MACD, etc.
Trade interactions
50% SQ: often the highest-quality interaction; if removal is ON, the box clears = โjob done.โ
Full mitigation then rejection through the other side โ tag changes to INVERSED (acts like SR). Keep for N bars, then auto-remove.
Keep the chart tidy (optional)
If too busy, enable Size Filter or set Nearest per side to 2โ4.
Use Lookback (bars) to make behaviour consistent across symbols and histories.
Inputs (key ones)
Use Strict FVG Filter: OFF(default)/ON
Enable Size Filter (percentile): OFF(default)/ON + threshold
Mitigation Source: high/low or close
Remove on 50% SQ + Delay
Inversion window after entry (bars)
Remove inversed after (bars)
Lookback (bars), Nearest per side (N)
Right Extension Bars, Max FVGs, Meter width (bars)
Colours: Bullish, Bearish, Inversed fill
Suggested defaults (per TF)
15m: Extension 50, Max 12, Inversion window 8, Clean up 8, Meter width 20
H1: Extension 25, Max 10, Inversion window 6, Clean up 6, Meter width 15
H4: Extension 15, Max 8, Inversion window 5, Clean up 5, Meter width 10
Notes & edge cases
If a wick hits 50% or the far edge but state doesnโt change, youโre likely on close modeโswitch to high/low for wick-based behaviour.
If a gap disappears, it likely met a clean up condition (50% removal, inversion window, inversion clean up, nearest-per-side, lookback, or max-cap).
Meters are hidden after ACTIVE to avoid stale percentages.
Automated Z-scoring - [JTCAPITAL]Automated Z-Scoring -   is a modified way to use  statistical normalization through Z-Scores  for analyzing price deviations, volatility extremes, and mean reversion opportunities in financial markets.
The indicator works by calculating in the following steps:
 
   Source Selection 
The indicator begins by selecting a user-defined price source (default is the  Close  price). Traders can modify this to use any indicator that is deployed on the chart, for accurate and fast Z-scoring.
   Mean Calculation 
A  Simple Moving Average (SMA)  is calculated over the selected  length  period (default 3000). This represents the long-term equilibrium price level or the โstatistical meanโ of the dataset. It provides the baseline around which all price deviations are measured.
   Standard Deviation Measurement 
The script computes the  Standard Deviation  of the price series over the same period. This value quantifies how far current prices tend to stray from the mean โ effectively measuring market volatility. The larger the standard deviation, the more volatile the market environment.
   Z-Score Normalization 
The  Z-Score  is calculated as:
 (Current Price โ Mean) รท Standard Deviation .
This normalization expresses how many standard deviations the current price is away from its long-term average. A Z-Score above 0 means the price is above average, while a negative score indicates it is below average.
   Visual Representation 
The Z-Score is plotted dynamically, with color-coding for clarity:
Bullish readings (Z > 0) are showing positive deviation from the mean.
Bearish readings (Z < 0) are showing negative deviation from the mean.
 Make sure to select the correct source for what you exactly want to Z-score. 
 
 Buy and Sell Conditions: 
While the indicator itself is designed as a  statistical framework  rather than a direct buy/sell signal generator, traders can derive actionable strategies from its behavior:
 Trend Following:  When the Z-Score crosses above zero after a prolonged negative period, it suggests a return to or above the mean โ a possible bullish reversal or trend continuation signal. 
 Mean Reversion:  When the Z-score is below for example -1.5 it indicates a good time for a DCA buying opportunity.
 Trend Following:  When the Z-Score crosses below zero after being positive, it may indicate a momentum slowdown or bearish shift. 
 Mean Reversion:  When the Z-score is above for example 1.5 it indicates a good time for a DCA sell opportunity
 Features and Parameters: 
 Length  โ Defines the period for both SMA and Standard Deviation. A longer length smooths the Z-Score and captures broader market context, while a shorter length increases responsiveness.
 Source  โ Allows the user to choose which price data is analyzed (Close, Open, High, Low, etc.).
 Fill Visualization  โ Highlights the magnitude of deviation between the Z-Score and the zero baseline, enhancing readability of volatility extremes.
 Specifications: 
 Mean (Simple Moving Average) 
The SMA calculates the average of the selected source over the defined length. It provides a central value to which the price tends to revert. In this indicator, the mean acts as the equilibrium point โ the โzeroโ reference for all deviations.
 Standard Deviation 
Standard Deviation measures the dispersion of data points from their mean. In trading, it quantifies volatility. A high standard deviation indicates that prices are spread out (volatile), while a low value means they are clustered near the average (stable). The indicator uses this to scale deviations consistently across different market conditions.
 Z-Score 
The Z-Score converts raw price data into a standardized value measured in units of standard deviation.
A Z-Score of 0 = Price equals its mean.
A Z-Score of +1 = Price is one standard deviation above the mean.
A Z-Score of โ1 = Price is one standard deviation below the mean.
This allows comparison of deviation magnitudes across instruments or timeframes, independent of price level.
 Length Parameter 
A long lookback period (e.g., 3000 bars) smooths temporary volatility and reveals long-term mean deviations โ ideal for macro trend identification. Shorter lengths (e.g., 100โ500) capture quicker oscillations and are useful for short-term mean reversion trades.
 Statistical Interpretation 
From a probabilistic perspective, if the distribution of prices is roughly normal:
About 68% of price observations lie within ยฑ1 standard deviation (Z between โ1 and +1).
About 95% lie within ยฑ2 standard deviations.
Therefore, when the Z-Score moves beyond ยฑ2, it statistically represents a rare event โ often corresponding to price extremes or potential reversal zones.
 Practical Benefit of Z-Scoring in Trading 
Z-Scoring transforms raw price into a normalized volatility-adjusted metric. This allows traders to:
Compare instruments on a common statistical scale.
Identify mean-reversion setups more objectively.
Spot volatility expansions or contractions early.
Detect when price action significantly diverges from long-term equilibrium.
By automating this process,  Automated Z-Scoring -   provides traders with a powerful analytical lens to measure how โstretchedโ the market truly is โ turning abstract statistics into a visually intuitive and actionable form.
Enjoy!
TRI - Support/Resistance ZonesTRI - SUPPORT/RESISTANCE ZONES v1.0 
 DESCRIPTION: 
Professional support and resistance level indicator based on body pivot analysis.
Unlike traditional indicators that use wicks (high/low), this tool identifies key levels 
using candle bodies (open/close), providing more reliable and significant price zones.
 KEY FEATURES: 
 
 Body-based pivot detection for more meaningful levels
 Automatic level validation (excludes breached levels)
 Smart level filtering (avoids cluttered charts)
 Configurable number of support/resistance levels (1-5 each)
 Visual customization (colors, transparency, line extension)
 Real-time breakout alerts for resistance and support levels
 Clean and intuitive interface with price labels
 
 HOW IT WORKS: 
The indicator scans historical price action to identify pivot points based on candle bodies.
Only valid levels (not breached since formation) are displayed. Levels are automatically 
filtered by proximity to avoid visual clutter while maintaining the most relevant zones.
Breakout alerts trigger when price closes above resistance or below support.
 BEST USE: 
Ideal for swing trading, day trading, and identifying key decision points.
Works on all timeframes and asset classes.
Nqaba Goldminer StrategyThis indicator plots the New York session key timing levels used in institutional intraday models.
It automatically marks the 03:00 AM, 10:00 AM, and 2:00 PM (14:00) New York times each day:
Vertical lines show exactly when those time windows open โ allowing traders to identify major global liquidity shifts between London, New York, and U.S. session overlaps.
Horizontal lines mark the opening price of the 5-minute candle that begins at each of those key times, providing precision reference levels for potential reversals, continuation setups, and intraday bias shifts.
Users can customize each lineโs color, style (solid/dashed/dotted), width, and horizontal-line length.
A history toggle lets you display all past occurrences or just todayโs key levels for a cleaner chart.
These reference levels form the foundation for strategies such as:
London Breakout to New York Reversal models
Opening Range / Session Open bias confirmation
Institutional volume transfer windows (London โ NY โ Asia)
The tool provides a simple visual structure for traders to frame intraday decision-making around recurring institutional time events.
Quantum Fluxtrend [CHE]  Quantum Fluxtrend   โ A dynamic Supertrend variant with integrated breakout event tracking and VWAP-guided risk management for clearer trend decisions.
  Summary 
The Quantum Fluxtrend   builds on traditional Supertrend logic by incorporating a midline derived from smoothed high and low values, creating adaptive bands that respond to market range expansion or contraction. This results in fewer erratic signals during volatile periods and smoother tracking in steady trends, while an overlaid event system highlights breakout confirmations, potential traps, or continuations with visual lines, labels, and percentage deltas from the close. Users benefit from real-time VWAP calculations anchored to events, providing dynamic stop-loss suggestions to help manage exits without manual adjustments. Overall, it layers signal robustness with actionable annotations, reducing noise in fast-moving charts.
  Motivation: Why this design? 
Standard Supertrend indicators often generate excessive flips in choppy conditions or lag behind in low-volatility drifts, leading to whipsaws that erode confidence in trend direction. This design addresses that by centering bands around a midline that reflects recent price spreads, ensuring adjustments are proportional to observed variability. The added event layer captures regime shifts explicitly, turning abstract crossovers into labeled milestones with trailing VWAP for context, which helps traders distinguish genuine momentum from fleeting noise without over-relying on raw price action.
  Whatโs different vs. standard approaches? 
- Baseline reference: Diverges from the classic Supertrend, which uses average true range for fixed offsets from a median price.
- Architecture differences:
  - Bands form around a central line averaged from smoothed highs and lows, with offsets scaled by half the range between those smooths.
  - Regime direction persists until a clear breach of the prior opposite band, preventing premature reversals.
  - Event visualization draws persistent lines from flip points, updating labels based on price sustainment relative to the trigger level.
  - VWAP resets at each event, accumulating volume-weighted prices forward for a trailing reference.
- Practical effect: Charts show fewer direction changes overall, with color-coded annotations that evolve from initial breakout to continuation or trap status, making it easier to spot sustained moves early. VWAP lines provide a volume-informed anchor that curves with price, offering visual cues for adverse drifts.
  How it works (technical) 
The process starts by smoothing high and low prices over a user-defined period to form upper and lower references. A midline sits midway between them, and half the spread acts as a base for band offsets, adjusted by a multiplier to widen or narrow sensitivity. On each bar, the close is checked against the previous bar's opposite band: crossing above expands the lower band downward in uptrends, or below contracts the upper band upward in downtrends, creating a ratcheting effect that locks in direction until breached.
Persistent state tracks the current regime, seeding initial bands from the smoothed values if no prior data exists. Flips trigger new horizontal lines at the breach level, styled by direction, alongside labels that monitor sustainmentโprice holding above for up-flips or below for down-flips keeps the regime, while reversal flags a trap.
Separately, at each flip, a dashed VWAP line initializes at the breach price and extends forward, accumulating the product of typical prices and volumes divided by total volume. This yields a curving reference that updates bar-by-bar. Warnings activate if price strays adversely from this VWAP, tinting the background for quick alerts.
No higher timeframe data is pulled, so all computations run on the chart's native resolution, avoiding lookahead biases unless repainting is enabled via input.
  Parameter Guide 
SMA Length โ Controls smoothing of highs and lows for midline and range base; longer values dampen noise but increase lag. Default: 20. Trade-offs: Shortens responsiveness in trends (e.g., 10โ14) but risks more flips; extend to 30+ for stability in ranging markets.
Multiplier โ Scales band offsets from the half-range; higher amplifies to capture bigger swings. Default: 1.0. Trade-offs: Above 1.5 widens for volatile assets, reducing false signals; below 0.8 tightens for precision but may miss subtle shifts.
Show Bands โ Toggles visibility of basic and adjusted band lines for reference. Default: false. Tip: Enable briefly to verify alignment with price action.
Show Background Color โ Displays red tint on VWAP adverse crosses for visual warnings. Default: false. Trade-offs: Helps in live monitoring but can clutter clean charts.
Line Width โ Sets thickness for event and VWAP lines. Default: 2. Tip: Thicker (3โ5) for emphasis on key levels.
+Bars after next event โ Extends old lines briefly before cleanup on new flips. Default: 20. Trade-offs: Longer preserves history (40+) at resource cost; shorter keeps charts tidy.
Allow Repainting โ Permits live-bar updates for smoother real-time view. Default: false. Tip: Disable for backtest accuracy.
Extension 1 Settings (Show, Width, Size, Decimals, Colors, Alpha) โ Manages dotted connector from event label to current close, showing percentage change. Defaults: Shown, width 2, normal size, 2 decimals, lime/red for gains/losses, gray line, 90% transparent background. Trade-offs: Fewer decimals for clean display; adjust alpha for readability.
Extension 2 Settings (Show, Method, Stop %, Ticks, Decimals, Size, Color, Inherit, Alpha) โ Positions stop label at VWAP end, offset by percent or ticks. Defaults: Shown, percent method, 1.0%, 20 ticks, 4 decimals, normal size, white text, inherit tint, 0% alpha. Trade-offs: Percent for proportional risk; ticks for fixed distance in tick-based assets.
Alert Toggles โ Enables notifications for breakouts, continuations, traps, or VWAP warnings. All default: true. Tip: Layer with chart alerts for multi-condition setups.
  Reading & Interpretation 
The main Supertrend line colors green for up-regimes (price above lower band) and red for down (below upper band), serving as a dynamic support/resistance trail. Flip shapes (up/down triangles) mark regime changes at band breaches.
Event lines extend horizontally from flips: green for bull, red for bear. Labels start blank and update to "Bull/Bear Cont." if price sustains the direction, or "Trap" if it reverses, with colors shifting lime/red/gray accordingly. A dotted vertical links the trailing label to the current close, mid-labeled with the percentage delta (positive green, negative red).
VWAP dashes yellow (bull) or orange (bear) from the event, curving to reflect volume-weighted average. At its end, a left-aligned label shows suggested stop price, annotated with offset details. Background red hints at weakening if price crosses VWAP opposite the regime.
Deltas near zero suggest consolidation; widening extremes signal momentum buildup or exhaustion.
  Practical Workflows & Combinations 
- Trend following: Enter long on green flip shapes confirmed by higher highs, using the event line as initial stop below. Trail stops to VWAP for bull runs, exiting on trap labels or red background warnings. Filter with volume spikes to avoid low-conviction breaks.
- Exits/Stops: Conservative: Set hard stops at suggested SL labels. Aggressive: Hold through minor traps if delta stays positive, but cut on regime flip. Pair with momentum oscillators for overbought pullbacks.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 15mโ4H; for crypto, bump multiplier to 1.5 for volatility. Scale SMA length proportionally across timeframes (e.g., double for daily). Combine with structure tools like Fibonacci for confluence on event lines.
  Behavior, Constraints & Performance 
Live bars update lines and labels dynamically if repainting is allowed, but signals confirm on close for stabilityโflips only trigger post-bar. No higher timeframe calls, so no inherent lookahead, though volume weighting assumes continuous data.
Resources cap at 1000 bars back, 50 lines/labels max; events prune old ones on new flips to stay under budget, with brief extensions for visibility. Arrays or loops absent, keeping it lightweight.
Known limits include lag in extreme gaps (e.g., overnight opens) where bands may not adjust instantly, and VWAP sensitivity to sparse volume in illiquid sessions.
  Sensible Defaults & Quick Tuning 
Start with SMA 20, multiplier 1.0 for balanced response across majors. For choppy pairs: Lengthen SMA to 30, multiplier 0.8 to tighten bands and cut flips. For trending equities: Shorten to 14, multiplier 1.2 for quicker entries. If traps dominate, enable bands to inspect range compression; for sluggish signals, reduce extension bars to focus on recent events.
  What this indicator isโand isnโt 
This serves as a visualization and signal layer for trend regimes and breakouts, highlighting sustainment via annotations and risk cues through VWAPโideal atop price action for confirmation. It is not a standalone system, predictive oracle, or risk calculator; always integrate with broader analysis, position sizing, and stops. Use responsibly as an educational tool.
  Disclaimer 
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.  
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.  
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.  
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.  
 Best regards and happy trading  
Chervolino
Trend change[YI_YA_HA_]้ๆฏไธๅ่ถจๅข่ฎๅๅ็คๆด็ช็ ดๅตๆธฌๆๆจใ
This is a trend change and consolidation breakout detection indicator.
ๅฎ่ฝ่ชๅ่ญๅฅๅนๆ ผ้ฒๅ
ฅ็น็ช็คๆดๅ้ใ
It automatically identifies when price enters a tight consolidation range.
็ถๅนๆ ผ็ช็ ด็ฎฑๅไธ็ทฃ๏ผๅฐฑๅคๅฎ็บไธๅ่ถจๅข้ๅงใ
When price closes above the box top, it signals the start of an uptrend.
็ถๅนๆ ผ็ช็ ด็ฎฑๅไธ็ทฃ๏ผๅ่งธ็ผไธ่ท่ถจๅข่ญฆๅ ฑใ
When price closes below the box bottom, it triggers a downtrend alert.
็จๅผๆ็ซๅบ้ป่ฒ็คๆด็ฎฑ้ซ๏ผ็ช็ ดๅพ่ชๅๆถๅคฑใ
The script draws a yellow consolidation box that auto-deletes after breakout.
็ช็ ดๅไธๆ๏ผๆๅพไฝ้ป็ซไธๆข็ถ ่ฒ่ถจๅข็ทๆ็บๅปถไผธใ
On upward breakout, a green trendline is drawn from the low and extends right.
ๅณๅดๆจ็ฑคๅณๆ้กฏ็คบ็ฎๅ่ถจๅข็ๆ
่ๅนๆ ผใ
A label on the right shows the current trend status and price in real-time.
ma+ko Arrowsma+ko ARROWS is a clean Supertrend-based indicator that generates precise BUY and SELL arrows without repainting after candle close.
HTF Control Shift + FVG Interaction + Shift Lines
### ๐ **HTF Control Shift + FVG Interaction + Shift Lines**
This indicator combines **Higher Timeframe Control Shift detection**, **Fair Value Gap (FVG) tracking**, and **Shift Line projection** into one complete structure-based trading toolkit.
#### ๐ **Features**
* **Control Shift Detection:**
  Highlights bullish or bearish โControl Shiftโ candles based on wick/body ratios โ showing where aggressive control transitions occur.
* **Fair Value Gap Mapping:**
  Automatically detects and draws bullish or bearish FVGs on any chosen timeframe, with optional dynamic extension and mitigation tracking.
* **Shift Line Projection:**
  Extends high and low lines from each Control Shift candle to visualize structure and potential continuation or rejection zones.
* **Interaction Alerts:**
  Triggers alerts when:
  * A Bullish Control Shift interacts with a Bullish FVG
  * A Bearish Control Shift interacts with a Bearish FVG
  * Price breaks the high/low following an interaction
* **Visual Highlights:**
  Colored FVG zones, labeled interactions, and diamond markers for easy visual confirmation of key reaction points.
#### โ๏ธ **How to Use**
1. Choose a **higher timeframe (HTF)** in settings (e.g., 15m, 1h, 4h).
2. Watch for **Control Shift candles** (yellow/orange bars) forming at or interacting with **FVG zones**.
3. A **Bullish Interaction + Break of High** often signals continuation.
   A **Bearish Interaction + Break of Low** may confirm rejection or trend reversal.
4. Use alerts to track live market structure shifts without constant chart watching.
#### ๐ง  **Purpose**
Ideal for traders combining **Smart Money Concepts (SMC)** and **candle structure logic**, this tool visualizes where institutional aggression shifts align with **liquidity gaps** โ helping anticipate **high-probability continuations or reversals**.
Multi-Mode Seasonality Map [BackQuant]Multi-Mode Seasonality Map  
 A fast, visual way to expose repeatable calendar patterns in returns, volatility, volume, and range across multiple granularities (Day of Week, Day of Month, Hour of Day, Week of Month). Built for idea generation, regime context, and execution timing. 
 What is โseasonalityโ in markets? 
 Seasonality refers to statistically repeatable patterns tied to the calendar or clock, rather than to price levels. Examples include specific weekdays tending to be stronger, certain hours showing higher realized volatility, or month-end flow boosting volumes. This tool measures those effects directly on your charted symbol.
 Why seasonality matters 
  
  Itโs orthogonal alpha: timing edges independent of price structure that can complement trend, mean reversion, or flow-based setups.
  It frames expectations: when a session typically runs hot or cold, you size and pace risk accordingly.
  It improves execution: entering during historically favorable windows, avoiding historically noisy windows.
  It clarifies context: separating normal โcalendar noiseโ from true anomaly helps avoid overreacting to routine moves.
  
 How traders use seasonality in practice 
  
  Timing entries/exits : If Tuesday morning is historically weak for this asset, a mean-reversion buyer may wait for that drift to complete before entering.
  Sizing & stops : If 13:00โ15:00 shows elevated volatility, widen stops or reduce size to maintain constant risk.
  Session playbooks : Build repeatable routines around the hours/days that consistently drive PnL.
  Portfolio rotation : Compare seasonal edges across assets to schedule focus and deploy attention where the calendar favors you.
  
 Why Day-of-Week (DOW) can be especially helpful 
  
  Flows cluster by weekday (ETF creations/redemptions, options hedging cadence, futures roll patterns, macro data releases), so DOW often encodes a stable micro-structure signal.
  Desk behavior and liquidity provision differ by weekday, impacting realized range and slippage.
  DOW is simple to operationalize: easy rules like โfade Monday afternoon chopโ or โpress Thursday trend extensionโ can be tested and enforced.
  
 What this indicator does 
  
  Multi-mode heatmaps : Switch between  Day of Week, Day of Month, Hour of Day, Week of Month .
  Metric selection : Analyze  Returns ,  Volatility  ((high-low)/open),  Volume  (vs 20-bar average), or  Range  (vs 20-bar average).
  Confidence intervals : Per cell, compute mean, standard deviation, and a z-based CI at your chosen confidence level.
  Sample guards : Enforce a minimum sample size so thin data doesnโt mislead.
  Readable map : Color palettes, value labels, sample size, and an optional legend for fast interpretation.
  Scoreboard : Optional table highlights best/worst DOW and todayโs seasonality with CI and a simple โedgeโ tag.
  
 How itโs calculated (under the hood) 
  
  Per bar, compute the chosen  metric  (return, vol, volume %, or range %) over your lookback window.
  Bucket that metric into the active calendar bin (e.g., Tuesday, the 15th, 10:00 hour, or Week-2 of month).
  For each bin, accumulate  sum ,  sum of squares , and  count , then at render compute  mean ,  std dev , and  confidence interval .
  Color scale normalizes to the observed min/max of eligible bins (those meeting the minimum sample size).
  
 How to read the heatmap 
  
  Color : Greener/warmer typically implies higher mean value for the chosen metric; cooler implies lower.
  Value label : The center number is the binโs mean (e.g., average % return for Tuesdays).
  Confidence bracket : Optional โ โ shows the CI for the mean, helping you gauge stability.
  n = sample size : More samples = more reliability. Treat small-n bins with skepticism.
  
 Suggested workflows 
  
  Pick the lens : Start with  Analysis Type = Returns ,  Heatmap View = Day of Week ,  lookback โ 252 trading days . Note the best/worst weekdays and their CI width.
  Sanity-check volatility : Switch to  Volatility  to see which bins carry the most realized range. Use that to plan stop width and trade pacing.
  Check liquidity proxy : Flip to  Volume , identify thin vs thick windows. Execute risk in thicker windows to reduce slippage.
  Drill to intraday : Use  Hour of Day  to reveal opening bursts, lunchtime lulls, and closing ramps. Combine with your main strategy to schedule entries.
  Calendar nuance : Inspect  Week of Month  and  Day of Month  for end-of-month, options-cycle, or data-release effects.
  Codify rules : Translate stable edges into rules like โno fresh risk during bottom-quartile hoursโ or โscale entries during top-quartile hours.โ
  
 Parameter guidance 
  
  Analysis Period (Days) : 252 for a one-year view. Shorten (100โ150) to emphasize the current regime; lengthen (500+) for long-memory effects.
  Heatmap View : Start with DOW for robustness, then refine with Hour-of-Day for your execution window.
  Confidence Level : 95% is standard; use 90% if you want wider coverage with fewer false โinsufficient dataโ bins.
  Min Sample Size : 10โ20 helps filter noise. For Hour-of-Day on higher timeframes, consider lowering if your dataset is small.
  Color Scheme : Choose a palette with good mid-tone contrast (e.g., Red-Green or Viridis) for quick thresholding.
  
 Interpreting common patterns 
  
  Return-positive but low-vol bins : Favorable drift windows for passive adds or tight-stop trend continuation.
  Return-flat but high-vol bins : Opportunity for mean reversion or breakout scalping, but manage risk accordingly.
  High-volume bins : Better expected execution quality; schedule size here if slippage matters.
  Wide CI : Edge is unstable or sample is thin; treat as exploratory until more data accumulates.
  
 Best practices 
  
  Revalidate after regime shifts (new macro cycle, liquidity regime change, major exchange microstructure updates).
  Use multiple lenses: DOW to find the day, then Hour-of-Day to refine the entry window.
  Combine with your core setup signals; treat seasonality as a filter or weight, not a standalone trigger.
  Test across assets/timeframesโedges are instrument-specific and may not transfer 1:1.
  
 Limitations & notes 
  
  History-dependent: short histories or sparse intraday data reduce reliability.
  Not causal: a hot Tuesday doesnโt guarantee future Tuesday strength; treat as probabilistic bias.
  Aggregation bias: changing session hours or symbol migrations can distort older samples.
  CI is z-approximate: good for fast triage, not a substitute for full hypothesis testing.
  
 Quick setup 
  
  Use  Returns + Day of Week + 252d  to get a clean yearly map of weekday edge.
  Flip to  Hour of Day  on intraday charts to schedule precise entries/exits.
  Keep  Show Values  and  Confidence Intervals  on while you calibrate; hide later for a clean visual.
  
 The Multi-Mode Seasonality Map helps you convert the calendar from an afterthought into a quantitative edge, surfacing when an asset tends to move, expand, or stay quietโso you can plan, size, and execute with intent.
Bitcoin CME gaps multi-timeframe auto finder1. Overview 
The Bitcoin CME Gap Multi-Timeframe Detector automatically identifies price gaps in the Bitcoin CME (Chicago Mercantile Exchange) futures market and visually displays them on the TradingView chart.
Because the CME futures market closes for about an hour after each weekday session and remains closed over the weekend, price gaps frequently appear when trading resumes on Monday.
This indicator analyzes gaps across six major timeframes, from 5-minute to 1-day charts, allowing traders to easily identify structural imbalances and potential support/resistance zones.
It is the most accurate and feature-rich CME gaps indicator available on TradingView.
 2. Key Features 
โ  Multi-Timeframe Gap Detection
 
 Analyzes 5m, 15m, 30m, 1h, 4h, and 1D charts simultaneously.
 This enables traders to observe both short-term volatility and mid-to-long-term structure, providing a multi-dimensional view of market dynamics.
 
โ  Gap Direction Classification
 
 Up Gap: When the next candleโs open is higher than the previous candleโs high (default color: green tone)
 Down Gap: When the next candleโs open is lower than the previous candleโs low (default color: red tone)
 Gaps are color-coded to intuitively visualize potential support and resistance zones.
 
โ  Highlight Function
 
 Gaps exceeding a user-defined threshold (%) are highlighted (default color: yellow).
 This helps quickly identify zones with abnormal volatility or sharp price dislocations.
 
โ  Labels and Box Extension
 
 Each gap displays a percentage label indicating its relative size and significance.
 Gap zones are extended to the right as boxes, allowing traders to visually track when and how the gap gets filled over time.
 
โ  Alert System
 
 When a gap forms on the selected timeframe (or across all timeframes), a TradingView alert is triggered.
 This enables real-time response to significant gap events.
 
 3. Trading Strategies 
โ  Gap Fill Behavior
CME gaps statistically tend to get filled over time.
Gap boxes help distinguish between filled and unfilled gaps at a glance.
 
 Up Gap: Price tends to decline to fill the previous highโnext open zone.
 Down Gap: Price often rises later to fill the previous lowโnext open zone.
 
โ  Support & Resistance Levels
Gap zones frequently act as strong support or resistance.
When price retests a gap area, observing the reaction of buyers and sellers can provide valuable trading insights.
Overlapping gap boxes across multiple timeframes indicate high-confidence support/resistance zones.
โ  Market Sentiment & Volatility Analysis
Large gaps usually result from shifts in market sentiment or major news events.
This indicator allows traders to detect volatility spikes early and prepare for potential trend reversals.
โ  Combination with Other Technical Tools
While fully functional on its own, this indicator works even better when combined with tools like moving averages (MA), RSI, MACD, or Fibonacci retracements.
For example, if the bottom of a gap coincides with the 0.618 Fibonacci level, it may signal a strong rebound zone.
 4. Settings Options 
Minimum Gap % | Sets the minimum percentage movement required to detect a gap (lower values show smaller gaps)
Display Timeframes | Choose which timeframes to display (5m, 15m, 30m, 1h, 4h, 1D)
Box Colors	 | Assign colors for up and down gaps
Box Extension (Bars)	| Number of bars to extend gap boxes to the right
Show Labels | Toggle display of gap percentage labels
Label Position / Size | Adjust label position and size
Highlight Gap โฅ % | Highlight gaps exceeding a specified percentage
Highlight Colors | Set highlight color for labels and boxes
Enable Alerts | Enable or disable alerts
Alert Timeframe | Select timeframe(s) for alerts (โAllโ = all timeframes)
 5. Summary 
This indicator is a professional trading tool that provides quantitative and visual analysis of price gaps in the Bitcoin CME futures market.
By combining multi-timeframe detection, highlighting, and alert systems, it helps traders clearly identify zones of market imbalance and potential reversal areas.
AG_STRATEGY๐ AG_STRATEGY โ Smart Money System + Sessions + PDH/PDL
AG_STRATEGY is an advanced Smart Money Concepts (SMC) toolkit built for traders who follow market structure, liquidity and institutional timing.
It combines real-time market structure, session ranges, liquidity levels, and daily institutional levels โ all in one clean, professional interface.
โ
 Key Features
๐ง  Smart Money Concepts Engine
Automatic detection of:
BOS (Break of Structure)
CHoCH (Change of Character)
Dual structure system: Swing & Internal
Historical / Present display modes
Optional structural candle coloring
๐ฏ Liquidity & Market Structure
Equal Highs (EQH) and Equal Lows (EQL)
Marks strong/weak highs & lows
Real-time swing confirmation
Clear visual labels + smart positioning
โก Fair Value Gaps (FVG)
Automatic bullish & bearish FVGs
Higher-timeframe compatible
Extendable boxes
Auto-filtering to remove noise
๐ Institutional Sessions
Asia
London
New York
Includes:
High/Low of each session
Automatic range plotting
Session background shading
London & NY Open markers
๐ PDH/PDL + Higher-Timeframe Levels
PDH / PDL (Previous Day High/Low)
Dynamic confirmation โ when liquidity is swept
Multi-timeframe level support:
Daily
Weekly
Monthly
Line style options: solid / dashed / dotted
๐ Built-in Alerts
Internal & swing BOS / CHoCH
Equal Highs / Equal Lows
Bullish / Bearish FVG detected
๐ Fully Adjustable Interface
Colored or Monochrome visual mode
Custom label sizes
Extend levels automatically
Session timezone settings
Clean, modular toggles for each component
๐ฏ Designed For Traders Who
Follow institutional order flow
Enter on BOS/CHoCH + FVG + Liquidity sweeps
Trade London & New York sessions
Want structure and liquidity clearly mapped
Prefer clean charts with full control
๐ก Why AG_STRATEGY Stands Out
โ Professional SMC engine
โ Real-time swing & internal structure
โ Session-based liquidity tracking
โ Non-cluttered chart โ high clarity
โ Supports institutional trading workflows
Lateral Market DetectorOverview
The Lateral Market Detector is a TradingView indicator designed to identify and highlight range-bound market conditions (sideways movement) where price oscillates between defined support and resistance levels with minimal overall movement.
How It Works
The indicator analyzes price action using a dynamic range detection algorithm:
Range Calculation: Examines the last N candlesticks (default 50, adjustable 20-200) and calculates the difference between the highest high and lowest low within this period.
Laterality Detection: Compares the calculated range against a configurable tolerance threshold (in pips). If the range is smaller than the tolerance, the market is identified as laterally moving.
Confirmation Logic: Counts consecutive candlesticks that remain within the detected range. The indicator only confirms a lateral condition when the minimum number of consecutive candlesticks has been reached (default 15).
Visual Representation: Once confirmed, displays a colored rectangle (box) spanning from the range's start point to the current bar, with horizontal dashed lines marking the high and low levels.
Dynamic Update: Continuously updates the rectangle as new candlesticks form, adjusting the top and bottom boundaries if price remains within the lateral zone.
Key Features
Multi-Timeframe Optimization
Automatic timeframe adaptation using square root scaling
When enabled, parameters adjust proportionally based on the current timeframe (M1, M5, M15, M30, H1, D1, W1, MN)
Prevents the need for manual parameter adjustments across different timeframes
Formula: Adjusted_Tolerance = Base_Tolerance ร โ(Timeframe_Multiplier)
Customizable Parameters
Tolerance Pip (M1): Sets the maximum range width to identify laterality
Minimum Candlesticks: Minimum consecutive candles required to confirm a lateral zone
Candlesticks to Analyze: Lookback period for range calculation
Breakout Sensitivity: Controls the threshold for identifying range breakouts
Full Visual Customization
Rectangle color and transparency
High/Low line color and thickness
Automatic status display showing current timeframe, lateral confirmation, and active parameters
Use Cases
Range Trading: Identify optimal entry and exit points at support/resistance
Breakout Trading: Visual confirmation before entering breakout trades
Trend Analysis: Distinguish between trending and consolidating markets
Risk Management: Define clear stop-loss levels based on range boundaries
Technical Specifications
Indicator Type: Overlay
Maximum Boxes: 100 (prevents performance degradation)
Supported Assets: Forex, CFDs, Stocks, Cryptocurrencies
Pine Script Version: v5
Chart Display: Real-time updates on each new candlestick
ProScalper๐ ProScalper - Professional 1-Minute Scalping System
๐ฏ Overview
ProScalper is a sophisticated, multi-confluence scalping indicator designed specifically for 1-minute chart trading. Combining advanced technical analysis with intelligent signal filtering, it provides high-probability trade setups with clear entry, stop loss, and take profit levels.
โจ Key Features
๐บ Smart Signal Detection
Range Filter Technology: Fast-responding trend detection (25-period) optimized for 1-minute timeframe
Medium-sized triangles appear above/below candles for clear buy/sell signals
Only most recent signal shown - no chart clutter
Automatically deletes old signals when new ones appear
๐ Real-Time Signal Table
Top-center display shows complete trade breakdown
Grade system: A+, A, B+, B, C+ ratings for every setup
All confluence reasons listed with checkmarks
Score and R:R displayed for instant trade quality assessment
Color-coded: Green for LONG, Red for SHORT
๐ Multi-Confluence Analysis
ProScalper combines 10+ technical factors:
โ
 EMA Trend: 4 EMAs (200, 48, 13, 8) for multi-timeframe alignment
โ
 VWAP: Dynamic support/resistance
โ
 Fibonacci Retracement: Golden ratio (61.8%), 50%, 38.2%, 78.6%
โ
 Range Filter: Adaptive trend confirmation
โ
 Pivot Points: Smart reversal detection
โ
 Volume Analysis: Spike detection and volume profile
โ
 Higher Timeframe: 5-minute trend confirmation
โ
 HTF Support/Resistance: Key levels from higher timeframes
โ
 Liquidity Sweeps: Smart money detection
โ
 Opening Range Breakout: First 15-minute range
๐ฐ Complete Trade Management
Entry Lines: Dashed green (LONG) or red (SHORT) showing exact entry
Stop Loss: Red dashed line with price label
Take Profit: Blue dashed line with price label and R:R
Partial Exits: 1R level marked with orange dashed line
All lines extend 10 bars for clean alignment with Fibonacci levels
๐ Dynamic Risk/Reward
Adaptive R:R calculation based on market volatility
Targets adjusted for pivot distances
Minimum 1.2:1 to maximum 3.5:1 for scalping
Position sizing based on account risk percentage
๐จ Professional Visualization
Clean chart layout - no clutter, only essential information
Custom EMA colors: Red (200), Aqua (48), Green (13), White (8)
Gold VWAP line for key support/resistance
Color-coded Fibonacci: Bright yellow (61.8%), white (50%), orange (38.2%), fuchsia (78.6%)
No shaded zones - pure price action focus
๐ Performance Tracking
Real-time statistics table (optional)
Win rate, total trades, P&L tracking
Average R:R and win/loss ratios
Setup-specific performance metrics
โ๏ธ Settings & Customization
Risk Management
Adjustable account risk per trade (default: 0.5%)
ATR-based stop loss multiplier (default: 0.8 for tight scalping)
Dynamic position sizing
Signal Sensitivity
Confluence Score Threshold: 40-100 (default: 55 for balanced signals)
Range Filter Period: 25 bars (fast signals for 1-min)
Range Filter Multiplier: 2.2 (tighter bands for more signals)
Visual Controls
Toggle signal table on/off
Show/hide Fibonacci levels
Control EMA visibility
Adjust table text size
Partial Exits
1R: 50% (default)
2R: 30% (default)
3R: 20% (default)
Fully customizable percentages
Trailing Stops
ATR-Based (best for scalping)
Pivot-Based
EMA-Based
Breakeven trigger at 0.8R
๐ฏ Best Use Cases
Ideal For:
โ
 1-minute scalping on liquid instruments
โ
 Day traders looking for quick 2-8 minute trades
โ
 High-frequency trading with 8-15 signals per session
โ
 Trending markets where Range Filter excels
โ
 Crypto, Forex, Futures - works on all liquid assets
Trading Style:
Timeframe: 1-minute (can work on 3-5 min with adjusted settings)
Hold Time: 3-8 minutes average
Target: 1.2-3R per trade
Frequency: 8-15 signals per day
Win Rate: 45-55% (with proper risk management)
๐ How to Use
Step 1: Wait for Signal
Watch for green triangle (BUY) or red triangle (SELL)
Signal table appears at top center automatically
Step 2: Review Confluence
Check grade (prefer A+, A, B+ for best quality)
Review all reasons listed in table
Confirm score is above your threshold (55+ recommended)
Note the R:R ratio
Step 3: Enter Trade
Enter at current market price
Set stop loss at red dashed line
Set take profit at blue dashed line
Mark 1R level (orange line) for partial exit
Step 4: Manage Trade
Exit 50% at 1R (orange line)
Move to breakeven after 0.8R
Trail remaining position using your chosen method
Exit fully at TP or opposite signal
๐จ Chart Setup Recommendations
Optimal Display:
Timeframe: 1-minute
Chart Type: Candles or Heikin Ashi
Background: Dark theme for best color visibility
Volume: Enable volume bars below chart
Complementary Indicators (optional):
Order flow/Delta for institutional confirmation
Market profile for key levels
Economic calendar for news avoidance
โ ๏ธ Important Notes
Risk Disclaimer:
Not financial advice - for educational purposes only
Always use proper risk management (0.5-1% per trade max)
Past performance doesn't guarantee future results
Test on demo account before live trading
Best Practices:
โ
 Trade during high liquidity hours (9:30-11 AM, 2-4 PM EST)
โ
 Avoid news events and market open/close (first/last 2 minutes)
โ
 Use tight stops (0.8-1.0 ATR) for 1-minute scalping
โ
 Take partial profits quickly (1R = 50% off)
โ
 Respect max daily loss limits (3% recommended)
โ
 Focus on A and B grade setups for consistency
What Makes This Different:
๐ฏ Complete system - not just signals, but full trade management
๐ Multi-confluence - 10+ factors analyzed per trade
๐จ Professional visualization - clean, focused chart design
โก Optimized for 1-min - settings specifically tuned for fast scalping
๐ Transparent reasoning - see exactly why each trade was taken
๐ Grade system - instantly know trade quality
๐ง Technical Details
Pine Script Version: 5
Overlay: Yes (plots on price chart)
Max Lines: 500
Max Labels: 100
Non-repainting: All signals confirmed on bar close
Alerts: Compatible with TradingView alerts
๐ Support & Updates
This indicator is actively maintained and optimized for 1-minute scalping. Settings can be adjusted for different timeframes and trading styles, but default configuration is specifically tuned for high-frequency 1-minute scalping.
๐ Get Started
Add ProScalper to your 1-minute chart
Adjust settings to your risk tolerance
Wait for signals (green/red triangles)
Follow the signal table guidance
Manage trades using provided levels
Track performance with stats table
Happy Scalping! ๐โก๐ฐ
Tri-Align Crypto Trend (EMA + Slope)**Tri-Align Crypto Trend (EMA + Slope)**
Quickly see whether your coin is trending *with* Bitcoin. The indicator evaluates three pairsโ**COIN/USDT**, **BTC/USDT**, and **COIN/BTC**โusing a fast/slow EMA crossover plus the fast EMAโs slope. Each pair is tagged **Bullish / Bearish / Neutral** in a compact, color-coded table. Alerts fire when **all three** trends align (all bullish or all bearish).
**How to use**
1. Add the indicator to any crypto chart.
2. Set the three symbols (defaults: BNB/USDT, BTC/USDT, BNB/BTC) and optionally choose a signal timeframe.
3. Tune **Fast EMA**, **Slow EMA**, **Slope Lookback**, and **Min |Slope| %** to filter noise and require stronger momentum.
4. Create alerts: *Add alert โ* choose the indicator and select **All Three Bullish**, **All Three Bearish**, or **All Three Aligned**.
**Logic**
* Bullish: `EMA_fast > EMA_slow` **and** fast EMA slope โฅ threshold
* Bearish: `EMA_fast < EMA_slow` **and** fast EMA slope โค โthreshold
* Otherwise: Neutral
Tip: The **COIN/BTC** row reflects relative strength vs BTCโuse it to avoid chasing coins that lag the benchmark. (For educational purposes; not financial advice.)
#1 Vishal Toora Buy Sell Tablecopyright Vishal Toora
**โยฉ 2025 Vishal Toora โ counting volumes so you donโt have to. Buy, sell, or just stare at the screen.โ**
Or a few more playful options:
1. **โยฉ Vishal Toora โ making deltas speak louder than your ex.โ**
2. **โยฉ Vishal Toora โ one signal to rule them all (Buy/Sell/Neutral).โ**
3. **โยฉ Vishal Toora โ because guessing markets is so 2024.โ**
Disclaimer: This indicator is for educational and informational purposes only. I do not claim 100% accuracy, and you are responsible for your own trading decisions.
Trend scalping ROVTradingOnly trading with bullish or bearish trend. Working fine at m5 and m15 time frame
TFRSI & RSI Analog Dial [CHE]  TFRSI & RSI Analog Dial    โ Interactive analog visualization for TFRSI or RSI with gradient zones, radial markers, and a trailing hand pointer.
  Summary 
This indicator renders an interactive analog dial for either TFRSI or standard RSI, providing a visual gauge with gradient-filled zones for oversold, neutral, and overbought regions. The hand pointer tracks the current value, with optional trailing dots at recent positions to show momentum direction. Radial lines mark key thresholds, and a digital readout displays the exact value. This design enhances readability over linear plots by leveraging familiar clock-like intuition, reducing cognitive load during quick scans. Signals are robust due to clamping to safe bounds and mode-specific scaling, ensuring consistent display across different volatility regimes.
  Motivation: Why this design? 
Traditional linear RSI or momentum indicators often feel abstract, especially in fast-paced screening where users scan multiple assets. Sharp swings can make thresholds hard to gauge at a glance, leading to missed nuances in overbought or oversold conditions. This dial addresses that by mapping values to a curved scale with color gradients, making extremes visually pop while the hand's trail hints at recent path without cluttering the chart. The dual-mode support allows seamless switching between advanced momentum (TFRSI) and classic RSI, fitting diverse strategies without reloading scripts.
  Whatโs different vs. standard approaches? 
- Baseline reference: Diverges from linear plotlines like the built-in RSI oscillator, which stacks values vertically and relies on horizontal lines for thresholds.
- Architecture differences:
  - Curved projection with perspective tilt for depth illusion, using polyline arcs instead of straight plots.
  - Mode-aware clamping and scaling to handle TFRSI's extended range versus RSI's standard bounds.
  - Persistent trail array for hand history, capped at three points to avoid performance drag.
  - Gradient segmentation for smooth zone transitions, rendered via multiple thin polylines.
- Practical effect: Charts show a compact, rotatable dial that fits in pane corners, with colors intuitively signaling bias (lime for buy zones, red for sell). The trail adds qualitative flow without numerical overload, helping spot divergences faster than static bars.
  How it works (technical) 
The indicator first computes the selected metric: for TFRSI, it processes price accelerations through a multi-step filter involving differencing, exponential damping, and normalization to a centered scale; for RSI, it uses the standard gain-loss ratio over the specified period. The value is then clamped between mode-specific minimum and maximum bounds to prevent display overflow.
This clamped value drives the hand angle on a 300-degree arc, projected from a 3D-like model rotated for perspective. Arcs for zones are built as segmented polylines, with colors interpolated linearly across the gradient. Key levels are drawn as radial lines from inner to outer radius, colored by zone. The trail maintains up to three prior angles in an array, updated only on confirmed bars to avoid repainting, and rendered as sized dots fading from small to large.
Initialization seeds filter states to zero on first bar, with persistent variables holding smoothing history. Data flows from price to metric computation, clamping, angle mapping, and projectionโall executed globally on the last bar for redraw efficiency.
  Parameter Guide 
Mode โ Switches between TFRSI (extended momentum gauge) and RSI (classic oscillator); affects bounds, zones, and labels. Default: "TFRSI". Trade-offs: TFRSI adds sensitivity to accelerations but may amplify noise; RSI is more stable for trend confirmation.
Dial Size โ Sets radius in pixels, scaling all elements proportionally. Default: 200. Bounds: 50โ500. Tips: Larger for detailed views, smaller for multi-pane layouts; auto-scales hand length to match.
Dial Vertical Offset โ Shifts entire dial up/down in pixels. Default: 0. Bounds: -200โ200. Trade-offs: Negative pulls toward price action; positive spaces belowโuse to avoid overlap.
Camera Angle โ Tilts view from top-down (0) to side (90) for 3D effect. Default: 45. Bounds: 0โ90. Tips: Steeper angles emphasize depth but compress horizontally; flat for precision.
Resolution โ Polygon sides for smooth arcs. Default: 64. Bounds: 4โ64. Trade-offs: Higher reduces jaggedness but increases draw callsโbalance with pane zoom.
TFRSI Hand Length โ Base pointer length at 200px dial, auto-scaled. Default: 170. Bounds: 10โ200. Tips: Longer for emphasis in large dials; shorter avoids edge clipping.
Show TFRSI Hand โ Toggles pointer visibility. Default: true. Trade-offs: Off for clean zones only; on for value tracking.
Show Hand Trail Dots โ Displays 3 fading dots at recent tips. Default: true. Trade-offs: Adds motion context but may clutter static viewsโdisable in alerts.
TFRSI Hand Color โ Pointer hue, used for trail dots too. Default: 7E57C2. Tips: Match strategy theme; gradients auto-blend to zones.
Dial Base Color โ Arc outline/fill tint. Default: blue. Trade-offs: Opaque for contrast; transparent blends with background.
Neutral Color (50) โ Mid-zone shade. Default: gray. Tips: Neutral tones reduce bias in balanced markets.
Oversold Color โ Low-zone fill. Default: lime. Trade-offs: Bright for alerts; muted for subtlety.
Overbought Color โ High-zone fill. Default: red. Trade-offs: As aboveโpair with hand blending.
Label Size โ Text scaling for thresholds. Default: "normal". Options: tiny/small/normal/large/huge. Tips: Smaller for dense charts; larger for presentations.
Digital TFRSI Size โ Readout font. Default: "large". Options: as above. Trade-offs: Balances visibility without dominating dial.
Digital Vertical Offset โ Readout position shift. Default: -50. Bounds: -200โ200. Tips: Negative centers above dial; adjust for multi-indicators.
TFRSI Length โ Core lookback for accelerations. Default: 6. Min: 1. Trade-offs: Shorter heightens reactivity, risks whipsaws; longer smooths extremes.
TFRSI Trigger Length โ Final smoothing passes. Default: 2. Min: 1. Tips: Increase for fewer false crosses; decrease for quicker pivots.
RSI Length โ Period for gain-loss averaging. Default: 14. Min: 1. Trade-offs: Classic 14 balances; shorter for scalps, longer for swings.
  Reading & Interpretation 
The dial arcs sweep from overbought (right, red) through neutral (top, gray) to oversold (left, lime), with the hand pointing to the current valueโclockwise for rising, counterclockwise for falling. Trail dots grow larger toward the present, colored to match hand zones, indicating recent direction without numbers. Threshold lines thicken at center (50) for quick zeroing; labels confirm levels. Digital readout below shows precise value prefixed by mode. Hand color gradients from neutral to extremes signal building pressure verbally: deepening red warns of potential pullbacks, brightening lime suggests bounces.
  Practical Workflows & Combinations 
Trend following: Enter long when hand crosses above 50 from oversold trail; confirm with higher highs in price structure. Filter shorts below 50 in downtrends using volume spikes.
Exits/Stops: Trail stops to recent dot positions in overbought; tighten on red gradients exceeding thresholds. Conservative: Exit at neutral; aggressive: Hold to extremes if trail aligns with momentum.
Multi-asset/Multi-TF: Defaults suit forex/stocks on 1Hโ4H; for crypto, shorten lengths by 20% for volatility. Stack with HTF security calls (e.g., daily mode on 15m chart) for confluenceโwatch for alignment across dials.
  Behavior, Constraints & Performance 
Closed-bar updates ensure no repainting; live bars show provisional hand/trail, confirmed on close. No security or HTF calls, so zero lookahead bias. Resources: Caps at 500 lines/labels/polylines, rebuilds only on last bar; max_bars_back=2000 handles history without lag. Known limits: Trail may stutter in flat markets; gradients approximate smooth fills via segments, visible at low resolution.
  Sensible Defaults & Quick Tuning 
Start with TFRSI mode, length=6, trigger=2 for responsive momentum on daily charts. Too choppy? Bump trigger to 4 for stability. Lagging entries? Drop length to 4, watch for overreactions. For RSI trend filter, set length=21; combine with MA cross for entries when dial nears 30/70.
  What this indicator isโand isnโt 
This is a visualization layer for momentum gauges, aiding quick bias assessment and threshold spotting. Pair it with price action, volume, and risk rules for decisions. Itโs not a standalone signal generator or predictive toolโvalues reflect past data, prone to whipsaws in ranging conditions.
  Disclaimer 
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.  
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.  
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.  
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.  
 Best regards and happy trading  
Chervolino
Squeeze Momentum ProSQUEEZE MOMENTUM PRO - Enhanced Visual Dashboard
A modernized version of the TTM Squeeze Momentum indicator, designed for cleaner visual interpretation and faster decision-making.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHAT IS THE SQUEEZE?
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The "squeeze" occurs when Bollinger Bands contract inside Keltner Channels, indicating extremely low volatility. This compression typically precedes explosive directional moves - the tighter the squeeze, the bigger the potential breakout.
John Carter's TTM Squeeze concept (from "Mastering the Trade") combines this volatility compression with momentum direction to identify high-probability setups.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โจ WHAT'S NEW IN THIS VERSION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ VISUAL STATUS BAR
- Real-time squeeze state with clear labels
- Color-coded backgrounds (Red = Building, Green = Fired Bullish, Orange = Fired Bearish)
- Squeeze duration counter to gauge compression time
๐ ENHANCED HISTOGRAM
- 4-color momentum gradient (Strong Bull/Weak Bull/Weak Bear/Strong Bear)
- Instantly shows both direction AND strength
- Background shading for current market state
๐ฅ SQUEEZE INTENSITY GAUGE
- 5-dot pressure indicator showing compression tightness
- Percentage display of squeeze strength
- Only appears during active squeezes
๐ REAL-TIME METRICS PANEL
- Current momentum value
- Direction indicator (increasing/decreasing)
- Strength assessment (strong/weak)
๐ COMPREHENSIVE ALERTS
- Squeeze started
- Squeeze fired (bullish/bearish)
- Momentum crossovers
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฎ HOW TO USE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. WAIT FOR SQUEEZE
   โข Red status bar appears
   โข Intensity dots show compression level
   โข Longer duration = potentially bigger move
2. WATCH FOR RELEASE
   โข Status changes to "FIRED - BULLISH" or "FIRED - BEARISH"
   โข Histogram color confirms momentum direction
   โข Background highlights the event
3. MANAGE POSITION
   โข Monitor momentum strength in metrics panel
   โข Exit when histogram changes color (momentum reversal)
   โข Use with trend/volume confirmation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ CUSTOMIZATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Toggle status bar, metrics, intensity dots independently
- Adjustable BB/KC parameters
- Custom color schemes
- Show/hide squeeze duration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ CREDITS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Original TTM Squeeze concept: John F. Carter
Original indicator code: LazyBear (@LazyBear)
This builds on LazyBear's excellent implementation of the TTM Squeeze Momentum indicator, adding modern visual elements and real-time dashboards for improved usability.
Original indicator: "Squeeze Momentum Indicator  "
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ DISCLAIMER
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
This indicator is for educational purposes. Always use proper risk management and combine with other forms of analysis. No indicator guarantees profitable trades.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Best used on: Day trading timeframes (1m-15m) for momentum plays
Combine with: Volume analysis, trend filters, support/resistance levels






















