Swing Elite - F2CFD forexConvert your futures trade levels to CFD broker prices instantly. Analyze on futures charts with superior liquidity and price discovery, then execute on your CFD platform with accurately converted entry, stop loss, and target levels.
🎯 What It Does
This indicator automatically converts price levels from CME futures contracts to their corresponding CFD equivalents. Simply click your entry and stop loss on the futures chart, and the indicator calculates the exact CFD prices you need for execution.
📊 Supported Instruments
Direct Forex Pairs:
6E → EURUSD
6B → GBPUSD
6A → AUDUSD
6N → NZDUSD
Inverse Forex Pairs:
6S → USDCHF
6J → USDJPY
6C → USDCAD
📋 How To Use
Add indicator to your futures chart (e.g., 6E, 6S)
Click your Entry level
Click your Stop Loss level
The indicator automatically:
Fetches live CFD price
Calculates the basis
Converts all levels to CFD equivalents
Calculates target based on your R:R ratio
Displays visual lines and table
📈 Features
Auto-detection of futures contract type
Auto-fetch of corresponding CFD price
Automatic direction detection (Long/Short)
Direction flip for inverse pairs (Short 6S = Long USDCHF)
Customizable Risk:Reward ratio
Visual entry/stop/target lines with fill zones
Clean data table with all levels
Risk calculation in pips
Adjustable table position and size
⚠️ Important Notes
The basis changes slightly over time due to interest rate differentials and futures expiration
Best accuracy when futures and CFD markets are both open
For inverse pairs, the trade direction flips (Long on futures = Short on CFD)
Remove and re-add indicator to reset for a new trade setup
🔧 Settings
Risk:Reward - Set your desired R:R for automatic target calculation
Table Position - Choose from 9 positions
Table Size - Tiny, Small, Normal, or Large
指標和策略
True ADR% (Range/Close) / ATR / LoD dist. / Market CapHi guys
Couldn't find the script of my dreams and therefore adapted some existing ones I found from the users MikeC (AKA TheScrutiniser) & armerschlucker.
Notes on formulas used in this script:
// ADR% is calculated using the standard definition: 100 * SMA(High - Low, N) / Close
// (average daily range in points over N daily bars, normalized by the current daily close).
// ATR is standard Wilder ATR: ta.atr(N) computed on daily bars.
// LoD dist. is the distance from current close to today’s low, expressed as a % of daily ATR:
// 100 * (Close - Low) / ATR.
// All three metrics are forced to daily bars via request.security(..., "D", ...), so they stay consistent
// regardless of the chart timeframe.
Hope it helps. Please provide feedback in case I made errors.
Institutional Cycle Intelligence SystemInstitutional Cycle Intelligence System: Architecture, Algorithms, and Application:
Abstract
The Institutional Cycle Intelligence System (ICIS) version 2.0 is a sophisticated Pine Script indicator designed to bridge the gap between retail technical analysis and quantitative hedge fund methodologies. Unlike standard oscillators (RSI, MACD) that rely on fixed lookback periods, ICIS utilizes Digital Signal Processing (DSP) and spectral analysis to dynamically identify, extract, and synthesize market cycles. This document details the system’s specialty, the mathematical underpinnings of its seven algorithms, and a strategic guide for its application in trading.
Part 1: The Specialty & Philosophy
1.1 The Problem with Static Indicators
Traditional technical indicators suffer from a fatal flaw: Stationarity Assumption. A 14-period RSI assumes the market’s "rhythm" is consistently relevant to 14 bars. However, financial markets are non-stationary; cycle lengths expand and contract based on volatility, liquidity, and macroeconomic events. A market might be oscillating on a 10-day cycle one month and shift to a 24-day cycle the next. Static indicators fail to adapt to these phase shifts, leading to false signals.
1.2 The ICIS Solution: Adaptive Spectral Analysis
The ICIS allows traders to visualize the market not as a linear trend, but as a composite of waves (frequencies). Its specialty lies in its "Ensemble Approach." Rather than relying on a single mathematical model, ICIS runs seven distinct advanced cycle detection algorithms simultaneously.
1.3 The "Intelligent" Consensus Engine
The core innovation of this script is the Intelligent Mode. It does not simply average the outputs of the seven models. Instead, it employs an adaptive weighting mechanism:
Normalization: It converts the raw output of each model into a standardized Z-score (standard deviation units) to ensure apples-to-apples comparison.
Scoring: It calculates a "Consistency Score" for each model. If a model is producing erratic, noisy signals, its weight is reduced. If a model detects a high-amplitude, clean sine wave, its weight is increased.
Synthesis: It fuses these weighted inputs into a single "Composite Signal" that represents the highest probability cycle currently driving price action.
Part 2: Algorithmic Deep Dive
The ICIS incorporates seven distinct methodologies drawn from physics, engineering, and econometrics. Understanding these algorithms is key to trusting the signals.
2.1 Ehlers Bandpass + Hilbert Transform
Origin: Digital Signal Processing (DSP).
The Logic: This model acts like a radio tuner. It filters out low-frequency trends and high-frequency noise, isolating a specific bandwidth of market data.
The Mechanism:
Bandpass Filter: Allows only frequencies within the user-defined cycle ranges (Short, Medium, Long) to pass through.
Hilbert Transform: A mathematical operation that shifts the signal by 90 degrees to create an analytic signal. This allows for the precise calculation of the instantaneous phase (where we are in the wave) and amplitude (how strong the wave is).
Strength: Excellent for identifying clean, sine-wave-like market behavior in ranging markets.
2.2 MESA Adaptive Cycle (Maximum Entropy Spectral Analysis)
Origin: Geophysical oil exploration.
The Logic: MESA provides high-resolution frequency estimation even when the data sample is short (a common limitation in trading).
The Mechanism: It uses a "Homodyne Discriminator." It measures the phase change of price relative to itself over time. By calculating the rate of phase change, it derives the dominant cycle period.
Strength: Highly responsive to rapid changes in market cycle length. It adapts faster than Fourier-based methods.
2.3 Autocorrelation Periodogram
Origin: Statistical Time Series Analysis.
The Logic: Markets often rhyme. Autocorrelation measures the similarity of the price series to a lagged version of itself.
The Mechanism: The script runs a loop testing lags from 5 to 150 bars. If price today correlates highly with price 20 days ago, it identifies a 20-day cycle.
Strength: The most robust method for confirming that a cycle actually exists physically, rather than being a mathematical artifact.
2.4 Empirical Mode Decomposition (EMD)
Origin: The Hilbert-Huang Transform (NASA).
The Logic: Markets are non-linear and non-stationary. EMD does not force data into sine waves (like Fourier). instead, it treats price like a rope made of different strands.
The Mechanism:
Sifting: It identifies local highs and lows to create upper and lower envelopes.
Mean Extraction: It subtracts the mean of these envelopes from the data to extract an "Intrinsic Mode Function" (IMF).
Residuals: It repeats this process to separate high-frequency noise (Short Cycle) from medium variations and long-term trends.
Strength: The "Holy Grail" of adaptive analysis. It handles trend reversals and sudden volatility spikes better than any linear filter.
2.5 Goertzel Power Spectrum
Origin: Telecommunications (used in decoding touch-tone phone sounds).
The Logic: A highly optimized version of the Discrete Fourier Transform (DFT). It scans specific frequencies to see which one has the most "Power" (Energy).
The Mechanism: The script calculates the Goertzel energy for various periods. The period with the highest energy is deemed the "Dominant Cycle" and is used to drive the oscillator.
Strength: Extremely precise at identifying the exact length of the current cycle (e.g., distinguishing between a 20-day and a 22-day cycle).
2.6 Singular Spectrum Analysis (SSA)
Origin: Meteorology and climatology.
The Logic: SSA decomposes a time series into principal components: Trend, Oscillatory (Cycle), and Noise.
The Mechanism: While a full SSA requires heavy matrix algebra (difficult in Pine Script), this implementation simulates SSA using weighted lag windows to separate eigen-components. It reconstructs the time series using only the oscillatory components.
Strength: Unrivaled noise reduction. It produces the smoothest "zero-lag" oscillators in the system.
2.7 Wavelet Multi-Resolution Analysis
Origin: Quantum Physics and Image Compression.
The Logic: Standard Fourier analysis loses time information (it tells you a frequency exists, but not when). Wavelets analyze both Frequency and Time simultaneously.
The Mechanism: The script passes price through a cascade of high-pass and low-pass filters (Haar-like decomposition).
Detail Coefficients: Capture high-frequency noise and short cycles.
Approximation Coefficients: Capture the underlying trend and long cycles.
Strength: Excellent for identifying "regime changes" where the market shifts from trending to ranging.
Part 3: Using the Code & Interface
3.1 Input Parameters
Model Selection: Defaults to "Intelligent" (recommended). You can switch to individual models (e.g., "EMD") to isolate their specific view.
Cycle Period Ranges:
Short (5-20): Captures swing trading noise and rapid reversals.
Medium (20-50): The primary swing cycle (often aligns with monthly flows).
Long (50-150): The structural trend cycle.
Advanced Settings:
Bandwidth (0.3): Controls how "wide" the filter is. Lower values = cleaner but lagging; Higher values = noisier but faster.
Signal Threshold (0.5): The level the oscillator must breach to be considered a "Strong" signal.
3.2 Visual Components
The Oscillators (Main Chart):
Red Line (Short): The fast heartbeat of the market.
Teal Line (Medium): The tradeable swing.
Blue Line (Long): The tidal direction.
Purple Line (Composite): The weighted average of all cycles. This is your primary trigger.
The Info Table: Displays the current exact period (in bars), phase (in degrees), and trend direction for all three cycle tiers. It also shows the "Confluence Score" (how many cycles agree).
Background Color: Changes dynamically based on cycle alignment.
Green: Bullish Confluence (2 or 3 cycles pointing up).
Red: Bearish Confluence (2 or 3 cycles pointing down).
Part 4: Trading Strategy & Application
The ICIS is designed to identify Turning Points and Trend Continuations.
4.1 The "Phasing" Concept
Understanding Phase is crucial. The script calculates phase in degrees (0° to 360°):
0° - 90° (Accumulation): The cycle has bottomed and is accelerating upward. Best time to enter.
90° - 180° (Markup): The cycle is mature but still rising. Hold positions.
180° - 270° (Distribution): The cycle has topped and is accelerating downward. Best time to short/sell.
270° - 360° (Decline): The cycle is mature in its downtrend. Hold shorts or cash.
4.2 Trade Setups
Setup A: The "Triple Confluence" Entry (Trend Following)
This is the safest signal, indicating all distinct time horizons are aligned.
Condition: The Short, Medium, and Long cycle lines are ALL sloping upwards.
Visual: Background turns bright Green.
Trigger: The Composite (Purple) line crosses above the Signal Threshold (+0.5).
Exit: When the Short Cycle (Red) crosses below the Medium Cycle (Teal).
Setup B: The "Cycle Bottom" (Reversal)
This catches the absolute low of a move.
Condition: The Long Cycle (Blue) is trending UP (Trend support).
Trigger: The Composite line is deeply negative (below -0.8) and crosses back ABOVE zero.
Validation: Wait for the "Cycle Bottom" circle marker to appear on the chart.
Stop Loss: Below the recent swing low.
Setup C: The "Divergence" Play (Advanced)
Condition: Price makes a Lower Low.
Indicator: The Composite Oscillator makes a Higher Low.
Logic: Momentum on the cyclical level is shifting bullish despite price action.
Execution: Enter on the first candle where the Composite line turns green (slopes up).
4.3 Interpreting the Information Table
The table is your dashboard.
Period: If the "Medium Period" is drastically changing (e.g., jumping from 20 to 50), the market is in a chaotic transition. Reduce position size.
Strength: Shows the cycle amplitude. If Strength < 20%, the market is chopping/sideways. Do not trade trend strategies. If Strength > 60%, the cycle is dominant; use aggressive targets.
Part 5: Optimization & Best Practices
5.1 Timeframes
While the math works on any timeframe, ICIS is computationally heavy and optimized for:
4H / 1D: Best for Swing Trading. The cycle periods (20-40 bars) align well with monthly/quarterly flows.
15m / 1H: Good for Intraday, but requires adjusting the "Short Cycle" inputs to be more sensitive (e.g., Min 5, Max 15).
5.2 Handling "Repainting" vs. "Recalculation"
This script uses max_bars_back and causal filters where possible. However, EMD and SSA are inherently adaptive.
Fact: The Phase calculation uses the Hilbert Transform, which requires a few bars of future data to be perfectly precise (theoretical limit).
Mitigation: The script uses a causal approximation of the Hilbert Transform (nz(src ) etc.) to minimize repainting.
Rule: Do not trade on the current forming bar. Wait for the bar to close to confirm the cycle direction.
5.3 Combining with Price Action
ICIS tells you the Time (When to trade), but Price Action tells you the Level (Where to trade).
Use ICIS to time the entry.
Use Support/Resistance or Supply/Demand zones to place the order.
Example: Price hits a Demand Zone + ICIS signals "Cycle Bottom" + Confluence turns Green = High Probability Trade.
Conclusion
The Institutional Cycle Intelligence System version 2.0 represents a paradigm shift from lagging indicators to predictive cycle modeling. By intelligently fusing seven different mathematical models, it cancels out the weaknesses of individual algorithms (like EMD's end-effect issues or Fourier's spectral leakage).
Summary of Workflow:
Check the Table: Is Cycle Strength high? Are cycles aligned?
Check the Background: Is it Green (Bullish) or Red (Bearish)?
Wait for the Composite Trigger: Cross of Zero or Cross of Threshold.
Execute: With defined risk based on market structure.
This tool provides the retail trader with the "X-Ray vision" into market structure typically reserved for quantitative trading desks.
banks: basic plan compatible 🌟 Banking Basket Analysis v5.9 (Vol/RSI Always ON) – Works perfectly on FREE/Basic plan! 🌟
Only 14 security calls – super low, no lag, fully compatible with TradingView basic accounts.
Track strength in US & EU banks instantly:
• Basket MA crossover signals (strong/medium/weak) with labels
• Always-active Volume + RSI confirmation (shows • dot on active stocks)
• Live table: 14 major banks (JPM, BAC, GS, INGA, HSBA etc.) with price, % change & signals
• Main chart MAs, buy/sell arrows, Bollinger Bands, Supply/Demand zones, high-volume alerts, USD trend arrows & index tracker
Perfect for trading bank stocks or indices. Add to any chart – clean, fast, reliable.
Try it now – completely basic-plan friendly!
Add this script to any chart (works best on bank stocks, XLF, EUFN or indices).
Key features you’ll see:
• Top-right table: lists all 14 banks with current price, daily % change, MA signal (S/M/W Buy/Sell) and white • dot when Volume+RSI confirms momentum.
• Chart labels: “Xs USs/EUs” etc. show basket strength + count of stocks with Vol/RSI signal.
• Green/blue lines = EU/US basket MAs.
• Standard MA cross buy/sell arrows, background color, BB, S/D zones, volume alerts & USD trend arrows all active by default.
“Note: white dot ⚪️ rsi in table has to be checked on it’s specific ticker chart for sell or buy rsi.”
This is a completely free invitation script. Everyone out there (probably the few who notice) is invited 🙂. Works with basic plan security call limits.
[The purpose of this scrip is most intended as a basic industry sector screener, it's not a multi layer confluence or price projection aid.
"Buy and Sell labels are only standard moving average theories and should not be taken as prompts alone".
ICT Complete Toolkit v2📌 OVERVIEW
The ICT Complete Toolkit is a comprehensive trading indicator designed for traders who follow Inner Circle Trader (ICT) methodology. It combines multiple ICT concepts into a single, cohesive tool: Market Structure Shift (MSS), Fair Value Gaps (FVG), Liquidity Levels, Killzones, Bias Analysis, and optional Buy/Sell signals.
This indicator is built for intraday traders working on timeframes from 1-minute to 30-minute charts, though many features (like HTF FVG and Bias Dashboard) provide valuable context on any timeframe.
════════════════════════════════════════
⭐ WHAT MAKES THIS INDICATOR UNIQUE
This is NOT just another ICT indicator. Here's what sets it apart from free open-source alternatives:
1. INTEGRATED SIGNAL LOGIC (Not Found in Free Scripts)
Unlike standalone FVG or MSS indicators, this toolkit generates Buy/Sell signals only when multiple conditions align:
• Sweep Mode signals require: Liquidity sweep (PDH/PDL/Session high-low) → MSS confirmation → FVG formation → Active Killzone
• This multi-layer filtering dramatically reduces false signals compared to simple FVG or MSS indicators
2. PROPRIETARY SESSION ATR WITH LIVE RANGE PERCENTAGE
No other public indicator offers this feature. The Session ATR dashboard shows:
• Average True Range calculated per session (Asia, London, NY AM, NY PM) - not a generic daily ATR
• Live Range %: Real-time display of how much of the session's typical range has been used (e.g., "75%" means the session has moved 75% of its average range)
• This helps traders avoid entering exhausted moves and set realistic profit targets
3. CONTEXT-AWARE FVG DISPLAY
Most FVG indicators show ALL Fair Value Gaps. This toolkit only displays FVGs that form after a valid Market Structure Shift, filtering out noise and showing only FVGs with structural context.
4. HTF FVG WITH ADVANCED MITIGATION OPTIONS
The Higher Timeframe FVG feature includes three mitigation detection methods not commonly found together:
• Any touch (including wick)
• Close inside FVG
• Touch CE line (Consequent Encroachment - 50% midpoint)
5. UNIFIED WORKFLOW IN ONE INDICATOR
Instead of managing 5-7 separate indicators (Killzones, FVG, MSS, PDH/PDL, Bias, etc.), everything is integrated with shared logic. Components communicate: signals respect Killzone timing, FVGs respect MSS context, and the Bias Dashboard informs trade direction.
════════════════════════════════════════
💎 WHY THIS INDICATOR IS WORTH PAYING FOR
TIME SAVED:
• No need to configure and align multiple free indicators
• Pre-built workflow means you start trading ICT concepts immediately
• All timeframe conversions, session calculations, and signal logic handled automatically
REDUCED ERRORS:
• Integrated components eliminate conflicting signals from separate indicators
• Built-in filters (Killzone-only signals, MSS-context FVGs) prevent common mistakes
FEATURES NOT AVAILABLE FOR FREE:
• Session-specific ATR with live range % (proprietary calculation)
• Multi-condition signal generation (Sweep mode)
• Unified dark/light theme support for all dashboards
• Multiple groups of PO3 (Power of Three) HTF candles visualization on current chart
ONGOING DEVELOPMENT:
• Active maintenance and feature updates
• Support via website and email
════════════════════════════════════════
🔗 WHY THESE COMPONENTS WORK TOGETHER
This is NOT a random mashup of indicators. Each component serves a specific role in a complete trading workflow, and they are designed to work as an integrated system:
THE CORE LOGIC: Liquidity → Structure → Entry → Timing
1. Liquidity Levels (PDH/PDL/PWH/PWL) → WHERE smart money hunts stops
These levels identify where retail traders place stop losses. Institutional players target these levels to fill large orders. The indicator tracks these levels so you know where potential reversals may occur.
2. Killzones → WHEN institutional players are active
Not all hours are equal. The indicator highlights specific session windows when banks and institutions execute large orders. Trading outside these windows often results in choppy, directionless price action. Killzones tell you when to pay attention.
3. Market Structure Shift (MSS) → CONFIRMATION that direction changed
After liquidity is swept, you need confirmation that the move is reversing. MSS detects when price breaks a swing point in the opposite direction, signaling that the "trap" is complete and a new trend may begin.
4. Fair Value Gaps (FVG) → WHERE to enter
Once structure shifts, FVGs provide precise entry zones. These imbalances act as magnets for price and offer low-risk entry points with clear invalidation levels.
5. HTF FVG → CONTEXT from higher timeframes
Lower timeframe FVGs can be noise. HTF FVGs show you where the bigger players left imbalances, providing confluence when your LTF setup aligns with a higher timeframe zone.
6. Bias Dashboard → DIRECTION filter
Before taking any trade, you need to know the overall trend. The Bias Dashboard uses Supertrend + RSI + Moving Average triple confirmation to show you whether higher timeframes support your trade direction.
7. Session ATR & Range → EXPECTATION management
Knowing how much a session typically moves helps you set realistic targets and avoid entering when the move is already exhausted.
HOW THEY CONNECT:
BIAS (Direction)
↓
KILLZONE (Timing) → Only trade during active sessions
↓
LIQUIDITY SWEEP (Trap) → Wait for PDH/PDL/Session high-low sweep
↓
MSS (Confirmation) → Structure shifts in bias direction
↓
FVG (Entry) → Enter on retracement into the gap
↓
HTF FVG (Confluence) → Extra confidence if aligned with HTF zone
↓
SESSION ATR (Target) → Set targets based on remaining session range
This is the complete ICT intraday workflow in one indicator. Each component answers a specific question, and together they form a systematic approach to identifying high-probability trade setups.
════════════════════════════════════════
🔍 WHAT THIS INDICATOR DOES
1. MARKET STRUCTURE SHIFT (MSS) DETECTION
The indicator identifies changes in market structure by tracking swing highs and swing lows. A Bullish MSS occurs when price breaks above a swing high after forming a higher low. A Bearish MSS occurs when price breaks below a swing low after forming a lower high.
How it works:
• Swing points are identified using a configurable number of consecutive bullish or bearish bars (default: 2)
• When price closes beyond a previous swing point in the opposite direction, an MSS line is drawn
• MSS lines extend to the right until they are broken or a new structure forms
2. FAIR VALUE GAPS (FVG) - CURRENT TIMEFRAME
Fair Value Gaps represent price imbalances where a candle's range doesn't overlap with the candle two bars prior, leaving a "gap" in fair value. These zones often act as magnets for price.
How it works:
• Bullish FVG: The low of bar is higher than the high of bar , creating an upward gap
• Bearish FVG: The high of bar is lower than the low of bar , creating a downward gap
• FVGs are displayed as semi-transparent boxes and remain visible until price returns to fill them
• FVGs are only shown when they occur after a valid MSS, ensuring they appear in the context of a structural shift
3. HIGHER TIMEFRAME (HTF) FVG
See Fair Value Gaps from higher timeframes (15m, 1H, 4H, Daily) directly on your chart. These represent larger imbalances created by institutional order flow.
Configuration options:
• Mode - Until Inversed: FVG remains visible until price closes completely beyond it
• Mode - Until Mitigated: FVG disappears based on your mitigation criteria:
- Any touch: Removed when any part of a candle touches the FVG
- Close inside: Removed only when price closes within the FVG
- Touch CE line: Removed when price touches the 50% midpoint (Consequent Encroachment)
4. LIQUIDITY LEVELS (PDH/PDL/PWH/PWL)
Displays Previous Day High, Previous Day Low, Previous Week High, and Previous Week Low. These levels represent areas where retail stop losses typically cluster, making them targets for liquidity sweeps before reversals.
How it works:
• Levels are calculated at the start of each new day/week using the prior period's actual high and low
• Lines extend across the current period with customizable style (solid, dashed, dotted), width, and color
• Labels clearly identify each level
5. SESSION KILLZONES
Highlights the four major trading sessions when institutional activity is highest:
• Asia Session (default: 20:00-00:00 NY time)
• London Session (default: 02:00-05:00 NY time)
• NY AM Session (default: 09:30-11:00 NY time)
• NY PM Session (default: 13:30-16:00 NY time)
All times are in New York timezone. Each session is displayed as a colored box, and times are fully customizable.
6. SESSION ATR DASHBOARD
A table displaying the Average True Range for each session, calculated from the high-low range of completed sessions over a configurable lookback period (default: 14 days).
Additional feature - KZ Range:
Shows the current session's range as a percentage of its ATR. For example, if NY AM typically moves 40 pips and the current range shows 75%, the session has already used most of its average movement.
7. OPENING RANGE
Displays the high and low of the first candle (5m or 15m) when the NY AM session opens. Price often sweeps above or below this range before reversing—a concept sometimes called the "Judas swing."
The Opening Range box extends for a maximum of 30 minutes or until price closes beyond the range.
8. BIAS DASHBOARD
A multi-timeframe trend analysis table using triple confirmation:
Calculation method:
• Supertrend (ATR Length: 10, Factor: 3.0) - Determines primary trend direction
• RSI (Length: 14) - Confirms momentum (above 50 = bullish, below 50 = bearish)
• Moving Average - EMA 50 for 5m/15m timeframes, EMA 200 for 1H/4H/Daily
Bias levels:
• Strong Bullish: All three indicators aligned bullish
• Bullish: Supertrend + RSI bullish, MA not yet confirming
• Neutral: Supertrend and RSI disagree
• Bearish: Supertrend + RSI bearish, MA not yet confirming
• Strong Bearish: All three indicators aligned bearish
9. BUY/SELL SIGNALS
Optional automated signals based on ICT concepts:
Signal Type - Any/Scalp:
Generates signals whenever an MSS occurs followed by an FVG, without additional filtering. Suitable for scalping strategies.
Signal Type - Sweep:
Higher-probability signals that only trigger when:
• A liquidity sweep occurs (price takes out PDH, PDL, or the previous session's high/low)
• Followed by a Market Structure Shift
• With a Fair Value Gap forming for entry
Signals can be filtered to only appear during active Killzones.
10. REVERSAL CANDLE PATTERNS
Identifies six candlestick reversal patterns, each requiring 3 consecutive bars in the opposite direction within the last 4 bars:
• Engulfing (E): Current candle fully engulfs the previous candle including wicks
• Hammer (H): Lower wick ≥2x body size, appearing after downtrend (bullish)
• Hanging Man (HM): Same structure as hammer but after uptrend (bearish)
• Inverted Hammer (IH): Upper wick ≥2x body size, after downtrend (bullish)
• Shooting Star (SS): Upper wick ≥2x body size, after uptrend (bearish)
• John Wick (JW): 50%+ of candle is wick with ≤15% wick on opposite side
11. BREAKER BLOCKS
When an FVG is "broken" (price closes through it), the zone may act as the opposite—former support becomes resistance and vice versa. Enable Breaker Blocks to track these flipped zones.
12. PO3 (POWER OF THREE) HTF CANDLES
Displays higher timeframe candles (1H, 4H, Daily) directly on your chart to the right of current price. This helps you visualize where current price sits within the larger candle's range without switching timeframes.
Configure up to 3 groups with different timeframes and candle counts.
════════════════════════════════════════
🎯 HOW TO USE THIS INDICATOR
FOR TREND-FOLLOWING ENTRIES:
1. Check the Bias Dashboard for higher timeframe direction
2. Wait for price to enter a Killzone (London or NY sessions recommended)
3. Look for a liquidity sweep of PDH/PDL or session highs/lows
4. Wait for Market Structure Shift in the direction of your bias
5. Enter on the Fair Value Gap retracement
FOR SCALPING:
1. Enable Buy/Sell Signals with "Any/Scalp" mode
2. Focus on active Killzones
3. Use signals as entry triggers, with FVG zones as entry prices
4. Consider reversal candle patterns for additional confirmation
FOR SWING ANALYSIS:
1. Enable HTF FVG (1H, 4H, Daily)
2. Use "Until Mitigated" mode with "Touch CE line" for precise levels
3. Mark weekly levels (PWH/PWL) as major targets
4. Use the PO3 candles to understand higher timeframe structure
════════════════════════════════════════
⚙️ KEY SETTINGS EXPLAINED
• Consecutive Bars for Market Structure - Controls swing point sensitivity (higher = fewer, more significant swings)
• Max MSS Lines - Limits displayed MSS lines for chart clarity
• HTF FVG Mode - Choose between "Until Inversed" or "Until Mitigated"
• HTF Mitigation Type - How strictly FVGs are considered filled
• Show Signals Only in KZ - Filter signals to active sessions only
• Signal Type - "Sweep" for higher quality, "Any/Scalp" for more signals
• Session ATR Days - Lookback period for average session range calculation
• Dark Theme - Toggle for better visibility on dark chart backgrounds
════════════════════════════════════════
📊 BEST PRACTICES
1. Start with defaults - The indicator is pre-configured with sensible settings
2. Less is more - Don't enable every feature at once; focus on what you understand
3. Higher timeframe first - Check Daily/4H bias before taking lower timeframe trades
4. Respect Killzones - The best setups occur during active sessions
5. Wait for confirmation - MSS + FVG together is more reliable than either alone
════════════════════════════════════════
⚠️ IMPORTANT NOTES
• This indicator works best on intraday timeframes (1m to 30m) for Killzones and MSS/FVG
• HTF FVG and Bias Dashboard provide value on any timeframe
• All session times are in New York timezone
• Signals are tools for analysis, not guaranteed trade entries
• Always use proper risk management
════════════════════════════════════════
🔄 UPDATES
This indicator is actively maintained. Feature requests and bug reports are welcome.
Statistical Reversion FrameworkIntroduction and Core Philosophy
The Statistical Reversion Framework constitutes a sophisticated quantitative trading instrument designed to identify high-probability mean reversion opportunities across financial markets. Unlike traditional technical indicators that rely on a single dimension of market data, this framework adopts a multi-faceted approach, synthesizing statistical probability, volume profile analysis, institutional money flow proxies, and standard technical momentum into a singular composite score. The core philosophy driving this script is the concept of confluence through heterogeneity; by combining uncorrelated or loosely correlated market factors—such as price deviation (statistics), participant commitment (volume), and macro sentiment (intermarket data)—the algorithm aims to filter out the noise inherent in standard oscillators and isolate moments where market pricing has deviated unsustainably from its intrinsic equilibrium. This tool is specifically engineered to detect market extremes—tops and bottoms—where the probability of a counter-trend move or a snap-back to the mean is mathematically significant. It operates on the premise that while asset prices can remain irrational in the short term, they are bound by statistical variance and mean-reverting properties over longer horizons, particularly when institutional flows and volume exhaustion patterns align with those statistical extremes.
Methodology: The Composite Scoring Architecture
The underlying methodology of the framework relies on a weighted composite scoring system. Rather than generating binary buy or sell signals based on a threshold crossover, the script calculates a granular score ranging from zero to one hundred for various market dimensions. These dimension-specific scores are then weighted according to user-defined inputs to produce a final "Composite Score." This approach allows for a nuanced assessment of market conditions; a setup might have extreme statistical deviation but lack volume confirmation, resulting in a lower confidence score than a setup where price, volume, and macro factors all align. The algorithm normalizes all input data into a standardized scale, typically converting raw values—such as Z-Scores or volume ratios—into a zero-to-ten ranking before aggregating them. This normalization process is critical because it allows the algorithm to compare apples to oranges mathematically, treating a standard deviation of 3.0 and a Relative Strength Index (RSI) of 20 as compatible inputs within the same equation. By summing these normalized values and applying regime-based confidence adjustments, the framework produces a dynamic signal that adapts to the volatility and trend intensity of the current market environment.
Algorithmic Component I: Statistical Analysis via Multi-Timeframe Z-Scores
The backbone of the framework is the Statistical Component, which utilizes the Z-Score (or Standard Score) to quantify the degree of price deviation. The Z-Score measures how many standard deviations the current price is from its moving average. A crucial aspect of this algorithm is its fractal nature; it does not rely on a single lookback period. Instead, it computes Z-Scores across three distinct timeframes—Daily, Weekly, and Monthly—and within each timeframe, it calculates deviations for short, medium, and long-term periods. For instance, on the daily timeframe, it assesses deviation from 50-day, 200-day, and 500-day means simultaneously. This multi-timeframe approach is designed to filter out ephemeral noise. A price move that appears extreme on a 10-day basis but is normal on a 200-day basis is likely a trend pull-back rather than a reversal. Conversely, when the Z-Scores across daily, weekly, and monthly timeframes all register values beyond significant thresholds (such as 2.0 or 3.0 standard deviations), it indicates a rare fractal alignment where the asset is historically overextended on all relevant scales. The algorithm aggregates these nine distinct Z-Score data points to form the "Statistical Score," heavily rewarding scenarios where multiple timeframes show directional alignment, as these synchronized deviations often precede powerful mean-reversion events.
Algorithmic Component II: Volume Signature and Participation Analysis
While statistical deviation highlights where the price is, the Volume Component analyzes the conviction behind the move to determine if a reversal is imminent. This section of the code employs several sophisticated logic gates to identify specific volume signatures known as Capitulation and Exhaustion. The algorithm compares current volume against a 50-day moving average to generate a volume ratio. It then correlates this ratio with price action. For example, the script identifies "Capitulation" when price collapses significantly (more than 2%) on volume that is at least three times the average. This specific signature—panic selling—often marks the psychological wash-out necessary for a market bottom. Conversely, the script detects "Volume Exhaustion" when prices drift without conviction on extremely low volume, indicating a lack of participant interest in pushing the trend further. Furthermore, the algorithm integrates On-Balance Volume (OBV) analysis, specifically looking for divergences. It detects subtle shifts where the price makes a new low, but the OBV makes a higher low, signaling that smart money is accumulating positions despite the falling price. This divergence logic is automated using pivot-based high/low detection arrays, adding a layer of foreshadowing that price-only indicators often miss.
Algorithmic Component III: Institutional Proxy and Intermarket Correlations
The Institutional Component distinguishes this framework from standard retail indicators by incorporating intermarket data that serves as a proxy for macro sentiment and institutional flow. The script pulls data from extraneous tickers—specifically the VIX (Volatility Index), Government Bond Yields (10-year and 2-year), Copper, Gold, and the Dollar Index (DXY). The logic here is grounded in fundamental market mechanics. For instance, the script analyzes the VIX to gauge market fear; however, it applies a contrarian logic. An extremely high VIX (panic) coincident with a low equity price is scored as a bullish factor, while a complacently low VIX at market highs is viewed as bearish. Similarly, the algorithm analyzes the Yield Curve (the spread between 10-year and 2-year yields). A steepening or flattening curve provides context on economic expectations, influencing the score based on whether the environment is "risk-on" or "risk-off." The Copper/Gold ratio is utilized as a barometer for global economic health; rising copper relative to gold suggests industrial demand and growth, confirming bullish setups, whereas falling copper prices signal contraction. By integrating these non-price variables, the framework ensures that a trade signal is not just technically sound but is also supported by the broader macroeconomic undercurrents that drive institutional capital allocation.
Algorithmic Component IV: Technical Momentum and Structure
The final layer of input comes from standard Technical Analysis, which serves to fine-tune the timing of the entry. This component aggregates readings from the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Bollinger Bands, and Support/Resistance proximity. While Z-Scores measure linear distance from the mean, the RSI and Bollinger Bands measure the velocity and elasticity of that move. The algorithm assigns higher scores when RSI hits extreme levels (below 20 or above 80) and when price action pierces the outer bounds of the Bollinger Bands. Additionally, the MACD is monitored for histogram reversals and signal line crosses that align with the mean reversion bias. A unique feature of this component is the proximity logic, which calculates how close the current price is to a 50-period high or low. If a statistical extreme coincides with a retest of a major structural support level, the technical score is maximized. This ensures that the trader is not catching a falling knife in a void, but rather identifying a reversal at a location where technical structure provides a natural floor or ceiling for price.
Regime Detection and Confidence Adjustment
A critical vulnerability of mean reversion strategies is that they can suffer severe drawdowns during strong, unidirectional trending markets (momentum regimes). To mitigate this, the framework incorporates a Regime Detection module using the Average Directional Index (ADX) and volatility thresholds. The script calculates the ADX to measure trend strength regardless of direction. If the ADX is above a certain threshold (default 25), the market is classified as "Trending." The script then cross-references this with volatility data to classify the environment into regimes such as "Crisis," "Trending," "Range," or "Mean-Revert." This classification is not merely cosmetic; it actively influences the final output through a "Regime Confidence" multiplier. If the system detects a strong trending regime, it dampens the Composite Score, requiring extraordinary evidence from the other components to trigger a signal. Conversely, if the market is detected as "Mean-Revert" or "Low-Vol Range," the confidence multiplier boosts the score, making the system more sensitive to reversion signals. This adaptive logic helps protect the trader from fading strong breakouts while aggressively capitalizing on ranging markets.
Usage Instructions and Dashboard Interpretation
Traders utilizing this framework should primarily interact with the on-screen Dashboard, which provides a real-time summary of all computed metrics. The dashboard is organized hierarchically, with the "Composite Score" and "Signal Status" at the top. A Composite Score above 70 is generally considered actionable, with scores above 85 representing "Exceptional" setups. The Dashboard is color-coded: green hues indicate bullish/oversold conditions suitable for buying, while red hues indicate bearish/overbought conditions suitable for selling or shorting. Traders should look for "Confluence" across the rows. Ideally, a robust signal will show a high Statistical score (indicating price is cheap/expensive), a high Volume score (indicating capitulation or accumulation), and a supportive Institutional score. If the Composite Score is high but the Institutional score is low, the trader should proceed with caution, as the macro environment may not support the trade.
The chart visuals provide immediate entry triggers. "Strong Bottom" (Green Triangle) and "Strong Top" (Red Triangle) shapes appear when the Composite Score breaches the high threshold and Z-Scores are at extremes. These are the primary execution signals. Smaller "Potential" markers indicate developing setups that may require lower timeframe confirmation. Additionally, specific volume icons (Diamonds) will appear to denote Capitulation or Climax events. A trader should ideally wait for the candle to close to confirm these signals. The alerts configured in the script allow the trader to be notified of these events remotely. For risk management, because this is a mean reversion tool, stop-losses should typically be placed below the swing low of the capitulation candle (for longs) or above the swing high of the climax candle (for shorts), anticipating that the statistical extreme marks the distinct turning point. By systematically waiting for the Composite Score to align with the visual signals and verifying the regime context on the dashboard, the trader effectively filters out low-probability trades, engaging only when statistics, volume, and macro-economics align.
VIX Percentile OscillatorWhat is this script?
This is a trading tool that helps you decide when to buy or sell options based on market volatility. Think of it as a "fear meter" for the stock market.
What is VIX?
VIX = Volatility Index (also called the "fear index")
When VIX is HIGH → Market is scared/volatile → Options are EXPENSIVE
When VIX is LOW → Market is calm → Options are CHEAP
What does "Percentile" mean?
Instead of just showing VIX price, this script shows where VIX is compared to history.
Example: If VIX Percentile = 85%
This means VIX is higher than 85% of all past readings
Only 15% of the time was VIX higher than now
Translation: Volatility is unusually HIGH
The 5 Trading Zones
The script divides the market into 5 zones:
🔴 EXTREME SELLING ZONE (90-100%)
VIX is in the top 10% historically
Action: AGGRESSIVELY SELL OPTIONS (collect big premiums)
Market panic = expensive options = profit for sellers
🟠 SELLING ZONE (80-89%)
VIX is elevated but not extreme
Action: SELL OPTIONS (good premiums available)
⚪ NEUTRAL ZONE (20-79%)
VIX is normal
Action: WAIT or use other strategies
🟢 BUYING ZONE (10-19%)
VIX is low
Action: BUY OPTIONS (they're cheap)
🟢 EXTREME BUYING ZONE (0-9%)
VIX is in the bottom 10% historically
Action: AGGRESSIVELY BUY OPTIONS (bargain prices)
Market complacency = cheap options = opportunity
Understanding the Chart
Main Line (Blue/Red/Green):
Shows current VIX percentile
Color changes based on zone
Thick line = easy to see
Histogram (Background bars):
Red bars = above 50% (high volatility)
Green bars = below 50% (low volatility)
Purple Momentum Line:
Shows if VIX is rising or falling
Helps you catch trends early
Background Colors:
Light red/orange = Selling zones
Light green = Buying zones
Triangle Markers:
Appear when entering new zones
"EXTREME" label = strongest signals
The Statistics Table (Top Right)
VIX Price: Current VIX value (e.g., 16.50)
Percentile: Where VIX ranks (0-100%)
Z-Score: Statistical measure
Above +2 or below -2 = extreme
Red text = unusually high/low
Momentum: Rate of change
Red = rising (volatility increasing)
Green = falling (volatility decreasing)
Avg VIX: Average VIX over lookback period
Current Zone: Which zone you're in right now
Bars in Zone: How long you've been in this zone
Simple Trading Rules
FOR OPTION SELLERS (Premium Collectors):
✅ SELL when: Percentile > 80% (especially > 90%)
High premiums available
Examples: Sell covered calls, cash-secured puts, credit spreads
FOR OPTION BUYERS (Hedgers/Speculators):
✅ BUY when: Percentile < 20% (especially < 10%)
Cheap options available
Examples: Buy protective puts, long calls, debit spreads
Key Settings You Can Adjust
Lookback Period (default: 252)
How far back to compare (252 = 1 year of trading days)
Longer = smoother, more stable
Shorter = more sensitive to recent changes
Smoothing Period (default: 3)
Reduces noise/wiggling
Higher = smoother line
Lower = more responsive
Zone Thresholds:
Extreme Sell: 90%
Sell: 80%
Buy: 20%
Extreme Buy: 10%
You can customize these!
Real-World Example
Scenario: VIX Percentile jumps to 92%
What this means:
VIX is higher than 92% of all past readings
Market is in panic mode
Option premiums are INFLATED
Trading Action:
✅ Sell covered calls on stocks you own
✅ Sell cash-secured puts on stocks you want to buy
✅ Sell credit spreads
❌ DON'T buy expensive options right now
Why it works: When fear is extreme, it usually calms down eventually. You profit as premiums deflate.
Important Reminders
⚠️ This is a TIMING tool, not a crystal ball
It tells you WHEN premiums are expensive/cheap
It doesn't tell you WHICH options to trade
You still need proper risk management
⚠️ Works on ALL timeframes
Daily charts = swing trading
Weekly charts = position trading
Intraday charts = day trading volatility
⚠️ Best for:
Option sellers during high VIX (>80%)
Option buyers during low VIX (<20%)
Portfolio hedging decisions
Volatility trading strategies
Bottom Line: This script helps you buy options when they're cheap and sell options when they're expensive. It's like shopping for sales, but for volatility!
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
Volume PressureVolume Pressure
Volume Pressure is a volume-flow based oscillator designed to visualize relative buying and selling pressure using a refined Volume Flow Index (VFI) methodology. The indicator evaluates how volume behaves in relation to price movement and volatility, and presents this information as a smooth flow line with adaptive color intensity for easier interpretation.
What the Indicator Shows
Volatility-filtered volume participation
Directional volume flow derived from price change
A smoothed flow line with dynamic color intensity
A signal line for visual reference
The flow line is layered to enhance visibility, making it easier to read on dark chart backgrounds and smaller panels.
How to Read It
Flow Line: Represents relative volume pressure
Above zero: positive pressure
Below zero: negative pressure
Color Intensity:
Brighter colors indicate stronger relative pressure
Faded colors indicate weaker or neutral pressure
Signal Line: A smoothed reference of flow behavior
Usage Notes
Designed as a visual analysis and confirmation tool
Can be used across intraday and higher timeframes
Best used alongside price action, trend, or structure analysis
Disclaimer
This indicator is for analytical and educational purposes only.
It does not provide buy or sell signals and does not imply future performance.
TZ - India VIX Volatility ZonesTZ – India VIX Volatility Zones is a long-term volatility analysis indicator designed to visually map important India VIX regimes using clearly defined horizontal zones and labels.
The indicator highlights how market volatility cycles between complacency, normal conditions, elevated risk, and panic phases. These zones are based on historical behavior of India VIX and help traders understand when risk is underpriced or overstretched.
This tool is especially useful for:
Index traders
Options sellers and buyers
Risk management and regime filtering
Long-term volatility study
How It Works
The script plots static, historically significant volatility zones on the India VIX chart and visually separates them using shaded bands and labels.
Volatility Zones Explained
1.Extreme Low Volatility (VIX 8–10)
Indicates market complacency and underpriced risk. Often precedes volatility expansion.
2.Low Volatility (VIX 10–13)
Stable market conditions with controlled movement.
3.Normal Volatility (VIX 13–18)
Healthy market behavior and balanced risk.
4.High Volatility (VIX 18–25)
Rising uncertainty and increased intraday swings.
5.Panic Zone (VIX 25–35+)
High fear environment, usually during major events or crises.
How Traders Can Use This Indicator
Identify volatility regimes before choosing option strategies
Avoid aggressive short-volatility trades during extreme zones
Prepare for volatility expansion during low-VIX phases
Use as a market risk context tool alongside price action
This indicator does not provide buy/sell signals. It is designed for contextual analysis and decision support.
Best Usage
Apply on India VIX (NSE:INDIAVIX)
Works best on Weekly and Monthly timeframes
Can be combined with index charts for volatility-based risk assessment
Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice or trade recommendations.
Users should apply proper risk management and confirm signals using additional analysis.
Volume Bars Color by CandleStick Pattern [SnakeTurtle]Choose the Colors and Transparency of Volume Bars and Signals from Indicator Settings for your Better Visibility.
This Indicator ignores the color of the Candle Closed to match color of Volume Bar instead sees the candlestick pattern of the Candle to give Color to Volume Bar.
A Signal that shows Bullish or Bearish Momentum is also added (Change Color & Transparency of Signal from Indicator Settings for Better Visibility)
Comment Below to request new features
🐍🐢
Fractal Swing Levels📊 Fractal Swing Levels — Indicator Description
Fractal Swing Levels is a lightweight, visual indicator that plots historical swing high and swing low reference levels using Williams Fractal logic. The indicator helps traders visually identify areas where price previously formed confirmed pivots. These levels can be used as contextual reference zones when analyzing price structure and market behavior.
🔍 What the Indicator Does
Detects confirmed swing highs and swing lows using a configurable fractal length. Draws horizontal levels at those swing points. Extends the levels to the right for ongoing visual reference. Limits the number of displayed levels to keep the chart clean
🎨 Visual Elements
Red lines represent historical swing high levels
Green lines represent historical swing low levels
These lines are drawn only after fractal confirmation and represent past price structure, not future projections.
⚙️ Settings Explained
Fractal Length : Controls how significant a swing must be to qualify as a level.
Higher values → fewer, more prominent levels
Lower values → more frequent levels
Max Levels Per Side : Limits how many swing high and swing low levels are displayed at one time, helping reduce chart clutter.
📈 How to Use
Use the levels as visual reference points for structure analysis. Combine with trend tools, moving averages, or other technical indicators. Useful across intraday, swing, and positional timeframes. This indicator is best used as a contextual aid, not as a standalone decision tool.
⚠️ Important Notes
This is a visual analysis tool only. It does not generate buy or sell signals. It does not predict future price movement. Levels are based solely on confirmed historical price data
🎯 Summary
Fractal Swing Levels provides a clean and minimal way to visualize historical swing structure on the chart, helping traders better understand where price has previously reacted.
Final : SMC: NIFTY/XAU Reversal + BTC Continuation (Final)Final : SMC: NIFTY/XAU Reversal + BTC Continuation (Final)
HTF Accumulation Distribution Zones (Analysis)📌 Indicator Name
HTF Accumulation–Distribution Zones (Analysis)
This indicator highlights potential accumulation and distribution contexts on the price chart using a combination of volume behavior, volatility (ATR), momentum, and VWAP positioning.The script is designed to help traders understand market participation and positioning, especially on higher intraday and swing timeframes, where institutional activity tends to leave clearer footprints.
🔍 What the indicator shows
ACC (Accumulation) : Marks areas where controlled buying activity may be present, identified through:
Strong candle structure relative to volatility
Healthy or controlled volume participation
Improving momentum within defined ranges
DIST (Distribution) : Marks areas where selling pressure may be emerging, identified through:
Price stretching away from VWAP
Weakening momentum
Strong bearish candle structure
These labels represent contextual zones, not trade signals.
🧠 How to use it
Use ACC and DIST labels as market context, not as direct buy or sell instructions.
Best used as a confirmation layer alongside:
Trend filters (EMA, VWAP, structure)
Support & resistance
Breakout or pullback strategies
Works well on 15-minute, 30-minute, 1-hour, and higher timeframes
Suitable for indices, futures, and liquid stocks
⚠️ Important Notes
This indicator does not generate buy or sell signals. It does not predict future price movement. All outputs are based purely on historical data analysis. Always apply independent confirmation and proper risk management
Anurag Balanced 0DTE Scalper SPY QQQBalanced 0DTE Scalper
1. Purpose: A 0DTE options day trading indicator for SPY/QQQ on 5-minute charts with visual CALL/PUT entry and exit signals.
2. Trend Filter: Uses 15-minute EMA crossover (9/21) + ADX to confirm trend direction before taking trades.
3. Entry Logic: Triggers on pullback to 5m EMA9 with RSI/VWAP/MACD confirmation, bullish or bearish candle required.
4. Exit System: ATR-based trailing stop, dual targets (TP1 partial, TP2 full), time stop, and auto-exit at EOD.
5. Risk Controls: Max trades/day limit, cooldown period after exits, session filter (avoids first 10 min & last 15 min).
6. Visual Feedback: Dynamic stop/target lines, entry/exit labels with P&L, background color for trend bias and cooldown.
7. Dashboard: 16-row panel showing bias, ADX, regime, RSI, VWAP, position, bars held, cooldown status, strike suggestions, and DTE recommendation.
Balanced 0DTE Scalper [Clean]Balanced 0DTE Scalper is a professional-grade execution system designed specifically for the high-velocity world of 0DTE (Zero Days to Expiration) options trading on indices like SPY, QQQ, and IWM.
Unlike standard indicators that repaint or lag, this system uses Non-Repainting Multi-Timeframe Logic to align the institutional trend (15m) with precision entry triggers (5m). It is engineered to solve the two biggest killers of 0DTE traders: Theta Decay (holding too long) and Choppy Markets (trading without trend).
How It Works
1. The "Safety Belt" (15-Minute Trend Filter) Before any trade is taken, the system checks the confirmed 15-minute Trend and ADX (Strength).
No Repainting: It strictly uses the previous closed 15m bar to determine bias. Once a signal prints, it stays printed.
Regime Detection: It automatically blocks trades during low-volume "chop" (Low ADX) to save you from theta burn.
2. Precision Entry Triggers (5-Minute) Once the 15m trend gives the "Green Light," the system hunts for 5m setups using a confluence of:
EMA Crossovers: For immediate momentum.
VWAP Filter: Ensuring you are on the right side of institutional volume.
RSI Check: To avoid buying tops or selling bottoms.
3. Aggressive Risk Management (The "Profit Locker") 0DTE profits can vanish in seconds. This script manages the trade for you visually:
Dynamic Trailing Stop: Trails price based on candle Highs/Lows (not closes), allowing it to lock in profits at the peak of a spike.
Time Stop: If a trade stalls for 60 minutes (12 bars), the system triggers a "Time Exit." In 0DTE, time is money—if it's not working, get out.
Visual Levels: Automatically draws your Stop Loss, Target 1 (Conservative), and Target 2 (Runner) lines on the chart.
Features & Dashboard
Live Dashboard: Monitors Trend Bias, ADX Strength, RSI, and Open PnL in real-time.
On-Chart Tickets: Prints a "CALL OPEN" or "PUT OPEN" label with the exact Entry Price, Stop Loss, and Strike Suggestion.
Session Filters: Automatically avoids the first 10 minutes (Open Volatility) and the last 15 minutes (Close Chaos).
Settings Guide
Risk Mode:
Balanced (Default): The recommended blend of Trend + Momentum.
Conservative: Requires a very strong ADX trend. Fewer trades, higher win rate.
Aggressive: Ignores ADX strength. Good for FOMC/CPI days only.
Strike Suggestion: Automatically calculates the nearest Strike Price (ATM/OTM) for SPY/QQQ based on your settings.
Disclaimer
This tool is for educational purposes only. 0DTE options trading involves extreme risk of capital loss. Past performance (even with non-repainting logic) is not indicative of future results. Always manage your risk.
52-Week Range Dashboardthis shows the diff in % between the 52 week high and low
this is called coiling method, you may observe whenever the diff in % between 52 week high and low price is 30% or below, that's the time the script will show a move.
Thank you
have a great day
Anurag - Balanced 0DTE Scalper QQQ SPYBalanced 0DTE Scalper is a professional-grade execution system designed specifically for the high-velocity world of 0DTE (Zero Days to Expiration) options trading on indices like SPY, QQQ, and IWM.
Unlike standard indicators that repaint or lag, this system uses Non-Repainting Multi-Timeframe Logic to align the institutional trend (15m) with precision entry triggers (5m). It is engineered to solve the two biggest killers of 0DTE traders: Theta Decay (holding too long) and Choppy Markets (trading without trend).
How It Works
1. The "Safety Belt" (15-Minute Trend Filter) Before any trade is taken, the system checks the confirmed 15-minute Trend and ADX (Strength).
No Repainting: It strictly uses the previous closed 15m bar to determine bias. Once a signal prints, it stays printed.
Regime Detection: It automatically blocks trades during low-volume "chop" (Low ADX) to save you from theta burn.
2. Precision Entry Triggers (5-Minute) Once the 15m trend gives the "Green Light," the system hunts for 5m setups using a confluence of:
EMA Crossovers: For immediate momentum.
VWAP Filter: Ensuring you are on the right side of institutional volume.
RSI Check: To avoid buying tops or selling bottoms.
3. Aggressive Risk Management (The "Profit Locker") 0DTE profits can vanish in seconds. This script manages the trade for you visually:
Dynamic Trailing Stop: Trails price based on candle Highs/Lows (not closes), allowing it to lock in profits at the peak of a spike.
Time Stop: If a trade stalls for 60 minutes (12 bars), the system triggers a "Time Exit." In 0DTE, time is money—if it's not working, get out.
Visual Levels: Automatically draws your Stop Loss, Target 1 (Conservative), and Target 2 (Runner) lines on the chart.
Features & Dashboard
Live Dashboard: Monitors Trend Bias, ADX Strength, RSI, and Open PnL in real-time.
On-Chart Tickets: Prints a "CALL OPEN" or "PUT OPEN" label with the exact Entry Price, Stop Loss, and Strike Suggestion.
Session Filters: Automatically avoids the first 10 minutes (Open Volatility) and the last 15 minutes (Close Chaos).
Settings Guide
Risk Mode:
Balanced (Default): The recommended blend of Trend + Momentum.
Conservative: Requires a very strong ADX trend. Fewer trades, higher win rate.
Aggressive: Ignores ADX strength. Good for FOMC/CPI days only.
Strike Suggestion: Automatically calculates the nearest Strike Price (ATM/OTM) for SPY/QQQ based on your settings.
Disclaimer
This tool is for educational purposes only. 0DTE options trading involves extreme risk of capital loss. Past performance (even with non-repainting logic) is not indicative of future results. Always manage your risk.
ICT SMT Divergence (Synced + Alerts)This is a professional-grade tool designed for Inner Circle Trader (ICT) students and price action traders to automatically detect Smart Money Tool (SMT) Divergences.
SMT Divergence is "a crack in the correlation" between correlated assets (e.g., NQ vs. ES, or EURUSD vs. DXY). It reveals the footprint of institutional accumulation or distribution by showing when one asset sweeps liquidity while the other fails to do so.
🚀 Why this indicator is different? (The "Synced" Logic)
Most SMT indicators fail because they rigidly expect both assets to form a High/Low on the exact same candle. However, in live markets, correlated assets often lag or lead each other by a few minutes.
This script solves that problem.
It uses a unique "Driver-Based Synchronization" algorithm:
Main Driver: It monitors your current chart (e.g., NQ) for a confirmed Pivot structure.
Smart Scan: Once a pivot is confirmed, it actively scans the comparison symbol (e.g., ES) within a customizable Time Window (e.g., ±3 bars) to find the true price extreme.
Result: It catches valid SMT Divergences even if the comparison asset peaked 5, 10, or 15 minutes before/after your main chart.
Key Features
✅ Automatic Detection: Identifies both Bullish (Accumulation) and Bearish (Distribution) SMTs.
✅ Correlation Flexibility: Works with positive correlations (NQ vs ES) and negative correlations (EU vs DXY) automatically based on structure logic.
✅ Smart Synchronization: Includes a Time Sync Error setting to tolerate timing differences between assets.
✅ Dual Alert System: Supports both alert() for webhooks and alertcondition() for standard TradingView UI alerts.
✅ Visual Clarity: Draws divergence lines only on valid setups, keeping your chart clean.
How to Use
Apply to Chart: Load the indicator on your preferred timeframe (15m, 1H, and 4H recommended).
Select Comparison Symbol:
If trading Nasdaq (NQ), compare with ES (S&P500) or YM (Dow).
If trading EURUSD, compare with GBPUSD or DXY (Inverse logic applies).
Adjust Sensitivity:
Pivot Lookback: Controls how "sharp" a turn must be to register. (Default: 10).
Time Sync Error: How many bars of tolerance allowed. If assets are volatile and desynchronized, increase this value (Default: 3).
Alerts
Never miss a setup. You can set alerts for:
Bullish SMT: Potential bottoming formations.
Bearish SMT: Potential topping formations.
Any SMT: All divergences.
NY AM Session Range FrameworkThis indicator defines and visualizes a session-based price range around the New York market open and tracks how price interacts with that range during regular trading hours.
The script constructs a user-defined pre-market range using a configurable time window and resets this structure at the start of each trading day. Once the regular session begins, it monitors price interaction with the established range boundaries and marks breakout behavior based on closing price relative to those levels.
Optional visual elements can be enabled to display:
• The pre-market high and low range
• Post-open breakout levels
• Conditional retest or continuation markers
• Point-based reference levels for entries, stops, and targets
• Risk and reward visualization panels
The indicator is rule-based and non-predictive. It does not execute trades, does not repaint historical values, and does not make performance claims. All calculations are derived from current and historical price data only.
Users may adjust session times, range behavior, breakout conditions, and visual components to match their own analytical preferences. This script is intended for chart analysis and visualization purposes.
Trend Regime Bands (EMA 50 / 150 / 200)📘 Trend Regime Bands – EMA 50·150·200
Overview
Trend Regime Bands is a visual trend-context indicator designed to help users quickly understand whether the market is in a bullish or bearish regime. The indicator uses the alignment of EMA 50, EMA 150, and EMA 200 to determine overall trend direction, while additional EMAs are used only to create color-based bands for visual context. No buy or sell signals are generated.
How Trend Direction Is Determined
Trend direction is derived exclusively from the relative positioning of: EMA 50 (short-term trend) , EMA 150 (medium-term trend) , EMA 200 (long-term trend) . Bullish regime: EMA 50 ≥ EMA 150 ≥ EMA 200 . Bearish regime: EMA 50 < EMA 150 < EMA 200. These three EMAs act as the decision framework for the indicator.
What the Color Bands Represent : The indicator displays two visual bands on the chart:
Fast Band (Momentum Context) - Built using faster EMAs, Represents short-term momentum and pullback behavior. Brighter color intensity reflects stronger momentum
Slow Band (Regime Context) - Built using slower EMAs. Represents broader trend structure and regime stability.Deeper color intensity reflects stronger trend alignment
The color of both bands follows the trend direction determined by EMA 50/150/200:
Green shades indicate a bullish regime. Red shades indicate a bearish regime. Color intensity increases or decreases smoothly based on trend strength.
How to Use This Indicator
Use the bands to understand market context, not as entry or exit signals. Strong, bright bands suggest a well-established trend. Lighter bands indicate weaker or transitioning trends. The indicator works across intraday, swing, and higher timeframes. This tool is best used alongside price action, support/resistance, or other confirmation methods.
Important Notes
This indicator does not provide buy or sell signals. It does not predict future price movement. It is intended solely as a visual trend-regime and context tool
Summary
Trend Regime Bands offers a clean, distraction-free way to visualize bullish and bearish market regimes using EMA structure and color intensity, helping traders maintain directional awareness and discipline.
Liquidity Sweep by NKLiquidity Sweep (OC-Based) + Doji Acceptance
🔹 Designed for 4H Crypto Trading
This indicator highlights high-probability liquidity sweep candles using a body-based comparison (Open/Close) rather than traditional high/low sweeps, making it cleaner and more reliable in volatile crypto markets.
It is specifically optimized for the 4-hour timeframe, where each day consists of 6 candles, allowing clear identification of institutional stop-hunts and failed breakouts.
---
🔍 Core Concept
Liquidity is often taken above recent candle bodies (opens & closes) rather than just wicks.
This script detects those events and confirms them using candle structure, wick dominance, and doji behavior.
The indicator marks candles where:
* Liquidity is swept
* Price is rejected
* Directional intent is visible
---
🔴 Bearish Liquidity Sweep (Sell Signal)
A candle is highlighted as bearish when ALL of the following conditions are met:
1️⃣ Liquidity Sweep (Body-Based)
* Current candle HIGH is greater than ALL
* Opens of the last X candles
* Closes of the last X candles
(Wicks of previous candles are ignored to reduce noise)
2️⃣ Wick Dominance
* Upper wick > Lower wick
3️⃣ Rejection Confirmation (ANY ONE)
* Candle closes red, OR
* Candle is a Gravestone-type Doji, defined as:
* Very small candle body
* Strong upper wick
* Body color is irrelevant
---
🟢 Bullish Liquidity Sweep (Buy Signal)
A candle is highlighted as bullish when ALL of the following conditions are met:
1️⃣ Liquidity Sweep (Body-Based)
* Current candle LOW is lower than ALL
* Opens of the last X candles
* Closes of the last X candles
2️⃣ Wick Dominance
* Lower wick > Upper wick
3️⃣ Rejection Confirmation (ANY ONE)
* Candle closes green, OR
* Candle is a Dragonfly-type Doji, defined as:
* Very small candle body
* Strong lower wick
* Body color is irrelevant
---
## ⚙️ Inputs
* Liquidity Lookback (X candles)
Number of previous candles used to define the liquidity range.
* Doji Body % of Candle Range
Controls how small the candle body must be to qualify as a doji.
---
🎨 Visuals
* 🔴 Red candle + down arrow → Bearish liquidity sweep
* 🟢 Green candle + up arrow → Bullish liquidity sweep
* Indicator is plotted directly on price
---
✅ Key Features
* Uses Open & Close levels instead of highs/lows
* Filters weak signals using wick dominance
* Accepts both body-based and doji-based rejections
* No repainting
* Works on all markets, optimized for crypto
* Best used at:
* Range highs & lows
* Previous day high / low
* Consolidation extremes
---
❌ What This Indicator Does NOT Do
* No trend bias
* No RSI / EMA / CPR filters
* No session-based filtering
* No multi-timeframe logic
* No entry/exit automation
Profits + Ichimoku Script is basis Profits calculated using vwap.
when the Profits line becomes white be ready to long and once it crosses the cloud long.
This gives bias and excellent risk to reward.
Trade with responsibility
Momentum Structure Breakout IndexMomentum Structure Breakout Index (MSBI) is a momentum-based reversal indicator designed to help traders identify when a trend is losing strength and a reversal may be approaching.
Instead of using RSI or EMA alone, MSBI combines:
✅RSI momentum
✅EMA trend direction
✅Divergence signals
✅Line intersections
✅By waiting for multiple conditions to align, MSBI reduces false signals and highlights high-probability reversal zones where momentum structure begins to shift.
✅This indicator works on any market and timeframe, making it suitable for scalping, day trading, and swing trading.
✨ Key Features
✅ RSI Divergence Detection
Identifies when price makes a new high/low but RSI fails to follow — a sign of weakening momentum.
✅ EMA Divergence Detection
Highlights loss of trend strength when EMA movement no longer supports price direction.
✅ RSI & EMA Intersection Signals
Intersections act as momentum confirmation points, signaling a potential structure break.
✅ Confluence-Based Signals
Best signals appear when divergence + intersection occur together.
✅ Clean & Visual
Designed for clarity without clutter, easy for beginners to read.
📘 How to Use MSBI (Step-by-Step)
🔄 Bullish Reversal Setup (Buy Example)
🔹Downtrend or Pullback
🔹Price is moving down or making lower lows.
🔹Bullish Divergence Appears
🔹Price makes a lower low
🔹RSI and/or EMA momentum makes a higher low
🔹Intersection Confirmation
🔹RSI momentum line intersects upward with EMA-based momentum line
Entry Idea
Enter long after confirmation
Stop loss below recent swing low
Targets at previous highs or resistance
📈 This setup suggests selling pressure is weakening and buyers may take control.
🔻 Bearish Reversal Setup (Sell Example)
🔹Uptrend or Rally
🔹Price is moving up or making higher highs.
🔹Bearish Divergence Appears
🔹Price makes a higher high
🔹RSI and/or EMA momentum makes a lower high
🔹Intersection Confirmation
🔹RSI momentum line intersects downward with EMA-based momentum line
Entry Idea
Enter short after confirmation
Stop loss above recent swing high
Targets at previous lows or support
📉 This setup signals momentum exhaustion and potential trend reversal.
⚠️ Trading Tips
🔹 Best used with market structure, support & resistance, or higher-timeframe bias
🔹 Avoid trading divergence alone — wait for intersection confirmation
🔹 Works especially well near key levels or range extremes






















