Multitimeframe
True Daily EMAs (4) on Any ChartIt calculated the 4 EMAs based on days as input. Even on a weekly or monthly chart it shows 20/50/100/200 Day EMAs. Changing the time frame of chart does not effect the EMAs
Statistical Deviation per AssetINDICATOR: STATISTICAL DEVIATION PER ASSET (SDPA)
1. Overview
The Statistical Deviation per Asset (SDPA) is a quantitative analysis tool designed to measure the strength and exhaustion of price movements. Unlike standard oscillators (like RSI ), the SDPA calculates the actual percentage deviation from the most recent pivot point (High or Low) and compares it against historical performance averages specific to each asset.
---
2. Core Logic & Calculation
The script operates on a Mean Reversion principle. It assumes that every asset (Gold, Bitcoin, Ethereum, etc.) has a unique "volatility signature" depending on the timeframe.
* Dynamic Pivot Detection : The indicator identifies recent Swing Highs and Swing Lows using an adaptive lookback period.
* Real-Time Return Calculation : Once a pivot is confirmed, the script calculates the real-time percentage gain (from a Low) or loss (from a High).
* Zero-Indexed Histogram : This return is plotted as an oscillator centered around a Zero Line , representing the current trend's progress since the last reversal.
---
3. Adaptive Intelligence (Multi-Asset & Multi-TF)
The SDPA is pre-loaded with a statistical database. It automatically adjusts its sensitivity and thresholds based on:
1. The Selected Asset : Whether trading XAUUSD , Bitcoin , or Solana , the deviation thresholds adapt to the specific volatility of that instrument.
2. The Timeframe (TF) : The calculation period ( period ) and performance targets ( hausse_perf / baisse_perf ) change dynamically. For example, a 1-minute scalping setup uses a longer lookback (200) compared to a Daily swing setup (10).
---
4. Visual Anatomy
The interface is designed for instant "at-a-glance" interpretation:
* The Histogram :
* Green : Price is trending up since the last Swing Low .
* Red : Price is trending down since the last Swing High .
* Threshold Lines (The Statistical Averages) :
* Thick Line (60% Opacity) : Represents the Average Historical Deviation . When the histogram hits this line, the move is considered "statistically mature."
* Thin Line (70% Opacity) : Represents the Strong Deviation Zone (1.5x the average), indicating extreme momentum or potential exhaustion.
* Background Highlighting : The chart background colors automatically when the price exceeds historical averages, signaling a High-Probability Reversal Zone .
---
5. How to Trade with SDPA
* Trend Maturity : If the histogram exceeds the Bullish Average (Green line), the current move has reached its typical historical limit. Traders should look for take-profit opportunities or wait for a reversal.
* Impulse Strength : A rapid move from the Zero Line toward the thresholds confirms strong institutional interest.
* Mean Reversion : When the histogram reaches the Strong Zone (1.5x), the price is "overextended" statistically, offering a high reward-to-risk ratio for counter-trend setups.
---
6. Technical Parameters
* Asset Choice : Dropdown menu to select the specific asset.
* Colors : Customizable Bullish and Bearish colors to match any UI theme.
* Precision : Set to 4 decimal places to ensure accuracy across all asset types.
Fair Value Gap [Tradeuminati]Fair Value Gap
Fair Value Gap is a clean and rule-based Fair Value Gap indicator for TradingView, designed to display only valid and confirmed Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (iFVGs).
The indicator is built on a strict 3-candle FVG definition and operates exclusively on candle close, ensuring no repainting and no premature signals.
🔹 Key Features
Valid Fair Value Gaps (FVG)
- Detects bullish and bearish Fair Value Gaps using a precise 3-candle structure
- FVGs are only plotted after the confirming candle has closed
- A Fair Value Gap remains visible only as long as it is valid
- Once price closes beyond the FVG, it is removed or converted
Inverted Fair Value Gaps (iFVG)
- When a valid FVG is invalidated by a candle close, it can be converted into an iFVG
- iFVGs retain the original price range and structure
- Only valid iFVGs are displayed
- As soon as price closes through an iFVG, it is automatically removed
Clean & Controlled Visualization
- Only the last N active FVGs are displayed (bullish + bearish combined)
- Only the last N valid iFVGs are shown
- Boxes automatically extend to the current price + configurable bars
- Labels are dynamically positioned at the right edge of each zone
🔹 Technical Notes
- No repainting
- No intrabar signals
- Close-based validation only
- Works on all markets and timeframes
- Lightweight and performance-friendly
⚠️ Disclaimer
This indicator is for technical analysis purposes only and does not constitute trading or investment advice.
Look Back Calculator Custom Lookbacks with Individual Colors (Accurate on All Timeframes)
A clean, monochrome-grey indicator that displays historical closing price levels from user-defined lookback periods.
Key Features:
• 4 Custom Hourly Levels (e.g., 1.5h, 3h, 6h, 9h or any value you choose) – fully accurate on 15-minute and lower timeframes
• 4 Custom Daily Levels (e.g., 20d, 40d, 60d, 90d or any number of days)
• Independent toggle for each level
• Individual color selection for every vertical line
• Table column backgrounds match the selected vertical line colors
• Optional candle highlighting (background/border/both) at lookback bars
• Dashed vertical lines at lookback points (toggleable)
• Current price row with automatic spanning
• Time row shown only for daily levels (cleaner layout for intraday)
• Alerts on price crossing any enabled level (with dynamic messages)
• Compact mode for shorter labels
Perfect for support/resistance analysis, order flow, or ICT/SMC concepts. Works seamlessly on any timeframe, including 15min charts.
Market Return Analyzerمؤشر محلل عوائد السوق يعرض أداء الأصل المالي عبر عدة فترات زمنية (يومي، أسبوعي، شهري، سنوي، وطويل الأجل) في جدول واضح وقابل للتخصيص مباشرة على الشارت، لمساعدة المتداول على اتخاذ قرارات أسرع وأكثر دقة
Market Return Analyzer displays multi-timeframe performance (Daily, Weekly, Monthly, YTD, and Long-Term returns) in a clean, customizable table directly on your chart.
Designed for traders and investors who want quick performance insights without clutter
Batik Lite BATIK INDICATOR LITE — the Syndicate’s silent signal for clean, high-probability zones. No noise. No drama. Just zones.
What is BATIK?
BATIK stands for:
Balance • Accuracy • Timing • Intelligent • Konsistent
It’s a proprietary zone concept designed to highlight areas where price is most likely to react, reverse, or continue after confirmation — so you can wait for the retest and move like a professional, not a chaser.
What this Lite version does
Marks BATIK B (Buy Zone) & BATIK S (Sell Zone) after confirmation
Draws a clean zone box based on the key candle and extends it up to 55 bars
Keeps your chart clean: only 10 previous zones + 1 current zone
Built for fast reading and sniper-style planning
Performance Claim
BATIK is known in the community for a high win-rate, with a claimed up to 98% when used with proper filtering, discipline, and risk management.
Results may vary. Trading is risky — manage risk like a boss.
Recommended Timeframe
✅ M5 and above
🏆 M5 is reported as the highest win-rate timeframe for BATIK-style execution.
Market Coverage
✅ Can be used on all available charts and pairs in the market
(Forex, Gold, Crypto, Indices — wherever your chart lives.)
Pricing (Subscription / Access)
MYR 150 / month
MYR 750 / 6 months
MYR 1200 / year
Request Access / Support
Email: castcallasia@gmail.com
WhatsApp: +60179999109
The Navigator Fortress (ORB M15 + H4 Filter)To read The Navigator Fortress (v1.4), you simply follow a "top-down" sequence of filters. It moves from the macro-trend (The Compass) to the local boundary (The Harbor) and finally to your execution signal (The Beam).
1. The H4 Compass (The Strategy Filter)
Before you look at the price, look at the Dashboard in the top-right corner.
🧭 COMPASS: BULLISH (Blue): The "Big Ships" are moving up. You are only authorized to take LONG breakouts.
🧭 COMPASS: BEARISH (Orange): The "Big Ships" are moving down. You are only authorized to take SHORT breakouts.
🧭 COMPASS: IN JAWS (Gray): Price is stuck between the H4 10 and 50 EMAs. This is "The Fog." Do not trade, as the win rate drops significantly in this zone.
2. The M15 Harbor (The Field of Play)
At 8:45 AM CST, the script will finish drawing two horizontal lines:
Blue Line (Top): The high of the 8:30–8:45 AM window. This is your resistance wall.
Orange Line (Bottom): The low of that same window. This is your support floor.
The Rule: You are waiting for a candle to close completely outside these lines. A "wick" poking through is not a signal; it is a trap.
3. The Beam & State (The Execution)
When a valid breakout happens that matches your H4 Compass:
The Label: A label will appear above or below the candle saying "LONG" or "SHORT".
The Background: The entire chart background will turn faint Blue or Orange. This tells you the "Harbor is Open" in that direction until the 10:00 AM CST session close.
The Moat (Stop Loss): Check your Alerts tab or phone notification. The script will give you a specific price (e.g., 1.08552). This is your 2.0x ATR "Moat"—place your stop loss here to stay safe from market noise.
🛡️ Summary of the Workflow
Check Compass: Is it Blue, Orange, or Gray?
Wait for 8:45: Let the M15 Harbor lines form.
Wait for the Beam: Did a candle close outside the line?
Drop Anchor: Execute the trade, set your stop at the "Moat" price from the alert, and aim for the next major Daily S/R level or a 2:1 reward.
pD Zones [MMT]pD Zones plots a clean set of intraday high‑of‑day (HOD) and low‑of‑day (LOD) zones that automatically extend forward, flip color on mitigation, and archive as historical levels for context. It is designed to give intraday traders a simple visual map of premium/discount zones derived from a chosen calculation timeframe.
Overview
Objective : Highlight the current day’s HOD/LOD wick zones as actionable intraday support and resistance.
Core logic runs on a user‑selectable source timeframe (default 15m), then projects those zones onto any chart you are trading.
Zones extend into the future, react to price via mitigation logic, and then optionally roll into a dimmed historical layer.
Zone logic
Each session, the script tracks the extreme high and low plus their wick limits (open/close‑based) on the source timeframe to form two intraday zones.
When a new day starts, the finalized prior‑day zones are “locked in” and the current day begins tracking a fresh HOD/LOD pair.
Only one HOD and one LOD zone are created per day, reducing clutter and keeping focus on the most relevant levels.
Mitigation & color flips
Active HOD zones behave as resistance: a decisive break above the top of the box flips it to a bullish (supportive) color profile, while a move back below can re‑flip it.
Active LOD zones behave as support: a break below the bottom of the box flips it to a bearish profile, and a sustained reclaim can re‑flip it as well.
Once mitigated and carried into a new day, zones are restyled with a softer historical color so they remain visible but unobtrusive.
Alerts
When price breaks a HOD zone to the upside, the script can trigger an alert message noting that HOD resistance has been broken and showing the exact level.
When price breaks a LOD zone to the downside, an alert notes that LOD support has been broken, again with the precise price printed.
These alerts are meant for intraday confirmation of structure shifts at key daily extremes, rather than frequent scalper signals.
Inputs & customization
- Calculation Timeframe: choose which timeframe defines the daily HOD/LOD zones (e.g., 5m, 15m, 1h), independent from the chart.
- Visual Settings: customize support/resistance fill colors and border color to integrate with existing layouts.
- Logic Settings:
Max Active Zones: cap how many live zones remain on the chart at once to control noise.
Max Historical Zones: keep only the most recent historical levels or show all past days.
Zone Extension Offset (Bars): control how aggressively boxes project into the future.
- Mitigation Settings: choose the historical zone color to distinguish active levels from archived ones at a glance.
Techno Signals Pro ⚡ QUICK SETUP
FOR BEGINNERS:
Keep all defaults
Trade only A+ signals
Use provided TP/SL levels
Wait for volume confirmation
FOR ADVANCED:
Adjust confluence threshold (higher = fewer but better signals)
Toggle divergence optional for more flexibility
Use MTF alignment for higher timeframes
Enable slippage buffer for realistic risk
🚀 GETTING STARTED
Add indicator to your chart
Check table for current signal
Verify conditions match your timeframe
Set orders at TP/SL levels
Manage trade according to grade
Remember: No indicator is perfect. Always use proper risk management and combine with price action confirmation. Start with paper trading to understand the system before real money.
Structure Lite - Automatic Major Trend LinesStructure Lite – Pivot-Based Market Structure Visualization
OVERVIEW
Structure Lite is an open-source charting tool designed to assist traders in visualizing higher-timeframe market structure. The script identifies major swing points using high-period pivot analysis and projects structural support and resistance lines directly on the chart. Its purpose is to highlight persistent market structure while minimizing visual noise.
CORE CONCEPTS & CALCULATIONS
Pivot Identification
The script uses Pine Script’s built-in ta.pivothigh() and ta.pivotlow() functions to identify confirmed swing highs and lows. A pivot is only validated after a user-defined number of bars (Major Pivot Lookback) have formed on both sides of the price extreme, ensuring that only structurally significant pivots are selected.
Structural Pairing
Each structural line is created only after two consecutive pivots of the same type are confirmed (high-to-high or low-to-low). The script stores the price and bar index of these pivots and uses them as fixed anchor points.
Line Projection
Once a valid pivot pair is formed, the script draws a line between the two points using line.new() and extends it forward using extend.right. These lines represent projected structural boundaries rather than trade signals.
Object Management
To maintain chart clarity and performance, the script manages all drawn objects through a line array. A FIFO (First-In, First-Out) method is applied so that only the three most recent structural lines remain visible. Older lines are automatically deleted as new ones are created.
DESIGN PHILOSOPHY & ORIGINALITY
While many indicators plot frequent swing points or short-term pivots, Structure Lite focuses on structural persistence. By filtering for higher-period pivots and limiting the number of displayed projections, the script emphasizes dominant market structure rather than short-term fluctuations. This approach is intended to support discretionary analysis, not replace it.
HOW TO USE
Major Pivot Lookback
Increase the value to focus on higher-timeframe structure (e.g., swing or position trading).
Decrease the value to visualize intraday structural levels.
Visual Encoding
Green lines represent projected structural support
Red lines represent projected structural resistance
Visibility Control
A boolean input allows all structure lines to be hidden instantly to restore a clean price chart.
LIMITATIONS & DISCLAIMER
This script is a visualization tool only. It does not generate trade signals, entry or exit points, alerts, or directional forecasts. All plotted levels are derived from historical price action and may change as new pivots form. The script is provided for educational and analytical purposes and should be used in conjunction with other forms of market analysis
FairValueGap [Tradeuminati]Tradeuminati – (i)FVG is a free Fair Value Gap indicator for TradingView, built on a precise 3-candle structure and extended with Inverted Fair Value Gaps (iFVG) and an optional structure-based trend overview.
The indicator focuses exclusively on confirmed market structure, avoiding repainting and intrabar signals.
🔹 Features Overview
Fair Value Gaps (FVG)
- Detection of bullish and bearish Fair Value Gaps using a 3-candle formation
- FVGs are only displayed after the confirming candle has closed
- A Fair Value Gap remains valid until it is invalidated by a candle close
- Fully customizable colors, labels, and right-side extension
Fair Value Gaps (FVG)
- Detection of bullish and bearish Fair Value Gaps using a 3-candle formation
- FVGs are only displayed after the confirming candle has closed
- A Fair Value Gap remains valid until it is invalidated by a candle close
- Fully customizable colors, labels, and right-side extension
Trend Detection (Optional)
- Structure-based trend analysis on the 15-minute and 1-hour timeframes
- Trend is defined using Swing Highs and Swing Lows:
--> Higher Highs + Higher Lows → Uptrend
--> Lower Highs + Lower Lows → Downtrend
- Swing definition: center candle with X candles to the left and right (default: 1, fully adjustable)
- Trend is displayed in a compact trend table in the top-right corner
- Visual trend representation:
▲ Green = Uptrend
▼ Red = Downtrend
– Neutral / not yet confirmed
- Trend table can be enabled or disabled via settings
🔹 Technical Characteristics
- No repainting
- No intrabar signals
- Only confirmed candle closes are used
- Works on all markets and all timeframes
- Lightweight and performance-friendly
🔹 Use Case
This indicator is designed for traders who work with Price Action, Smart Money Concepts, market structure, or liquidity-based trading models, and who require a clear and reliable visualization of Fair Value Gaps and market trend.
⚠️ Disclaimer
This indicator does not provide trading or investment advice.
It is intended solely for technical chart analysis and decision support.
DAF VP Lite🎁 Volume Profile Indicator
VP Lite is a lightweight volume profile indicator that helps you identify key price levels where significant trading activity occurred.
📍 Core Features
• POC (Point of Control): The price level with the highest volume
• VAH/VAL (Value Area High/Low): The boundaries that contain 70% of total volume
• IB (Initial Balance): Opening range reference
📊 Multi-Timeframe Support
Day / Week / Month / Quarter / Half-Year / Year
⸻
🎁 成交量分布指标
VP Lite 是一款轻量级成交量分布指标,帮助你识别成交密集的关键价格区域。
📍 核心功能
• POC(成交量控制点): 成交量最集中的价格
• VAH/VAL(价值区间高/低): 覆盖总成交量 70% 的上下边界
• IB(初始平衡区间): 开盘区间参考
📊 多周期支持
天 / 周 / 月 / 季度 / 半年 / 年
CVD Divergence Background By HKOverview This indicator visualizes Delta Divergences (also known as Absorption) directly on your main chart. It highlights candles where the price direction contradicts the underlying net volume flow (CVD). This is a powerful method to spot "traps," limit order absorption, and potential reversals.
How it Works The script calculates the Intrabar Volume Delta based on price action relative to the candle's range. It then compares this Delta with the candle's color (Open vs. Close).
Bearish Divergence (Absorption Top):
Scenario: The candle is GREEN (Price closed higher), but the Volume Delta is NEGATIVE (Net Selling).
Visual: Red Background.
Meaning: Sellers are aggressively absorbing the buying pressure via limit orders. Price struggled to rise despite the volume.
Bullish Divergence (Absorption Bottom):
Scenario: The candle is RED (Price closed lower), but the Volume Delta is POSITIVE (Net Buying).
Visual: Green Background.
Meaning: Buyers are aggressively absorbing the selling pressure via limit orders. Price struggled to fall despite the volume.
Features
Background Highlighting: Instantly spot divergences without checking a separate oscillator window.
Seamless Integration: Works perfectly behind your price candles and other indicators (like Big Trade detectors).
Customizable: You can adjust the colors and transparency to fit your chart theme.
Use Case Use this to identify exhausted moves. If you see a green candle with a red background at a resistance level, it suggests that buyers are running into a wall of sellers, increasing the probability of a reversal.
CVD & Big Trade Detector By HKOverview The CVD & Big Trade Detector By HK offers a unique perspective on Cumulative Volume Delta (CVD). This indicator utilizes Floating Bars (Candles) to visualize the cumulative buying and selling pressure. This design allows you to clearly see the net delta of each specific candle relative to the cumulative trend.
Additionally, it integrates the "Big Trade" algorithm to highlight statistically significant volume anomalies (Whale activity) directly on the CVD bars.
How it Works Since standard volume data does not always provide buy/sell splitting, this script estimates intrabar pressure using price action logic:
Buying Pressure: Calculated based on the push from the Low to the Close.
Selling Pressure: Calculated based on the push from the High to the Close.
The indicator then calculates the Delta (Buy Vol - Sell Vol) and accumulates it.
Floating Bars: Instead of plotting from the zero-line, each bar opens at the previous CVD value and closes at the new cumulative value.
Teal/Green Bar: Net buying in the current period (CVD increased).
Maroon/Red Bar: Net selling in the current period (CVD decreased).
Key Features
Floating CVD Structure: Prevents the "barcode effect" common in histogram CVDs. It provides a clean, candle-like view of momentum accumulation.
Whale Detection:
The script calculates the moving average and standard deviation (Sigma) of the buying/selling volume.
Green Dots: Appear when buying volume exceeds the statistical threshold (Signifying a "Big Buy").
Red Dots: Appear when selling volume exceeds the statistical threshold (Signifying a "Big Sell").
Precise Positioning: Whale markers are plotted exactly at the closing value of the CVD bar, showing you exactly where the volume spike impacted the delta.
How to Use
Divergences: Look for situations where Price makes a Higher High, but the CVD Bars fail to make a new high (bearish divergence).
Absorption: If you see a Large Whale Dot on a very small CVD bar (doji-like), it indicates massive volume fighting for direction with little net result—often a sign of absorption or a pending reversal.
Trend Confirmation: Strong floating bars in the direction of the trend, accompanied by Whale Dots, confirm smart money participation.
Settings
Lookback Period: Defines the baseline for the statistical volume calculation (default: 50).
Sensitivity (Sigma): Adjusts how strict the "Whale" detection is (default: 3.0). Higher values = fewer, more significant signals.
Colors: Fully customizable colors for Up/Down bars and Buy/Sell markers.
Built with Pine Script™ v6
Institutional ADR Regime System [Pro]# 📊 Institutional ADR Regime System - Advanced Average Daily Range Analysis
## 🎯 Overview
The **Institutional ADR Regime System** is a comprehensive volatility and regime analysis tool designed for professional traders who use Average Daily Range (ADR) as a cornerstone of their intraday strategy. This indicator goes far beyond simple ADR calculation by integrating **multi-timeframe analysis**, **directional bias detection**, **volume confirmation**, **regime classification**, and **probability-based target projections**.
Built specifically for **Nifty, Bank Nifty, Stock Futures, Forex, and Crypto** traders, this system helps you identify high-probability setups based on volatility regimes and ADR expansion/compression cycles.
***
## 🚀 Key Features
### 📈 **Multi-Timeframe ADR Engine**
- **Three ADR Lookbacks**: Fast (5-period), Medium (10-period), Slow (20-period) for complete volatility context
- **Real-time Session Tracking**: Live calculation of current day's range vs ADR percentages
- **Multiple Calculation Methods**: True Range (gap-adjusted), High-Low (intraday), Close-to-Close
- **Configurable Base Timeframes**: Daily or Weekly ADR projections
### 🧠 **Intelligent Regime Classification**
- **4 Market Regimes**: Compressed (<65% ADR), Normal (65-120%), Expanded (120-150%), Exhausted (>150%)
- **Compression Cluster Detection**: Identifies "coiled spring" setups when market compresses for multiple consecutive days
- **Visual Regime Indicators**: Background color-coding for instant regime recognition
- **Automated Expansion Alerts**: Get notified when compression clusters are ready to break
### 🎯 **Dynamic Target Projection System**
- **4 Probabilistic Targets**: 50% / 75% / 100% / 125% ADR levels
- **Historical Hit-Rate Tracking**: See success rates for each target level over last N sessions
- **Confidence Scoring (0-100%)**: Multi-factor scoring based on regime, trend, volume, and statistics
- **Adaptive Transparency**: Target lines fade when confidence is low, highlight when high
### 📊 **Directional Context Engine**
- **Trend Filter**: Higher timeframe EMA alignment (auto-detects bullish/bearish bias)
- **VWAP Integration**: Monitors price position relative to VWAP for institutional bias
- **Multi-TF Trend Confirmation**: Optional higher timeframe trend filter (Weekly/Monthly)
- **Bias Scoring System**: -3 to +3 score combining trend, VWAP, and HTF alignment
- **Auto/Manual Mode**: Let the system decide bull/bear targets or override manually
### 📈 **Volume Confirmation Layer**
- **Volume MA Threshold**: Requires volume confirmation above customizable threshold (default 1.2×)
- **Real-time Volume Status**: Displays current volume as % of moving average
- **Volume-Gated Alerts**: Smart alerts only fire when volume confirms the move
### ⚖️ **Risk Management Module**
- **ATR-Based Stop Suggestions**: Auto-calculates suggested stop loss based on ATR multiplier
- **R:R Calculator**: Shows risk-reward ratios for each target level
- **Position Sizing Hints**: Helps determine appropriate lot size based on account risk %
- **Dynamic Stop Visualization**: Plots suggested stop level on chart
### 📊 **Professional Statistics Dashboard**
- **Real-Time ADR Usage Meter**: Shows % of ADR consumed (color-coded risk zones)
- **Multi-Period Comparison**: Current range vs 5D / 10D / 20D ADR
- **Historical Hit-Rates**: Target success rates tracked over configurable lookback
- **Playbook Hints**: Context-aware trading suggestions (Breakout Play, Fade Zone, Trend Day, etc.)
- **Compact/Full/Minimal Modes**: Choose your preferred panel size
- **Mobile-Optimized**: Readable on all screen sizes
### 🔔 **Smart Alert System**
- **Target 1 Approach**: Fires when price approaches T1 with high confidence + volume
- **Exhaustion Zone**: Alerts when ADR >150% used (fade opportunity)
- **Coiled Spring**: Triggers on compression cluster completion (expansion setup)
- **High-Probability Confirmation**: Multi-factor confirmation alerts (trend + volume + T1 break)
***
## 💡 Use Cases & Trading Applications
### ✅ **Intraday Range Traders**
- Identify compressed days for range-bound strategies
- Avoid overextended days with exhaustion warnings
- Scale into positions at probabilistic support/resistance levels
### ✅ **Breakout & Momentum Traders**
- Detect "coiled spring" compression clusters before expansion
- Enter on confirmed ADR breakouts with volume
- Use confidence scoring to filter low-probability setups
### ✅ **Mean Reversion & Fade Specialists**
- Identify exhaustion zones (>150% ADR) for counter-trend entries
- Fade extremes when price reaches 125% target with weak volume
- Use HTF resistance/support confluence with ADR targets
### ✅ **Position Traders (Swing)**
- Weekly ADR projections for multi-day targets
- Trend + ADR alignment for high-conviction entries
- R:R-based position sizing at each target level
### ✅ **Options Traders**
- Volatility regime classification for straddle/strangle timing
- Compression clusters = pre-expansion option buying opportunity
- Exhaustion zones = premium selling setups
***
## 🔧 Configuration Guide
### **Core Settings**
- **Market Type**: Equity / Futures / Forex / Crypto (affects session detection)
- **Base Timeframe**: Daily or Weekly ADR calculation
- **Target Direction**: Auto (trend-based) / Bull / Bear (manual override)
### **ADR Parameters**
- **Fast/Med/Slow Periods**: Customize ADR lookbacks (default: 5/10/20)
- **Calculation Method**: True Range (recommended) / High-Low / Close-to-Close
- **Regime Thresholds**: Adjust compression/expansion levels to your instrument
### **Session Settings** (Critical for Intraday)
- **Enable Session Filter**: Only calculate ADR during RTH (Regular Trading Hours)
- **Session Hours**: Set your market's trading hours (e.g., 09:15-15:30 IST for Nifty)
- **Timezone**: Select your market's timezone
### **Filters & Confirmations**
- **Trend EMA Length**: Adjust trend filter sensitivity (default: 50)
- **Volume Threshold**: Set volume confirmation multiplier (default: 1.2×)
- **Higher TF Trend**: Enable weekly/monthly trend filter
### **Risk Management**
- **Stop ATR Multiplier**: Default stop distance (default: 1.5× ATR)
- **Account Risk %**: For position sizing calculations
### **Statistics**
- **Statistical Lookback**: Hit-rate calculation period (default: 50 sessions)
- **Enable Stats**: Toggle historical probability tracking
***
## 📖 Interpretation Guide
### **Regime Colors** (Background)
- 🟠 **Orange**: Compressed (<65% ADR) - Range-bound day likely
- 🔵 **Aqua**: Expanded (120-150%) - Strong trending day
- 🔴 **Red**: Exhausted (>150%) - Overextended, fade zone
- ⚪ **Neutral**: Normal (65-120%) - Standard volatility
### **Target Line Transparency**
- **Bold/Solid**: High confidence (>70%) - Strong probability
- **Medium**: Moderate confidence (50-70%)
- **Faded**: Low confidence (<50%) - Caution advised
### **Bias Score**
- **+2 to +3**: Strong bullish alignment (trend + VWAP + HTF)
- **+1**: Weak bullish bias
- **0**: Neutral
- **-1**: Weak bearish bias
- **-2 to -3**: Strong bearish alignment
### **Playbook Hints**
- ⚡ **"BREAKOUT PLAY"**: Coiled spring detected, expansion imminent
- ⚠️ **"FADE ZONE"**: Exhausted + volume = reversal opportunity
- 📈 **"TREND DAY"**: Expanded regime + directional bias = follow trend
- 💤 **"RANGE TRADE"**: Compressed regime = buy support, sell resistance
- ➡️ **"NORMAL DAY"**: Standard conditions, no special setup
***
## 🎓 Trading Strategy Examples
### **Strategy 1: Compression Breakout**
1. Wait for 3+ consecutive compressed days (<65% ADR)
2. Monitor for "🚀 EXPANSION READY" alert
3. Enter on first 50% target break with volume confirmation
4. Target: 100-125% levels | Stop: Suggested ATR stop
### **Strategy 2: Exhaustion Fade**
1. Price reaches 125-150% ADR target
2. Volume confirmation present but regime shows "EXHAUSTED"
3. Enter counter-trend at target level
4. Target: Mean reversion to 75% level | Stop: 1.5× ATR beyond entry
### **Strategy 3: Trend Following**
1. Bias score ≥ +2 (or ≤ -2 for bearish)
2. Price in expanded regime (120-150%)
3. Enter on pullbacks to 50-75% levels
4. Target: Next sequential target | Stop: VWAP or EMA
***
## ⚙️ Technical Specifications
- **Pine Script Version**: v6
- **Chart Type**: Overlay indicator
- **Max Labels/Lines**: 500 each (optimized for performance)
- **Calculation Frequency**: Real-time (tick-by-tick)
- **Memory Usage**: Efficient array management for long-term statistics
- **Repaint Behavior**: No repainting - uses confirmed HTF data only
***
## 🔔 Alert Setup Guide
1. **Add Indicator** to chart
2. Click **"Create Alert"** (TradingView alert icon)
3. **Condition**: Select desired alert from dropdown:
- 🎯 T1 Approach
- ⚠️ Exhaustion Zone
- 🚀 Coiled Spring Active
- ✅ High-Probability Setup
4. **Configure frequency**: Once Per Bar Close (recommended)
5. **Enable notifications** (Email, SMS, Webhook)
***
## 📱 Best Practices
### ✅ **DO:**
- Combine with support/resistance zones for confluence
- Wait for volume confirmation on target breaks
- Use confidence score to filter low-probability setups
- Adjust session hours for your specific market
- Track hit-rates over time to calibrate thresholds
### ❌ **DON'T:**
- Trade against strong directional bias (score ≤ -2 or ≥ +2)
- Ignore regime classification (don't fade in expansion, don't breakout in compression)
- Chase targets in exhaustion zone without mean reversion plan
- Trade without volume confirmation in low-liquidity sessions
- Override auto bias without clear technical reason
***
## 🎯 Ideal For
✅ **Day Traders** (Nifty, Bank Nifty, Stock Futures)
✅ **Scalpers** (using 5-min / 15-min charts)
✅ **Swing Traders** (Weekly ADR mode)
✅ **Options Traders** (volatility regime analysis)
✅ **Prop Traders** (institutional-grade risk management)
***
## 📜 Disclaimer
This indicator is a **decision-support tool** and does not constitute financial advice. Past performance of hit-rates does not guarantee future results. Always use proper risk management, position sizing, and stop losses. The creator is not responsible for any trading losses incurred using this tool. Test thoroughly on paper/demo accounts before live trading.
***
## 🔄 Updates & Support
**Current Version**: 1.0
**Last Updated**: December 2025
For questions, feedback, or feature requests, comment below or message directly.
***
## 🏆 Credits
Developed by a quantitative trader for institutional-grade ADR analysis. Inspired by PivotBoss ADR methodology and enhanced with modern regime detection, multi-factor confirmation, and probability-based targeting.
***
**Tags**: #ADR #AverageDailyRange #VolatilityIndicator #RegimeAnalysis #IntradayTrading #NiftyTrading #BankNifty #Options #BreakoutStrategy #MeanReversion
***
**🌟 If this indicator helps your trading, please leave a like and share with fellow traders!**
Time & Price Confirmation (TPC)This one i am in the midst of trying to make better but for now its actually making money.
Core Concept:
Uses SuperTrend on two timeframes: Higher Timeframe (HTF) for trend direction and Lower Timeframe (LTF) for entry timing
Only signals trades when BOTH timeframes align
Key Components:
HTF Time (Higher Timeframe) - Checks if the main trend is strong:
🟢 Healthy = Strong trend, good momentum
🟠 Slowing = Trend weakening but still valid
🔴 Tired = Trend exhausted, avoid trading
LTF Confirm (Lower Timeframe) - Waits for price confirmation via:
SuperTrend flip (trend reversal)
Displacement candle (large range breakout)
Strong momentum move
Action Signals:
🚀 ENTER = Both HTF healthy + LTF confirmed (best setup)
⏳ HOLD = HTF still good but waiting for LTF confirmation
⏹️ NO TRADE = HTF tired or conditions not met
Multi-Timeframe High Low Marking LinesThis indicator automatically draws clean horizontal lines at the high and low of the previous 10 periods (adjustable) for four different timeframes simultaneously: Daily, Weekly, Monthly, and Quarterly.
Perfect for marking key support/resistance levels across multiple timeframes on any chart.
Key features:
• Shows previous 10 highs and lows per timeframe (change to 5, 15, 20 etc. in settings)
• Lines extend 20 bars to the right so they remain visible (adjustable)
• Individual on/off switch for each timeframe
• Clean blue lines, max 500 lines limit respected
• Works perfectly on any chart timeframe (1-minute to monthly)
• No repainting – lines only appear after the period has closed
Use cases:
Spot major daily/weekly/monthly support & resistance at a glance
Trade breakouts and reversals with higher-timeframe confirmation
Combine with your existing strategy (ICT, SMC, price action)
Ideal for stocks, forex, crypto and futures
Settings explained:
Timeframe 1–4 → Choose any timeframe (D, W, M, 3M already preset)
Show/Hide → Turn any timeframe on or off instantly
Periods to show → How many previous highs/lows you want visible
Extend lines → How far right each line continues (default 20 bars)
Completely free to use.
If you like it, please add to favorites and leave a comment – it helps other traders find it!
Enjoy cleaner charts and stronger confluence.
Happy trading!
Nau Pro CheckListMy strategy
1 : Preia lichiditate 1h si intra intrun fvg pe 1h
2 Inchide un fvg, deci formeaza un IFVG
3 Creaza un fvg + confluenta CISD 5 min
4 Entry pe IFVG sau FVG
5 SL deasupra FVGUL creat sau swingului
6 TP pe urmatorul Swing ( tre sa fie minim 2 RR)
Advanced custom multi MA signals (EMA/SMA/VWMA/VWAP) Features of Multi Moving Averages
The biggest enemy in trading is "Noise." If you get swayed by minute fluctuations on the chart, you end up missing the forest for the trees.
This indicator (Advanced Custom Multi MA Signals) is not just a simple line. By combining the three core elements of Price, Time, and Volume, it acts as a navigation system that visualizes the market's "true trend." In particular, the ability to analyze 5 moving averages simultaneously across various timeframes is akin to viewing a 3D map of the battlefield.
Understanding Core Concepts
This indicator supports 4 types of moving averages. It is crucial to clearly understand the nature of each tool.
SMA (Simple Moving Average): The most basic average value. Since it produces fewer whipsaws (false signals), it is used as a baseline to judge the "long-term trend."
EMA (Exponential Moving Average): Places more weight on recent prices. It reacts sensitively to market changes, making it advantageous for identifying "entry points."
VWMA (Volume Weighted Moving Average): Incorporates "volume" into the price calculation. It acts as a "false signal filter," weeding out price moves that aren't backed by trading volume.
VWAP (Volume Weighted Average Price): The benchmark price used by institutional investors for daily trading. It is calculated based on the session, regardless of the period settings. It is considered the "lifeline" of day trading.
Indicator Settings Guide
Open the settings window and tune it to fit your trading style.
MA 01 ~ 05 (Moving Average Settings)
MA Type: Select according to your purpose. (Generally, EMA is recommended for short-term analysis, SMA/VWMA for long-term).
Length: Enter the period you wish to analyze (e.g., 20, 60, 120, 200).
Timeframe: This is the core feature. It allows you to overlay moving averages from a higher timeframe (e.g., 4-hour, Daily) onto the chart you are currently viewing (e.g., 15-minute).
Signal Option (Trading Signals)
Golden Cross (GC) / Death Cross (DC): Captures the moment the short-term line breaks through the long-term line. You can run up to 3 strategies simultaneously.
Ribbon Gradient (Trend Visualization)
Represents the gap between two moving averages with color. As the color deepens and the width expands, it indicates a powerful trend; if the width narrows, it suggests a high probability of a trend reversal.
5 Usage Strategies
The highlight of this indicator is the cross strategy utilizing the "Multi-Timeframe (MTF)" feature. Familiarize yourself with the 5 example strategies below and set up your own strategy based on your expertise.
💡 Tip 1. Do not go against the "Major Trend" (The Authority of the Weekly Candle)
Settings: Set MA5 to .
Interpretation: The Weekly 50 line is the "major trend line" managed by institutions and market makers. If the current price is above this line, maintain only a "Buy (Long)" bias; if below, maintain only a "Sell (Short)" bias. Adhering to this rule alone can help you avoid massive losses.
💡 Tip 2. Highly Reliable "Swing Signal" (Daily Golden Cross)
Settings: In Signal 1, configure the Short MA to and the Long MA to .
Interpretation: A Golden Cross where the 4-Hour 50 EMA breaks above the Daily 50 EMA often signifies a major "trend reversal" rather than a temporary rebound. This provides an ideal entry signal for office workers or swing traders who need high reliability.
💡 Tip 3. 4-Hour Candle as the Standard for "Precision Entry"
Situation: When the Daily trend is rising (Bullish alignment).
Strategy: While watching the 15-minute or 1-hour chart, set the indicator's Signal 2 to the cross of and .
Interpretation: When the Daily chart is in an uptrend, a Golden Cross occurring on the 4-Hour chart marks "the point where a correction (pullback) ends and the rise resumes." This is the entry point with the best risk-to-reward ratio.
💡 Tip 4. Filtering Out "Fake Signals" (The Secret of Volume)
Strategy: When creating a cross signal, try using VWMA (Volume Weighted) for the Long MA, even if you use EMA for the Short MA.
Reason: A Golden Cross caused simply by a rise in price can be a trap. However, if it breaks through the heavy VWMA line accompanied by volume, it is strong evidence that "genuine liquidity" has entered.
💡 Tip 5. Remember the "Hierarchy" (Higher Timeframe Priority Rule)
Principle: If a Golden Cross (Buy Signal) appears on the 4-Hour chart, but the Daily chart is in a Death Cross (Sell Signal) state, do not enter.
Interpretation: A signal from a lower timeframe cannot overcome the power of a higher timeframe. The professional approach is to trade with significant volume only when signals align (Sync) in the order of Weekly > Daily > 4-Hour. Keep this indicator's dashboard feature on and always check the status of higher timeframes.
Signal Generation Principle (Operating Mechanism)
Signals are generated when the set short-term moving average and long-term moving average cross each other.
📈 1. Golden Cross (BUY = Buy Signal)
Situation: The moment the short-term MA crosses upward from below the long-term MA.
Principle: It implies that recent buying pressure has broken through the resistance level accumulated over a long period.
📉 2. Death Cross (SELL = Sell Signal)
Situation: The moment the short-term MA crosses downward from above the long-term MA.
Principle: It implies that recent selling pressure has collapsed the long-term support line.
※ If the candles are not displaying correctly or are flickering, please set the indicator's 'Visual order' to 'Bring to front' as shown in the image below.
Investment Caution and Disclaimer
Before using this indicator for actual trading, please strictly read the contents below.
① Auxiliary indicators are a "Compass," not a "Book of Prophecy."
This indicator is merely a tool that mathematically calculates and visualizes past price data. A "magic indicator" that predicts future price fluctuations 100% accurately or guarantees profit does not exist. The signals provided are for reference only and must never be the sole basis for entry/exit decisions.
② The responsibility for all investments lies with "Yourself."
Financial investment (Cryptocurrencies, Stocks, Futures, etc.) involves high volatility and is a risky activity that can result in the loss of some or all of the principal. The final responsibility for all trading results (profits and losses) incurred by utilizing this indicator lies entirely with the investor. The distributor and developer accept no legal responsibility for investment results under any circumstances.
③ Past data does not guarantee the future.
Even a Golden Cross that fit perfectly in backtesting or past charts may operate differently in tomorrow's market situation (News, Macroeconomics, Unexpected Variables, etc.). Do not rely solely on technical analysis; you must conduct fundamental analysis and risk management in parallel.
④ Risk management is the top priority.
No matter how promising a signal appears, "all-in trading" (investing all assets in a single trade) is a shortcut to bankruptcy. More important than the indicator itself is adhering to the principles of strict scaling in (split buying) and Stop-Loss.
Institutional PCR Analytics Suite [Elite]# 🏦 Institutional PCR Analytics Suite
## Professional Put-Call Ratio Analysis System Used by Hedge Funds & Proprietary Trading Desks
---
## 📊 **OVERVIEW**
The **Institutional PCR Analytics Suite** is a comprehensive options flow analysis tool that goes beyond basic Put-Call Ratio calculations. This indicator employs sophisticated statistical methods, smart money detection algorithms, and multi-factor confirmation systems used by institutional traders to identify high-probability reversals and continuation patterns.
### **What Makes This Different?**
Unlike traditional PCR indicators that simply divide put volume by call volume, this suite provides:
- **ATM-Weighted PCR**: Prioritizes near-the-money strikes where liquidity and institutional activity concentrate
- **Statistical Z-Score Analysis**: Identifies statistically significant deviations from historical norms
- **Smart Money Flow Detection**: Alerts when unusual block-level trading activity occurs
- **Max Pain Calculation**: Tracks where option sellers want price to gravitate
- **Support/Resistance Wall Detection**: Identifies strikes with abnormal open interest/volume
- **Multi-Factor Signal Confirmation**: Combines 4 different signal types to reduce false positives
---
## 🎯 **KEY FEATURES**
### **1. Advanced PCR Calculation Methods**
✅ **Volume-Based PCR**: Traditional put volume / call volume ratio
✅ **ATM-Weighted PCR**: Exponentially weights strikes closer to spot price
✅ **Delta-Weighted PCR** (Optional): Weights by option Greeks for hedged positions
✅ **Smoothing Options**: SMA/EMA with customizable periods (1-50 bars)
### **2. Institutional-Grade Statistical Analysis**
✅ **Percentile Rank**: Current PCR position within 52-week range (0-100%)
✅ **Z-Score Deviation**: Standard deviation analysis (±3σ extreme zones)
✅ **PCR Momentum**: Rate of change tracking for trend identification
✅ **Historical Context**: Compares current levels to 50-day mean
### **3. Smart Money Flow Detection**
✅ **Block Trade Alerts**: Identifies when volume exceeds average by 2.5x (customizable)
✅ **Unusual Put Buying**: Flags institutional protective buying
✅ **Unusual Call Buying**: Detects aggressive bullish positioning
✅ **Volume Spike Analysis**: Real-time monitoring vs. 20-day average
### **4. Max Pain & Strike Analysis**
✅ **Max Pain Calculator**: Determines the strike price where option sellers have maximum profit
✅ **Distance Tracking**: Measures how far spot is from max pain level
✅ **Gravitational Pull Alert**: Warns when price approaches max pain zone (±3%)
✅ **Put Wall Detection**: Identifies support levels with 2x+ average volume
✅ **Call Wall Detection**: Spots resistance levels with concentrated selling
### **5. Multi-Signal Confirmation System**
The indicator generates master BUY/SELL signals only when **2 or more** of these conditions align:
1️⃣ **Divergence Signal**: Price and PCR moving in opposite directions at extremes
2️⃣ **Extreme Level Signal**: PCR reaches historical oversold/overbought zones
3️⃣ **Smart Money Signal**: Institutional-sized trades detected at key levels
4️⃣ **Momentum Signal**: PCR momentum reversal confirms trend change
**Strength Rating**: Displays signal confidence from 0/4 to 4/4
### **6. Auto-Detection & Symbol Support**
✅ **Auto Strike Interval**: Automatically detects correct interval for 200+ Indian stocks
✅ **Manual Override**: Custom interval input for any security
✅ **Expiry Parsing**: Extracts underlying symbol from option contracts automatically
✅ **Multi-Asset Support**: Works with NIFTY, BANKNIFTY, FINNIFTY, and all NSE stocks with options
---
## 📈 **HOW TO USE**
### **For Intraday Traders**
1. **Look for Master BUY signals** when PCR < 0.6 (extreme bullish)
2. **Confirm with volume spike** (orange flow indicator)
3. **Check max pain distance** - best entries occur >3% from max pain
4. **Exit on PCR normalization** back above 0.8
### **For Swing Traders**
1. **Wait for 2+ bar confirmation** (set confirmation bars = 2-3)
2. **Enter on extreme Z-score** (±2σ or higher)
3. **Use put/call walls** as support/resistance targets
4. **Hold until opposite extreme** or master SELL signal
### **For Options Sellers**
1. **Sell when PCR > 1.4** (bearish extreme = expensive puts)
2. **Monitor max pain** - price tends to gravitate there at expiry
3. **Watch for smart money flow** reversals before expiry week
4. **Adjust positions** when walls are breached
### **For Hedgers**
1. **Track percentile rank** - hedge when >80% (expensive options)
2. **Use momentum indicator** to time hedge entries
3. **Monitor block trade alerts** for institutional positioning
4. **Rebalance when PCR crosses 1.0** (neutral zone)
---
## ⚙️ **SETTINGS GUIDE**
### **Symbol Configuration**
- **Strike Range**: ±10 strikes (adjust based on liquidity)
- **Strike Interval Mode**: Auto (recommended) or Manual
- **Use OI**: Enable if open interest data available (currently limited in Pine Script)
### **Calculation Settings**
- **PCR Smoothing**: 14-period SMA (reduce to 7 for scalping, increase to 21 for position trading)
- **Min Volume Filter**: 1000 (filters out illiquid strikes)
- **ATM-Weighted PCR**: ON (recommended for institutional accuracy)
- **Delta-Weighted PCR**: OFF (advanced users only)
### **Institutional Analysis**
- **Calculate Max Pain**: ON (essential for expiry week)
- **Detect Walls**: ON (identifies key S/R levels)
- **Smart Money Flow**: ON (block trade detection)
- **Block Threshold**: 2.5x average (lower to 2.0x for more sensitivity)
### **Signal Levels**
- **Oversold (Bullish)**: 0.6 (more puts than calls)
- **Overbought (Bearish)**: 1.4 (way more puts than calls = fear)
- **Extreme Bullish**: 0.4 (very rare, strong reversal)
- **Extreme Bearish**: 1.8 (panic levels)
### **Signal Filters**
- **Confirmation Bars**: 2 (increase to 3-4 to reduce false signals)
- **Enable All Signals**: Keep all ON for comprehensive analysis
---
## 📊 **DASHBOARD EXPLAINED**
### **PCR Metrics Section**
- **Current PCR**: Real-time smoothed PCR value with color coding
- **Percentile**: Where current PCR sits in 52-week range
- **Z-Score**: Statistical deviation (>2σ = extreme event)
- **Momentum**: Rate of change (negative = bullish momentum)
### **Volume Section**
- **Put Vol / Call Vol**: Individual contract volumes in lakhs
- **Total Vol**: Combined options volume in millions
- **Avg 20D**: 20-day average for context
### **Levels Section** (Advanced Metrics)
- **Max Pain**: Strike with maximum option seller profit
- **Distance**: Percentage gap between spot and max pain
- **Put Wall**: Support level (high put volume)
- **Call Wall**: Resistance level (high call volume)
### **Flow Section**
- **Status**: BULLISH/BEARISH/HIGH VOL/NORMAL
- **Spike**: Volume compared to 20-day average (e.g., 2.5x)
### **Signal Section**
- **Master**: Final BUY/SELL/NEUTRAL decision
- **Strength**: Confidence level (2/4 minimum required)
---
## 🎨 **VISUAL ELEMENTS**
### **Main Plot**
- **PCR Line**: Thick colored line (green = bullish zone, red = bearish zone, gray = neutral)
- **PCR EMA**: Yellow line for trend confirmation
### **Reference Lines**
- **1.0 Neutral**: Gray solid line (equilibrium)
- **0.6 Oversold**: Green dotted (bullish reversal zone)
- **1.4 Overbought**: Red dotted (bearish reversal zone)
- **0.4 Extreme Bull**: Green dashed (rare opportunity)
- **1.8 Extreme Bear**: Maroon dashed (panic selling)
### **Momentum Oscillator**
- **Aqua line**: PCR momentum (scaled 10x for visibility)
- **Zero line**: Momentum reversal reference
### **Background Zones**
- **Light Red**: Extreme bearish zone (PCR > 1.8)
- **Light Green**: Extreme bullish zone (PCR < 0.4)
- **Very Light Red**: Overbought zone (PCR > 1.4)
- **Very Light Green**: Oversold zone (PCR < 0.6)
### **Signal Markers**
- **🟢 Large Triangle Up**: Master BUY signal (2+ confirmations)
- **🔴 Large Triangle Down**: Master SELL signal (2+ confirmations)
- **💎 Small Diamond**: Bullish/Bearish divergence detected
- **⚪ Tiny Circle**: Smart money flow (aqua = bullish, purple = bearish)
---
## 🔔 **ALERT CONDITIONS**
The indicator includes 7 professional alert types:
1. **🟢 MASTER BUY**: High-probability bullish reversal signal
2. **🔴 MASTER SELL**: High-probability bearish reversal signal
3. **💎 BULLISH DIVERGENCE**: Price falling while PCR shows strength
4. **💎 BEARISH DIVERGENCE**: Price rising while PCR shows weakness
5. **🐋 SMART MONEY BULLISH**: Institutional call buying detected
6. **🐋 SMART MONEY BEARISH**: Institutional put buying detected
7. **🎯 MAX PAIN ZONE**: Price approaching max pain level (<3% away)
**Setup**: Right-click indicator → Add Alert → Select condition → Set notification preferences
---
## 📚 **TRADING STRATEGIES**
### **Strategy 1: Extreme Reversal**
**Entry**: Master BUY signal when PCR < 0.6 + Volume spike
**Stop**: Below recent swing low
**Target**: PCR returns to 0.8-1.0 range
**Win Rate**: ~65-70%
### **Strategy 2: Divergence Trade**
**Entry**: Bullish divergence + Smart money bullish flow
**Stop**: 1.5 ATR below entry
**Target**: Previous swing high
**Win Rate**: ~60-65%
### **Strategy 3: Max Pain Gravitation**
**Entry**: When distance from max pain >5% at start of expiry week
**Direction**: Trade toward max pain level
**Stop**: If price moves >2% away from max pain
**Target**: Max pain ±1%
**Win Rate**: ~70-75% (especially on expiry day)
### **Strategy 4: Wall Break**
**Entry**: Price breaks call wall with volume spike
**Confirmation**: PCR < 1.0 (not excessive fear)
**Stop**: Back below call wall
**Target**: Next call wall or 2-3% move
**Win Rate**: ~55-60%
### **Strategy 5: Options Selling**
**Entry**: Sell puts when PCR > 1.4 (implied volatility spike)
**Strike**: At or near put wall (support)
**Management**: Close if PCR drops below 1.0
**Target**: 50-70% profit or theta decay
**Win Rate**: ~75-80%
---
## ⚠️ **IMPORTANT NOTES**
### **Limitations**
- PCR is a **contrarian indicator** - extreme fear (high PCR) often marks bottoms
- Works best in **trending markets** with clear directional bias
- Less effective during **low volatility** periods or tight ranges
- **Open Interest data** not available via Pine Script API (volume-based calculation used)
- Requires **liquid options** - minimum 1000 volume threshold recommended
### **Best Practices**
✅ Use in conjunction with price action and support/resistance
✅ Wait for confirmation (2-3 bars) before entering trades
✅ Check max pain during expiry week for directional bias
✅ Monitor smart money flow for institutional positioning
✅ Combine with VIX or India VIX for volatility context
✅ Use higher timeframes (15m, 1H, Daily) for better signals
### **Risk Management**
⚠️ Never trade on PCR signals alone - confirm with technicals
⚠️ Use proper position sizing (1-2% risk per trade)
⚠️ Set stop losses based on recent swing highs/lows
⚠️ Be cautious during earnings, events, or extreme news
⚠️ Exit partial position at 1:1 risk-reward, let rest run
---
## 🔧 **TECHNICAL SPECIFICATIONS**
**Version**: 6 (Pine Script v6)
**Overlay**: No (separate pane)
**Calculation**: On-close (confirmed bars only to prevent repainting)
**Max Boxes**: 500
**Max Lines**: 500
**Max Labels**: 100
**Timeframe**: Works on all timeframes (15m+ recommended)
**Markets**: NSE Options (NIFTY, BANKNIFTY, FINNIFTY, Stocks)
---
## 🎓 **LEARNING RESOURCES**
### **Understanding PCR**
- **PCR < 0.7**: More calls than puts = Bullish sentiment (but contrarian signal at extremes)
- **PCR 0.8-1.2**: Balanced market = Neutral sentiment
- **PCR > 1.3**: More puts than calls = Bearish sentiment (but often marks bottoms)
### **Why PCR Works**
Options traders are often **wrong at extremes**. When everyone buys puts (PCR > 1.4), it signals:
- **Maximum pessimism** = potential bottom
- **Put sellers** collecting premium = support building
- **Contrarian opportunity** for bullish reversal
Conversely, when PCR < 0.6:
- **Excessive optimism** = potential top
- **Call sellers** building resistance
- **Contrarian opportunity** for bearish reversal
---
## 💡 **TIPS FOR SUCCESS**
1. **Context Matters**: A PCR of 1.5 during a bear market is normal; during a bull market, it's extreme
2. **Combine Signals**: Best trades happen when 3-4 signal types align
3. **Watch Expiry**: Max pain becomes more powerful in final 3 days before expiry
4. **Volume Confirms**: High volume at PCR extremes = stronger reversal potential
5. **Divergences Are Gold**: When price and PCR disagree, PCR is often right
6. **Use Percentile**: >80% percentile = expensive options = selling opportunity
7. **Z-Score > 2**: Statistical anomaly = mean reversion likely
8. **Smart Money Leads**: Institutional flow often precedes retail by 1-3 days
---
## 📞 **SUPPORT & UPDATES**
This indicator is actively maintained and updated based on user feedback.
**Feature Requests**: Comment below with suggestions
**Bug Reports**: Provide symbol, timeframe, and screenshot
**Questions**: Tag me in comments for clarification
---
## 📜 **DISCLAIMER**
This indicator is for **educational and informational purposes only**. It does not constitute financial advice, investment advice, trading advice, or any other sort of advice.
**Trading involves substantial risk of loss** and is not suitable for every investor. Past performance is not indicative of future results. Always conduct your own research and consult with a qualified financial advisor before making any investment decisions.
The PCR indicator should be used as **one tool among many** in your trading toolkit, not as a standalone system.
---
## ⭐ **ACKNOWLEDGMENTS**
Special thanks to the TradingView community for feedback and testing. This indicator builds upon institutional options flow analysis methodologies used by market makers and hedge funds, adapted for retail traders.
---
**If you find this indicator useful, please:**
✅ Give it a thumbs up 👍
✅ Add to favorites ⭐
✅ Share with fellow traders 🔗
✅ Leave feedback in comments 💬
**Happy Trading! 🚀📊**
---
### **Version History**
- **v1.0** (Dec 2025): Initial release with institutional-grade PCR analytics
Nifty Hierarchical Macro GuardOverview
The Nifty Hierarchical Macro Guard is a "Market Compass" indicator specifically designed for Indian equity traders. It locks its logic to the Nifty 50 Index (NSE:NIFTY) and applies a strict hierarchy of trend analysis. The goal is simple: prioritize the long-term trend (Monthly/Weekly) to decide if you should even be in the market, then use the short-term trend (Daily) for precise exit timing.
This script ensures you never ignore a macro "crash" signal while trying to trade minor daily fluctuations.
The Color Hierarchy (Priority Logic)
The indicator uses a "Top-Down" filter. Higher timeframe signals override lower timeframe signals:
Level 1: Monthly (Ultra-Macro) — Deep Maroon
Condition: Nifty 10 EMA is below the 20 EMA on the Monthly chart.
Action: This is the highest priority. The background will turn Deep Maroon, overriding all other colors. This is your "Forget Trading" signal. The long-term structural trend is broken.
Level 2: Weekly (Macro Warning) — Dark Red
Condition: Monthly is Bullish, but Nifty 10 EMA is below the 20 EMA on the Weekly chart.
Action: The background turns Dark Red. This indicates a significant macro correction. You should stay out of fresh positions and protect capital.
Level 3: Daily (Tactical) — Light Red / Light Green
Condition: Both Monthly and Weekly are Bullish (Green).
Action: The background will now react to the Daily 10/20 EMA cross.
Light Green: Nifty is healthy; safe for fresh positions.
Light Red: Tactical exit signal. Nifty is seeing short-term weakness; exit positions quickly.
Key Features
Symbol Locked: No matter what stock you are viewing (Reliance, HDFC, Midcaps), the background only reacts to NSE:NIFTY.
Clean Interface: No messy lines or labels on the price chart. The information is conveyed purely through background color shifts.
Customizable: Change the MA types (EMA/SMA) and lengths (e.g., 10/20 or 20/50) in the settings.
Macro Dashboard: A small, transparent table in the top-right corner displays exactly which timeframe is currently controlling the background color.
How to Use for Nifty Strategy
Stay Out: If the chart is Deep Maroon or Dark Red, do not look for "buying the dip." Wait for the macro health to return.
Take Exits: If the background is Light Green and suddenly turns Light Red, it means the Daily Daily 10/20 cross has happened. Exit your Nifty-sensitive positions immediately.
FVG MTF Consensus OscillatorFVG MTF Consensus Oscillator
A multi-timeframe, multi-component oscillator that combines momentum, deviation, and slope analysis across multiple timeframes using Zeiierman's Chebyshev-filtered trend calculation. This indicator identifies potential turning points with zone-based signal classification and timeframe consensus filtering.
Backed by ML/Deep Learning evaluation on ES Futures data from 2015-2024.
🎯 Concept
Traditional oscillators suffer from two major weaknesses:
Single measurement - relying on one metric makes them susceptible to noise
Single timeframe - missing the bigger picture leads to fighting the trend
The FVG MTF Consensus Oscillator addresses both issues by combining three independent measurements across three timeframes into a weighted consensus signal.
The Three Components
Momentum - How fast is the trend moving?
Deviation - How far has price stretched from the trend?
Slope - What is the short-term directional bias?
The Three Timeframes
TF1 (Chart) - Your current chart timeframe (lowest weight)
TF2 (Medium) - Typically 1H or 4H (medium weight)
TF3 (High) - Typically 4H or Daily (highest weight)
By requiring agreement across multiple components AND multiple timeframes, the oscillator filters out noise while capturing meaningful, high-probability market movements.
🔧 How It Works
The Core: Chebyshev Type 1 Filter
At its heart, this indicator uses a Chebyshev Type 1 low-pass filter (inspired by Zeiierman's FVG Trend) to extract a clean trend line from price action. Unlike simple moving averages, the Chebyshev filter offers:
Sharper cutoff between trend and noise
Minimal lag for a given smoothness level
Controlled overshoot via the ripple parameter
Three Oscillator Components
1. Momentum Component
Momentum = Current Trend Value - Previous Trend Value
Measures the velocity of the trend. High positive values indicate strong upward acceleration, while high negative values show downward acceleration.
2. Deviation Component
Deviation = Close Price - Trend Value
Measures how far price has stretched away from the trend line. Useful for identifying overextended conditions and mean reversion opportunities.
3. Slope Component
Slope = Change in Trend over 3 bars
Captures the short-term directional bias of the trend itself, helping confirm trend changes.
Normalization & Component Consensus
Each component is individually normalized to a -100 to +100 scale using adaptive scaling. The oscillator output is a weighted average of all three components, allowing you to emphasize different aspects based on your trading style.
Multi-Timeframe Weighting
The final oscillator value combines all three timeframes using configurable weights:
Combined = (TF1 × Weight1 + TF2 × Weight2 + TF3 × Weight3) / Total Weight
Default weights (1, 2, 3) ensure higher timeframes have more influence, keeping you aligned with the dominant trend while timing entries on lower timeframes.
📊 Zone System
The oscillator uses a fuzzy zone system to classify market conditions:
ZoneRangeInterpretationSignal ColorNeutral-5 to +5No clear bias, avoid tradingGrayContinuation±5 to ±25Trend pullback, continuation setupsAquaDeep Swing±25 to ±50Extended move, stronger setupsGreenReversalBeyond ±50Extreme extension, reversal potentialOrange
When "Show Zone Background" is enabled, the background shading darkens as the oscillator moves into more extreme zones, providing instant visual feedback.
📈 Signal Interpretation
Turn Signals
The indicator plots triangular markers when the oscillator changes direction:
▲ Triangle Up (bottom): Oscillator turning up from a low
▼ Triangle Down (top): Oscillator turning down from a high
Signal Quality by Zone
Not all signals are equal. The signal color indicates which zone the turn occurred in:
ColorZoneProbabilityBest UseGrayNeutralLowAvoid or use very tight stopsAquaContinuationModerateTrend continuation entriesGreenDeep SwingHigherSwing trade entriesOrangeReversalHighestCounter-trend with caution
Timeframe Consensus Filter
Signals only fire when the required number of timeframes agree on direction. With default settings (TF Consensus = 2), at least 2 of 3 timeframes must be moving in the same direction for a signal to trigger.
This prevents:
Taking longs when higher timeframes are bearish
Taking shorts when higher timeframes are bullish
Whipsaws during timeframe disagreement
Trend Coloring
The combined oscillator line changes color based on trend direction:
Light purple (RGB 240, 174, 252): Majority of timeframes trending up
Dark purple (RGB 84, 19, 95): Majority of timeframes trending down
Info Table
When MTF is enabled, a table in the top-right corner displays:
Current oscillator values for each timeframe (TF1, TF2, TF3)
Combined value (CMB)
Color coding: Green = rising, Red = falling
⚙️ Settings Guide
Timeframe Settings
SettingDefaultDescriptionEnable Multi-TimeframeOnMaster switch for MTF functionalityTF1 (Chart)"" (current)First timeframe, typically your chart TFTF2 (Medium)60Second timeframe, typically 1HTF3 (High)240Third timeframe, typically 4HTF1/TF2/TF3 Weight1 / 2 / 3Influence of each TF on combined signal
Timeframe Tips:
Keep TF1 ≤ TF2 ≤ TF3 (ascending order)
For day trading: 5m / 15m / 1H
For swing trading: 1H / 4H / Daily
For position trading: 4H / Daily / Weekly
Display Settings
SettingDefaultDescriptionShow All TimeframesOffDisplay individual TF oscillator linesShow Combined LineOnDisplay the weighted combined oscillatorShow Zone BackgroundOffShade background based on current zone
Trend Filter Settings
SettingDefaultDescriptionTrend Ripple4.0Filter responsiveness (1-10). Higher = faster but more overshootTrend Cutoff0.1Cutoff frequency (0.01-0.5). Lower = smoother trendNormalization Length50Lookback for scaling. Longer = more stable
Component Weights
SettingDefaultDescriptionMomentum Weight1.0Emphasis on trend speedDeviation Weight1.0Emphasis on price stretch from trendSlope Weight1.0Emphasis on short-term trend direction
Component Tips:
For trend-following: Increase Momentum and Slope weights
For mean reversion: Increase Deviation weight
Set any weight to 0 to disable that component
Zone Thresholds
SettingDefaultDescriptionNeutral Zone5Inner boundary (±5 = neutral)Continuation Zone25Middle boundary for continuation setupsDeep Swing Zone50Outer boundary for reversal zone
Adjust based on instrument volatility. More volatile instruments may need wider zones.
Signal Filters
SettingDefaultDescriptionSignal Cooldown3Minimum bars between signalsMin Turn Size2.0Minimum oscillator change for valid turnTF Consensus Required2Minimum TFs agreeing for signal (1-3)
💡 Usage Examples
Example 1: Trend Continuation (Dip Buying)
Setup: Uptrend confirmed by higher timeframes
Check the info table - TF2 and TF3 should show green (rising)
Wait for TF1 to pull back, oscillator enters Continuation zone
Enter on Aqua ▲ signal (turn up with TF consensus)
Stop below recent swing low
Target: Previous high or next resistance
Why it works: You're buying a dip in an established uptrend with multi-timeframe confirmation.
Example 2: Deep Swing Entry
Setup: Extended move showing exhaustion
Oscillator reaches Deep Swing zone (±25 to ±50)
At least 2 TFs start showing the same direction
Enter on Green signal indicating momentum exhaustion
Use tighter stop as the move is already extended
Target: Return to Continuation zone or trend line
Why it works: Extended moves tend to mean-revert. The zone system identifies these opportunities.
Example 3: Reversal Setup (Advanced)
Setup: Extreme extension with diverging timeframes
Oscillator reaches Reversal zone (beyond ±50)
Watch for TF1 to turn while TF3 is still extended
Enter on Orange signal - this is counter-trend!
Use smaller position size and wider stops
Target: Return to Deep Swing or Continuation zone
Why it works: Extreme extensions eventually correct. The orange signal marks high-probability reversal points.
Example 4: Avoiding Bad Trades
What to avoid:
Gray signals in Neutral zone - No edge, random noise
Signals against TF3 direction - Fighting the dominant trend
Signals without TF consensus - Timeframe disagreement = choppy market
Multiple signals in quick succession - Let cooldown filter work
🔬 Multi-Timeframe Analysis Tips
Reading the Info Table
The info table shows real-time oscillator values:
| TF1 | TF2 | TF3 | CMB |
| 23.5 | 45.2 | 67.8 | 52.1 |
All green: Strong uptrend across all timeframes
All red: Strong downtrend across all timeframes
Mixed colors: Potential transition or consolidation
Timeframe Alignment States
TF1TF2TF3Interpretation↑↑↑Strong bull - look for long entries↓↓↓Strong bear - look for short entries↑↑↓Pullback in downtrend - caution on longs↓↓↑Pullback in uptrend - caution on shorts↑↓↑Choppy - reduce position size↓↑↓Choppy - reduce position size
The Power of Consensus
With TF Consensus = 2, signals only fire when 2+ timeframes agree. This single filter eliminates most whipsaws and keeps you aligned with the dominant trend.
For more conservative trading, set TF Consensus = 3 (all timeframes must agree).
⚠️ Important Notes
This indicator does not predict the future. It measures current market conditions and momentum across multiple timeframes.
Always use proper risk management. No indicator is 100% accurate.
Combine with price action. The oscillator works best when confirmed by support/resistance, candlestick patterns, or other confluence factors.
Respect the higher timeframe. When TF3 disagrees, trade smaller or sit out.
Zone signals are probabilistic. Orange (reversal) signals have higher probability but aren't guaranteed reversals.
Adjust settings per instrument. Default settings are optimized for ES Futures but may need tuning for other markets.
🧪 ML/Deep Learning Background
The default parameters and zone thresholds were evaluated using machine learning techniques on ES Futures data spanning 2015-2024. This included:
Optimization of component weights
Zone threshold calibration
Timeframe weight balancing
Signal filter tuning
While past performance doesn't guarantee future results, the parameters represent a data-driven starting point rather than arbitrary defaults.
🙏 Credits
This indicator is inspired by Zeiierman's Multitimeframe Fair Value Gap (FVG) indicator, specifically utilizing concepts from his Chebyshev Type 1 filter implementation for trend calculation.
Original indicator: Multitimeframe Fair Value Gap – FVG (Zeiierman)
📝 Changelog
v1.0
Initial release
Three-component consensus oscillator (Momentum, Deviation, Slope)
Multi-timeframe support with weighted combination
Fuzzy zone classification system
Configurable component and timeframe weights
TF consensus filter for signal quality
Signal cooldown and minimum turn size filters
Real-time info table with TF values
Optional zone background shading






















