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.
Indicateurs et stratégies
WMD Weekly OR (IST) Sidweekly OR (First hour) and mid point for various instruments based on indian standard time.
First Presented FVGSummary: First Presented FVG Indicator
This is a Pine Script v6 TradingView indicator that identifies and visualizes the first Fair Value Gap (FVG) that forms within configurable time windows during a trading session.
What it Does
1. Detects FVGs : Uses the classic 3-candle FVG definition:
- Bullish FVG: When low > high (gap up)
- Bearish FVG: When high < low (gap down)
2. "First Presented" Logic : For each configured time slot, it captures only the first qualifying FVG that forms—subsequent FVGs in that window are ignored.
3. Visual Display :
- Draws a colored box spanning from detection time to session end
- Optional text label showing detection time (e.g., "9:38 Tue FP FVG")
- Optional grade lines at 25%, 50%, and 75% levels within the FVG
Key Configuration
Setting Description
Timeframe Only works on 5-minute charts or lower
Timezone IANA timezone for session times (default: America/New_York)
Session Futures trading hours (default: 1800-1715)
Min FVG Size Minimum gap size in ticks to qualify
4 Time Slots Each with enable toggle, time window, and color
Default Time Slots
Slot 1 (enabled): 09:30-10:30 — lime green
Slot 2 (enabled): 13:30-14:30 — blue
Slot 3 (disabled): 13:00-13:30 — teal
Slot 4 (disabled): 14:15-14:45 — fuchsia
Technical Features
Handles cross-midnight sessions correctly
Resets all drawings at each new session
Skips the first bar of each window to ensure valid 3-candle lookback
Clamps slot windows to session boundaries
VWMA Strategy Signals - Daily OptimizedVWMA, RSI, SUPERTREND, EMA INDICATOR buy sell signals optimized for the daily charts
Advance SMC (Milad Tayefi)Smart money indicator which recognizes market structure and produces buy/sell signals.
JK Scalp - Nishith RajwarJK Scalp Nishith Rajwar
Multi-Stochastic Rotation & Momentum Scalping Framework
JK Scalp is a rule-based momentum and rotation oscillator designed for short-term scalping and intraday execution.
It focuses on how momentum rotates across multiple stochastic speeds, instead of relying on a single oscillator or lagging averages.
This is an execution aid, not a predictive indicator.
🧠 Concept & Originality
Unlike standard stochastic tools, JK Scalp uses four synchronized stochastic layers:
• Fast (9,3) → execution timing
• Medium (14,3) → structure confirmation
• Slow (44,3) → swing context
• Trend (60,10,10) → dominant momentum regime
The core idea is quad-rotation:
High-probability trades occur when all momentum layers rotate together after reaching an extreme.
This script combines:
• Momentum rotation
• Divergence logic
• Flag continuation logic
• Trend-state filtering
into a single cohesive framework, not a simple indicator mashup.
📊 How to Use (Step-by-Step)
1️⃣ Best Timeframes
• Scalping: 1m – 3m
• Intraday: 5m – 15m
• Avoid higher timeframes (not designed for swing holding)
Works best on:
• Index options
• Index futures
• Highly liquid stocks
• Crypto majors
2️⃣ Understanding the Signals
🔁 Quad Rotation (Core Signal)
A valid rotation requires:
• Fast, Medium, Slow, and Trend stochastic moving in the same direction
• Momentum exiting Overbought / Oversold zones
• Trend stochastic supporting the move
This filters out random oscillator noise.
3️⃣ Entry Conditions
🟢 LONG Setup
• Bullish quad rotation
• Either:
– Bullish divergence OR
– Bullish flag pullback
• Fast stochastic turning up
🔴 SHORT Setup
• Bearish quad rotation
• Either:
– Bearish divergence OR
– Bearish flag pullback
• Fast stochastic turning down
⚠️ Signals are confirmation-based, not anticipatory.
4️⃣ SUPER LONG / SUPER SHORT
These appear only when:
• Quad rotation
• Divergence confirmation
They represent high-confidence momentum inflection zones, not guaranteed reversals.
5️⃣ Stop-Loss Visualization
Optional SL zones are plotted using:
• Recent swing high / low
• ATR-based buffer (configurable)
This helps traders visualize risk, not automate exits.
🎨 Visual System (Why It Looks Different)
• Multi-layer glow effects → momentum strength
• Dynamic cloud → fast vs trend dominance
• Color-shifting fast line → acceleration vs decay
• Chart overlays → execution clarity without clutter
Everything is designed for speed and readability during live trading.
⭐ Unique Selling Points (USP)
✅ Multi-speed stochastic rotation (not single-line signals)
✅ Context-first, not signal spam
✅ Built-in divergence + continuation logic
✅ Non-repainting logic
✅ Designed for scalpers, not hindsight analysis
✅ Works across indices, options, crypto, and futures
⚠️ Important Notes
• Not a standalone trading system
• Best combined with:
– Market structure
– Key levels
– Session timing
• Avoid low-liquidity or news-spike candles
This indicator guides execution, it does not replace discretion.
👤 Who This Is For
• Scalpers & intraday traders
• Options traders needing precise timing
• Traders who understand momentum & structure
• Users who want fewer but higher-quality signals
🏁 Summary
JK Scalp helps you trade momentum rotation, not overbought/oversold myths.
Wait for alignment. Execute with discipline.
DMI Direction TableCompact table for Directional Movement Index (DMI) built to stay readable and configurable.
What it shows
DI+ and DI– from a fixed timeframe via request.security (default 4H), independent of the chart timeframe.
Trend text: Bullish/Bearish/Sideways with strength bucket (Mild/Normal/Strong/Very Strong) derived from the absolute gap |DI+ − DI–|, not ADX.
Values printed with two decimals, no percent sign.
Key controls
Fixed Timeframe (for DMI): choose any resolution; the label auto-displays as 1m/5m/1H/4H/1D/1W/1M.
Gap thresholds: Sideways, Mild, Normal, Strong, Very Strong.
Table Position: top/middle/bottom × left/center/right.
Font Size: tiny/small/normal/large/huge.
Styling
Full manual palette for headers and value cells.
Separate background and text colors for Bullish, Bearish, and Sideways trend states.
Independent colors for DI+ and DI– cells.
Deliberate omissions
No RSI.
No ADX; strength comes solely from the DI gap.
Purpose
Quick, at-a-glance DMI state that remains consistent across timeframes while letting you tune thresholds and visuals to your chart.
EMA RANGEEMA RANGE
EMA RANGE is a simple, price-focused indicator that plots an Exponential Moving Average (EMA) with a dynamic ATR-based range above and below it. The ATR bands adapt to market volatility, helping traders visualize normal price movement and identify potential expansion or compression zones.
🔹 Features
Customizable EMA length
ATR range bands plotted above and below the EMA
Adjustable ATR length and multiplier
Toggle to enable or disable ATR ranges
Fully customizable colors and line thickness from the Style tab
🔹 How It Works
The EMA serves as the central trend reference.
The Average True Range (ATR) measures volatility.
Upper and lower bands are calculated as:
EMA ± (ATR × Multiplier)
When price remains inside the range, conditions are considered normal. Moves outside the range may signal increased volatility, momentum expansion, or potential breakout conditions.
🔹 Best Use Cases
Trend continuation and pullback analysis
Volatility-based risk framing
Dynamic support and resistance visualization
Works on any market and timeframe
EMA RANGE is designed to stay clean, responsive, and easy to interpret—making it suitable for both discretionary and systematic traders.
Multi-Contraction VCP DetectorThis indicator highlights low volume and contracted price movement prior to possible breakouts.
Market Internal Overlay - Skew and Put/Call RatioTracks both the CBOE:SKEW and INDEX:CPC and will highlight when certain thresholds are met.
Blue candle = skew is below 125 (low relative levels of hedging occurring)
Gray candle = skew is above 150 (higher relative levels of hedging occurring)
Red candle = 10 DMA of the put/call ratio is above 1.0 (signaling potential overbought territory)
Green candle = 10 DMA of the put/call ratio is below 0.80 (signaling potential oversold territory)
Purple candle = Both signals are occurring (in either direction)
To view the candle overlay, either switch the price data off, or change the colors to be darker and more transparent.
Microstructure Participation & Acceptance Indicator📊 Microstructure Participation & Acceptance Indicator
An advanced participation-based filter combining VWAP distance analysis, volume delta detection, and real-time acceptance/rejection state identification—designed for smaller timeframe trading.
📊 FEATURES
VWAP Distance Normalization
Context-aware fair value measurement:
Automatically resets based on selected anchor (Session/Week/Month)
ATR-normalized distance calculation for universal application
Identifies when price is extended or compressed relative to equilibrium
Configurable extreme distance threshold (default: 1.5 ATR)
Adjustable source input (default: HLC3)
Volume Delta Proxy
Bull vs Bear participation tracking:
Calculates volume imbalance between bullish and bearish candles
EMA smoothing for cleaner signal generation (default: 9 periods)
Delta ratio measurement to identify dominant side
Expansion/compression detection to gauge momentum commitment
Configurable expansion threshold (default: 1.3x)
Acceptance/Rejection State Machine
Real-time market regime identification with six distinct states:
🟢 Accepted Long
Price moving away from VWAP with expanding bullish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real buying pressure—trade WITH the move
🟢 Accepted Short
Price moving away from VWAP with expanding bearish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real selling pressure—trade WITH the move
🟠 Fade Long
Price extended beyond threshold (>1.5 ATR above VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion short setup
🟠 Fade Short
Price extended beyond threshold (>1.5 ATR below VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion long setup
⚪ Chop
Price compressed near VWAP
Bollinger Bands tight (width compressed)
Delta neutral—no clear commitment
NO TRADE ZONE—wait for expansion
⚪ Neutral
Transitional state between regimes
Momentum shifting but not yet confirmed
Monitor for next acceptance signal
Bollinger Bands
Standard volatility measurement with TradingView default styling:
Adjustable period length (default: 20)
Configurable standard deviation multiplier (default: 2.0)
Visual fill between bands for volatility context
Used internally for chop/compression detection
Live Dashboard
Real-time metrics display (top-right corner):
Current market state with color coding
VWAP distance in ATR units
Delta ratio (bull/bear volume balance)
Delta state (Expanding/Compressing)
High-contrast design for instant readability
🎯 HOW TO USE
For Trend Trading:
Accepted Long/Short backgrounds indicate confirmed participation—stay with the trend
Strong moves typically travel 1-1.5 ATR from VWAP with delta support
Use VWAP as dynamic support/resistance
Combine with momentum indicators (MACD, RSI) for confluence
Price above VWAP + Accepted Long state = bullish bias
Price below VWAP + Accepted Short state = bearish bias
For Mean Reversion:
Fade Long/Short states signal overextension without participation
Price beyond 1.5 ATR from VWAP with weak delta = potential reversal
Look for price return to VWAP when extended
Bollinger Band extremes + Fade state = high-probability mean reversion setup
VWAP acts as mean reversion anchor during range-bound sessions
For Risk Management:
Chop state = avoid new entries
Bollinger Band compression + Chop = pre-expansion zone (wait for breakout)
Delta compression after strong move = early exhaustion warning
State transitions (Accepted → Neutral → Fade) = tighten stops
Signal Confirmation:
Strongest setups occur when multiple factors align:
BB breakout + Accepted state + price above/below VWAP
Price rejection at BB bands + Fade state
VWAP support/resistance hold + state transition
Delta expansion + distance increasing + trend direction
⚙️ SETTINGS
All components are fully customizable through organized input groups:
VWAP Distance Group:
VWAP source (default: HLC3)
Anchor period (Session/Week/Month)
ATR length for normalization (default: 14)
Extreme distance threshold in ATR multiples (default: 1.5)
Volume Delta Group:
Delta EMA length (default: 9)
Delta expansion threshold (default: 1.3)
Acceptance Logic Group:
Acceptance lookback period (default: 5)
Chop threshold in VWAP/ATR units (default: 0.3)
Bollinger Bands Group:
BB length (default: 20)
Standard deviation multiplier (default: 2.0)
Display Group:
Toggle state backgrounds
Toggle state change labels
Toggle VWAP line
Toggle Bollinger Bands
💡 EDUCATIONAL VALUE
This indicator teaches important concepts:
How institutional money identifies fair value (VWAP)
The difference between price movement and market acceptance
Why volume participation matters more than price action alone
How to distinguish between noise and committed directional moves
The relationship between volatility compression and expansion cycles
Why distance from equilibrium predicts mean reversion probability
⚠️ IMPORTANT NOTES
This indicator is for educational and informational purposes only
This is a filter, not a standalone trading system
No indicator is perfect—always use proper risk management
Past performance does not guarantee future results
Combine with your own analysis and risk tolerance
Test thoroughly on historical data before live trading
This is not financial advice—use at your own risk
🔧 TECHNICAL DETAILS
Pine Script Version 6
Overlay indicator (displays on price chart)
All calculations use standard, well-documented formulas
No repainting—all signals are confirmed on bar close
Compatible with all timeframes and instruments
Optimized for smaller timeframes (1-5 minute charts)
Minimal computational overhead
📝 CHANGELOG
Version 1.0
Initial release
VWAP distance normalization with ATR scaling
Volume delta proxy system (bull/bear EMA)
6-state acceptance/rejection state machine
Bollinger Bands integration
Real-time dashboard with live metrics
State change labels and background coloring
Full customization options
Developed for traders who need objective participation filters to distinguish high-probability setups from low-quality noise—without cluttering their charts with multiple indicator panels.
Bar CountCount K bars based on sessions
Support at most 3 sessions
Customize the session's timezone and period
Set steps between each number
Use with the built-in Trading Session indicator is a great convenience
PDH/PDL (Personal)This TradingView indicator is a technical analysis tool designed to plot the Previous Day High (PDH) and Previous Day Low (PDL) levels with high accuracy. It is specifically engineered for traders who require market boundaries calculated based on the Indian Standard Time (IST) session, ensuring that day breaks are identified precisely at 12:00 AM IST regardless of the exchange's native timezone.
CRT+ Advance Engulfing | @stefandimovCRT+ Lite implements institutional-style Candle Range Theory logic to identify displacement-driven engulfing structures with precision.
The script focuses on wick-based liquidity grabs, strict body closes, and optional higher-timeframe confirmation to highlight structurally valid bullish and bearish reversals.
Includes a Daily-only multi-market scanner and a compact dashboard for fast top-down analysis.
Designed for traders who prioritize structure, execution precision, and HTF alignment.
Borna's Zones NY Borna's Zones marks two important time-based zones on the chart: the 08:00 zone and the 09:00 zone.
The 14:00 zone identifies initial liquidity. This zone sets the range where early market participants create significant activity.
The 15:00 zone serves as a reference for confirmation. After 15:00, the indicator helps you identify whether the 14:00 zone should be considered cleared.
Both zones are automatically extended until 17:00, providing clear visual references for potential market reactions.
No trading is recommended after 17:00, as the early morning zones lose relevance.
This indicator is useful for traders who focus on pre-market and early session liquidity, helping to visualize key levels where price may react.
NQ bands 50/65.5/100this is a indicator that puts lines 50 points above and below price, 65.5 points above and below price and 100 points above and below price for the Nasdaq Futures.
Advanced Demand ZoneThis indicator automatically identifies strong demand zones based on swing lows followed by significant bullish reactions. It is designed for 4H timeframe and crypto trading (BTC, ETH, altcoins).
Key Features:
Automatically draws clear demand zones for better visual analysis.
Filters out weak impulses to reduce false zones.
Sends alerts when price enters a demand zone.
Transparent zones that do not clutter your chart.
Fully customizable parameters: swing lookback, impulse threshold, and zone transparency.
This tool helps traders quickly spot high-probability buy areas while allowing manual confirmation with price action, making it perfect for swing and intraday trading.
Opposite Candle Zone Identifier (v6) - Extended🔍 Opposite Candle Zone Identifier (Extended)
Opposite Candle Zone Identifier is a price-action based indicator designed to identify potential reversal or absorption zones by detecting candles that move against the surrounding trend.
The indicator highlights a central opposite candle (or group of candles) that is surrounded by candles moving in the opposite direction, both before and after the central candle.
This structure often represents areas where institutional activity, absorption, or supply/demand imbalance may occur.
📌 How the Indicator Works
The indicator analyzes price action using three configurable blocks:
1️⃣ Candles Before (Backward)
A user-defined number of candles before the central candle(s) must follow a consistent trend:
Bullish candles for a bearish zone
Bearish candles for a bullish zone
2️⃣ Central Candle(s)
The core of the pattern:
Default: 1 opposite candle
Can be increased (up to 5) to adapt the indicator to lower timeframes or noisier markets
This central block must move against the previous trend, signaling a potential shift or absorption area.
3️⃣ Candles After (Forward)
A user-defined number of candles after the central candle(s) must resume the original trend, confirming the pattern.
⚠️ The signal is confirmed only after the “after” candles are completed.
This avoids repainting and ensures structural confirmation.
📐 Zone Concept
The highlighted central candle (or candles) can be used to define a price zone:
The high and low of the central candle(s) represent a potential supply or demand zone
These zones can be used for:
Reversal areas
Reaction zones
Entry refinement
Stop placement
⚙️ Inputs & Customization
Number of candles before
Controls how many candles must follow the initial trend.
Number of candles after
Defines how many candles are required for confirmation.
Central candles count
Default is 1, but can be increased (e.g. 2) for:
Lower timeframes
More reliable structure
Reduced noise
ATR-based offset
Labels are positioned using a dynamic ATR offset to improve chart readability across different markets and timeframes.
📈 Bullish & Bearish Zones
🟢 Bullish Zone
Bearish candles before
Bullish central candle(s)
Bearish candles after
Indicates potential demand or accumulation zone
🔴 Bearish Zone
Bullish candles before
Bearish central candle(s)
Bullish candles after
Indicates potential supply or distribution zone
🧠 Best Use Cases
Works best on 15m and higher timeframes
Effective on:
Indices
Forex majors
Liquid cryptocurrencies
Can be combined with:
Trend filters (EMA, VWAP)
Support & resistance
Market structure analysis
⚠️ Notes
This indicator is confirmation-based, not predictive
Signals appear only after pattern completion
It does not repaint
Best used as a confluence tool, not as a standalone trading system
🎯 Summary
Opposite Candle Zone Identifier helps traders:
Detect opposite-direction candles within strong trends
Identify potential supply and demand zones
Adapt the pattern to different timeframes
Improve price-action based decision making
BTC - VDD Multiple (Approx)Overview & Philosophy
⚠️ Note: This indicator is optimized for the Daily (1D) Timeframe. Please switch your chart to 1D for accurate signal reading.
The BTC – VDD Multiple (Approx) is an advanced oscillator designed to identify market overheating and cycle tops by analyzing the velocity of value moving through the market.
In traditional On-Chain Analysis, Value Days Destroyed (VDD) is a premier metric for spotting macro tops. It multiplies the coin age (how long a coin was held) by the price at which it was moved. When old coins (HODLer money) move at high prices, VDD spikes, signaling massive profit-taking.
The Problem: Real "Coin Days Destroyed" (CDD) data is typically locked behind institutional paywalls or unavailable on standard TradingView plans.
The Solution: This script calculates a Deterministic Proxy. By analyzing the relationship between Exchange Volume, Price, and a Dormancy Constant, we can approximate the structure of the VDD Multiple without needing a premium data feed.
Methodology
The VDD Multiple works by comparing short-term market velocity against a long-term baseline.
1. The Proxy Calculation
Since we cannot directly access the age of coins on TradingView, we model the economic weight of the move:
Proxy Value = Exchange Volume * Price * Dormancy Factor
This creates a synthetic representation of "Value Throughput."
2. The Multiple
We compare the immediate heat of the market against the yearly trend:
• Short-Term MA (2 Days): Captures flash spikes and sudden liquidity exit events.
• Long-Term MA (365 Days): Represents the baseline "hum" of network activity.
VDD Multiple = Short Term MA / Long Term MA
How to Read the Chart
The indicator plots the Multiple as a line and uses background highlighting to signal extreme regimes.
🔴 The Red Zone (Overheated > 2.9)
Meaning: Current value transfer is ~3x higher than the yearly average.
Interpretation: Historically, sharp spikes into the Red Zone correlate with Local or Cycle Tops. This indicates that massive volume is changing hands at high prices—typically a sign of "Smart Money" distributing into "Dumb Money" FOMO.
Note: In strong bull runs, price can push higher even after a VDD spike, but the risk/reward ratio is extremely poor here.
🟢 The Green Zone (Undervalued < 0.75)
Meaning: Market activity is quiet and below the yearly baseline.
Interpretation: These are periods of apathy or accumulation. Historically, extended time spent in the Green Zone (the "flatline") has offered the best asymmetric buying opportunities.
🟠 The Orange Line (Neutral)
Meaning: The market is in transition or equilibrium.
Strategy & Context
This indicator is best used as a Macro Cycle Tool, not a day-trading signal.
• Exit Strategy: Look for "Clusters" of Red Spikes. A single spike often marks a local correction, but a cluster of intense spikes while price makes new highs (Divergence) is a strong Cycle Top warning.
• Entry Strategy: Historically the best entries occur when the indicator flattens out in the Green Zone for weeks or months. This suggests sellers are exhausted and the market has reached a floor.
Credits
This script is an approximation of the original VDD Multiple concept. Full credit for the underlying on-chain theory goes to the pioneers of this metric:
• Concept: The original Value Days Destroyed metric was popularized by Hans Hauge and Glassnode.
• The Multiple: The specific application of a Short/Long MA Multiple on VDD is widely attributed to analysts like TXMC and Bitbo.
This script adapts these concepts for the free TradingView environment using exchange volume proxies.
Settings
• Data Source: Defaults to BINANCE:BTCUSDT to capture high-volume liquidity.
• Short MA: Default is 2 Days to capture rapid velocity spikes.
• Long MA: Default is 365 Days to track the annual trend.
Disclaimer
This tool is an approximation based on exchange volume, not raw blockchain data. While exchange volume and on-chain volume are highly correlated during cycle extremes, they are not identical. This script is for educational and research purposes only. Past performance does not guarantee future results.
Tags
bitcoin, btc, onchain, vdd, cdd, valuation, cycle, top, bottom, Rob Maths
GS Volume Truth Serum (With Alerts)this tells you when institutions are behind a move and its not a bull trap






















