A showcase of advanced Pine Script indicators built for TradingView.
This Pine Script indicator identifies market structure shifts and highlights order blocks directly on the chart.
It plots swing highs and lows based on pivot logic, dynamically extending them until invalidation, and then marks bullish or bearish Fair Value Gaps (FVGs) that emerge from structure breaks.
The script supports multi-timeframe analysis by letting you choose a higher timeframe for structure calculation, enabling traders to combine lower-timeframe execution with higher-timeframe order block context.
The full Pine Script code for the indicator is available in the src/mtf-orderblock-src
- Detects and plots swing highs and swing lows dynamically.
- Automatically extends swing lines until structure is broken.
- Highlights bullish and bearish Fair Value Gaps (FVGs) that form after structural breaks.
- Customizable pivot lookback (calculation bars) to refine swing detection.
- Multi-timeframe support: analyze structure and order blocks from any timeframe.
- Color-coded visuals for clarity:
- Maroon lines → Swing highs
- Aqua lines → Swing lows
- Teal boxes → Bullish FVGs
- Maroon boxes → Bearish FVGs
- Add the indicator to your TradingView chart.
- Select a higher timeframe for structure (e.g., 1H or 4H) while trading lower timeframes.
- Use swing levels and FVG zones to identify liquidity areas and order block formations.
- Combine with other Smart Money Concepts (SMC) tools for confluence.
This Pine Script indicator automatically detects and highlights Fair Value Gaps (FVGs) on the chart.
It identifies both bullish and bearish FVGs using swing-based logic and dynamically extends the gaps until they are filled.
The script includes advanced filtering such as gap size thresholds, swing point validation, and an optional 09:15 candle-based calculation (useful for Indian markets).
FVGs are widely used in institutional trading concepts to identify areas where price may return to rebalance liquidity.
The full Pine Script code for the indicator is available in the src/fvg-indicator-src
- Detects bullish and bearish Fair Value Gaps in real-time.
- Highlights FVGs with colored boxes:
- Green = Bullish gaps
- Red = Bearish gaps
- Automatic extension of FVG boxes until price closes the imbalance.
- Adjustable minimum and maximum gap size (percentage-based).
- Swing validation using customizable bar lookback for strong levels.
- Optional 09:15 candle-based FVG detection (for markets that open at that time, e.g., NSE).
- Auto-clears old FVGs once the user-defined history limit is reached.
- Add the indicator to your TradingView chart.
- Adjust FVG size filters and swing settings to match your strategy.
- Use the highlighted zones to plan liquidity-based setups (e.g., re-entries, continuation trades, or reversals).
- Combine with market structure or order blocks for confluence.
The Short Term Mean Reversion indicator identifies potential counter-trend trading opportunities based on price behavior around Bollinger Bands. It detects short-term price reversals when the price deviates significantly from its recent average. This indicator can be used for scalping or range-bound market strategies.
The full Pine Script code for the indicator is available in the src/short_term_mean_reversion.pine
- Long signal (Green): When the price opens below the lower Bollinger Band and closes higher (bullish reversal).
- Short signal (Red): When the price opens above the upper Bollinger Band and closes lower (bearish reversal).
- Customizable Bollinger Band settings (length and standard deviation).
- Displays visual signals on the chart with arrows and labels.
- Background color highlights for long and short signals.
This indicator works best in range-bound markets or for short-term scalping strategies. It is recommended to use it in conjunction with other indicators or price action analysis for better accuracy.
The Ultimate Multi-Timeframe Multi-Averages indicator is a powerful tool for tracking multiple moving averages across different timeframes. It allows traders to overlay EMA, SMA, SMMA, WMA, and VWMA from higher or lower timeframes onto any chart. This is particularly useful for identifying broader trend directions, support/resistance levels, and crossovers without switching timeframes.
The script supports two fully customizable modules with three averages each, giving you deep control over your technical analysis setup.
The full Pine Script code for the indicator is available in the (src/MultiAverages MultiTimeframe Indicator.txt)
- Displays multiple types of moving averages (EMA, SMA, SMMA, WMA, VWMA).
- Supports multi-timeframe plotting for all averages (e.g., daily EMA on a 1-hour chart).
- Highlights crossovers between moving averages for better entry/exit decision-making.
- Two independent modules for comparing averages from different timeframes.
- Optional usage of the current chart’s timeframe for the second module.
Ideal for trend-following strategies, multi-timeframe confluence, and swing trading. The script provides critical information for making more informed entries and exits based on trend alignment across timeframes.
-This indicator combines three technical analysis approaches to generate trading signals:
-Candlestick Pattern Recognition - Identifies 12 classic reversal patterns
-Trend Filter - Uses an 8-period EMA (default) to determine market direction
-Momentum Confirmation - Employs a Stochastic oscillator to validate overbought/oversold conditions
The full Pine Script code for the indicator is available in the (src/Candlestick_detector)
-Timeframes: 1H to Daily charts
-Market Conditions: Works best in trending markets
-Confirmation: Should be used with other indicators or price action analysis
-This indicator provides visual pattern recognition with technical confirmation, helping traders spot potential reversal points in the context of the current trend and momentum conditions.




