The Perfect MA: 50 & 200 Daily MAThe Perfect MA: 50 & 200 Daily MA
A simple, trend-focused moving average overlay that always plots the daily 50 and daily 200 moving averages—no matter what timeframe your chart is on. This lets you keep the two most common long-term trend references visible even when trading intraday.
Designed to be clean, to focus on the two MAs most traders track, without unnecessary options.
You can set alerts, not to miss any golden crosses or death crosses, or when price crosses any of the MAs.
What it plots
50-day MA (toggle on/off)
200-day MA (toggle on/off)
Both are calculated on the Daily (“D”) timeframe and then displayed on your chart, always using daily, irrespective of timeframe on your chart.
MA calculation
Choose SMA (classic, equal weighting) or EMA (reacts faster to give more weight on recent price). The selected type applies to both the 50 and 200.
Visual options
Distance table (optional) : Shows the % distance of current price vs. the 50D and 200D MA. Useful to spot when price is stretched far above/below long-term averages (mean reversion context)
Golden Cross / Death Cross markers (optional)
- Golden Cross: 50D crosses above 200D (often treated as bullish regime shift)
-Death Cross: 50D crosses below 200D (often treated as bearish regime shift)
Fill between the MAs (optional) : Green shading when 50D > 200D and red shading when 50D < 200D
Alerts included
Golden Cross
Death Cross
Price crossing the 50D MA
Price crossing the 200D MA
Indicators and strategies
MA Band Area (Objective Zone)This indicator can be useful for you to create areas of dynamic purchase, you just need to contextualise when to stop in range, on smaller time frames it is very powerful but also for long term with stock it is very precise
Structura Flows v9.2Structura Flows is a quantitative market profiling engine designed to align trade execution with institutional hedging cycles.
Unlike standard technical indicators that lag price, this engine models the Second-Order Greeks (Vanna and Charm) —the invisible forces that compel options dealers to adjust their hedges as time passes and volatility shifts.
🎨 The Painting Policy (Strict Non-Repainting) This script is engineered with Zero-Repainting protocols for professional reliability. This is the most frequently asked question, so here is the technical breakdown: Confirmed Signals Only: All signals (L1, L2, S1, S2) are generated using barstate.isconfirmed . A signal will never appear, disappear, and reappear during a live candle. It only paints once the Daily Close is finalized. Hard-Coded Daily Lock: The internal logic locks to the Daily (D) timeframe to capture institutional closing data. Even if you use this on a 1H chart to time entries, the underlying signal remains stable and based on the daily trend. Lookahead Safety: The script specifically references closed data indices ( ) to ensure historical backtests match exactly what would have happened in live trading.
🏛 The Core Thesis Market structure is driven by liquidity providers hedging their books. We identify dates where Dealer Flows provide a "Tailwind" (support) or "Headwind" (resistance): 🟢 Green Window (Charm Flows): Leading into OPEX. As time decays, dealers are structurally forced to unwind hedges, often supporting price. 🔴 Red Window (VIX Expansion): The VIX expiration cycle. This is the "Window of Weakness" where volatility hedging can exacerbate downside moves.
⚙️ Key Features
1. Massive Adaptive Strategy Optimizer The engine runs a massive simulation on every new trading day. It tests 256 filter combinations across 4 distinct strategy modes (L1, L2, S1, S2), resulting in 1,024 total scenarios analyzed daily to find the highest probability setup for your specific asset. REC (Recommended): The strategy the engine identifies as the current statistical leader. ACT (Active): The strategy you currently have loaded.
2. Walk-Forward Analysis (W-FWD) To prevent "curve fitting," the dashboard includes a Walk-Forward module. This tracks how the strategy performs on data after a specific date, giving you a realistic view of how the logic performs on "unseen" market data.
3. Future Projections The script projects future OPEX and VIX expiration lines and their associated flow windows directly onto the chart, allowing for forward planning.
⚠️ Disclaimer Trading involves high risk. This tool models dealer flows based on historical correlations between Price, Volatility, and Time. Past performance does not guarantee future results. For educational and analytical purposes only.
🔒 ACCESS: Invite-Only This is a private script. Please contact the author directly via TradingView private message for access inquiries.
Trend-Based Fibs: Static Labels at StartThis indicator automatically projects Fibonacci extension levels and "Golden Zones" starting from the opening price of a new period (Daily or Weekly). By using the previous period’s range (High-Low) as the basis for volatility, it provides objective price targets and reversal zones for the current session.
How it Works Unlike standard Fibonacci Retracements that require manual drawing from swing highs to lows, this tool uses a fixed anchor method: The Range: It calculates the total range of the previous day or week.
The Anchor: It sets the current period's opening price as the "Zero Line."The Projection: It applies Fibonacci ratios ($0.236$, $0.5$, $0.786$, $1.0$, and $1.618$) upward and downward from that opening price.
Key Features Automated Levels: No more manual drawing. Levels reset and recalculate automatically at the start of every Daily or Weekly candle. Bullish & Bearish Zones: Instantly see extensions for both directions. The "Golden Zones": Highlighted boxes represent the high-probability $0.236$ to $0.5$ zones for both long and short continuations. Previous Period Levels: Optional toggles to show the previous High and Low, which often act as major support or resistance.
Integrated EMAs: Includes two customizable Exponential Moving Averages (default 20 and 100) to help you stay on the right side of the trend.
Clean Visuals: Labels are pinned to the start of the period to keep your charts uncluttered while lines extend dynamically as time progresses.
How to Trade with it Trend Continuation: If price opens and holds above the $0.236$ bullish level, look for the $0.618$ and $1.0$ levels as targets.
Reversals: Watch for price exhaustion at the $1.618$ extension, especially if it aligns with an EMA or a Previous High/Low.
Gap Plays: Excellent for "Opening Range" strategies where you use the first close of the day as the pivot point for the extensions.
PRO AI SUPER TREND JEETUNSE ENGINEThis is one of most profitable indicator in the history of trading world one can apply and check the profit ratios
Custom Stochastic Momentum Index (SMI)📊 Custom Stochastic Momentum Index (SMI)
Custom Stochastic Momentum Index (SMI) is a refined momentum oscillator designed to identify trend strength, reversals, and overbought/oversold conditions with higher accuracy than traditional stochastic indicators.
This version gives traders full control over smoothing and signal calculation, making it suitable for intraday, swing, and positional trading across all markets.
🔹 Key Features
Fully customizable %K Length
Adjustable %K Smoothing and Double Smoothing
Configurable %D Period
User-selectable %D Moving Average Type
SMA
EMA
WMA
RMA
Fixed and proven levels:
Overbought: +40
Oversold: −40
Automatic shaded zones above overbought and below oversold levels
Clear K–D crossover labels for precise entry and exit timing
Clean, non-repainting logic
📈 How to Use
Bullish Setup
Look for %K crossing above %D near or below −40
Bearish Setup
Look for %K crossing below %D near or above +40
Trend Confirmation
Trade crossovers in the direction of the higher-timeframe trend
Works best when combined with:
Price Action
Support & Resistance
Market Structure / SMC concepts
🎯 Best For
Intraday traders
Swing traders
Momentum-based strategies
Confirmation with structure or breakout systems
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice. Always use proper risk management.
US Stock Market Performance by Sector[Dots3Red]This indicator displays the annual performance of the U.S. stock market by sector.
Selected major sectors
IND – Industrials
TECH – Technology
HTH – Healthcare
FIN – Financials
COMM – Communication Services
CONSCYC – Consumer Cyclical
CONSSTAP – Consumer Staples
ENERGY – Energy
REAL ESTATE – Real Estate
BASMAT – Basic Materials
The data is presented in a table below the main chart.
Green cell — the sector was bullish during that year
Red cell — the sector was bearish during that year
The table automatically sorts sectors by performance, placing the best-performing sector at the top for each year.
NOTE:
Annual performance is calculated starting from 2020 by default (arbitrarily chosen) and can be adjusted by the user.
Market Regime Detector (Free) - OptionsHUB🟦🟥🟩 OPTIONSHUB · REGIME PLAYBOOK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⭐ TradingView: OptionsHUB (follow our profile and add the script to favorites)
🌐 Website: optionshub.pro (research, updates, ecosystem)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚦 What This Indicator Is
Market Regime Detector (Free) is a market state classifier that assigns every bar to one of three regimes:
🟩 TREND — directional market with structural momentum
🟦 RANGE — sideways / mean-reverting market
🟥 VOLATILE — elevated volatility, higher risk environment
✨ The indicator is based on price and internal volatility .
____________________________________________________________________________
🧠 How It Works
The detector combines two core market dimensions:
1. 📏 Efficiency Ratio (ER) — how efficient price movement is
o high ER → price moves with direction and intent (trend)
o low ER → price oscillates without efficiency (range)
2. 🌪️ Normalized ATR (% of price) — how intense volatility is
o high nATR → unstable / explosive conditions → VOLATILE
o normal nATR → regime decided by ER
🧩 Decision priority :
🟥 Volatile (volatility first) → otherwise 🟩 Trend or 🟦 Range.
____________________________________________________________________________
🎛️ Visualization: How to Read It on the Chart
Choose Display Mode depending on your workflow:
🎨 1) Background Mode
✅ The chart background is colored by regime :
• 🟩 Trend — green background
• 🟦 Range — blue/neutral background
• 🟥 Volatile — red/orange background
📌 Always Show Background Hint
• enabled ✅ → a persistent label shows the current regime
• disabled ⛔ → labels appear only when the regime changes
🧾 2) Status Mode
A compact status panel appears in the top-right corner:
• TREND / RANGE / VOLATILE
• a short contextual description
💡 The chart itself remains visually clean and uncluttered.
____________________________________________________________________________
🧭 Regime Interpretation
🟩 TREND — “Directional Edge Regime”
Best suited for:
• trend-following strategies
• breakouts, pullbacks, trailing logic
Trading logic:
✅ trade in the dominant direction
✅ use continuation setups
⛔ avoid aggressive mean-reversion
____________________________________________________________________________
🟦 RANGE — “Mean Reversion Regime”
Best suited for:
• range trading
• support/resistance reactions
• fade-the-move strategies
Trading logic:
✅ trade boundaries and equilibrium
✅ faster exits, tighter expectations
⛔ breakout systems tend to underperform
____________________________________________________________________________
🟥 VOLATILE — “Risk Expansion Regime”
Not “bad” — just different rules.
Trading logic:
✅ reduce position size
✅ widen risk assumptions
✅ trade only high-quality setups
⛔ avoid tight stops and over-trading
____________________________________________________________________________
⚙️ Settings Explained
🧩 Calculation Mode
• On close ✅ (recommended) — regime confirmed on bar close
• Intrabar ⚡ — faster updates, more noise
📏 ER Length
• higher → smoother, more stable regimes
• lower → faster detection, more flips
🌪️ ATR Length
• higher → calmer volatility assessment
• lower → faster volatility spike detection
🧽 Smoothing Length
• smooths ER and nATR
• 1 → no smoothing (very sensitive)
• 3–5 → balanced and practical
🟩 ER Enter / Exit Trend
• Enter → threshold to classify TREND
• Exit → lower threshold to leave TREND
➡️ creates hysteresis and reduces regime flipping
🟥 nATR Enter / Exit Volatile
• Enter → volatility expansion
• Exit → volatility normalization
✅ Confirmation Bars
• number of closed bars required to confirm a regime change
• 1–2 → faster but noisier
• 3–5 → more reliable (default = 3)
🎚️ Background Transparency
• controls how subtle or strong the background coloring is
____________________________________________________________________________
🧰 Quick Recommended Setups
🟦 Default / Universal (recommended):
✅ On close · ER 20 · ATR 14 · Smooth 3 · Confirm 3 · Trend 0.35 · Vol 2.0
⚡ Scalping / Fast Markets:
• ER 14–18
• Smooth 1–2
• Confirm 1–2
• Lower Volatile threshold (≈1.6–1.8)
🧱 Swing / Position Trading:
• ER 30–40
• Smooth 4–6
• Confirm 4–5
• Higher Volatile threshold (≈2.3–2.8)
____________________________________________________________________________
🧬 About Pro Versions (What Comes Next)
In OptionsHUB Pro editions , this detector becomes a full regime engine:
🧩 Multi-Timeframe Regime Matrix
🔁 Regime Shift Detection with strength scoring
📊 Probability of Continuation (regime persistence)
🛠️ Auto-Adaptation for strategies and overlays
🔔 Regime-Based Alerts
📌 The Free version gives you clarity and structure .
📌 Pro versions give you context, probability, and execution depth .
____________________________________________________________________________
⚠️ Important Note
🧾 This indicator is a market context tool , not a signal generator.
It helps you choose the right type of strategy for the current market .
🚫 It is not financial advice .
🟦🟥🟩 OPTIONSHUB · REGIME PLAYBOOK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⭐ TradingView: OptionsHUB — following the profile helps us ship updates faster
🌐 Website: optionshub.pro — ecosystem, options, research, and advanced versions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OptionsHUB · Market Signal Engineering Lab
PRO AI SUPER TREND JEETUNSE ENGINEIts super super super trend on the tradingview one of the best money making indicator
FVG + Kill Zones (ICT/SMC) [BlackVamp]Fair Value Gap (FVG)
An FVG is a price imbalance between three consecutive candlesticks. It represents areas where the price moved so quickly that it left a gap that the market tends to fill later.
• Bullish FVG: Candle 3.low > Candle 1.high (bullish gap, price tends to fall to fill it)
• Bearish FVG: Candle 3.high < Candle 1.low (bearish gap, price tends to rise to fill it)
Kill Zones (UTC Times)
Kill Zone Time UTC Characteristics
Asian 00:00 - 04:00 Accumulation, narrow ranges
London Open 07:00 - 10:00 High volatility
NY Open 12:00 - 15:00 Maximum liquidity
London Close 15:00 - 17:00 Possible reversals
Market Structure
• Bullish: HH (Higher Highs) + HL (Higher Lows)
• Bearish: LH (Lower Highs) + LL (Lower Lows)
• BOS: Break of Structure Trend Continuation
• CHoCH: Change of Character - Trend Change
SMC Precision Master# SMC Precision Master - Professional Smart Money Analysis
## Overview
SMC Precision Master combines Smart Money Concepts (SMC) methodology with institutional trading tools to create a multi-factor confluence system for discretionary trading. This indicator integrates Order Blocks, Fair Value Gaps, Premium/Discount zones, Market Structure, Ichimoku Cloud, Fibonacci retracements, and Previous Day levels into a unified analytical framework.
---
## Why This Combination? (Mashup Justification)
**The Problem with Single Indicators:**
- Order Blocks alone may trigger in Premium zones (low probability buy zones)
- Fair Value Gaps without supply/demand context lack directional bias
- Premium/Discount zones alone don't provide precise entry levels
- Market Structure can break repeatedly in ranging conditions
**The Solution - Multi-Factor Confluence:**
This mashup creates a **filtering system** where multiple independent factors must align before highlighting high-probability setups. Each component validates the others:
1. **Market Structure** (BOS/MSS/CHoCH) → Determines allowed trade direction
2. **Premium/Discount Zones** → Validates institutional buy/sell context
3. **Order Blocks + FVG** → Identifies precise entry zones with overlap
4. **Fibonacci OTE** → Targets the 61.8-78.6% optimal entry range
5. **Ichimoku Cloud** → Confirms higher timeframe trend alignment
6. **Previous Day Levels** → Adds ICT reference points for bias
**Result:** The indicator only shows high-confluence setups where 3-5 factors simultaneously confirm, significantly reducing false signals compared to using components separately.
---
## How It Works - Technical Methodology
### Order Block Detection (3-Criteria System)
**Criterion 1 - Pattern:**
- Bullish OB: Bearish candle (close < open) before upward impulse
- Bearish OB: Bullish candle (close > open) before downward impulse
**Criterion 2 - Impulse Validation:**
- Standard Mode: Impulse high > OB high (bullish) or low < OB low (bearish)
- Strict Mode: Impulse must fully engulf OB candle
**Criterion 3 - Volatility Filter:**
Displacement = |Impulse Close - OB extremity|
Minimum Required = ATR(14) × Multiplier (default 0.5)
Valid if: Displacement ≥ Minimum
**Mitigation:** OBs tracked until price reaches 50% midpoint (Close or Wick-based).
---
### Fair Value Gap Calculation
**Detection Logic:**
Bullish FVG:
Gap = Current Low - High
Valid if: Gap > ATR(14) × 0.3 AND no candle overlap
Bearish FVG:
Gap = Low - Current High
Valid if: Gap > ATR(14) × 0.3 AND no candle overlap
**Visualization:** 13 layered boxes per FVG to emphasize liquidity void depth.
**Mitigation:** FVG removed when price fully crosses the gap zone.
---
### Premium/Discount Zones
**Calculation:**
Range Source (configurable):
Daily: request.security("D", high/low)
Weekly: request.security("W", high/low)
Monthly: request.security("M", high/low)
Trailing: Updates on each BOS
5-Zone Fibonacci Mode:
Strong Premium: 78.6% - 100%
Premium: 61.8% - 78.6% (OTE zone)
Equilibrium: 38.2% - 61.8%
Discount: 23.6% - 38.2%
Strong Discount: 0% - 23.6%
**Purpose:** Institutional context - buy in Discount, sell in Premium.
---
### Market Structure (BOS/MSS/CHoCH)
**Logic:**
Swing Detection: ta.pivothigh/pivotlow with adjustable length (default 10)
BOS (Break of Structure):
Price breaks last swing high in uptrend = continuation
Price breaks last swing low in downtrend = continuation
MSS (Market Structure Shift):
BOS occurs opposite to current trend = reversal signal
CHoCH (Change of Character):
Price touches but doesn't break previous swing = early warning
---
### Ichimoku Cloud (Multi-Timeframe)
**Calculation:**
Tenkan = (9-high + 9-low) / 2
Kijun = (26-high + 26-low) / 2
Senkou A = (Tenkan + Kijun) / 2
Senkou B = (52-high + 52-low) / 2
MTF: request.security() for higher timeframe if specified
Cloud color: Green if Senkou A ≥ B, Red otherwise
**Filter:** Price above cloud = bullish, below = bearish, in cloud = neutral.
---
### Fibonacci Auto-Retracement
**Method:**
SwingHigh = ta.highest(high, 80)
SwingLow = ta.lowest(low, 80)
Range = SwingHigh - SwingLow
Levels: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%
OTE Zone Box: 61.8% - 78.6% projected forward
---
### Previous Day Levels (ICT)
**Calculation:**
PDH = request.security("D", high, lookahead=on)
PDL = request.security("D", low, lookahead=on)
PDM = (PDH + PDL) / 2
Daily Bias:
Close > PDM = Bullish
Close < PDM = Bearish
Break PDH/PDL = Strong bias confirmation
---
## Dashboard - Real-Time Confluence Tracking
Displays current market state:
- **Trend:** Current structure (Bullish/Bearish/Neutral)
- **HTF Bias:** Higher timeframe direction
- **OB:** Active Order Block status
- **FVG:** Active Fair Value Gap status
- **OB+FVG:** Confluence confirmation (✓ = overlap)
- **P/D Zone:** Current Premium/Discount position
- **Fib OTE:** Inside 61.8-78.6% zone or not
- **Daily Bias:** ICT daily directional bias
- **RSI(14):** Oversold/Neutral/Overbought
- **Ichimoku:** Price position vs cloud
---
## How to Use
### Trading Workflow
**1. Market Context (Dashboard Check)**
- Identify trend direction (Trend + HTF Bias)
- Check Premium/Discount position
- Verify daily bias alignment
**2. Zone Identification**
- Locate active Order Blocks matching trend
- Check for FVG overlap (OB+FVG = ✓)
- Verify zone is in correct P/D area (LONG = Discount, SHORT = Premium)
**3. Entry Confirmation**
- Price enters identified OB zone
- Preferably within Fibonacci OTE zone
- Ichimoku cloud alignment (if enabled)
- Structure break in entry direction
**4. Risk Management**
- Stop: Outside OB zone + buffer
- Target: Opposite P/D zone or next OB
- Risk: 1-2% per trade maximum
---
## Settings Adjustment by Timeframe
**M1-M5 Scalping:**
- Swing Length: 5-7
- OB Filter: ATR 0.3x
- P/D Mode: Daily Range
**M15-H1 Day Trading:**
- Swing Length: 10 (default)
- OB Filter: ATR 0.5x (default)
- P/D Mode: Daily Range
**H4-D1 Swing Trading:**
- Swing Length: 15-20
- OB Filter: ATR 0.7-1.0x
- P/D Mode: Weekly/Monthly Range
---
## Key Features
✅ Anti-repaint: All signals confirmed on bar close
✅ Configurable filters: ATR/CMR for OB validation
✅ Multi-mode P/D: Daily/Weekly/Monthly/Trailing
✅ MTF Ichimoku: Use higher timeframe cloud on lower TF
✅ Complete alerts: BOS, OB formation, CHoCH
✅ Memory management: Auto-cleanup of old zones
---
## Important Notes
- This is an analytical tool, not a signal generator
- Requires understanding of SMC concepts
- Always use proper risk management
- Backtest before live trading
- No indicator guarantees profits
---
## Technical Specifications
- Pine Script™ v6
- Overlay: Yes
- Max Boxes: 500 | Max Lines: 150 | Max Labels: 150
- Repainting: No (barstate.isconfirmed)
---
© 2025-2026
VPG Multi TF Framework Analysis📊 VPG – Multi TF Framework Analysis
VPG – Multi TF Framework Analysis is a multi-timeframe market status dashboard designed to help traders quickly understand price direction, swing conditions, and candle timing across several timeframes in one compact table.
This indicator works on any symbol and is especially useful for scalpers, day traders, and swing traders who need a fast overview of market structure.
🚀 Key Features
🔹 Multi-Timeframe Price Status (1m, 5m, 15m, 30m, 1H, 4H, D, W)
Each timeframe is classified in real-time as:
RALLY → current price above previous candle close
BASE → current price equal to previous close (with tolerance option)
DROP → current price below previous candle close
Color-coded for quick visual recognition.
🔹 Swing Detection (Peak / Valley / Up / Down)
A dedicated Swing row shows market structure per timeframe using:
PEAK → local high (based on last 2 closed candles + current price)
VALLEY → local low
UP → trending upward when no swing detected
DOWN → trending downward when no swing detected
This avoids empty “-” states and always provides meaningful structure information.
Swing row can be turned ON/OFF from settings.
🔹 Previous Close Row (Optional)
Displays the previous candle close price for each timeframe.
Can be enabled or disabled from settings.
🔹 Countdown Timer to Candle Close
Shows remaining time until each timeframe candle closes:
Normal color when time is sufficient
Orange background when ≤ 10 minutes remaining
Red background when ≤ 5 minutes remaining
Helps traders prepare for candle close decisions.
Timer row can be enabled or disabled from settings.
🔹 Trend Strength Badge
A floating badge summarizes overall trend strength based on multi-timeframe alignment:
WEAK / MODERATE / STRONG / VERY STRONG
RALLY or DROP
MIXED state when conditions are unclear
Includes optional blinking bullet for non-mixed trends.
Position of the badge can be configured (top/center/bottom & left/center/right).
🔹 Alert System
Two types of alerts:
Structure alerts
Trigger when a timeframe changes into RALLY or DROP (or any state change)
Timer alerts
Trigger when remaining time drops below a chosen minute threshold
Includes a Test Alert button to verify alert functionality.
🔹 Full UI Customization
Table position: top / center / bottom & left / center / right
Font size: tiny / small / normal / large
Background opacity (0–100)
Toggle rows individually (PrevClose, Swing, Timer)
Trend badge position & blink speed
🎯 Who This Indicator Is For
Scalpers monitoring lower timeframes (1m–15m)
Day traders aligning 15m–4H structure
Swing traders watching Daily & Weekly bias
Anyone who wants a clean multi-TF dashboard without cluttering the chart
⚠ Notes
Works on any market (Forex, Gold, Crypto, Indices, Stocks).
Daily timer uses New York close (17:00 NY time).
Uses request.security() for accurate multi-timeframe data.
📌 Summary
This dashboard combines:
✅ Price direction
✅ Market structure (swing)
✅ Time-to-close
✅ Trend strength
✅ Alerts
✅ Full visual customization
into one lightweight and practical trading tool.
SMC Precision Scalper# SMC Precision Scalper - All-in-One Smart Money Analysis Tool
## Overview
SMC Precision Scalper is a comprehensive technical analysis indicator combining Smart Money Concepts (SMC) methodology with advanced scalping tools. This indicator integrates institutional trading concepts to provide traders with high-probability confluence zones and market structure analysis.
---
## How It Works - Technical Methodology
### Order Block Detection System
**Detection Algorithm:**
The script identifies Order Blocks using a three-criteria validation process:
1. **Pattern Recognition**: Scans for consolidation candles (opposite color to trend) that precede strong impulse moves
2. **Impulse Validation**: The following candle must break the high/low of the consolidation candle
- Strict Mode: Impulse candle must fully engulf the Order Block
- Standard Mode: Impulse candle must only break the OB high/low
3. **Volatility Filtering**: Applies ATR (Average True Range) or CMR (Cumulative Mean Range) filters with adjustable multiplier (default 0.5x) to eliminate noise
**Mitigation Tracking:**
Order Blocks are monitored until price retraces to their 50% level (midpoint). Mitigation can be calculated by either:
- Close price crossing the midpoint
- Wick penetration of the midpoint
Internal Order Blocks use shorter swing length (default 5 periods) for intraday precision, while standard OBs use longer swings (default 10 periods) for structural zones.
---
### Fair Value Gap (FVG) Calculation
**Gap Detection:**
FVGs are identified when:
Bullish FVG: (candle.low - candle.high) > ATR(14) × threshold
Bearish FVG: (candle.low - candle.high) > ATR(14) × threshold
Default threshold: 0.3x ATR multiplier
**Visual Rendering:**
Each FVG is rendered as 13 horizontal layers to show the liquidity void depth. The script tracks consecutive FVGs to adjust layer positioning dynamically.
**Mitigation Logic:**
FVGs remain active until price fully crosses the gap zone (high > gap bottom AND low < gap top). Optionally displays "filled" FVGs with reduced opacity for historical reference.
---
### EMA Confluence & Flips System
**Core Components:**
- EMA Fast: 5-period exponential moving average
- EMA Slow: 12-period exponential moving average
- EMA Confluence: 200-period exponential moving average (customizable)
**Flip Detection:**
Generates signals when EMA 5 crosses EMA 12:
- Flip Up (↑): EMA 5 crosses above EMA 12
- Flip Down (↓): EMA 5 crosses under EMA 12
**Trend Filter:**
Optional confluence filter requires:
- Uptrend confirmation: Close > EMA Confluence for N bars (adjustable)
- Downtrend confirmation: Close < EMA Confluence for N bars
This prevents counter-trend signals and improves accuracy.
---
### EMA Cloud Layers
**Calculation:**
Creates three multi-timeframe cloud zones using paired EMAs:
- Cloud 1: EMA 20 / EMA 42
- Cloud 2: EMA 8 / EMA 23
- Cloud 3: EMA 5 / EMA 50
**Color Logic:**
- Green cloud: Faster EMA > Slower EMA (bullish momentum)
- Red cloud: Faster EMA < Slower EMA (bearish momentum)
Each cloud has progressive transparency (10%, 16%, 22%) to show momentum strength layers.
---
### VWAP Implementation
**Session VWAP:**
Calculates volume-weighted average price that resets at each session boundary using TradingView's native `ta.vwap()` function.
**Daily VWAP:**
Custom implementation that resets every calendar day:
CumulativePV = Σ(Price × Volume)
CumulativeV = Σ(Volume)
Daily VWAP = CumulativePV / CumulativeV
Source price options: HLC3, Close, OHLC4, HL2
---
### Premium/Discount Zones
**Range Calculation:**
Based on selected mode (Trailing Swings, Daily/Weekly/Monthly Range):
- High 100% = Swing high or HTF high
- Low 0% = Swing low or HTF low
- Range = High - Low
**Zone Division:**
*3 Zones Simple Mode:*
- Premium: 66.67% - 100%
- Equilibrium: 33.33% - 66.67%
- Discount: 0% - 33.33%
*5 Zones Fibonacci Mode:*
- Strong Premium: 78.6% - 100%
- Premium: 61.8% - 78.6% (OTE Zone)
- Equilibrium: 38.2% - 61.8%
- Discount: 23.6% - 38.2%
- Strong Discount: 0% - 23.6%
**Purpose:**
Provides institutional context: institutions typically buy in Discount zones and sell in Premium zones.
---
### Fibonacci Retracement
**Auto-Calculation:**
- Scans the last N periods (default 80, range 20-200) to identify swing high and swing low
- Projects key Fibonacci levels: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%
- Optional inversion for downtrends
- Future projection extends levels forward by adjustable bars (default 50)
**OTE Zone Highlighting:**
Creates a visual box for the 61.8%-78.6% zone, which represents the Optimal Trade Entry area commonly used in ICT methodology.
---
### Ichimoku Cloud (Multi-Timeframe)
**Components Calculation:**
Tenkan-sen = (9-period high + 9-period low) / 2
Kijun-sen = (26-period high + 26-period low) / 2
Senkou Span A = (Tenkan + Kijun) / 2
Senkou Span B = (52-period high + 52-period low) / 2
Chikou Span = Close shifted back 26 periods
**MTF Implementation:**
Uses `request.security()` to fetch higher timeframe data when custom timeframe is specified. Falls back to chart timeframe if empty.
**Cloud Filtering:**
- Price above cloud = Bullish bias filter
- Price below cloud = Bearish bias filter
- Price in cloud = Neutral/avoid
---
### Market Structure Detection
**BOS (Break of Structure):**
Occurs when price breaks the last swing high (in uptrend) or swing low (in downtrend), confirming trend continuation.
**MSS (Market Structure Shift):**
Detected when BOS occurs in the opposite direction of current trend, indicating potential reversal.
**CHoCH (Change of Character):**
Early warning signal when price touches but doesn't strongly break the previous swing, suggesting momentum loss.
---
### Previous Day Levels
**Calculation:**
Uses `request.security()` with daily timeframe and ` ` offset with lookahead on:
- PDH: Previous Day High
- PDL: Previous Day Low
- PDM: (PDH + PDL) / 2
**Daily Bias Logic:**
- Bullish: Close > PDM or breakout above PDH
- Bearish: Close < PDM or breakdown below PDL
- Neutral: Close at PDM
---
## Why This Combination?
This indicator integrates multiple institutional concepts to create a **confluence-based filtering system** that answers three critical trading questions:
1. **WHERE to trade?** (Order Blocks, FVG, Premium/Discount zones, Fibonacci OTE)
2. **WHEN to trade?** (EMA Flips, Market Structure breaks, Ichimoku confirmation)
3. **WHICH direction?** (HTF Bias, Daily Bias, Cloud momentum, Structure trend)
### Synergy Between Components:
- **OB + FVG Confluence**: When an Order Block overlaps with a Fair Value Gap, it creates a high-probability institutional zone
- **Premium/Discount Context**: Filters OB signals to match institutional bias (buy Discount, sell Premium)
- **EMA Flips + Structure**: Fast momentum signals (flips) confirmed by slower structure breaks reduce false entries
- **Ichimoku Cloud**: Acts as additional trend filter, preventing counter-cloud trades
- **VWAP + Fibonacci**: Provides dynamic and static mean reversion levels for risk management
**Individual indicators might generate conflicting signals**, but this mashup requires multiple confirmations before highlighting setups, significantly reducing noise and improving trade quality.
---
## How to Use
### Setup Configuration
1. **Enable desired components** in settings (Essentials group)
2. **Adjust swing lengths** based on timeframe:
- M1-M5: Swing 5-7, Internal 3
- M15-H1: Swing 10, Internal 5 (default)
- H4-D1: Swing 15-20, Internal 7-10
3. **Configure filters**:
- Lower timeframes: Use ATR filter 0.3-0.5x
- Higher timeframes: Use CMR filter or 0.7-1.0x ATR
### Trading Workflow
**Step 1: Identify Trend**
- Check EMA Cloud colors (green = bullish, red = bearish)
- Confirm with Ichimoku Cloud position
- Verify Market Structure (BOS direction)
**Step 2: Find Confluence Zones**
- Locate active Order Blocks in trend direction
- Check for FVG overlap with OB
- Ensure zone is in correct Premium/Discount area
**Step 3: Wait for Entry Trigger**
- Monitor EMA 5/12 flips within confluence zone
- Check Fibonacci OTE zone if displayed
- Confirm VWAP position supports direction
**Step 4: Execute & Manage**
- Enter on flip signal within OB/FVG confluence
- Stop loss: Outside Order Block zone
- Target: Opposite Premium/Discount zone or next OB
---
## Dashboard Information
The on-chart table displays real-time market conditions:
- **Trend**: Current structure (Bullish/Bearish/Neutral)
- **HTF Bias**: Higher timeframe direction
- **OB**: Active Order Block status (Bull ↑ / Bear ↓ / None)
- **FVG**: Active Fair Value Gap (Bull ↑ / Bear ↓ / None)
- **OB+FVG**: Confluence confirmation (✓ when both align)
- **P/D Zone**: Current price position in Premium/Discount
- **Fib 61.8-78.6**: OTE zone status (In Zone / Outside)
- **Daily Bias**: ICT daily bias (Bullish/Bearish/Neutral)
- **Market Status**: Overall condition summary
- **RSI(14)**: Momentum (Oversold <30 / Neutral / Overbought >70)
- **Ichimoku**: Cloud position (Above/In/Below)
---
## Alert Conditions
Complete alert system for key events:
- BOS Bullish / Bearish detected
- New Order Block formed (Bullish/Bearish)
- New Internal OB formed
- EMA Flip signals (Up/Down)
- Price entering OTE zone (when HTF aligned)
---
## Best Practices
✅ **Use on multiple timeframes**: Align HTF bias with entry TF signals
✅ **Wait for confluence**: At least 2-3 confirmations before entry
✅ **Respect Premium/Discount**: Don't buy Premium or sell Discount
✅ **Adjust swing lengths**: Match to your trading timeframe
✅ **Backtest first**: Understand signal behavior before live trading
❌ **Don't overtrade**: Not every OB or FVG is a valid setup
❌ **Don't ignore filters**: Disabled filters increase false signals
❌ **Don't trade against cloud**: Ichimoku filter prevents low-probability trades
---
## Technical Specifications
- Pine Script™ Version: 6
- Overlay: Yes
- Max Boxes: 500
- Max Lines: 500
- Max Labels: 300
- Repainting: Signals confirmed on bar close (barstate.isconfirmed)
---
## Recommended Timeframes
- **Scalping**: M1, M5 (reduce swing lengths to 5-7)
- **Day Trading**: M15, M30, H1 (default settings)
- **Swing Trading**: H4, D1 (increase swing lengths to 15-20)
---
## Performance Notes
For optimal chart performance:
- Disable unused features (Structure, EQH/EQL if not needed)
- Reduce lookback periods on lower timeframes
- Limit to 1-2 active alerts per instrument
---
This indicator does not predict the future and should be used as part of a complete trading plan with proper risk management.
© 2025-2026
Adaptive Regime Master: The Dual-Engine FrameworkAdaptive Regime Master: The Dual-Engine Framework
Overview
The Adaptive Regime Master: The Dual-Engine Framework is a sophisticated technical analysis tool designed to solve the "Indicator Paradox"—the reality that trend-following tools fail in sideways markets, and mean-reversion tools fail in strong trends.
Instead of forcing a single mathematical model onto an ever-changing market, this framework utilizes a Master Switch logic. It continuously analyzes market volatility and directional strength to dynamically toggle between two specialized trading engines. By identifying the current "Market Regime," the indicator automatically reconfigures its visual interface and signal logic to match the environment.
The Dual-Engine Architecture
The framework operates on a logic-gate system powered by the Average Directional Index (ADX) :
1. The Momentum Engine (Trendy Regime):
Activation: Triggered when ADX rises above the 25 threshold, signaling a confirmed trend.
Logic: Utilizes a combination of Exponential Moving Averages (EMA) for trend-following and MACD Histogram for momentum confirmation.
Visuals: The chart de-clutters to show only the EMA trend-line and momentum-based signals.
2. The Mean-Reversion Engine (Choppy Regime):
Activation: Triggered when ADX falls below 25, signaling a range-bound or consolidating market.
Logic: Switches to Bollinger Bands and the Relative Strength Index (RSI) to identify overextended price action at the range extremes.
Visuals: The EMA disappears, and the chart displays Bollinger Bands to help users visualize the "value area" and potential reversal zones.
Key Features
Alternating Signal Logic: Built-in state management ensures that signals always alternate (Buy → Sell → Buy). This prevents "signal clustering" and provides a clean, actionable roadmap for the user.
Dynamic ATR-Based Protection: The indicator calculates Stop Loss (SL) and Take Profit (TP) levels using the Average True Range (ATR) . Crucially, the multipliers adjust based on the regime: wider stops for volatile trends and tighter stops for quiet ranges.
Intrabar Execution Guard: To prevent "false exits," the framework includes a calculation safeguard that prevents SL/TP triggers on the same candle as the entry, ensuring the trade has room to breathe.
Real-Time Regime Dashboard: An on-chart table provides an immediate summary of the current ADX value, the active engine mode, and the current position status.
Visual Regime Indicator: Background color changes dynamically—Blue for Trend Mode, Orange for Range Mode.
Comprehensive Alert System: Built-in alerts for Long Entry, Short Entry, TP Hit, and SL Hit events.
How to Use
Identify the Background: A Blue background indicates the Momentum Engine is active; an Orange background indicates the Mean-Reversion Engine is active.
Execution: Follow the BUY and SELL labels. The framework handles the logic of whether it is a "breakout" or a "reversal" based on the active engine.
Risk Management: Once a signal appears, Red (SL) and Lime (TP) crosses will appear on the chart. These are your mathematical boundaries for the trade.
The Exit: The position is considered closed when price hits the SL/TP markers (indicated by orange/yellow crosses) or when an opposing signal is generated.
Monitor the Dashboard: Use the top-right table to track the current regime, ADX value, active mode, and position status in real-time.
Input Parameters
ADX Length: Period for ADX calculation (default: 14)
ADX Smoothing: Smoothing period for ADX (default: 14)
ADX Trend Threshold: Threshold to distinguish trend from range (default: 25)
EMA Length: Period for the Exponential Moving Average (default: 20)
BB Length: Period for Bollinger Bands (default: 20)
BB Multiplier: Standard deviation multiplier for Bollinger Bands (default: 2.0)
RSI Length: Period for RSI calculation (default: 14)
ATR Length: Period for Average True Range (default: 14)
ATR Mult (Trend): ATR multiplier for stop loss in trend mode (default: 1.5)
ATR Mult (Range): ATR multiplier for stop loss in range mode (default: 0.8)
Min SL % (of price): Minimum stop loss as percentage of price (default: 0.5%)
Pros and Cons
Pros:
Versatility: Performs in all market conditions, reducing the need for multiple separate indicators.
Reduced Fakeouts: Filters out "trend signals" during flat markets and "reversal signals" during parabolic moves.
Visual Clarity: Only shows the indicators relevant to the current market state, reducing cognitive load and chart clutter.
Automated Risk-Reward: Automatically plots 1:2 Risk-Reward levels based on current volatility.
Professional-Grade Logic: Implements state management to prevent signal conflicts and ensure clean alternating entries.
Multi-Timeframe Compatibility: Works on any timeframe, though optimized for intraday and swing trading.
Cons:
Lagging Nature: Like all ADX-based systems, there is a slight lag when the market transitions from a range to a trend.
Threshold Sensitivity: The default ADX threshold of 25 may need tuning for extremely low-volatility assets or different timeframes.
Not a "Holy Grail": While it filters many bad trades, sudden fundamental news or black swan events can still bypass technical logic.
Requires Discipline: Users must follow the signals and respect the SL/TP levels for the framework to be effective.
Learning Curve: New users may need time to understand the regime-switching concept and trust the automated logic.
Why Use This Framework?
Most traders lose money because they apply the wrong tool to the wrong market. They use RSI to "sell the top" of a breakout, or use Moving Averages to "buy the dip" in a sideways grind. The Adaptive Regime Master removes the emotional guesswork by mathematically defining the market state and forcing the strategy to adapt.
This is a professional-grade framework for traders who value:
Logic over emotion
Discipline over impulse
Chart cleanliness over indicator overload
Adaptive systems over static strategies
Whether you're a scalper, day trader, or swing trader, this framework provides a systematic approach to reading market conditions and executing high-probability setups with predefined risk management.
Best Practices
Never forget to adjust Stop Loss and Take Profit level related to the interval you (will) use. (Default parameters are optimized for 60m)
Always backtest the indicator on your specific asset and timeframe before live trading
Adjust the ADX threshold based on the volatility characteristics of your market
Use the framework in conjunction with proper position sizing and account risk management
Pay attention to the regime dashboard—avoid forcing trades when the market is transitioning between regimes
Set up alerts for all signal types to avoid missing opportunities
Consider fundamental analysis and news events alongside technical signals
Detailed Disclaimer
FINANCIAL RISK WARNING:
Trading foreign exchange, stocks, indices, cryptocurrencies, and commodities on margin carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in any financial instrument, you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment; therefore, you should not invest money that you cannot afford to lose.
NO INVESTMENT ADVICE:
The "Adaptive Regime Master: The Dual-Engine Framework" is an educational tool designed to assist in technical analysis. It does not constitute investment advice, financial advice, trading advice, or a recommendation to buy or sell any security or financial instrument. All content provided by this indicator is for informational and educational purposes only.
PAST PERFORMANCE:
Past performance is not indicative of future results. Hypothetical or simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading and may not be impacted by brokerage and other slippage fees. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight.
NO GUARANTEE:
No representation is being made that any account will or is likely to achieve profits or losses similar to those shown in any backtests or forward tests. The author and developers of this indicator make no warranties, expressed or implied, regarding the accuracy, completeness, or reliability of the information provided.
USER RESPONSIBILITY:
Users should perform their own due diligence and test the logic on a demo or paper trading account before applying it to live capital. You are solely responsible for your own investment and trading decisions. The author and developers assume no responsibility for any financial losses, damages, or adverse consequences incurred through the use of this tool.
ACCEPTANCE OF TERMS:
Use of this indicator constitutes acceptance of these terms and acknowledgment that you understand the risks involved in trading financial instruments.
REGULATORY NOTICE:
This indicator is not affiliated with, endorsed by, or approved by any financial regulatory authority. Always consult with a licensed financial advisor before making investment decisions.
RSI + Bollinger Bands Mean Reversion [BlackVamp]Mean Reversion is a strategy that assumes prices tend to revert to their historical average. When the price deviates too much (oversold or overbought), we look for trades in the opposite direction, hoping the price will return to the average.
Key components:
• RSI (7) - Detects oversold (<30) and overbought (>70) conditions
• Bollinger Bands (20, 2) - Defines statistical price extremes
• ADX (<32) - Filters: only trade when there is NO strong trend
• ATR (14) - Calculates the dynamic stop loss based on volatility
■■ Important: This strategy works best in me
200 EMA Scalping 1 MinuteOnly Scalping in 1 Minute Super accurate, low faults, Strict rule based management, in Nifty 50
asia range baskets as an indicatorasia range baskets as an indicator. you can see all the baskets or remove them to filter out noise
T&C - VWAP packT&C – VWAP Pack (NY + London + Weekly)
This indicator plots multiple anchored VWAPs based on fixed New York, London and weekly session start times, all expressed in CET (Central European Time).
Each VWAP is calculated from a predefined time anchor and runs forward from that moment. Previous sessions are hidden where applicable so only the relevant reference period is displayed.
⸻
Plotted VWAPs (CET)
New York
• NY Open: VWAP anchored at 15:30 CET (current NY day only)
• NY Midnight: VWAP anchored at 06:00 CET (current NY day only)
• NY Midnight – 2 Day: VWAP anchored at yesterday’s NY midnight (06:00 CET) and displayed for two days
London
• LO Open: VWAP anchored at 23:00 CET (London FX open, displayed for 24 hours)
• LO Midnight: VWAP anchored at 09:00 CET (London session start, current day only)
• LO Midnight – 2 Day: VWAP anchored at yesterday’s London open (23:00 CET) and displayed for two days
Weekly
• Weekly VWAP: VWAP anchored at Sunday 23:00 CET
• Only the current week is displayed
⸻
Calculation logic
• VWAP is calculated using the selected source (default: HLC3) and volume
• At each anchor time, VWAP calculation resets
• VWAP values are accumulated forward from the anchor until the end of the defined session window
• All anchors are time-based, not candle-based, and remain consistent across timeframes
⸻
Display behavior
• Each VWAP can be enabled or disabled individually
• Default colors:
• Blue: New York VWAPs
• Green: London VWAPs
• Orange: Weekly VWAP
• Two-day VWAPs use a thicker line for visual distinction
⸻
Use case
This indicator is intended for traders who reference session-anchored VWAP levels during New York, London and weekly market cycles.
tunnel of 5 as an indicatorthis is the tunnel of 5 concept but in an indicator format that can selectively tracks baskets. but can reduce to 2 pairs.
200 EMA Scalping 1 Minute (Only Nifty 1 Min Scalping)Only for scalping in 1 minute timeframe in Nifty 50.






















