IBD Distribution & Follow-Through Days// =======================================================
// Manual: IBD Distribution & Follow-Through Days Logic
// Author: hkpress
// ======================================================
This script implements the logic based on the Investor's Business Daily (IBD) methodology to detect two key market signals:
1. **Distribution Days (DD)**
2. **Follow-Through Days (FTD)**
These concepts are used by IBD to track institutional selling and confirm new uptrends, respectively.
---
## Distribution Day (DD)
The Distribution Day count tracks the number of such days within a rolling 25-day window.
Key Rules:
25-Day Window: Only the most recent 25 trading days are considered.
Negation Rule: If the index rises ≥ 1.5% on higher volume, the oldest DD can be removed — this reflects institutional accumulation offsetting prior selling.
Overlap Filter: If two DDs occur within 3 days and the second closes higher than the first, the first one is cancelled (this prevents double-counting weak signals).
---
Maximum Tolerated Number of Distribution Days in 25 Trading Days
Standard Threshold:
- If 4 to 6 distribution days occur within 25 trading days, the market is considered to be in a caution zone.
Explanation:
Number of Distribution Days and Interpretation
0–3: The market is healthy. The uptrend remains intact without signs of institutional selling.
4–5: Early warning signs. This may indicate institutions are starting to distribute shares.
6 or more: High risk. The market may be topping or entering a deeper correction.
IBD analysts particularly watch for:
- Clustering of distribution days
- Distribution days appearing near market highs
- Weakness in major indexes or leading stocks
---
## Appling Follow-Through Day (FTD) in the index buttom
A Follow-Through Day (FTD) is one of the most important technical signals in Investor’s Business Daily (IBD) methodology. It helps confirm whether a market rally attempt has real strength, particularly after a correction or bear market. Here’s how to properly observe and interpret an FTD:
1. Start by Identifying the Market Bottom
- Look at a major index like the NASDAQ or S&P 500.
- Find the lowest closing day after a significant decline.
The first up day (where the index closes higher than the previous day) after that bottom is counted as Day 1 of a rally attempt.
Note: Day 1 does not mean the rally is confirmed — it simply starts the clock.
2. Begin Watching from Day 4
- Day 4 or later is when a valid FTD can occur.
- An FTD cannot happen on Day 1, 2, or 3.
3. FTD Criteria — What to Look For
- To be a valid Follow-Through Day, a day must meet all of the following:
Condition and Explanation
- Index gains ≥ 1.5%: Strong upside price action
- Volume is higher than prior day: Shows institutional buying
- Not a distribution day: The same day can’t be a sell-off
- No new low after rally starts: The index must not fall below the rally low afterward
This logic is faithful to IBD principles but may slightly differ due to Pine Script limitations (e.g., volume source differences, index selection). Always use in conjunction with broader market context.
---
## Use Cases
- Track market health and institutional activity
- Confirm rally strength before making new buys
- Align entry points with IBD methodology
// ========================================
Penunjuk Breadth
Liquidity Hunter HeatmapDescription:
> Liquidity Hunter Heatmap highlights where unusually large buying or selling activity happens on your chart.
>
> - Green/White columns show strong bullish (buying) activity.
> - Purple/Fuchsia columns show strong bearish (selling) activity.
>
> The higher the column, the bigger the activity.
>
> Use this tool to easily spot areas where the market is most active, which can help you find possible turning points or important price levels.
>
> Settings:
> - Adjust the minimum liquidation volume to filter out smaller moves.
> - Choose to show or hide bullish and bearish signals.
This indicator is designed for all experience levels and works on any timeframe.
BSL & SSL - Liquidity Zones
BSL & SSL - Liquidity Zones
Indicator Description (for TradingView)
Concept
The BSL & SSL - Liquidity Zones indicator is a simple yet powerful visual tool that helps traders identify key liquidity zones in the market by tracking prominent highs and lows on the chart.
It is based on the concept that the Highest High (Buy Side Liquidity - BSL) and Lowest Low (Sell Side Liquidity - SSL) represent zones where stop-loss orders and pending orders accumulate — often attracting future price movements.
Purpose
This indicator helps traders spot hidden liquidity levels which may act as targets or potential reversal points. It is especially useful for traders who apply Smart Money Concepts (SMC) or institutional trading models.
Great for detecting potential stop hunts and understanding market structure shifts.
How It Works
The indicator calculates the Highest High and Lowest Low over a user-defined period (default: 20 candles).
When a new Higher High forms, it marks a new BSL.
When a new Lower Low forms, it marks a new SSL.
These zones are likely to attract price in the future — either as targets or traps.
Visualization
The indicator draws static horizontal lines (Stepline style) at BSL and SSL levels.
These lines remain in place until broken or a new level is formed.
Visual Labels enhance clarity:
🟢 Green Label → BSL
🔴 Red Label → SSL
Trading Insights / Practical Use
When price approaches a BSL or SSL zone, ask yourself:
✅ Will price break the level to grab liquidity?
✅ Will there be a reversal after liquidity is taken?
The indicator does not provide signals by itself — it serves as a valuable confirmation tool when combined with:
Price Action
Support & Resistance
Momentum Indicators
SMC Tools
Key Benefits
✅ Easy to use
✅ Enhances liquidity analysis
✅ Highlights zones targeted by institutional players
✅ Simple calculation — no complex formulas
Limitations
🚫 Does NOT generate buy/sell signals
🚫 Should be used as part of a complete trading framework
Conclusion
BSL & SSL - Liquidity Zones is a versatile and intuitive tool for any trader looking to better understand where liquidity is positioned on the chart.
It works across all timeframes and complements any trading strategy, especially Smart Money-based approaches.
CEO IndicatorCEO Indicator is a powerful market analysis tool designed to help traders identify key levels and session zones with precision. The indicator includes:
Session Zones: Visual representation of trading sessions for better market context.
Fractals + Watermarks
FVG ( imbalance )
Key Levels:
Asia Middle Point (50% of the Asian session based on Fibonacci)
PDH / PDL (Previous Day High/Low)
PMH / PML (Previous Month High/Low)
PWH / PWL (Previous Week High/Low)
DO (Daily Open)
NYM, WO, MO — New York, Weekly, and Monthly Opens
Perfect for intraday and swing traders, the CEO Indicator highlights high-interest zones and supports smarter, more confident trade decisions.
Jactino's Signals Jactino's Signals (QQE RSI Trend)
Description:
Jactino's Signals is a custom technical indicator based on the QQE (Quantitative Qualitative Estimation) algorithm using smoothed RSI and adaptive ATR-style bands. It detects key momentum shifts and trend reversals by analyzing crossovers of RSI with dynamic support/resistance levels.
Features:
Buy/Sell Signals: Triggers when RSI crosses adaptive thresholds.
Trend Detection: Incorporates band-following logic to determine bullish/bearish trends.
Visual Alerts: Clearly marked “Buy Now” and “Sell Now” labels on the chart.
Alert Conditions: Ready for TradingView alerts and automation.
This script is ideal for traders seeking early yet filtered entries based on momentum dynamics. Can be used across all timeframes but performs best in fast-paced environments.
OBV + RSI + MACD Combo Signalan indicator that combines On Balance Volume, RSI and MACD for Tradingview
KABOOM FVGFair value gaps (FVG) highlight imbalances areas between market participants and have become popular amongst technical analysts. The following script aims to display fair value gaps alongside the percentage of filled gaps and the average duration (in bars) before gaps are filled.
Users can be alerted when an FVG is filled using the alerts built into this script.
In practice, FVG's highlight areas of support (bullish FVG) and resistances (bearish FVG). Once a gap is filled, suggesting the end of the imbalance, we can expect the price to reverse.
🔶 USAGE
This approach is more contrarian in nature, users wishing to use a more trend-following approach can use the identification of FVG as direct signals, going long with the identification of a bullish FVG, and short with a bearish FVG.
Bullish FVG
low > high(t-2)
close(t-1) > high(t-2)
(low - high(t-2)) / high(t-2) > threshold
Upper Bullish FVG = low
Lower Bullish FVG = high(t-2)
Bearish FVG
high < low(t-2)
close(t-1) < low(t-2)
(low(t-2) - high) / high < -threshold
Upper Bearish FVG = low(t-2)
Lower Bearish FVG = high
🔶 SETTINGS
Threshold %: Threshold percentage used to filter our FVG's based on their height.
Auto Threshold: Use the cumulative mean of relative FVG heights as threshold.
Unmitigatted Levels: Extent the mitigation level of the number of unmitigated FVG's set by the user.
Mitigation Levels: Show the mitigation levels of mitigated FVG's.
Timeframe : Timeframe of the price data used to detect FVG's.
Improved Stoch RSI + Supertrend Filter + ATR SL/TPThis custom indicator, "Improved Stoch RSI + Supertrend Filter + ATR SL/TP," is a powerful tool designed to generate high-probability trading signals in trending markets. It combines three technical indicators:
1. **Stochastic RSI** – Provides overbought and oversold signals by calculating the stochastic of the RSI, which helps identify momentum reversals.
2. **Supertrend Filter** – A trend-following indicator that filters signals to only trade in the direction of the current trend, reducing false signals and improving overall accuracy.
3. **ATR-based Stop-Loss and Take-Profit** – Uses the Average True Range (ATR) multiplied by a 1.5 factor to set dynamic stop-loss levels, and calculates take-profit levels based on a configurable Risk-Reward Ratio (default: 1.5).
**How it works:**
* When the %K line of the Stochastic RSI crosses above the %D line below the oversold level (default: 20), and the Supertrend indicates an uptrend, a **long trade signal** is generated.
* When the %K line of the Stochastic RSI crosses below the %D line above the overbought level (default: 80), and the Supertrend indicates a downtrend, a **short trade signal** is generated.
* Each trade signal comes with a plotted stop-loss and take-profit level based on the ATR, giving you predefined risk management points.
This indicator helps traders:
* Trade only with the prevailing trend
* Identify reversal points with high accuracy
* Manage risk consistently with ATR-based stop-loss and take-profit
It's suitable for all timeframes and can be used as a standalone system or to complement other trading strategies.
21DMA Structure Counter (EMA/SMA Option)21DMA Structure Counter (EMA/SMA Option)
Overview
The 21DMA Structure Counter is an advanced technical indicator that tracks consecutive periods where price action remains above a 21-period moving average structure. This indicator helps traders identify momentum phases and potential trend exhaustion points using statistical analysis.
Key Features
Moving Average Structure
- Configurable MA Type: Choose between EMA (Exponential Moving Average) or SMA (Simple Moving Average)
- 21-Period Default: Optimized for the widely-watched 21-period moving average
- Triple MA Structure: Tracks high, close, and low moving averages for comprehensive analysis
Statistical Analysis
- Cycle Counting: Automatically counts consecutive periods above the MA structure
- Historical Data: Maintains up to 2,500 historical cycles (approximately 10 years of daily data)
- Z-Score Calculation: Provides statistical context using mean and standard deviation
- Multiple Standard Deviation Levels: Displays +1, +2, and +3 standard deviation thresholds
Visual Indicators
Color-Coded Bars:
- Gray: Below 10-year average
- Yellow: Between average and +1 standard deviation
- Orange: Between +1 and +2 standard deviations
- Red: Between +2 and +3 standard deviations
- Fuchsia: Above +3 standard deviations (extreme readings)
Breadth Integration
- Multiple Breadth Options: NDFI, NDTH, NDTW (NASDAQ breadth indicators), or VIX
- Background Shading: Visual alerts when breadth reaches extreme levels
- High/Low Thresholds: Customizable levels for breadth analysis
- Real-time Display: Current breadth value shown in data table
Smart Reset Logic
- High Below Structure Reset: Automatically resets count when daily high falls below the lowest MA
- Flexible Hold Period: Continues counting during temporary weakness as long as structure isn't violated
- Precise Entry/Exit: Strict criteria for starting cycles, flexible for maintaining them
How to Use
Trend Identification
- Rising Counts: Indicate sustained momentum above key moving average structure
- Extreme Readings: Z-scores above +2 or +3 suggest potential trend exhaustion
- Historical Context: Compare current cycles to 10-year statistical averages
Risk Management
- Breadth Confirmation: Use breadth shading to confirm market-wide strength/weakness
- Statistical Extremes: Exercise caution when readings reach +3 standard deviations
- Reset Signals: Pay attention to structure violations for potential trend changes
Multi-Timeframe Application
- Daily Charts: Primary timeframe for swing trading and position management
- Weekly/Monthly: Longer-term trend analysis
- Intraday: Shorter-term momentum assessment (adjust MA period accordingly)
Settings
Moving Average Options
- Type: EMA or SMA selection
- Period: Default 21 (customizable)
- Reset Days: Days below structure required for reset
Visual Customization
- Standard Deviation Lines: Toggle and customize colors for +1, +2, +3 SD
- Breadth Selection: Choose from NDFI, NDTH, NDTW, or VIX
- Threshold Levels: Set custom high/low breadth thresholds
- Table Styling: Customize text colors, background, and font size
Technical Notes
- Data Retention: Maintains 2,500 historical cycles for robust statistical analysis
- Real-time Updates: Calculations update with each new bar
- Breadth Integration: Uses security() function to pull external breadth data
- Performance Optimized: Efficient array management prevents memory issues
Best Practices
1. Combine with Price Action: Use alongside support/resistance and chart patterns
2. Monitor Breadth Divergences: Watch for breadth weakness during strong readings
3. Respect Statistical Extremes: Exercise caution at +2/+3 standard deviation levels
4. Context Matters: Consider overall market environment and sector rotation
5. Risk Management: Use appropriate position sizing, especially at extreme readings
Disclaimer
This indicator is for educational and informational purposes only. It should not be used as the sole basis for trading decisions. Always combine with other forms of analysis and proper risk management techniques.
Compatible with Pine Script v6 | Optimized for daily timeframes | Best used on major indices and liquid stocks
Zweig Breadth Thrust (Overlay) + Divergences + Alert📈 Purpose: Identifies Zweig Breadth Thrust signals to catch early bullish reversals based on market breadth.
🧮 Inputs:
Exchange selection: NYSE or NASDAQ
Adjustable threshold levels: Top Level (default 61.5), Bottom Level (default 40)
Option to display bullish/bearish divergences and customize their lookback period and colors
🔍 Data Sources:
Uses ADV (Advancing issues) and DECL (Declining issues) from either NYSE or NASDAQ via USI index symbols
🔄 Calculations:
Computes Breadth Ratio = ADV / (ADV + DECL)
Applies 10-day Simple Moving Average to the Breadth Ratio
✅ Signal Logic:
A Breadth Thrust triggers when:
The 10-day SMA rises from below 40 to above 61.5 within 10 trading days
🔔 Visuals:
Displays a big green triangle on the chart at the candle where the thrust completes
Optional divergence labels and colored signals for clarity
Zweig Breadth Thrust (Overlay) + Divergences✅ Zweig Breadth Thrust logic
✅ Bullish & bearish divergence detection
✅ Clean labels when thrust triggers
✅ Adjustable thresholds and divergence sensitivity
Zweig Composite System (Weekly Smoothed)Uses 10-week (≈50-day) moving averages
Pulls weekly data for yield, breadth, and price
Maintains original Zweig thresholds for signal reliability
Displays a green triangle labeled "Zweig" when all 3 conditions align
Zweig Composite System🧠 Zweig Composite Strategy Components:
Price Momentum
Bullish when price is above a 10-week (≈50-day) moving average.
Monetary Policy (Interest Rate Direction)
Bullish when interest rates are falling (Fed is easing).
We simulate this with 10-year Treasury yields trending down.
Breadth Thrust
Already included (strong upward surge in market breadth).
CEO Indicator📌 Indicator Name:
🔍 Description:
This indicator is designed for traders seeking clear, logic-based entry signals rooted in .
⚙️ Features:
Automatically detects key
Flexible parameter settings to match your trading style
Visual signals directly on the chart (arrows, lines, blocks)
Works across all timeframes
🧠 Who it's for:
Ideal for both beginners and experienced traders who want to systematize their trading and reduce emotional decision-making.
💡 Best used with:
🔐 This script is protected. For access, please contact the author.
Bharat Jhunjhunwala AD IntensityIntraday Intensity % is a volume-weighted oscillator that reveals where real buying or selling pressure is building.
How it works: Each bar’s “intensity” weighs the close within the high–low range and multiplies by volume. Summing that intensity against total volume over the look-back (default 21 bars) produces a percentage that highlights accumulation vs. distribution.
Key zones
+25 % and above – sustained accumulation, smart-money buying
0 % – neutrality / balance shift line
–25 % and below – sustained distribution, smart-money selling
Why use it: Price can drift on light volume; II % confirms whether moves are backed by participation, helping traders spot hidden strength, weakness, or impending reversals across any timeframe or asset.
RCI Ribbon with Cross Signals (Filtered)nothing to say just use itnothing to say just use itnothing to say just use itnothing to say just use it
Mark Minervini Stage Analysis RibbonThis Pine Script v6 indicator—“Mark Minervini Stage Analysis Ribbon” can overlay your chart with a dynamic, gradient-colored ribbon and markers that implement Minervini’s SEPA/Stage Analysis:
Stages:
Consolidation: Price hugging the 200-day SMA (blue bars, fading in as consolidation persists).
Accumulation: Price above all three SMAs (50,150,200), 200-day SMA trending up, and SMA alignment (green bars, fading in; then fading out if MACD crosses down).
Distribution: Any bars not in Accumulation, Capitulation, or Consolidation (orange bars with fade).
Capitulation: Price below 200-day SMA with a down-sloping 200-day SMA (red bars with fade).
Gradient Fade: Each stage’s bar color fades in over gradientDays when it begins, and accumulation also fades out over gradientDays if the MACD line crosses below its signal line.
Accumulation Dot: A small blue dot appears beneath the candle once accumulation has remained intact for you-set accumDays (default 20).
52-Week Highlight: The background is shaded yellow whenever price is simultaneously ≥ minLowPct % above its 52-week low and within maxHighPct % of its 52-week high.
User Inputs:
• SMA lengths (50/150/200) & minimum SMA-slope threshold
• ATR length for consolidation buffer
• 52-week low/high percentage thresholds
• MACD fast/slow/signal lengths for fade-out trigger
• accumDays and gradientDays to tune dot timing and fade speed
• Option to show stage labels above bars
Warning: This ribbon is not predictive and is subject to market conditions.
Volume-Time Imbalance (VTI)Volume-Time Imbalance (VTI) – Indicator Description
This indicator measures the imbalance between traded volume and the time elapsed between bars to identify unusual spikes in volume per second (volume per unit of time). Its purpose is to highlight volume movements that may indicate moments of strong interest, acceleration, or reversal in the market.
How it works:
It calculates the traded volume divided by the time (in seconds) elapsed since the previous bar — thus obtaining the volume per second.
An EMA (exponential moving average) of this volume per second is calculated to smooth the data.
The VTI value is the ratio between the current volume per second and this moving average, showing if the current volume is above what is expected for that pace.
The higher the VTI, the greater the imbalance between volume and time, indicating possible bursts of activity.
Settings:
VTI Moving Average Length: The period of the moving average used to smooth the volume per second (default is 20).
Alert Thresholds: Alert levels to identify moderate and high imbalances (defaults are 1.5 and 2.0).
Show VTI Histogram: Displays the VTI histogram in the indicator window.
Color Background: Colors the indicator background based on the strength of the imbalance (orange for moderate, red for high).
Show Alert Arrows: Shows arrows below the chart when a strong volume spike occurs (high alert).
Interpretation:
VTI values above the moderate level (1.5) indicate an unusual increase in volume relative to time.
Values above the high level (2.0) signal strong spikes that may anticipate significant moves or trend changes.
Use the colors and arrows as visual confirmations to quickly identify these moments.
Macro Dashboard Multi-TickerThis indicator gives you a compact, high-impact overview of up to 10 custom assets — showing whether each is currently trading above or below a key moving average on a shared timeframe.
🟩 Above MA = colored bar
⬛ Below MA = dimmed bar
Features:
Monitor up to 10 symbols (stocks, crypto, ETFs, etc.)
Customize:
- Symbol
- Color
- Timeframe
- MA type (EMA/SMA)
- MA length
Shared logic keeps the layout clean and consistent.
Use Cases:
- Build a macro trend dashboard for SPY, QQQ, BTC, ETH, ARKK, IWM, DXY, VIX, etc.
- Confirm risk-on alignment
- Identify broad market rotation or weakness
- Pair with individual asset setups to stay in sync with the environment
This tool is ideal for traders who want a one-glance check on market strength without cluttering their main charts. It's fast, flexible, and highly visual.