Bänder und Kanäle
Smart Money Signals - Minimal v5 (No VWAP, Manual CMF) - RajeevSmart Money Signals - Minimal v5 (No VWAP, Manual CMF) - Rajeev
VolumeValueArea (Double Ref Back)Description :
Overview This indicator is designed for traders who rely on Auction Market Theory and want to identify the market's true Fair Value with precision. It combines two independent Volume Profile instances into a single tool, allowing you to analyze market structure across multiple timeframes simultaneously (e.g., Daily and 4-Hour).
The unique feature of this script is the "Reference Back" logic. Instead of only seeing the current session's profile, you can project the Value Area (VA) and Point of Control (POC) from n periods ago onto the current session. This allows you to immediately see how price reacts to previous areas of high liquidity.
Key Features
Dual Profile Instances: Run two separate profiles (e.g., Profile 1 on 'Daily' and Profile 2 on '4 Hour') within one indicator to find confluence.
Historical Referencing (Offset): Display the levels of past sessions on the current chart.
Offset 0: Shows the developing levels of the current session.
Offset 1: Projects the finished levels of the previous session onto the current price action.
Active Line Projection: Automatically projects the relevant POC and Value Area lines into the future (infinite extension) for the currently active session, making it easy to spot upcoming support and resistance.
Stateless Session Precision: Uses a robust calculation method to ensure session breaks (like the 4-Hour starts) are mathematically precise, regardless of exchange timestamps.
Full Visual Control: Customize line styles (Solid, Dashed, Dotted), widths, and colors for POC, VAH, and VAL independently.
How to Use: Finding Fair Value Clusters
The primary goal of this script is to visualize where "Fair Value" overlaps across different timeframes. This is often called Clustering.
Setup Confluence: Set Profile 1 to a higher timeframe (e.g., Daily) and Profile 2 to a lower timeframe (e.g., 4 Hour or 1 Hour).
Analyze the Context: Set the Reference Back to 1. This allows you to trade the current session while seeing the key levels established in the previous session.
Identify Clusters: Look for areas where the Daily POC/Value Area aligns closely with the H4 POC/Value Area.
Strong Support/Resistance: When a Daily VAH aligns with a 4H POC, it creates a "Cluster" of interest.
Acceptance vs. Rejection: If price moves away from a cluster and creates a new value area, the market is seeking a new fair value. If it rotates around the cluster, fair value is established.
Settings Guide
Session Type: Choose between Daily, Weekly, Monthly, 4 Hour, 1 Hour, etc.
Reference Back (n Periods): Determines which past session's levels are drawn on the current bars. 0 = Current, 1 = Previous, 2 = The one before that.
Resolution: The granularity of the volume profile (higher = more precise).
Extend Active: If enabled, the lines for the current calculation period will extend infinitely to the right until a new session begins.
Styles: Configure independent line styles to visually distinguish between Profile 1 (e.g., solid lines) and Profile 2 (e.g., dashed lines).
Risk Disclaimer This tool is for chart analysis and educational purposes only. Past volume nodes do not guarantee future price reactions. Always manage your risk responsibly.
Levels(5/15 ORB;Previous day Low/High and Previous week low/highIt marks 5/15 Opening range candles high and low. Also Previous week and previous day. Very helpful to filter out RS/RW stocks and in general to see chop chop range vs clean trend day.
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
📊 Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
🎯 Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
📈 How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
🔧 How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
⚙️ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
📝 Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading
Williams Volatility Channel (Full Range Breakout)Overview
This indicator implements a volatility breakout system inspired by legendary trader Larry Williams. It plots daily breakout levels calculated as the previous day’s close ± the full previous day’s range (high – low). These levels act as extreme volatility expansion thresholds:
- Upper Level: Previous close + previous day’s range
- Lower Level: Previous close – previous day’s range
A price move beyond these levels signals a strong directional breakout driven by expanded volatility — a classic Larry Williams concept for identifying potential trend continuation or acceleration days.
This version uses the full prior range (multiplier = 1.0), making it more aggressive than Williams’ original examples (which often used smaller fractions like 0.25–0.5 × range). It is particularly useful on instruments with clear daily sessions and visible overnight gaps or volatility spikes.
Key Features
Daily breakout levels plotted as horizontal lines that update at the start of each new trading day.
Optional semi-transparent fill between upper and lower levels for better visual channel perception.
Subtle background shading on the first bar of each new day and new week for easier time orientation.
Configurable colors and visibility toggles.
Generic session duration input (informational only) to help estimate candles per day on non-standard markets (e.g., European indices ≈ 8.5h, US stocks ≈ 6.5h, crypto ≈ 24h).
How to Use the Indicator
Breakout Signals
Bullish Breakout: Price closes or sustains above the Upper Level → potential strong upward momentum. Consider long entries or adding to existing longs.
Bearish Breakout: Price closes or sustains below the Lower Level → potential strong downward momentum. Consider short entries or adding to existing shorts.
These breakouts often occur on news events, earnings, or when the market “wakes up” after low-volatility periods.
Trend Confirmation
Use the direction of the breakout to confirm the prevailing trend: In an uptrend, focus primarily on upside breakouts.
In a downtrend, focus primarily on downside breakouts.
Breakouts against the trend can signal potential reversals (use with caution and additional confirmation).
Support & Resistance
Once price has broken a level, that level often flips role: A broken Upper Level can act as support on pullbacks.
A broken Lower Level can act as resistance on bounces.
Risk Management
Place stops beyond the opposite level or use ATR-based stops.
Consider partial profit-taking at 1× or 2× the prior day’s range from entry.
Best Markets & Timeframes
Works well on: Stock indices (DAX, FTSE MIB, CAC, S&P 500 futures, etc.)
Individual stocks
Commodities and futures with defined daily sessions
Cryptocurrencies (adjust session hours to 24 for continuous markets)
Recommended intraday timeframes: 5–60 minutes. On higher timeframes (4H, daily), the levels still appear but are less frequently tested intraday.
Important Notes
This is a trend-following / momentum tool, not a mean-reversion or gap-fading strategy (unlike Larry Williams’ famous “OOPS” pattern).
False breakouts can occur in low-volatility or ranging markets — always use additional confluence (volume, trend filters, higher-timeframe context).
The session duration input is informational and allows definition of how many candles per day should be used in the calculation.
This indicator provides a clean, visually intuitive way to spot high-volatility breakout opportunities based on one of Larry Williams’ timeless volatility concepts. Add it to your charts and combine it with your existing trading system for enhanced entry timing on strong momentum days.
MACD Backtesting IndicatorThis Pine Script v5 indicator replicates TradingView's standard MACD with full backtesting capabilities. Traders can adjust all parameters (12,26,9 defaults) through inputs and see real-time performance metrics in the table. Buy/sell signals appear as labeled arrows, matching classic MACD crossover strategy while providing visual backtest results for strategy evaluation.
Prop ES Bollinger Bands Strat during Single/Dual Trading SessionBollinger Band strategy for ES futures optimized for prop firm rules.
Choose long-only, short-only, or both directions.
Customizable BB length and multiplier.
Enter trades during one or two configurable sessions specified in New York time.
Fixed TP/SL in ticks with forced close by 4:59 PM NY time.
SM Triple Zone: Daily / PM / ORB with AlertsTitle: SM Triple Zone: Daily / PM / ORB with Alerts
Description: This indicator is designed for intraday traders who focus on high-probability session levels. It visualizes three critical zones without cluttering your chart with historical data:
Daily Zone: Highlights the Previous Day High (PDH), Low (PDL), and Midpoint, anchored to the 9:30 AM NY Open.
Pre-Market Zone: Identifies the High and Low of the 04:00–09:30 AM pre-market session.
ORB Zone: Sets a 5-minute Opening Range Breakout zone (customizable) to capture early morning volatility.
Key Features:
Y-Axis Price Labels: All major levels are pinned to the price scale for quick reference.
Fully Customizable: Independent settings for line thickness, style (Solid/Dashed), and colors for every zone.
Master Alerts: Includes "Master Bullish" and "Master Bearish" alerts to notify you of breakouts from any of the three zones with a single alert setup.
Market Acceptance Envelope [Interakktive]The Market Acceptance Envelope (MAE) is a diagnostic tool that shows where price statistically belongs — not where it might go. Unlike traditional bands that expand with volatility, MAE expands with acceptance: regions where price rotates comfortably, efficiency drops, and the market agrees on fair value.
This is the anti-Bollinger thesis: bands should represent where price IS accepted, not where it MIGHT reach based on standard deviation.
█ USAGE
The filled corridor represents the current acceptance zone — where price has demonstrated rotational behavior with low directional efficiency. When price is inside the corridor, it's "home." When outside, it's exploring territory the market hasn't yet accepted.
For discretionary traders, MAE provides instant context: "Is price where it belongs, or is it extended?"
For systematic traders, the exported values (confidence, asymmetry, position) can inform position sizing and filter logic.
█ ACCEPTANCE CENTROID
Unlike traditional bands centered on a moving average, MAE uses an Acceptance Centroid — a time-weighted price level where acceptance behavior concentrates. The centroid is calculated by weighting price by:
• Inverse efficiency (low efficiency = high acceptance)
• Volatility stability (stable vol = higher weight)
• Dwell factor (time spent near level)
This means the centroid drifts toward where price actually rotates, not simply where it averages.
█ ASYMMETRIC BOUNDARIES
MAE calculates upper and lower boundaries independently. Markets rarely treat up and down equally — during uptrends, the upper boundary may be wider (more accepted upside exploration), while the lower boundary stays tight (quick rejection of dips).
This asymmetry is visible on the chart and exported as a metric (-1 to +1).
█ CONFIDENCE-BASED VISIBILITY
The corridor's opacity reflects acceptance confidence:
• High confidence → clearly visible corridor (price is in accepted rotation)
• Low confidence → faded corridor (trending/directional market, acceptance not established)
When the corridor fades, it's telling you: "Acceptance hasn't been earned here yet."
█ WHAT THIS INDICATOR IS
• A diagnostic acceptance envelope showing where price statistically belongs
• Asymmetric by design — upper and lower calculated independently
• Confidence-weighted visibility — fades when acceptance is not earned
• Non-repainting — uses closed-bar data only
█ WHAT THIS INDICATOR IS NOT
• NOT Bollinger Bands (no standard deviation around a mean)
• NOT Keltner Channels (no ATR-scaled envelope)
• NOT a signal generator — no touches = signals philosophy
• NO arrows, NO entries/exits, NO buy/sell recommendations
█ HOW IT WORKS
MAE uses an acceptance-weighted calculation approach:
1. ACCEPTANCE WEIGHT
Each bar receives a weight based on:
• Efficiency: (1 - efficiency) — low efficiency = rotational = high acceptance
• Volatility Stability: stable vol environment = higher weight
• Dwell Factor: price staying near central tendency = higher weight
2. ACCEPTANCE CENTROID
Weighted average of price using acceptance weights:
centroid = Σ(price × weight) / Σ(weight)
Smoothed adaptively — faster during drift, slower when stable.
3. ASYMMETRIC BOUNDARIES
Upper and lower distances calculated separately:
• rngUp = acceptance-weighted average of (price - centroid) when price > centroid
• rngDn = acceptance-weighted average of (centroid - price) when price < centroid
4. CONFIDENCE SCORE
Composite of average acceptance weight, volatility stability, and centroid stability.
Maps to corridor opacity: high confidence = visible, low confidence = faded.
█ SETTINGS
Market Acceptance Envelope — Core
• Acceptance Lookback (20): Bars to evaluate for acceptance conditions. Higher = smoother, slower response.
• Preset (Swing): Scalper = tight/fast, Swing = balanced, Position = wide/stable.
• Envelope Sensitivity (1.0): Width multiplier. Higher = wider corridor.
Market Acceptance Envelope — Visuals
• Show Corridor (true): Display the acceptance corridor.
• Show Centroid (false): Display the acceptance centroid line.
Market Acceptance Envelope — Data Window
• Show Data Window Values (false): Export MAE metrics for external use.
█ EXPORTED VALUES
When Data Window is enabled:
• mae_upper: Upper boundary value
• mae_lower: Lower boundary value
• mae_centroid: Acceptance centroid value
• mae_width: Corridor width (upper - lower)
• mae_asymmetry: Asymmetry ratio (-1 to +1, negative = lower wider)
• mae_confidence: Acceptance confidence (0-100)
• mae_position: Price position (-1 = below, 0 = inside, +1 = above)
█ SUITABLE MARKETS
Works on all markets: Stocks, Futures, Forex, Crypto, Indices.
Works on all timeframes. Higher timeframes show more stable acceptance zones.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management. This is a diagnostic tool — it provides context, not signals.
S/R HTF (D + 4H) | Clusters+Pivots | Stable | Styles+AlertsThis indicator plots higher-timeframe Support/Resistance levels based on the Daily and 4-Hour charts, and keeps them stable (not dependent on how much history is loaded or how you scroll/zoom).
What it does
Daily levels (D) are calculated from the last lenD closed daily candles (default: 120).
4H levels (240) are calculated from the last lenH4 closed 4H candles (default: 300).
Levels come from two sources:
Clusters (value areas): prices where candle closes occur frequently within a narrow range.
The range width is derived from ATR × step multiplier.
Pivots: recent pivot highs and pivot lows (with left/right pivot settings).
The script merges nearby levels (within a tolerance) to avoid duplicates.
Stability / update logic
Levels are computed with request.security() on "D" and "240", so the result is independent of the chart timeframe you’re currently viewing.
Lines are drawn using bar time anchoring and extend mode, so they remain fixed to price and do not “jump” when you zoom or scroll.
Levels are recalculated on a calendar schedule (default: every 2 days, timeframe "2D"). Between recalculations, levels remain unchanged.
Visual customization
From the settings panel you can configure:
Show/hide Daily and/or 4H levels
Show/hide Clusters and/or Pivots
Line width for clusters and pivots
Line style (Solid / Dashed / Dotted) for clusters and pivots
Colors and opacity for Daily and 4H lines
Line extension: Left / Right / Both
Alerts
The indicator can trigger alerts when price:
Touches a level (bar range crosses the level: high >= level and low <= level)
Approaches a level (distance is within a threshold)
Approach threshold can be defined as:
Ticks
ATR multiplier
Percent of price
To use dynamic alert text (level + distance):
Create an alert in TradingView using: “Any alert() function call”.
Notes / limitations
“Last N candles” depends on available symbol history; if the symbol doesn’t have enough Daily/4H history, some levels may be na.
Cluster quality depends on ATR-based bin size; adjusting the step multipliers can improve results per instrument and volatility regime.
ETH Dynamic Risk Strategy# ETH Dynamic Risk Strategy - Publication Description
## Overview
The ETH Dynamic Risk Strategy is a systematic approach to accumulating Ethereum during bear markets and distributing during bull markets. It combines multiple risk indicators into a single composite metric (0-1 scale) that identifies optimal buying and selling zones based on market conditions.
## Key Features
• **Multi-Component Risk Metric**: Combines 4 weighted indicators to assess market conditions
• **Tiered Buy/Sell System**: 3 levels of buy signals (L1, L2, L3) and 3 levels of sell signals based on risk thresholds
• **Configurable Filters**: Optional buy filters to reduce signal frequency by 30-50%
• **Visual Risk Zones**: Color-coded risk metric plot with clear threshold lines
• **Comprehensive Dashboard**: Real-time statistics including position size, P/L, and component scores
## How It Works
### Risk Components (Configurable Weights)
1. **Log Return from ATH** (Default: 35%)
- Tracks drawdown from all-time high over lookback period
- Deep drawdowns (-70% to -90%) = low risk / buying opportunity
- Near ATH (0% to -20%) = high risk / selling opportunity
2. **ETH/BTC Ratio** (Default: 25%)
- Measures ETH strength relative to Bitcoin
- Below historical average = ETH undervalued = low risk
- Above historical average = ETH overvalued = high risk
3. **Volatility Regime** (Default: 20%)
- Compares current volatility to long-term average
- Compressed volatility at lows = opportunity
- Expanded volatility at highs = danger
4. **Trend Strength** (Default: 20%)
- Uses multiple EMA alignment and slope analysis
- Strong downtrends = low risk scores
- Strong uptrends = high risk scores
### Trading Logic
**Buy Signals:**
- L1: Risk ≤ 0.30 → Buy $100 (default)
- L2: Risk ≤ 0.20 → Buy $250 total
- L3: Risk ≤ 0.10 → Buy $450 total
**Sell Signals (Sequential):**
- L1: Risk ≥ 0.75 → Sell 25% of position
- L2: Risk ≥ 0.85 → Sell 35% of remaining
- L3: Risk ≥ 0.95 → Sell 40% of remaining
**Buy Filters (Optional):**
- Minimum days between buys (prevents clustering)
- Minimum risk drop required (ensures falling risk)
- Toggle on/off to compare performance
## Settings Guide
### Risk Components
Toggle individual components on/off and adjust their weights. Total weight is automatically normalized. Experiment with different combinations to match your market view.
### Advanced Settings
- ATH Lookback: How far back to look for all-time highs (500-2000 recommended)
- Volatility Period: Window for volatility calculations (40-100 recommended)
- ETH/BTC MA Period: Moving average for ratio comparison (100-300 recommended)
- Trend Period: Base period for trend calculations (50-150 recommended)
### Trading Thresholds
Customize buy/sell trigger points and position sizes. Lower buy thresholds = more aggressive accumulation. Higher sell thresholds = holding longer into bull markets.
### Buy Filters
- Enable/disable filtering system
- Min Days Between Buys: Spacing between purchases (1-3 recommended)
- Min Risk Drop: How much risk must fall (-0.001 to -0.01 range)
## Best Practices
• **Timeframe**: Works best on daily (1D) and 3-day (3D) charts
• **Initial Capital**: Set based on your DCA budget (default $10,000)
• **Backtest First**: Test different parameter combinations on historical data
• **Position Sizing**: Adjust buy amounts to match your risk tolerance
• **Monitor Filters**: Check "Filtered Buys" stat to ensure filter isn't too strict
## Use Cases
- Long-term ETH accumulation strategy
- Systematic DCA with market-adaptive buying
- Risk-based portfolio rebalancing
- Educational tool for understanding crypto market cycles
## Disclaimer
This strategy is for educational purposes only. Past performance does not guarantee future results. Cryptocurrency trading involves substantial risk. The strategy uses historical price action and technical indicators which may not predict future movements. Always do your own research and never invest more than you can afford to lose.
## Credits
Strategy concept and development by nakphanan with assistance from Claude AI (Anthropic). Built using Pine Script v5....Mostly from Claude AI!!!
## Version History
v7.0 - Initial release with 4-component risk metric, tiered trading system, and optional buy filters
Round Level Pro Stats
Here is a professional English description of your indicator, which you can use for your own records or if you ever want to share it on the TradingView Community Scripts:
Indicator Name: Dynamic Round Levels & Historical Strength Grid
Overview
This indicator is a sophisticated technical analysis tool designed to identify and evaluate "Round Number" psychological levels (e.g., 1.17100, 1.17200, 1.17300). Unlike a static grid, this tool actively scans historical data to provide a "Strength Score" for each level, helping traders distinguish between minor price points and significant historical reaction zones.
Key Features
Automated Price Grid: Generates a clean, horizontal grid based on user-defined price intervals (Steps). Perfect for Forex (0.001 pips), Stocks, or Crypto.
Historical Strength Engine: Analyzes up to 5,000 historical bars to calculate how "respected" a price level is.
The "3-Candle Confirmation" Logic: A level's strength is only increased if the price touches the line and successfully reverses/bounces, staying on the same side for at least 3 subsequent candles.
Smart Visual Coding:
Green (High Strength): Levels with >60% historical reversal success.
Orange (Medium Strength): Levels with 35%–60% success.
Red (Low Strength): Levels frequently breached without reaction.
Pro HUD Display: Bold percentage labels are positioned at the far right of the chart (near the price scale) to keep the main trading area clutter-free.
How to Use
Set your Step: For Forex, use 0.001 to see 10-pip increments. For Bitcoin or Gold, use 10 or 100.
Lookback Period: Adjust the history scan (up to 5,000 bars) to match your trading timeframe.
Identify Support/Resistance: Look for Green % STR labels. These represent "Round Numbers" that have acted as strong barriers in the past, offering higher-probability entry or exit points.
Technical Summary for Pine Script
Language: Pine Script v5
Max Lines/Labels: 500 (Optimized for performance)
Placement: Far-right margin alignment using bar_index offsets.
PDH/PDL Breakout Pip MeasurerThe indicator tracks and measures daily breakout performance when price breaks the Previous Day's High (PDH) or Previous Day's Low (PDL). This indicator provides exact pip/point measurements of how far breakouts travel before hitting your stop-loss, with comprehensive statistics for strategy optimization.
Function
Tracks breakouts above PDH (Previous Day's High) and below PDL (Previous Day's Low)
Measures maximum distance price travels after breakout before stop-loss hit
Calculates exact pip/point gains for every breakout move
Provides statistical analysis of breakout performance over time
Identifies only first breakout of each day for clean signals
Performance Metrics
Exact pip measurement for every breakout move
Statistics table with Count, Average, Min, Max pips
Separate tracking for bullish and bearish breakouts
Historical performance accumulation over time
Active breakout monitoring in real-time
Settings
Adjustable pip multiplier - works with any instrument (Forex, indices, crypto)
Separate stop-loss settings for bull/bear breakouts
Visual control - show/hide levels, labels, table
Built-in alerts for breakout notifications
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.
Advanced Multi-Level S/R ZonesAdvanced Multi-Level S/R Zones: The Comprehensive Guide
1. Introduction: The Evolution of Support & Resistance:
Support and Resistance (S/R) is the backbone of technical analysis. However, traditional methods of drawing these levels are often plagued by subjectivity. Two traders looking at the same chart will often draw two different lines. Furthermore, standard indicators often treat every price point equally, ignoring the critical context of Volume and Time.
The Advanced Multi-Level S/R Zones script represents a paradigm shift. It moves away from subjective line drawing and toward Quantitative Zoning. By utilizing statistical measures of variability (Standard Deviation, MAD, IQR) combined with Volume-Weighting and Time-Decay algorithms, this tool identifies where price is mathematically most likely to react. It treats S/R not as thin lines, but as dynamic zones of probability.
2. Core Logic and Mathematical Foundation:
To understand how to use this tool optimally, one must understand the "engine" under the hood. The script operates on four distinct pillars of logic:
A. Session-Based Data Collection:
The script does not look at every single tick. Instead, it aggregates data into "Sessions" (daily bars by default logic). It extracts the High, Low, and Total Volume for every session within the user-defined lookback period. This filters out intraday noise and focuses on the macro structure of the market.
B. Adaptive Statistical Variability:
Most Bollinger Band-style indicators use Standard Deviation (StdDev) to measure width. However, StdDev is heavily influenced by outliers (extreme wicks). This script offers a sophisticated Adaptive Method-Skewness Detection: The script calculates the skewness of the price distribution. Adaptive Selection: If the data is highly skewed (lots of outliers, typical in Crypto), it switches to MAD (Median Absolute Deviation). MAD is robust and ignores outliers. If the data is moderately skewed, it uses IQR (Interquartile Range). If the data is normal (Gaussian), it uses StdDev.
Benefit: This ensures the zone widths are accurate regardless of whether you are trading a stable Forex pair or a volatile Altcoin.
C. The Weighting Engine (Volume + Time)
Not all price history is equal. This script assigns a "Weight Score" to every session based on two factors:
Volume Weighting: Sessions with massive volume (institutional activity) are given higher importance. A high formed on low volume is less significant than a high formed on peak volume.
Time Decay: Recent price action is more relevant than price action from 50 bars ago. The script applies a decay factor (default 0.85). This means a session from yesterday has 100% impact, while a session from 10 days ago has significantly less influence on the zone calculation.
D. Clustering Algorithm
Once the data is weighted, the script runs a clustering algorithm. It looks for price levels where multiple session Highs (for Resistance) or Lows (for Support) congregate.
It requires a minimum number of points to form a zone (User Input: minPoints).
It merges nearby levels based on the Cluster Separation Factor.
This results in "Primary," "Secondary," and "Tertiary" zones based on the strength and quantity of data points in that cluster.
3. Detailed Features and Inputs Breakdown:
Group 1: Main Settings
Lookback Sessions (Default: 10): Defines how far back the script looks for pivots. A higher number (e.g., 50) creates long-term structural zones. A lower number (e.g., 5) creates short-term scalping zones.
Variability Method (Adaptive): As described above, leave this on "Adaptive" for the best results across different assets.
Zone Width Multiplier (Default: 0.75): Controls the vertical thickness of the zones. Increase this to 1.0 or 1.5 for highly volatile assets to ensure you catch the wicks.
Minimum Points per Zone: The strictness filter. If set to 3, a price level must be hit 3 times within the lookback to generate a zone. Higher numbers = fewer, but stronger zones.
Group 2: Weighting
Volume-Weighted Zones: Crucial for identifying "Smart Money" levels. Keep this TRUE.
Time Decay: Ensures the zones update dynamically. If price moves away from a level for a long time, the zone will fade in significance.
ATR-Normalized Zone Width: This is a dynamic volatility filter. If TRUE, the zone width expands and contracts based on the Average True Range. This is vital for maintaining accuracy during market breakouts or crashes.
Group 3: Zone Strength & Scoring
The script calculates a "Score" (0-100%) for every zone based on:
-Point Count: More hits = higher score.
-Touches: How many times price wicked into the zone recently.
-Intact Status: Has the zone been broken?
-Weight: Volume/Time weight of the constituent points.
-Track Zone Touches: Looks back n bars to see how often price respected this level.
-Touch Threshold: The sensitivity for counting a "touch."
Group 4: Visuals & Display
Extend Bars: How far to the right the boxes are drawn.
Show Labels: Displays the Score, Tier (Primary/Secondary), and Status (Retesting).
Detect Pivot Zones (Overlap): This is a killer feature. It detects where a Support Zone overlaps with a Resistance Zone.
Significance: These are "Flip Zones" (Old Resistance becomes New Support). They are colored differently (Orange by default) and represent high-probability entry areas.
Group 5: Signals & Alerts
Entry Signals: Plots Buy/Sell labels when price rejects a zone.
Detect Break & Retest: specifically looks for the "Break -> Pullback -> Bounce" pattern, labeled as "RETEST BUY/SELL".
Proximity Alert: Triggers when price gets within x% of a zone.
4. Understanding the Visuals (Interpreting the Chart)
When you load the script, you will see several visual elements. Here is how to read them:
The Boxes (Zones)
Red Shades: Resistance Zones.
Dark Red (Solid Border): Primary Resistance. The strongest wall.
Lighter Red (Dashed Border): Secondary/Tertiary. Weaker, but still relevant.
Green Shades: Support Zones.
Dark Green (Solid Border): Primary Support. The strongest floor.
Orange Boxes: Pivot Zones. These are areas where price has historically reacted as both support and resistance. These are the "Line in the Sand" for trend direction.
The Labels & Emojis
The script assigns emojis to zone strength:
🔥 (Fire): Score > 80%. A massive level. Expect a strong reaction.
⭐ (Star): Score > 60%. A solid structural level.
✓ (Check): Score > 40%. A standard level.
"⟳ RETESTING": Appears when a zone was broken, and price is currently pulling back to test it from the other side.
The Dashboard (Top Right)
A statistics table provides a "Head-Up Display" for the asset:
High/Low σ (Sigma): The variability of the highs and lows. If High σ is much larger than Low σ, it implies the tops are erratic (wicks) while bottoms are clean (flat).
Method: Shows which statistical method the Adaptive engine selected (e.g., "MAD (auto)").
ATR: Current volatility value used for normalization.
5. Strategies for Optimum Output
To get the most out of this script, you should not just blindly follow the lines. Use these specific strategies:
Strategy A: The "Zone Fade" (Range Trading)
This works best in sideways markets.
Identify a Primary Support (Green) and Primary Resistance (Red).
Wait for price to enter the zone.
Look for the "SUPPORT BOUNCE" or "RESISTANCE REJECTION" signal label.
Entry: Enter against the zone (Buy at support, Sell at resistance).
Stop Loss: Place just outside the zone width. Because the zones are calculated using volatility stats, a break of the zone usually means the trade is invalid.
Strategy B: The "Pivot Flip" (Trend Following)
This is the highest probability setup in trending markets.
Look for an Orange Pivot Zone.
Wait for price to break through a Resistance Zone cleanly.
Wait for the price to return to that zone (which may now turn Orange or act as Support).
Look for the "RETEST BUY" label.
Logic: Old resistance becoming new support is a classic sign of trend continuation. The script automates the detection of this exact geometric phenomenon.
Strategy C: The Volatility Squeeze
Look at the Dashboard. Compare High σ and Low σ.
If the values are dropping rapidly or becoming very small, the zones will contract (become narrow).
Narrow zones indicate a "Squeeze" or compression in price.
Prepare for a violent breakout. Do not fade (trade against) narrow zones; look to trade the breakout.
6. Optimization & Customization Guide
Different markets require different settings. Here is how to tune the script:
For Crypto & Volatile Stocks (Tesla, Nvidia)
Method: Set to Adaptive (Mandatory, as these assets have "Fat Tails").
Multiplier: Increase to 1.0 - 1.25. Crypto wicks are deep; you need wider zones to avoid getting stopped out prematurely.
Lookback: 20-30 sessions. Crypto has a long memory; short lookbacks generate too much noise.
For Forex (EURUSD, GBPJPY)
Method: You can force StdDev or IQR. Forex is more mean-reverting and Gaussian.
Multiplier: Decrease to 0.5 - 0.75. Forex levels are often very precise to the pip.
Volume Weighting: You may turn this OFF for Forex if your broker's volume data is unreliable (since Forex has no centralized volume), though tick volume often works fine.
For Scalping (1m - 15m Timeframes)
Lookback: Decrease to 5-10. You only care about the immediate session history.
Decay Factor: Decrease to 0.5. You want the script to forget about yesterday's price action very quickly.
Touch Lookback: Decrease to 20 bars.
For Swing Trading (4H - Daily Timeframes)
Lookback: Increase to 50.
Decay Factor: Increase to 0.95. Structural levels from weeks ago are still highly relevant.
Min Points: Increase to 3 or 4. Only show levels that have been tested multiple times.
7. Advantages Over Standard Tools:
Feature Standard S/R Indicator, Advanced Multi-Level S/R Calculation, Uses simple Pivots or Fractals, Uses Statistical Distributions (MAD/IQR). Zone Width Arbitrary or Fixed Adaptive based on Volatility & ATR.
Context Ignores Volume Volume Weighted (Smart Money tracking).
Time Relevance Old levels = New levels Time Decay (Recency bias applied).
Overlaps Usually ignores overlaps Detects Pivot Zones (Res/Sup Flip).
Scoring None 0-100% Strength Score per zone.
8. Conclusion:
The Advanced Multi-Level S/R Zones script is not just a drawing tool; it is a statistical analysis engine. By accounting for the skewness of data, the volume behind the moves, and the decay of time, it provides a strictly objective roadmap of the market structure.
For the optimum output, combine the Pivot Zone identification with the Retest Signals. This aligns you with the underlying flow of order blocks and prevents trading against the statistical probabilities of the market.
4MA / 4MA[1] Forward Projection with 4 SD Forecast Bands4MA / 4MA Projection + 4 SD Bands + Cross Table is a forward-projection tool built around a simple moving average pair: the 4-period SMA (MA4) and its 1-bar lagged value (MA4 ). It takes a prior MA behavior pattern, projects that structure forward, and wraps the projected mean path with four Standard Deviation (SD) bands to visualize probable future price ranges.
This indicator is designed to help you anticipate:
Where the MA structure is likely to travel next
How wide the “expected” future price corridor may be
Where a future MA4 vs MA4 crossover is most likely to occur
When the real (live) crossover actually prints on the chart
What you see on the chart
1) Live moving averages (current market)
MA4 tracks the short-term mean of price.
MA4 is simply the previous bar’s MA4 value (a 1-bar lag).
Their relationship (MA4 above/below MA4 ) gives a clean, minimal read on trend alignment and directional bias.
2) Projected MA path (forward curve)
A forward “ghost” of the MA structure is drawn ahead of price. This projected curve represents the indicator’s best estimate of how the moving average structure may evolve if the market continues to rhyme with the selected historical behavior window.
3) 4 Standard Deviation bands (predictive future price ranges)
Surrounding the projected mean path are four SD envelopes. Think of these as forecast corridors:
Inner bands = tighter “expected” range
Outer bands = wider “stress / extreme” range
These bands are not a guarantee—rather, they’re a structured way to visualize “how far price can reasonably swing” around the projected mean based on observed volatility.
4) Vertical projection lines (most probable cross zone)
Within the projected region you’ll see vertical lines running through the bands. These lines mark the most probable zone where MA4 and MA4 are expected to cross in the projection.
In plain terms:
The projected MAs are two curves.
When those curves are forecasted to intersect, the script marks the intersection region with a vertical line.
This gives you a forward “timing window” for a potential MA shift.
5) Cross Table (top-right)
The table is your confirmation layer. It reports:
Current MA4 value
Current MA4 value
Whether MA4 is above or below MA4
The most recent BUY / SELL cross event
When a real, live crossover happens on the actual chart:
It registers as BUY (MA4 crosses above MA4 )
Or SELL (MA4 crosses below MA4 )
…and the table updates immediately so you can confirm the event without guessing.
How to use it
Practical workflow
Use the projected SD bands as future range context
If price is projected to sit comfortably inside inner bands, the market is behaving “normally.”
If price reaches outer bands, you’re in a higher-volatility / stretched scenario.
Use vertical lines as a “watch zone”
Vertical lines do not force a trade.
They act like a forward “heads-up”: this is the most likely window for an MA crossover to occur if the projection holds.
Use the table for confirmation
When the crossover happens for real, the table is your confirmation signal.
Combine it with structure (support/resistance, trendlines, market context) rather than trading it in isolation.
Notes and best practices
This is a projection tool: it helps visualize a structured forward hypothesis, not a certainty.
SD bands are best used as forecast corridors (risk framing, range planning, and expectation management).
The table is the execution/confirmation layer: it tells you what the MAs are doing now.
Relative Strength vs S&P 500 (SPX/ES) Relative Strength vs S&P 500
This indicator measures the relative performance of an asset compared to the S&P 500, helping traders and investors identify whether an asset is outperforming or underperforming the broader market.
The calculation is based on a price ratio between the selected asset and the S&P 500, optionally normalized to a base value (100) for easier interpretation.
How to read it:
Above the baseline (100) → the asset is outperforming the S&P 500
Below the baseline (100) → the asset is underperforming the S&P 500
Rising line → strengthening relative performance
Falling line → weakening relative performance
Why it’s useful:
Helps focus on market leaders, not just assets that “look cheap”
Filters trades and investments in the direction of relative strength
Useful for swing trading, long-term investing, and portfolio allocation
Widely used in institutional and professional asset management
This indicator is best used as a trend and selection filter, in combination with technical setups (support/resistance, VWAP, structure).
Price Prediction Forecast ModelPrice Prediction Forecast Model
This indicator projects future price ranges based on recent market volatility.
It does not predict exact prices — instead, it shows where price is statistically likely to move over the next X bars.
How It Works
Price moves up and down by different amounts each bar. This indicator measures how large those moves have been recently (volatility) using the standard deviation of log returns.
That volatility is then:
Projected forward in time
Scaled as time increases (uncertainty grows)
Converted into future price ranges
The further into the future you project, the wider the expected range becomes.
Volatility Bands (Standard Deviation–Based)
The indicator plots up to three projected volatility bands using standard deviation multipliers:
SD1 (1.0×) → Typical expected price movement
SD2 (1.25×) → Elevated volatility range
SD3 (1.5×) → High-volatility / stress range
These bands are based on standard deviation of volatility, not fixed probability guarantees.
Optional Drift
An optional drift term can be enabled to introduce a long-term directional bias (up or down).
This is useful for markets with persistent trends.






















