Binance futures Funding Rate Sentiment ZonesHello,
This script is pretty much self explanatory.
Instead of having to have Binance open to check the Funding rate for futures USDT coins, it is shown in TradingView.
There are multiple colors that are shown:
-0.05% to 0.05% = neutral funding, no color on background
-+0.05% to -+0.1% = transition zone, long/short population increasing/decreasing
-+0.1% to -+ 2% = extreme positive / negative funding, red color
Chỉ báo và chiến lược
cd_VW_Cx IMPROVED - Quant VWAP System: Regime, Magnets & Z-ScoQuant VWAP System: Regime, Magnets & Z-Score Matrix
This indicator is a comprehensive Quantitative Trading System designed to move beyond simple support and resistance. Instead of static lines, it uses Statistical Probability (Z-Score) and Standard Deviation to define the current market regime, identify institutional value zones, and project high-probability liquidity targets.
It is engineered for Day Traders and Scalpers (Crypto & Futures) who need to know if the market is Trending, Ranging, or preparing for a Breakout.
1. The "Regime" System (Standard Deviation Bands)
The core engine anchors a VWAP (Volume Weighted Average Price) to your chosen timeframe (Daily, Weekly, or Monthly) and projects volatility bands based on market variance.
The Trend Zone (Inner Band / 1.0 SD): This is the "Fair Value" zone. In a healthy trend, price will pull back into this zone and hold. A hold here signals a high-probability continuation (Trend Following).
The Reversion Zone (Outer Band / 2.0 SD): This represents a statistical extreme. Price rarely sustains movement beyond 2 Standard Deviations without a reversion. A touch of this band signals "Overbought" or "Oversold" conditions.
2. Liquidity Magnets (Virgin VWAPs)
The script automatically tracks "Unvisited VWAPs" from previous sessions. These are price levels where significant volume occurred but have not yet been re-tested.
The Logic: Algorithms often target these "open loops." The script visualizes them as Blue Dashed Lines with price tags.
Smart Scaling (Anti-Scrunch): Includes a custom "Ghost Engine" that automatically hides or "ghosts" magnets that are too far away. This prevents your chart from being squashed (scrunched) on lower timeframes, keeping your candles perfectly readable while still tracking targets in the background.
3. The Quant Matrix (Dashboard)
A real-time Heads-Up Display (HUD) that interprets the data for you:
Regime: Detects Volatility Squeezes. If the bands compress, it signals "⚠ SQUEEZE", warning you to stop mean-reversion trading and prepare for an explosive breakout.
Bias: Color-coded Trend Direction (Bullish/Bearish) based on VWAP slope.
Signal: actionable text prompts such as "BUY DIP" (Trend Following), "FADE EXT" (Mean Reversion), or "PREP BREAK" (Squeeze).
4. Visual Intelligence
Bold Day Separators: Clear, vertical dotted dividers with Date Stamps to instantly separate trading sessions.
Dynamic Labels: Floating labels on the right axis identify exactly which deviation level is which, preventing chart confusion.
How to Use
Strategy A: The Trend Pullback (continuation)
Check Matrix: Ensure Bias is BULLISH (Green).
Wait: Allow price to pull back into the Inner Band (Dark Green Zone).
Trigger: If price holds the Center VWAP or the -1.0 SD line, enter Long.
Target: The next Liquidity Magnet above or the +2.0 SD band.
Strategy B: The Reversion Fade (Counter-Trend)
Check Matrix: Ensure price is labeled "EXTREME" or Signal says "FADE EXT".
Trigger: Price touches or pierces the Outer Band (2.0 SD).
Action: Enter counter-trend (Short) with a target back to the Center VWAP (Mean Reversion).
Strategy C: The Magnet Target
Identify a "MAGNET" line (Blue Dashed) near current price.
These act as high-probability Take Profit levels. Price will often rush to these levels to "close the loop" before reversing.
Settings
Anchor: Daily (default), Weekly, or Monthly.
Magnet Focus Range: Adjusts how aggressively the script hides distant magnets to fix chart scaling (Default: 2%).
Visuals: Fully customizable colors, label sizes, and dashboard position.
MSO - Market Stress Oscillator [WavesUnchained]MSO - Market Stress Oscillator
Bidirectional stress oscillator built on WVF + Z-score, with JMA/ADX filters, regime bias, and validated follow-through. Designed to expose downside panic vs upside euphoria and measure whether the market accepts or rejects each stress event.
Quick Setup
- Stress Color Mode : Intuitive (Downside=green, Upside=red) or Technical (classic colors).
CORE CONCEPT
- Downside stress : price flushes below WVF baseline (panic)
- Upside stress : price stretches above WVF baseline (euphoria)
- Stress is normalized via Z-score for cross-asset/timeframe robustness
ENGINE (BI-WVF + Z-SCORE)
- WVF Long and Short computed separately (panic vs euphoria)
- Z-score window normalizes extremes
- Thresholds are TF-aware (15m / 1h / 4h / D / W / M)
QUALITY FILTERS
- JMA trend filter (slope-based, low-lag)
- ADX minimum for trend strength
- Min Extreme Duration to avoid 1-bar noise
- Cooldown to prevent signal clustering
ACCEPT / REJECT LOGIC
- Events are evaluated after reactBars (forward follow-through)
- Accepted : follow-through >= minFollowATR
- Rejected : follow-through < minFollowATR
- Scores (0..1) optionally plotted as acceptance strength
BIAS / REGIME CONTEXT
- Bias line : zL - zS (who dominates)
- Bias band : regime threshold (only meaningful outside band)
- HTF Wind : higher-timeframe bias flip (JMA smoothed)
- Clarity Label : regime entry aligned with HTF + absBias threshold
VISUALIZATION
- Stress Lines : Red = downside stress (panic), Green = upside stress (euphoria)
- Bias Line : zL - zS (who dominates). Neutral inside band, colored outside.
- Bias Band : regime threshold. Fill shows when bias is usable.
- Zones : boxes at peak events (history preserved, FIFO capped)
- Chart Labels : DA/DR/UA/UR (or LA/LR/SA/SR) at peaks
- Lines : reaction window + peak level lines (FIFO capped)
STRESS COLOR MODE
- Intuitive : Downside stress = green, Upside stress = red (opportunity mapping)
- Technical : Downside stress = red, Upside stress = green (classic convention)
- This setting is visual only ; logic, bias, and signals are unchanged
HOW TO USE
1. Read the stress lines : red spikes = panic risk, green spikes = euphoria risk.
2. Check bias : outside the band = usable regime; inside = noise.
3. Use DA/DR/UA/UR :
- DA/UA = stress accepted (follow-through confirmed)
- DR/UR = stress rejected (weak follow-through)
4. Add HTF wind : prefer signals aligned with HTF bias.
5. Tune presets by TF; use manual TF override for testing.
PRESETS & UI
- Full TF preset table (15m / 1h / 4h / D / W / M)
- Manual TF override for testing
- Preset summary panel (optional)
LOGGING (CSV)
- Pivot and stress logs for validation
- Early/First-pivot classification options
- Label IDs included for chart-to-log tracing
BEST USE CASES
- Panic/euphoria detection with follow-through validation
- Regime-aware context (bias + HTF wind)
- Multi-timeframe stress mapping (15m to Weekly)
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Educational use only. Test thoroughly before live trading.
Elephant Edge Session Levels Predictor**Elephant Edge** is a robust trading tool designed to streamline decision-making for swing and intraday traders alike. It combines accuracy and simplicity to help you spot promising buy and sell signals with ease. The Session Levels Predictor+ feature draws upper and lower percentile lines derived from session data, enabling traders to pinpoint key support and resistance areas accurately. It computes these percentile projections from daily sessions automatically and displays them as sleek, adjustable lines—perfect for intraday and short-term strategies focused on statistical price boundaries.
For **swing traders**, Elephant Edge highlights pivotal market reversals and trend shifts, allowing you to seize bigger trends and maintain momentum. For **intraday traders**, it offers precise buy and sell thresholds, providing reliable entry and exit cues during active market hours.
No matter if you're chasing quick trades or sustaining positions over several sessions, Elephant Edge promotes a methodical and disciplined strategy. Its smart signals cut through market clutter, delivering a solid advantage while eliminating emotional biases.
With **Elephant Edge**, you shift from merely responding to the market to trading with **precision, assurance, and reliability**.
A-Share Broad-Based ETF Dual-Core Timing System1. Strategy Overview
The "A-Share Broad-Based ETF Dual-Core Timing System" is a quantitative trading strategy tailored for the Chinese A-share market (specifically for broad-based ETFs like CSI 300, CSI 500, STAR 50). Recognizing the market's characteristic of "short bulls, long bears, and sharp bottoms," this strategy employs a "Left-Side Latency + Right-Side Full Position" dual-core driver. It aims to safely bottom-fish during the late stages of a bear market and maximize profits during the main ascending waves of a bull market.
2. Core Logic
A. Left-Side Latency (Rebound/Bottom Fishing)
Capital Allocation: Defaults to 50% position.
Philosophy: "Buy when others fear." Seeks opportunities in extreme panic or momentum divergence.
Entry Signals (Triggered by any of the following):
Extreme Panic: RSI Oversold (<30) + Price below Bollinger Lower Band + Bullish Candle Close (Avoid catching falling knives).
Oversold Bias: Price deviates more than 15% from the 60-day MA (Life Line), betting on mean reversion.
MACD Bullish Divergence: Price makes a new low while MACD histogram does not, accompanied by strengthening momentum.
B. Right-Side Full Position (Trend Following)
Capital Allocation: Aggressively scales up to Full Position (~99%) upon signal trigger.
Philosophy: "Follow the trend." Strike heavily once the trend is confirmed.
Entry Signals (All must be met):
Upward Trend: MACD Golden Cross + Price above 20-day MA.
Breakout Confirmation: CCI indicator breaks above 100, confirming a main ascending wave.
Volume Support: Volume MACD Golden Cross, ensuring price increase is backed by volume.
C. Smart Risk Control
Bear Market Exhaustion Exit: In a bearish trend (MA20 < MA60), the strategy does not "hold and hope." It immediately liquidates left-side positions upon signs of rebound exhaustion (breaking below MA20, touching MA60 resistance, or RSI failure).
ATR Trailing Stop: Uses Average True Range (ATR) to calculate a dynamic stop-profit line that rises with the price to lock in profits.
Hard Stop Loss: Forces a stop-loss if the left-side bottom fishing fails and losses exceed a set ATR multiple, preventing deep drawdowns.
3. Recommendations
Target Assets: High liquidity broad-based ETFs such as CSI 300 ETF (510300), CSI 500 ETF (510500), ChiNext ETF (159915), STAR 50 ETF (588000).
Timeframe: Daily Chart.
Ichimoku MTF Heatmap W/ adj alert placement W and D cloud ALERTShows green FLAG 50 bars back when Daily and Weekly Cloud metrics are ACTIVE.
The Engulfing Liquidity Signal with Adjustable Trailing StopEngulfing Liquidity Signal with Adjustable Trailing Stop
This strategy is designed to enter long trades based on the Engulfing Liquidity Signal combined with a Trailing Stop. The strategy uses custom volume analysis and price action to detect potential market opportunities. The Trailing Stop is adjustable, allowing traders to customize the distance at which the stop will trail the price.
Key Features:
Engulfing Liquidity Signal: The strategy enters a trade when the market shows signs of strong liquidity and price action, typically when there is a strong reversal signal (bullish engulfing) accompanied by higher volume.
Trailing Stop: A dynamic exit strategy that locks in profits by trailing the stop level behind the highest price achieved since the trade entry. This prevents the position from being closed prematurely while still protecting profits if the market reverses.
Customizable Trailing Stop: Users can adjust the trailing stop percentage via the settings. This allows for greater flexibility in how closely the stop will trail the price.
No Fixed Take Profit: The strategy uses only the trailing stop, ensuring that profits are maximized based on price action without a fixed profit target.
How the Strategy Works:
Buy Signal (LongC):
The strategy triggers a buy signal when a bullish engulfing pattern occurs, and the liquidity conditions align (i.e., the volume is increasing and price action shows signs of a potential reversal).
The strategy enters a long position when the signal conditions are met.
Trailing Stop Logic:
Once the trade is initiated, a trailing stop is applied. The stop level follows the highest price achieved since entry, trailing the price based on a user-defined percentage.
The stop level adjusts upward as the price increases, locking in profits. If the price reverses and hits the trailing stop, the trade is closed.
The trailing stop is dynamic, meaning it moves only in the direction of profit, but it will not move lower once it has been set.
Sell Signal (ShortC):
The position will also be closed if a sell signal (ShortC) is generated. This ensures that the strategy exits the trade when a potential reversal is detected in the market.
No Fixed Take Profit:
The strategy does not use a fixed take profit level. Instead, the profit is managed entirely by the trailing stop, which ensures that positions remain open as long as the market is moving in favor of the trade, allowing the position to capture the maximum possible profit.
Settings:
Trailing Stop Percentage: The user can adjust the trailing stop distance by setting a percentage value between 10% and 100%. This controls how tightly or loosely the trailing stop will follow the price.
Benefits:
Maximized Profits: By using a trailing stop, the strategy aims to capture as much profit as possible without prematurely exiting trades.
Customizable: The adjustable trailing stop allows traders to tailor the strategy to their risk tolerance and market conditions.
Simple & Effective: The strategy is straightforward, relying on price action and volume signals, making it easy to understand and implement.
Ideal Use Case:
This strategy is suitable for traders who prefer to let their profits run and manage risk with a trailing stop. It is particularly useful in trending markets where the price continues to move in one direction for an extended period. By using a trailing stop, the strategy allows you to stay in the market and capture large moves while protecting profits.
This strategy provides an excellent combination of automated trade management with a Trailing Stop and Engulfing Liquidity Signal, making it a solid choice for traders seeking to automate their trades with customizable risk management.
Volume-Weighted Fibonacci PivotThis indicator automatically plots dynamic Fibonacci retracement and extension levels based on a volume-weighted pivot point within a user-defined lookback period or date range. It intelligently calculates a central "pivot" price biased toward high-volume bars, then draws symmetric levels both upward (extensions) and downward (retracements) for balanced confluence analysis.
How It Works (Technical Methodology)
Lookback Period Determination
Multiple filter modes control the data range used for calculations:
"Last X Bars": Fixed number of recent bars (default 400, max 4999).
"Manual Date": User-specified start date.
"Interactive (Chart)": Confirmed start date via input.
"None": Full available history (falls back to max bars).
Optionally, when using "Last X Bars", calculations can pull data from a higher/lower user-selected timeframe via request.security() for multi-timeframe alignment.
A dotted vertical line marks the start point in date-based modes.
Range and Pivot Calculation
Within the selected period:
Highest high and lowest low define the full price range.
Average volume is computed across the period.
Volume-Weighted Pivot: Average close price only from bars where volume > average volume (fallback to simple midpoint if no high-volume bars).
This creates a "smart" central pivot that leans toward areas of greater participation, often aligning with institutional activity.
Fibonacci Level Generation
User-configurable ratios (default: 0.236, 0.382, 0.5, 0.618, 0.786, 1.0, 1.272, 1.414, 1.618).
Levels are calculated symmetrically around the volume-weighted pivot:
Upward: Pivot + (Range × Ratio × Correction Factor) – teal/cyan shades.
Downward: Pivot - (Range × Ratio × Correction Factor) – red shades.
Correction Factor (default 0.5): Scales level spacing for tighter/wider grids without altering ratios.
Only the user-defined number of active lines (default 9) are drawn.
Visual Construction
Central Pivot Line: Thick yellow horizontal line with label showing exact price.
Up/Down Levels: Dashed lines extended into the future, labeled with ratio direction ("Up" or "Dn").
All objects redraw only on the last bar for performance, clearing previous drawings.
Multi-Timeframe Option
When enabled with "Last X Bars":
Pulls high/low/volume data from specified timeframe.
Aligns the pivot and levels to higher-timeframe structure while displaying on current chart – ideal for intraday traders seeking HTF confluence.
How to Use
This tool provides clean, volume-aware Fibonacci grids for identifying potential support/resistance, reversal zones, and targets.
Volume-Weighted Pivot: Often acts as a strong mean reversion level or fair value area.
Upward Levels (Teal): Potential resistance/extensions in bullish moves; watch for reactions on retests.
Downward Levels (Red): Potential support/retracements in bearish moves.
Confluence: High probability when price reacts at levels aligning with other tools (order blocks, pivots, volume profile).
Correction Factor: Lower values (<0.5) for tighter grids in ranging markets; higher (>0.5) for trending markets.
Multi-Timeframe Mode: Use on lower charts (e.g., 15m) with HTF input (e.g., 4H or Daily) to project major structure levels.
Common Setups:
Pullbacks to 0.618–0.786 zones for continuation entries.
Breaks beyond 1.0–1.618 for extension targets.
Reactions near pivot line for mean reversion trades.
Adjust ratios and active line count to match your preferred Fibonacci style (classic retracement vs. extensions).
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
SMA Crossover Strategy with Monte Carlo TunerCore logic
• Two signals:
• FAST SMA
• SLOW SMA
• Trade rule:
• FAST > SLOW → long
• FAST < SLOW → short
• Nothing else. No indicators stacked on top.
⸻
Two operating modes
1) Deterministic mode (baseline)
• MC = OFF
• You choose (fast, slow) explicitly (default 8/34)
• Behavior is stationary and repeatable
This is your control experiment.
⸻
2) Monte Carlo mode (adaptive discovery)
• MC = ON
• The script:
• Samples (fast, slow) pairs randomly from bounded integer ranges
• Simulates trades for each pair in parallel
• Tracks (gross profit, gross loss, trade count)
• Computes PF = GP / GL
• Promotes best-so-far online
Key point:
This is not grid search. It’s stochastic sampling with early stopping with time control (default 35 s)
Gold ORB Strategy (3/5/15/30 Min)It's a multi-mode Opening Range Breakout system for Gold futures that automates the detection of the 7:20-7:23 AM CT opening range and provides clear visual signals for four different trading styles.
In Plain English:
"It draws a box around gold's first 3 minutes of trading, then alerts you when price breaks out with confirmation from volume, VWAP, and moving averages. It automatically calculates your entry, stop, and target prices based on your chosen strategy style."
What Makes It Unique:
4 Trading Personalities in One Tool:
Aggressive = "I want every breakout, I'll manage the fakeouts"
Confirmed = "Show me only moves that close beyond the range"
Retest = "I want the pullback entry for better R:R"
Fibonacci = "Let me buy the dip after the initial move"
Smart Confluence Filtering:
Doesn't just show every breakout
Checks if VWAP agrees (trend filter)
Verifies EMA alignment (momentum filter)
Flags volume spikes (conviction filter)
Complete Trade Management:
Automatically calculates stops (3 different methods)
Shows profit targets based on your R:R preference
Labels stick to price levels as you scroll
Visual dashboard shows all key info at a glance
What It's NOT:
Not a "buy here, sell there" robot - you still need to read the market
Not foolproof - no strategy works every day
Not optimized yet - you'll need to backtest and adjust settings for your style
The Real Value:
It takes a proven strategy from your research and makes it systematic and repeatable. Instead of manually drawing boxes and calculating stops every morning, it does the math and shows you exactly where the setup is.
LJ Parsons Adjustable expanding MRT FibBased on premium/discount/fair-value levels the indicator will expand with the market by settable dates.
The levels are not fib based as such but are resonant levels within an multiplicative /12 log scale using the LJ Parsons Market resonance hypothesis.
Squeeze + ADX + TTM [V6]Execution speed: The TradingView engine processes v6 scripts much faster.
Stability: By using standard functions like ta.sma or ta.linreg, the indicator is less prone to calculation errors on lower timeframes.
Clarity: I've reorganized the ADX calculation within a function to make it more readable if you decide to modify it later.
Market Participation Gradient [Interakktive]Market Participation Gradient (MPG) is a diagnostic oscillator that measures the quality and intensity of market participation by combining price efficiency with activity (volume or a FX-safe proxy) into a single 0–100 score.
Most tools tell you "how much activity exists." MPG focuses on "how effective that activity is," helping you differentiate clean directional participation from absorbed / inefficient participation where effort produces limited directional progress.
█ WHAT IT DOES
- Produces a 0–100 participation score (higher = stronger participation environment)
- Uses color as state context (not buy/sell)
- Classifies participation into four tiers for quick readability
- Includes an optional status-line HUD for at-a-glance context without chart clutter
█ WHAT IT DOES NOT DO
- NO buy/sell signals
- NO entries/exits
- NO alerts by default
- NO repainting / no lookahead (diagnostic context only)
█ HOW TO READ MPG
Level (0–100)
- Higher values = stronger participation environment
- Lower values = thin, drifting participation environment
Color (state language, not direction)
- Teal = Clean participation (efficient movement)
- Magenta = Absorbed participation (high activity, low efficiency)
- Amber = Building / transition state
- Grey = Thin / neutral state
█ TIER SYSTEM
MPG uses four tiers:
- THIN (0–20): low participation environment
- BUILDING (20–40): participation emerging / transitional
- STRONG (40–65): solid participation environment (quality becomes more meaningful)
- EXTREME (65+): very high participation environment (contextually important during events or late-cycle pushes)
█ QUALITY ASSESSMENT (STRONG / EXTREME)
Within STRONG and EXTREME tiers, MPG evaluates participation quality:
- Clean (Teal): Efficiency > 55%
- Absorbed (Magenta): Efficiency < 30% AND Activity > 1.5×
- Neutral (Grey): otherwise (mixed quality)
█ STATUS LINE HUD
MPG can display key values in TradingView's status line:
- Minimal: MPG (0–100) + Tier (0–3)
- Full: adds Direction (-1/0/1) and Quality (-1/0/1)
This provides quick context without tables or on-chart panels.
█ HOW IT WORKS (METHODOLOGY)
MPG combines two independent measurements:
1. Efficiency (0–1)
Efficiency = |Net Displacement| / Total Path Length
- High efficiency = price moved more directly
- Low efficiency = price moved less directly (more back-and-forth)
2. Activity (centered at 1.0)
Activity = Current Volume / Average Volume
- Activity > 1 = above-average activity
- Activity < 1 = below-average activity
FX / indices fallback: If volume is unreliable/unavailable, MPG uses a range-based proxy: (High–Low) / ATR (capped) to prevent distortion.
3. Participation Score (0–100)
Participation = Efficiency × √Activity × 100
The square root applies diminishing returns so activity alone cannot dominate without efficiency support.
█ SETTINGS
Core
- ATR Length — normalization baseline
- Efficiency Lookback — bars used for efficiency
- Volume Average Length — baseline for activity
- Smoothing Length — EMA smoothing (1 = minimal smoothing)
Visuals
- Histogram / Line / Tier Bands toggles
- Optional pane background tint (default OFF)
- Theme: Cinematic (subtle) or Vivid (brighter)
HUD
- Status Line HUD toggle
- HUD Detail: Minimal or Full
█ SUITABLE MARKETS
Works on any market with price data. For symbols with unreliable volume (common in FX), MPG automatically uses the range/ATR activity proxy.
█ RELATED (INTERAKKTIVE)
- MER — Market Efficiency Ratio (pure efficiency)
- ERD — Effort–Result Divergence (effort vs outcome)
- VSI — Volatility State Index (expansion/contraction context)
█ DISCLAIMER
This indicator is for educational and informational purposes only and does not constitute financial advice. Always do your own research and use appropriate risk management.
FPT - Engulfing Bar Highlight📌 Description
FPT – Engulfing Bar Highlight is a clean and lightweight indicator designed to highlight valid bullish and bearish engulfing candles directly on the chart.
The indicator uses a strict engulfing definition:
Bullish Engulfing
Current low breaks the previous low
Close is above the previous open
Close is above the current open
Bearish Engulfing
Current high breaks the previous high
Close is below the previous open
Close is below the current open
An optional minimum candle size filter (in ticks) helps eliminate weak or insignificant engulfing candles.
This tool is ideal for traders who:
Trade price action
Use engulfing candles as entry, confirmation, or context
Want a minimal, non-intrusive visual highlight
Combine engulfing logic with key levels, sessions, or other strategies
⚙️ Inputs
Highlight Mode
Bull Only
Bear Only
Both
Minimum Engulfing Size (ticks)
🎯 Features
Clean bar highlight (no boxes, labels, or signals)
No repainting
Works on any market and timeframe
Perfect for discretionary and algorithmic workflows
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not constitute financial advice.
Always use proper risk management.
EMA RSI Adaptive (v6) [Joy]I have taken Glaz's code and converted to V6. The main logic is not mine but taken from Glaz's code
The EMA RSI Adaptive indicator smooths price with an EMA whose speed adjusts to RSI’s distance from its midpoint (50). When RSI strays far from 50 (higher momentum/volatility), the effective EMA period shrinks so the line hugs price. When RSI stays near 50 (quieter conditions), the period lengthens to filter noise. The target of the EMA update is an SMA of price (matching the original design), so you get a smoothed, adaptive trend line rather than a raw EMA of closes.
Key mechanics (what’s happening under the hood):
RSI distance: |RSI - 50| + 1 measures how “charged” momentum is. Bigger distance → faster adaptation.
Dynamic period: a nonlinear mapping turns that RSI distance into an adjusted smoothing length.
Adaptive EMA: ema = emaPrev + alpha * (SMA - emaPrev), where alpha = 2 / (1 + dynamicPeriod).
Visuals: optional color shift—blue when the line is rising, magenta when falling.
Practical use:
Trend filter: rising line = bullish bias; falling line = bearish bias.
Pullback tool: in trends, price tags or minor pierces of the adaptive line can mark pullback zones.
Volatility-aware: it tightens in fast moves (tracks closer) and relaxes in chop (filters more).
On very low timeframes or illiquid symbols, expect more whipsaw; lengthen the base EMA or RSI period to calm it.
The color toggle is cosmetic; the adaptive line itself carries the signal.
ORB 5 Min Break & Retest + Alerts By Khan 0.1 verORB 5-Minute Break & Retest Indicator
This indicator plots the high and low of the first 5-minute candle of the trading session (Opening Range). It then monitors price for a breakout above or below the ORB levels and triggers an alert when price retests the broken level and holds.
Designed to help identify high-probability ORB continuation setups with clear visual levels and TradingView alerts.
SMC Post-Analysis Lab [PhenLabs]📊 SMC Post-Analysis Lab
Version: PineScript™ v6
📌 Description
The SMC Post-Analysis Lab is a dedicated hindsight analysis tool built for traders who want to understand what really happened during any historical trading period. Unlike forward-looking indicators, this tool lets you scroll back through time and instantly receive algorithmic classification of market states using Smart Money Concepts methodology.
Whether you’re reviewing a losing trade, studying a successful session, or building your pattern recognition skills, this indicator provides immediate context. The expansion-aware algorithm processes price action within your selected window and outputs clear, actionable classifications ranging from Parabolic Expansion to Consolidation Inducements.
Stop relying on subjective post-trade analysis. Let the algorithm objectively tell you whether institutional players were accumulating, distributing, or running inducements during your trades.
🚀 Points of Innovation
First indicator specifically designed for SMC-based post-trade review rather than live signal generation
Dual-mode analysis system allowing both dynamic scrollback and precise date selection
Expansion-aware classification algorithm that weighs range position against net displacement
Real-time efficiency metrics calculating directional quality of price movement
Integrated visual FVG detection within the analysis window only
Interactive table with clickable date range adjustment via chart interface
🔧 Core Components
Pivot Detection Engine: Uses configurable pivot length to identify significant swing highs and lows for structure break detection
Window Calculator: Determines active analysis zone based on either bar offset or timestamp boundaries
Data Aggregator: Tracks window open, high, low, close and counts bullish/bearish structure break events
State Classification Algorithm: Applies hierarchical logic to determine market state from six possible classifications
Visual Renderer: Draws structure breaks, FVG boxes, and window highlighting within the active zone
🔥 Key Features
Sliding Window Mode: Use the Scroll Back slider to dynamically move your analysis zone backwards through history bar-by-bar
Date Range Mode: Select specific start and end timestamps for precise session or trade review
Six Market State Classifications: Parabolic Expansion (Bull/Bear), Bullish/Bearish Order Flow, Accumulation/Distribution Reversal, and Consolidation/Inducement
Range Position Percentile: See exactly where price closed relative to the window’s high-low range as a percentage
Bull/Bear Event Counter: Quantified count of structure breaks in each direction during the analysis period
Efficiency Calculation: Net move divided by total range reveals trending quality versus chop
🎨 Visualization
Blue Window Highlight: Active analysis zone is clearly marked with blue background shading on the chart
Structure Break Lines: Dashed lines appear at each bullish or bearish structure break within the window
FVG Boxes: Fair Value Gaps automatically render as semi-transparent boxes in bullish or bearish colors
Dashboard Table: Top-right positioned table displays State, Analysis description, and Metrics in real-time
Color-Coded States: Each classification uses distinct coloring for immediate visual recognition
Interactive Tip Row: Optional help text guides users on clicking the table to adjust date range
📖 Usage Guidelines
General Configuration
Analysis Mode: Default is Sliding Window. Choose Date Range for specific timestamp analysis.
Sliding Window Settings
Scroll Back (Bars): Default 0. Increase to move window backwards into history.
Window Width (Bars): Default 100. Range 20-50 for scalping, 100+ for swing analysis.
Date Range Settings
Start Date: Select the beginning timestamp for your analysis period.
End Date: Select the ending timestamp for your analysis period.
Visual Settings
Show Help Tip: Default true. Toggle to hide instructional row in dashboard.
Bullish Color: Default teal. Customize for bullish elements.
Bearish Color: Default red. Customize for bearish elements.
SMC Parameters
Pivot Length: Default 5. Lower values (3-5) catch minor breaks. Higher values (10+) focus on major swings.
✅ Best Use Cases
Post-trade review to understand why entries succeeded or failed
Session analysis to identify institutional activity patterns
Trade journaling with objective algorithmic classifications
Pattern recognition training through historical scrollback
Identifying whether stop hunts were inducements or legitimate breaks
Comparing your real-time read versus what the algorithm detected
⚠️ Limitations
Designed for historical analysis only, not live trade signals
Classification accuracy depends on appropriate pivot length for the timeframe
FVG detection uses simple gap logic without mitigation tracking
State classification is based on window data only, not broader context
Requires manual scrolling or date input to review different periods
💡 What Makes This Unique
Purpose-Built for Review: Unlike most indicators focused on live signals, this is designed specifically for post-trade analysis
Expansion-Aware Logic: Algorithm weighs both position in range AND directional efficiency for accurate state detection
Interactive Date Control: Click the dashboard table to reveal draggable anchors for window adjustment directly on chart
🔬 How It Works
1. Window Definition:
User selects either Sliding Window or Date Range mode
System calculates which bars fall within the active analysis zone
Active zone receives blue background highlighting
2. Data Collection:
Algorithm captures window open, running high, running low, and current close
Structure breaks are detected when price crosses above last pivot high or below last pivot low
Bullish and bearish events are counted separately
3. State Classification:
Range Position calculates where close sits as percentage of high-low range
Efficiency calculates net move divided by total range
Hierarchical logic applies priority rules from Parabolic states down to Consolidation
4. Output Rendering:
Dashboard table updates with State title, Analysis description, and Metrics
Visual elements render within window only to keep chart clean
Colors reflect bullish, bearish, or neutral classification
💡 Note:
This indicator is intended for educational and review purposes. Use it to develop your understanding of Smart Money Concepts by analyzing what institutional order flow looked like during historical periods. Combine insights with your own analysis methodology for best results.
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.
TiRadarHUD Radar that provids for the ability to input manual levels in addition to tracking multiple EMAs.
Anurag Institutional Swing Trader Pro [Robust]nstitutional Swing Flow is a comprehensive, multi-timeframe system designed for swing traders who want to align with "Smart Money" rather than fight against it.
Unlike standard indicators that rely solely on price crossovers, this script analyzes the underlying order flow—tracking stealth accumulation, volume anomalies, and institutional footprints—to generate high-probability swing setups.
Key Features (The "Smart Money" Logic)
1. Institutional Footprints
Stealth Accumulation/Distribution: Detects when price is held in a tight range despite high volume (a classic sign of institutions building a position).
Smart Money Divergence: Identifies when price makes a lower low but Money Flow (OBV/Accumulation-Distribution) makes a higher high.
Fair Value Gaps (FVG): Automatically plots Bullish and Bearish imbalance zones where price is likely to retrace before continuing the trend.
2. Safety First (Risk Management)
Real Earnings Detection: Automatically checks upcoming earnings dates. If an earnings report is within 5 days (adjustable), the script blocks new signals to prevent gambling on binary events.
Visual Exits: Plots dynamic Stop Loss and Take Profit levels on the chart the moment a trade is taken, along with "SL Hit" or "TP Hit" markers for visual backtesting.
3. The "Confluence Score" Dashboard A sophisticated dashboard in the top-right corner rates every setup on a scale of 0 to 100 based on:
Multi-Timeframe Trend: Is the Weekly, Daily, and 4H trend aligned?
Relative Strength: Is the asset outperforming the SPY benchmark?
Volatility: Is the asset in a "Squeeze" (Bollinger Band compression)?
Momentum: RSI, MACD, and CMF confirmation.
Only setups with a score > 65 (adjustable) trigger a BUY or SELL signal.
How to Use
Timeframe: Optimized for 4-Hour (4H) and Daily (D) charts. (Avoid using on <15m charts due to multi-timeframe calculations).
The Signal: Wait for a large "CALL" or "PUT" label.
The Confirmation: Check the Dashboard. Ideally, look for a "Squeeze: YES" combined with a high Institutional Buy Score.
The Exit: Follow the Red (Stop Loss) and Green (Take Profit) lines plotted automatically.
Disclaimer
This tool is for educational purposes only. Swing trading involves risk. Always confirm signals with your own analysis and risk management rules.
SR Channel + EMA + RSI MTF + VolHighlightSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
PM/PW/PD/OVN/CD Highs & Lows with prices+ EMAsPM/PW/PD/OVN/CD Highs & Lows with prices
+
3 customizable EMAs (def 12/34/55)






















