Smart Volatility Squeeze + Trend Filter
Smart Volatility Squeeze + Trend Filter
This advanced indicator detects low-volatility squeeze conditions and plots breakout signals, helping you spot strong price moves before they happen.
How it works
This script combines Bollinger Bands (BB) and the Keltner Channel (KC) — two popular volatility tools — to identify squeeze setups:
A squeeze occurs when the Bollinger Bands contract and move completely inside the Keltner Channel. This means the market is quiet and volatility is low — often right before a significant breakout.
When the squeeze condition is active, the background highlights the chart area with a soft color that gradually intensifies the longer the squeeze lasts. This gives a clear visual cue that pressure is building.
A breakout signal triggers when price crosses above the upper Bollinger Band (bullish) or below the lower Bollinger Band (bearish) — confirming that the squeeze has ended and a new impulse is likely starting.
To reduce false breakouts, you can enable the built-in trend filter. By default, it uses a simple EMA: breakouts are confirmed only if the price action aligns with the overall trend direction.
Key features
🔹 Bollinger Bands + Keltner Channel squeeze detection
🔹 Automatic squeeze marker and background shading
🔹 Breakout arrows for up and down signals
🔹 Optional trend filter with adjustable EMA length
🔹 Works on any market: crypto, stocks, forex, indices
🔹 Fully adjustable inputs for BB, KC and trend filter
🔹 Built-in ready-to-use alerts for breakouts
How to use
Watch for areas where the squeeze condition appears — the background will highlight them.
Wait for a breakout arrow to appear outside the bands.
Use the trend filter to focus only on breakouts in the dominant trend direction.
Combine with your existing risk management and confirmation tools.
Inputs
BB Length & StdDev: Control the Bollinger Bands settings.
KC EMA Length & ATR Multiplier: Control the Keltner Channel width.
Trend Filter Length: Adjust how smooth or sensitive the trend filter is.
Use Trend Filter: Enable or disable confirmation by trend direction.
Disclaimer
⚠️ This script is for educational purposes only and does not constitute financial advice. Always test any strategy thoroughly and trade at your own risk.
Indicators and strategies
CM SlingShot System (Customizable)//@version=5
indicator("CM SlingShot System (Customizable)", overlay=true, shorttitle="CM_SSS")
// ==== 📌 INPUT SETTINGS ====
group1 = "Entry Settings"
sae = input.bool(true, title="📍 Show Aggressive Entry (pullback)?", group=group1)
sce = input.bool(true, title="📍 Show Conservative Entry (confirmation)?", group=group1)
group2 = "Visual Settings"
st = input.bool(true, title="🔼 Show Trend Arrows (top/bottom)?", group=group2)
sl = input.bool(false, title="🅱🆂 Show 'B' & 'S' Letters Instead of Arrows", group=group2)
pa = input.bool(true, title="🡹🡻 Show Entry Arrows", group=group2)
group3 = "MA Settings"
fastLength = input.int(38, title="Fast EMA Period", group=group3)
slowLength = input.int(62, title="Slow EMA Period", group=group3)
timeframe = input.timeframe("D", title="Timeframe for EMAs", group=group3)
// ==== 📈 EMA CALCULATIONS ====
emaFast = request.security(syminfo.tickerid, timeframe, ta.ema(close, fastLength))
emaSlow = request.security(syminfo.tickerid, timeframe, ta.ema(close, slowLength))
col = emaFast > emaSlow ? color.lime : emaFast < emaSlow ? color.red : color.gray
// ==== ✅ SIGNAL CONDITIONS ====
pullbackUp = emaFast > emaSlow and close < emaFast
pullbackDn = emaFast < emaSlow and close > emaFast
entryUp = emaFast > emaSlow and close < emaFast and close > emaFast
entryDn = emaFast < emaSlow and close > emaFast and close < emaFast
// ==== 🌈 CHART PLOTS ====
plot(emaFast, title="Fast EMA", color=color.new(col, 0), linewidth=2)
plot(emaSlow, title="Slow EMA", color=color.new(col, 0), linewidth=4)
fill(plot(emaSlow, title="", color=color.new(col, 0)), plot(emaFast, title="", color=color.new(col, 0)), color=color.silver, transp=70)
// Highlight bars
barcolor(sae and (pullbackUp or pullbackDn) ? color.yellow : na)
barcolor(sce and (entryUp or entryDn) ? color.aqua : na)
// Trend arrows
upTrend = emaFast >= emaSlow
downTrend = emaFast < emaSlow
plotshape(st and upTrend, title="UpTrend", style=shape.triangleup, location=location.belowbar, color=color.green)
plotshape(st and downTrend, title="DownTrend", style=shape.triangledown, location=location.abovebar, color=color.red)
// Entry indicators
plotarrow(pa and entryUp ? 1 : na, colorup=color.green, offset=-1)
plotarrow(pa and entryDn ? -1 : na, colordown=color.red, offset=-1)
plotchar(sl and entryUp ? low - ta.tr : na, char="B", location=location.absolute, color=color.green)
plotchar(sl and entryDn ? high + ta.tr : na, char="S", location=location.absolute, color=color.red)
5/21 EMA Crossover AlertThis is a basic indicator which shows when the 5 EMA crosses through the 21 indicating a possible buy or sell signal. remember, this is only an indicator—indicators indicate and the mroe indicators you have, the more confirmation you may find...all to say, don't just rely on any one "holy grail" indicator.
3% Price RangeThe simplest way to track a 3% range is to calculate it directly:
Upper Limit: Current Spot Price * 1.03
Lower Limit: Current Spot Price * 0.97
Average Volume (Millions) On ChartThe indicator shows the average number Volume in the period of time of your decision
Chaikin Oscillator Enhanced📊 What Is the Chaikin Oscillator?
The Chaikin Oscillator is a momentum indicator that helps traders understand the strength of buying and selling pressure in the market, based on volume and price movement.
It is calculated as the difference between two moving averages (short-term and long-term) of the Accumulation/Distribution Line (A/D Line). This line combines price and volume to show whether money is flowing into or out of an asset.
________________________________________
🧠 Simple Concept
• When big traders are buying, they usually do so with volume support—the Chaikin Oscillator picks this up.
• When volume is rising but price is falling, or vice versa, it shows hidden strength or weakness.
So, this indicator helps you see what the smart money is doing, even if the price isn’t moving much.
________________________________________
🛠️ How It Works
• Oscillator Value Above Zero → More buying pressure (bullish).
• Oscillator Value Below Zero → More selling pressure (bearish).
• Crossing above zero → A potential buy signal.
• Crossing below zero → A potential sell signal.
The histogram (vertical bars) in the indicator changes color:
• Green bars = Positive momentum.
• Red bars = Negative momentum.
________________________________________
🎯 How Traders Use It for Entry and Exit
✅ For Entries:
• Buy Entry: When the oscillator crosses above the zero line and the bars turn green, it means buyers are stepping in with volume.
• For better confirmation, combine it with price breaking above a resistance level.
❌ For Exits or Shorts:
• Sell Exit or Short Entry: When the oscillator crosses below the zero line and bars turn red, it suggests selling pressure is growing.
• If the price is also below support, it’s a stronger signal.
________________________________________
🔍 Example Use Case:
1. You’re watching a stock or crypto that's been going sideways.
2. Suddenly, the Chaikin Oscillator crosses above zero, and green bars appear.
3. That’s your early clue that big buyers might be entering.
4. If price confirms this with a breakout, you can enter a long position.
________________________________________
🌐 Where Is It Useful?
The Chaikin Oscillator is great for:
• Stocks (especially volume-heavy large caps)
• ETFs
• Cryptocurrency (on exchanges that provide volume data)
• Forex – less reliable unless volume is proxy-based
⚠️ Important: It won’t work well on instruments where volume data is missing or unreliable (like some CFDs or synthetic assets).
________________________________________
🧭 Pro Tips for Using It:
• Combine it with support/resistance, moving averages, or candlestick patterns.
• Avoid trading only based on this indicator—use it as confirmation.
• Use the alerts (added in the script) so you don’t miss key movements.
________________________________________
ND NS by Tanveer)This indicator will help you to find No Supply and No Demand based on VSA strategy.
Средний ATR за 5 дней (без исключительных баров)The indicator excludes bars where the ATR is more than twice the regular ATR, and shows only the average ATR for the last 5 full days
Gaussian Volatility Adjusted Key Features:Gaussian Smoothing: Applies a Gaussian filter to smooth price data (based on EMA or raw close prices), reducing noise while preserving trend information.
Volatility Adjustment: Uses ATR and standard deviation to create dynamic upper and lower bands around the smoothed price, adapting to market volatility.
Trend Detection: Identifies bullish (price above lower band) or bearish (price below upper band) trends, with additional confirmation using standard deviation thresholds.
Momentum Analysis: Measures momentum by calculating the price difference from key levels (upper band for bullish, Gaussian + standard deviation for bearish).
EMA Confluence: Optionally integrates an EMA of the momentum difference to confirm trend signals, enhancing accuracy.
Visual Output: Plots a zero line and an EMA line colored green (bullish) or red (bearish), with bar coloring to visually indicate trend direction.
TSEP Dual SMA + Optional BB//@version=6
indicator(title="TSEP Chart Info Overlay", shorttitle="TSEP Overlay", overlay=true)
// === INPUTS ===
tickerID = input.string(title="Ticker Symbol", defval="TYPE", tooltip="Manually enter the ticker symbol for this chart.")
showOverlay = input.bool(true, title="Show TSEP Overlay")
// === PRICE ===
currentPrice = close
// === VOLUME ===
currentVol = volume
adtv50 = ta.sma(volume, 50)
// === TIMESTAMP ===
timestampText = "🕓 01:40 AM CDT 07/10/2025" // Replace automatically on future updates if needed
// === DISPLAY STRING ===
labelText = "Ticker: " + tickerID + " Price: $" + str.tostring(currentPrice, "#.##") +
" Volume: " + str.tostring(currentVol, "#.##") +
" 50-day ADTV: " + str.tostring(adtv50, "#.##") +
" " + timestampText
// === RENDER ===
if showOverlay
label.new(x=bar_index, y=high, text=labelText, style=label.style_label_left,
textcolor=color.white, size=size.normal, color=color.new(color.black, 85))
Volume Breakout SignalsScript by Hanssome
The Volume Breakout Signals indicator is a trading tool designed to identify potential entry points by pinpointing high-momentum price breakouts on your main chart. It operates on a simple but powerful principle: a true breakout should be supported by a significant increase in trading volume.
The indicator plots two primary visual elements on your price chart:
Pivot Highs and Lows: These are marked with green and red circles and represent the most recent significant swing points in the price. They act as dynamic support and resistance levels, and the script watches for the price to break past them.
BUY and SELL Labels: These signals appear directly on the chart to indicate a potential trading opportunity.
A signal is only generated when two specific conditions are met simultaneously:
Price Breakout: A BUY signal requires the price to cross decisively above the most recent pivot high. A SELL signal requires the price to cross below the most recent pivot low.
Volume Confirmation: This price breakout must be accompanied by a recent spike in trading volume. This confirmation suggests strong momentum and conviction behind the move, increasing the probability of a successful breakout.
All the parameters, such as the sensitivity of the pivot points and the definition of a volume spike, can be adjusted in the indicator's settings to fit your specific trading style and the asset you are viewing.
OBV MACD IndicatorI have added alert function providing the ability to add an alert when either a long or short signal is detected.
The original script is OBV MACD Indicator by RafaelZioni
[GalihRidha] Scalping Dashboard 5m Scalping Dashboard 5m is a practical, real-time, and user-friendly indicator designed for 5-minute intraday scalping strategies. This indicator provides clear, actionable signals along with dynamic risk management levels, all visualized in a single vertical dashboard on your chart.
Key Features:
Actionable Next Signal:
Generates a strong, easy-to-follow trading signal ("LONG" or "SHORT") every 5 minutes, based on a multi-factor algorithm (MA20/MA50 trend, RSI, price/volume strength, candle momentum, and market structure).
Dynamic TP/SL Calculation:
Automatically displays recommended Take Profit (TP) and Stop Loss (SL) price ranges, calculated from recent price action, support/resistance, and volatility (ATR).
Vertical Dashboard Layout:
Information is neatly split between "LAST SECTION" (your most recent executed signal, TP, and SL) and "NEXT SECTION" (real-time signal, recommended TP/SL, and current price). Perfectly formatted for both desktop and mobile TradingView use.
Live "Capturing" Status:
When a new signal is forming (1 minute before candle close), the dashboard shows an animated "Capturing..." status—so you always know when the indicator is preparing the next actionable trade.
Buffered Signal Logic:
Prevents “signal repainting” by ensuring that your "Last Signal" and TP/SL levels are exactly what was shown in the previous Next Signal, never the recalculated value from a new bar. This is vital for honest backtesting and live trade confidence.
Zero Lag, Mobile Ready:
Designed to be lightweight and responsive, with instant dashboard updates and no visual lag—even on slower connections or when switching timeframes.
No repaint, no lagging, pure price action + volatility logic.
How to Use:
Add to Chart
Apply the indicator to any liquid crypto or forex pair on the 5-minute (5m) timeframe.
Watch the Dashboard
1 minute before the close of each 5-minute candle, the "Next Signal" section will activate.
"Capturing..." status (with animated dots) means a new entry signal is forming.
Use the suggested Entry, TP Range, and SL for your scalping strategy.
Follow the Signal
When "Next Signal" appears, you have 1 minute to enter the trade if desired.
After the signal passes, the values are locked into the "Last Section" for reference, record-keeping, or trade management.
Mobile Friendly
The vertical format ensures the dashboard is always visible and readable on both web and mobile versions of TradingView.
No need to manually refresh or guess when a new signal is forming—just watch for "Capturing..."!
Best Practice & Tips:
For best results, use on trending or high-volume assets. Avoid low liquidity or choppy sideways markets.
Combine with your own risk management and execution strategy for maximum performance.
This dashboard is 100% Pine Script v5, fully open-source, and does not repaint. You can customize TP/SL logic or integrate with alerts for even more automation.
Why This Indicator?
Most scalping indicators provide signals, but don't show you the real, actionable context—especially in mobile or fast-moving markets.
This dashboard solves that problem by giving you everything you need for quick, clear, and confident trading—all in one place, with true buffer logic so your entries and results are always honest and reproducible.
Happy scalping and stay disciplined—let the dashboard do the heavy lifting for you! 🚀
WMA(10) Momentum Indicatorshows wma momentum. work in progress. Attempts to capture mementum changes and confirm current trend direction. i will be expanding on this.
Zen Open - 18 Bar v2Zen Open – 18 Bar Box (RTH Study Tool)
📄 Description:
This script highlights the first 18 bars of each Regular Trading Hours (RTH) session with a visual box and optional range label. It is intended as a study aid for traders analyzing early session structure.
Features:
• Draws a box around the first 18 bars of the RTH session
• Displays the total range as a label (optional)
• Fully customizable box color and transparency
Intended Use:
This is an educational and visual analysis tool to help traders research how the RTH open influences the rest of the session.
Tight opening range may suggest range expansion
Wide opening range may indicate reduced movement or reversal risk
This script does not generate trading signals, does not offer financial advice, and does not promote any service. It is provided for discretionary study and chart analysis only.
维加斯隧道 Vegas Tunnel v1.0 [xseed]维加斯隧道 Vegas Tunnel V1.0_250709
-默认适配浅色风格主题
-关于EMA设置:
Ema默认(144 169和576 676)构成上下两个通道
Ema默认12 作为信号线
-关于颜色设置:
支持两个均线通道之间颜色填充
当信号线,进入通道区域内变色(默认是变红)
Default adaptation for a light-style theme.
Regarding EMA settings:
Default EMA (144, 169 and 576, 676) form two channels, an upper and a lower one.
Default EMA 12 serves as the signal line.
Regarding color settings:
Supports color filling between the two moving average channels.
When the signal line enters the channel area, its color changes (default is red).
-更新:
2025-07-09
首个版本V1.0
Staccked SMA - Regime Switching & Persistance StatisticsThis indicator is designed to identify the prevailing market regime by analyzing the behavior of a "stack" of Simple Moving Averages (SMAs). It helps you understand whether the market is currently trending, mean-reverting, or moving randomly.
Core Concept: SMA Correlation
At its heart, the indicator examines the relationship between a set of nine SMAs with different lengths (3, 5, 8, 13, 21, 34, 55, 89, 144) and the lengths themselves.
In a strong trending market (either up or down), the SMAs will be neatly "stacked" in order of their length. The shortest SMA will be furthest from the longest SMA, creating a strong, almost linear visual pattern. When we measure the statistical correlation between the SMA values and their corresponding lengths, we get a value close to +1 (perfect uptrend stack) or -1 (perfect downtrend stack). The absolute value of this correlation will be very high (close to 1).
In a mean-reverting or sideways market, the SMAs will be tangled and crisscrossing each other. There is no clear order, and the relationship between an SMA's length and its price value is weak. The correlation will be close to 0.
This indicator calculates this Pearson correlation on every bar, giving a continuous measure of how ordered or "trendy" the SMAs are. An absolute correlation above 0.8 is considered strongly trending, while a value between 0.4 and 0.8 suggests a mean-reverting character. Below 0.4, the market is likely random or choppy.
Regime Classification and Statistics
The indicator doesn't just look at the current correlation; it analyzes its behavior over a user-defined lookback window (default is 252 bars) to classify the overall market "regime."
It presents its findings in a clear table:
📊 |SMA Correlation| Regime Table: This main table provides a snapshot of the current market character.
Median: Shows the median absolute correlation over the lookback period, giving a central tendency of the market's behavior.
% > 0.80: The percentage of time the market was in a strong trend during the lookback period.
% < 0.80 & > 0.40: The percentage of time the market showed mean-reverting characteristics.
🧠 Regime: The final classification. It's labeled "📈 Trend-Dominant" if the median correlation is high and it has spent a significant portion of the time trending. It's labeled "🔄 Mean-Reverting" if the median is in the middle range and it has spent significant time in that state. Otherwise, it's considered "⚖️ Random/ Choppy".
📐 Regime Significance: This tells you how statistically confident you can be in the current regime classification, using a Z-score to compare its occurrence against random chance. ⭐⭐⭐ indicates high confidence (99%), while "❌ Not Significant" means the pattern could be random.
Regime Transition Probabilities
Optionally, a second table can be displayed that shows the historical probability of the market transitioning from one regime to another over different time horizons (t+5, t+10, t+15, and t+20 bars).
📈 → 🔄 → ⚖️ Transition Table: This table answers questions like, "If the market is trending now (From: 📈), what is the probability it will be mean-reverting (→ 🔄) in 10 bars?"
This provides powerful insights into the market's cyclical nature, helping you anticipate future behavior based on past patterns. For example, you might find that after a period of strong trending, a transition to a choppy state is more likely than a direct switch to a mean-reverting
Indicator Settings
Lookback Window for Regime Classification: This sets the number of recent bars (default is 252) the script analyzes to determine the current market regime (Trending, Mean-Reverting, or Random). A larger number provides a more stable, long-term view, while a smaller number makes the classification more sensitive to recent price action.
Show Regime Transition Table: A simple toggle (on/off) to show or hide the table that displays the probabilities of the market switching from one regime to another.
Lookback Offset for Starting Regime: This determines the "starting point" in the past for calculating regime transitions. The default is 20 bars ago. The script looks at the regime at this point and then checks what it became at later points.
Step 1, 2, 3, 4 Offset (bars): These define the future time intervals (5, 10, 15, and 20 bars by default) for the transition probability table. For example, the script checks the regime at the "Lookback Offset" and then sees what it transitioned to 5, 10, 15, and 20 bars later.
Significance Filter Settings
Use Regime Significance Filter: When enabled, this filter ensures that the regime transition statistics only count transitions that were "statistically significant." This helps to filter out noise and focus on more reliable patterns.
Min Stars Required (1=90%, 2=95%, 3=99%): This sets the minimum confidence level required for a regime to be included in the transition statistics when the significance filter is on.
1 ⭐: Requires at least 90% confidence.
2 ⭐⭐: Requires at least 95% confidence (default).
3 ⭐⭐⭐: Requires at least 99% confidence.
Price Deviation from MA5 (%)This Pine Script calculates and visualizes the percentage deviation of the current price from the 5-day simple moving average (SMA5).
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
Highlight Candles with Open-Close Difference ≥ 24momentum candle. price starts big move or continue momentum on either side.
SKVolBal Pro v1.0SKVolBal Pro v1.0
Volume-RSI Fusion with Advanced Pattern Detection
This space-efficient indicator combines volume analysis, RSI, and candlestick pattern recognition in a single pane. Key features:
Volume-RSI Integration
Dual view modes: Stacked volume (Type 1) or separated buy/sell columns (Type 2)
RSI overlay with configurable levels (default 30/70)
Color-coded volume: Green = Buying pressure, Red = Selling pressure
Pattern Detection & Labels
Text labels indicate detected patterns with priority weighting:
C: Volume Climax
E: Engulfing Pattern
D: Divergence
H: Hammer
I: Inverted Hammer
S: Shooting Star
M: Hanging Man
B: Bearish Marubozu
G: Gravestone Doji
Label color indicates direction: Green = Bullish, Red = Bearish
Smart Signal Validation
Adaptive thresholds adjust to market volatility
Volume filters (vs SMA20) minimize false signals
Pattern weighting system prioritizes significant signals
Hover labels show all detected patterns with weights
Customization & Alerts
Adjust 15+ parameters including pattern sensitivity and volume allocation
Toggle individual patterns on/off with priority weighting
Built-in alerts for all 12 pattern types
Interpretation Guidance:
Strong signals: Labels appearing at RSI extremes (near 30/70) with high volume
Confirmation: Multiple patterns detected simultaneously (view via tooltip)
Caution: Isolated signals without volume/RSI confluence
Priority: Higher-weighted patterns override label display (weights 70-100)
*Optimized for efficiency with 500-label limit and 200-bar lookback. Color intensity reflects signal strength.*
VDN 7 - Ichimoku Fibonacci Strategy (Tenkan:13 / Kijun:21)This strategy utilizes a customized Ichimoku system with Fibonacci-based parameters:
• Tenkan-sen (Conversion Line): 13
• Kijun-sen (Base Line): 21
A long position is opened when Tenkan crosses above Kijun.
A short position is opened when Tenkan crosses below Kijun.
This crossover system filters out noise and captures medium-term trends using Fibonacci-inspired smoothing periods. The strategy is designed for use on 60-minute charts and does not rely on fixed take profit or stop loss — positions are closed upon opposite signal only.
Position size is fixed at 1 lot by default.