Multi-Metric Market Regime Detector - [KK]This indicator identifies current market behavioral regimes by synthesizing six complementary analytical methodologies. Rather than generating trading signals, it provides contextual analysis to help traders understand market conditions and adapt their strategies accordingly.
Markets cycle through distinct behavioral states - trending efficiently, consolidating in ranges, compressing before breakouts, or transitioning between states. This tool quantifies these conditions using only price action data (OHLC), enabling traders to filter strategies based on current market structure.
Core Methodology
The indicator combines six independent metrics into a weighted composite classification system:
Efficiency Ratio (30% weight)
Measures the signal-to-noise ratio of price movement by comparing net price displacement to total path traveled. High efficiency indicates clean directional movement; low efficiency indicates choppy, noisy conditions.
Choppiness Index (25% weight)
Quantifies whether the market is trending or consolidating by comparing cumulative True Range to actual price range. Values below 38.2 suggest trending behavior; values above 61.8 suggest range-bound consolidation.
Volatility Analysis (20% weight)
Detects compression and expansion cycles using the relationship between Bollinger Bands and Keltner Channels. Compression phases (squeeze conditions) often precede significant directional moves.
Fractal Efficiency Proxy (10% weight)
Analyzes path complexity by comparing net displacement to cumulative range, providing insight into the smoothness versus randomness of price action.
Market Structure (15% weight)
Examines pivot point sequences to identify structural trends. Higher Highs and Higher Lows indicate bullish structure; Lower Lows and Lower Highs indicate bearish structure.
Wick-to-Body Ratio Analysis (qualitative)
Identifies rejection and indecision patterns by measuring the proportion of candle wicks to bodies, highlighting potential reversal zones or liquidity events.
Regime Classifications
The composite scoring system produces four distinct regime states:
TRENDING : High efficiency, low choppiness, clear directional structure. Favorable conditions for momentum and trend-following strategies.
CHOPPY/RANGE : Low efficiency, high choppiness, mean-reverting behavior. Favorable conditions for range trading and counter-trend setups.
COMPRESSION : Volatility squeeze detected, market coiling. Anticipate expansion; reduce position size until breakout confirmation.
TRANSITION : Mixed signals, conflicting metrics, unclear direction. Recommended to reduce exposure and wait for regime clarity.
Visual Features
Regime-Colored Candles (enabled by default)
Candles are colored according to the current regime state for immediate visual identification. Green indicates trending, gray indicates choppy, orange indicates compression, and yellow indicates transition.
Comprehensive Metrics Table (top right)
Displays real-time values for all six metrics along with individual regime assessments and the final composite classification with score.
Regime Guide Table (middle right)
Quick reference guide showing recommended strategies and actions to avoid for each regime state.
Chart Label ( optional)
Summary label displaying current regime and key metric values.
Background Coloring (optional)
Alternative visualization using background colors instead of candle coloring.
Indicator Plots (optional)
Displays Efficiency Ratio and Choppiness Index with threshold reference lines.
Customization Options
All calculation parameters are adjustable:
- Efficiency Ratio lookback period and thresholds
- Choppiness Index length and classification thresholds
- Volatility analysis parameters (BB/KC multipliers and lengths)
- Pivot detection sensitivity (left/right bars)
- Text size controls for both tables (Tiny to Huge)
- Visual element toggles (candles, background, label, tables, plots)
The indicator automatically detects chart theme (dark/light) and adjusts text colors for optimal readability.
Practical Application
This is a context tool, not a signal generator. Use it to:
- Filter trend-following strategies to trending regimes only
- Identify range-bound conditions for mean-reversion setups
- Anticipate breakout opportunities during compression phases
- Reduce exposure during transitional periods with mixed signals
- Improve risk management by matching position size to regime clarity
The indicator works on all timeframes and instruments using only OHLC data. Higher timeframes generally provide more stable regime classifications.
Alert Conditions
Four alert types are available:
- Efficiency Ratio crosses trend threshold
- Choppiness Index enters range territory
- Volatility squeeze released
- Regime state change detected
Technical Notes
Built with Pine Script v5. Uses up to 500 bars of historical data for stable calculations. All metrics are calculated in real-time with no repainting on confirmed pivots. Compatible with all chart themes through adaptive text coloring.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Past performance and theoretical analysis do not guarantee future results. Always conduct independent research and implement appropriate risk management. Trading financial instruments involves substantial risk of loss.
Usage Philosophy
The goal is not to trade more frequently, but to think more clearly about market conditions. Use this tool to develop deeper intuition about market structure and to enforce discipline by avoiding low-probability setups during unfavorable regime conditions.
トレンド分析
Adaptive Strength Overlay (MTF) [BackQuant]Adaptive Strength Overlay (MTF)
A multi-timeframe RSI strength visualizer that projects oscillator “pressure” directly onto price using adaptive gradient fills between percent bands. Built to make strength, exhaustion, and regime context readable at a glance, without needing to stare at a separate oscillator panel.
Mean-Reversion mode example
What this indicator does
This indicator converts RSI strength into a chart overlay that reacts to momentum and extremes, then visualizes it as colored “pressure zones” around price.
Instead of plotting RSI in a sub-window, it:
Builds 1 to 3 symmetric percent bands above and below price.
Computes RSI strength on up to 3 different timeframes (MTF).
Smooths RSI with your selected moving average type.
Maps RSI values into discrete transparency “buckets”.
Fills between the bands with a gradient whose opacity reflects strength or exhaustion.
Displays a compact RSI table for all enabled timeframes.
Provides alert conditions for extremes and midline shifts on each timeframe.
The result is an overlay that looks like a dynamic envelope. When strength rises, the envelope “lights up” in the direction of the move. When strength becomes stretched, the outer zones become visually prominent.
Core idea: “Strength as an overlay”
RSI is normally interpreted in a separate oscillator panel. That makes context-switching slow:
You check price action.
You look down at RSI.
You mentally translate RSI into risk or trend bias.
This script removes that translation step by projecting strength directly onto the price area, using band fills as a visual language:
More visible fill = stronger strength or more extreme condition (depending on mode).
Less visible fill = weak strength or neutral state.
Two operating modes
1) Trend mode
Trend mode emphasizes strength aligned with direction:
When RSI is strong on the upside, upper bands become more visible.
When RSI is strong on the downside, lower bands become more visible.
Neutral RSI fades, so the chart de-clutters during chop.
Use Trend mode when:
You want a clean trend-following overlay.
You want to quickly see which timeframe(s) are powering the move.
You want to filter entries to moments when strength confirms direction.
2) Mean-Reversion mode
Mean-Reversion mode flips the emphasis to highlight exhaustion against the move :
Upper extremes become a “potential exhaustion” cue.
Lower extremes become a “potential exhaustion” cue.
The overlay is tuned to make stretched conditions obvious.
This is not an automatic “short overbought / long oversold” system. It is a visualization mode that makes “extended” conditions stand out faster, especially when multiple timeframes align.
How the bands work (Percent Bands)
The indicator constructs up to three symmetric envelopes around price:
Band 1: percent1 scaled by scale
Band 2: percent2 scaled by scale (optional)
Band 3: percent3 scaled by scale (optional)
The percent bands are simple deviations from the selected price source:
Upper = price * (1 + (percent * scaling)/100)
Lower = price * (1 - (percent * scaling)/100)
Why this matters:
It anchors “strength visualization” to meaningful price distance.
It makes the overlay comparable across assets because it’s percent-based.
It gives you a consistent spatial frame for reading momentum versus extension.
Multi-timeframe engine (MTF)
The script runs the same strength calculation on up to three timeframes:
Timeframe 1 uses the chart timeframe by default (empty string input).
Timeframe 2 is optional and defaults to Daily.
Timeframe 3 is optional and defaults to Weekly.
Each timeframe has:
Its own RSI period (len, len2, len3).
Its own smoothing length (slen, slen2, slen3).
The same smoothing type selection (EMA, HMA, etc).
This creates a layered view:
TF1 often reflects tactical pressure (entries/exits).
TF2 reflects structural pressure (swing context).
TF3 reflects macro bias (regime context).
When multiple timeframes agree, the fills stack and the overlay becomes visually louder. When they disagree, the overlay looks mixed or muted, which is exactly the point.
Smoothing options (why so many)
Raw RSI can be noisy. This script lets you smooth RSI with multiple MA types, which changes how “responsive” the overlay feels:
EMA/RMA smooth without lagging as hard as SMA.
HMA responds faster but can be twitchy.
LINREG can feel more “structural”.
ALMA and T3/TEMA provide heavier smoothing profiles with different lag characteristics.
This isn’t cosmetic. Your smoothing choice affects:
How early the overlay “lights up” in Trend mode.
How long extremes remain highlighted in Mean-Reversion mode.
How often fills flicker in chop.
Strength mapping (the transparency buckets)
Instead of mapping RSI to a continuous color scale, the script uses a discrete transparency ladder. That creates a clean, readable visual that avoids constant flickering.
The logic assigns two transparency values per timeframe:
Upper-side transparency responds to lower RSI zones (weak upside strength).
Lower-side transparency responds to higher RSI zones (strong upside strength).
Then the script uses those transparencies differently depending on mode:
Trend mode shows “strength aligned with direction”.
Mean-Reversion mode swaps the emphasis so “extremes” stand out as potential stretch.
You can think of it as:
Trend mode highlights continuation strength.
Mean-Reversion mode highlights potential exhaustion.
Fill stacking (how the overlay is built)
The overlay uses layered fills:
Fill from price to Band 1
Fill from Band 1 to Band 2 (if enabled)
Fill from Band 2 to Band 3 (if enabled)
Upper side uses the negative color (typically red) and lower side uses the positive color (typically green), because upper bands represent “above price” space and lower bands represent “below price” space. The intensity is controlled by the computed transparency per timeframe and selected mode.
Important behavior:
Disabling Band 2 or Band 3 can change how the stacked fills look, because you are removing fill segments.
If you want a clean look, run only Band 1.
If you want a “regime heat” look, run Bands 1–3 with higher scaling.
Table (MTF RSI dashboard)
A compact table prints RSI values for each configured timeframe:
Row labels show TF.
Values show the smoothed RSI output that drives the overlay.
Use it for quick confirmation:
If overlay looks strong but table RSI is neutral, your band settings might be too tight.
If TF3 RSI is extreme while TF1 is neutral, you are likely in a macro stretched regime with local consolidation.
Alerts (built-in)
Alerts are provided for each timeframe separately, covering:
Entering upper extreme (cross above 70)
Exiting upper extreme (cross below 70)
Entering lower extreme (cross below 30)
Exiting lower extreme (cross above 30)
Bullish midline cross (cross above 50)
Bearish midline cross (cross below 50)
This enables workflows like:
Notify when TF2 enters extreme, then wait for TF1 mean-reversion confirmation.
Notify when TF3 crosses midline, then only take TF1 trend setups in that direction.
How to use it (practical reads)
Trend mode reads
Strong continuation: TF1 and TF2 fills become clearly visible on the same side.
Healthy pullback: TF1 fades but TF2 stays visible, suggesting underlying structure remains strong.
Chop warning: fills alternate or remain mostly invisible, indicating neutral strength.
Mean-Reversion mode reads
Exhaustion zones: outer fills become prominent near the extremes, signaling stretched conditions.
Compression after extreme: fill fades while price stabilizes, suggesting “cooling off” rather than immediate reversal.
Multi-TF stretch: TF2 and TF3 extremes together often mark higher significance zones.
Recommended setup presets
Preset A: Clean trend overlay
Mode: Trend
Bands: only Band 1
Scale: 1–2
Smoothing: EMA, moderate slen (6–10)
TF2: Daily on intraday charts
Preset B: Regime and exhaustion mapper
Mode: Mean-Reversion
Bands: Bands 1–3
Scale: 2–4
Smoothing: T3 or RMA, slightly higher slen
TF2: Daily, TF3: Weekly
Limitations
This is a strength visualization tool, not a full entry/exit system.
Percent bands are not volatility-adjusted, they are distance frames. In very high vol conditions, you may need higher band percentages or higher scaling.
MTF values update on their own timeframe closes, so higher timeframes will step rather than update every bar.
PA Signal Levels: ENTRY SL TP1-2-3 (Cross Marker)Click the Alert Button: Click the "Alert" button (bell icon) on the top toolbar of TradingView.
Configure Alert Conditions:
Condition: Select the name of this indicator (e.g., PA Signal Levels: ENTRY SL TP1-2-3 (Cross Marker)).
Option: Select "Any alert() function calls".
Frequency: It is recommended to select "Once Per Bar".
Configure Notification Settings:
Action: Choose your preferred notification channel (e.g., Notify on App, Webhook URL, Email, etc.).
Message: Use {{strategy.order.alert_message}} (or the predefined message in the code) to ensure the alert displays full SL/TP details.
Once configured, the system will notify you immediately whenever a new Buy/Sell signal is generated.
คำศัพท์ที่น่าสนใจ:
Toolbar: แถบเครื่องมือ
Condition: เงื่อนไข
Once Per Bar: หนึ่งครั้งต่อแท่งเทียน (ป้องกันสัญญาณหลอกขณะแท่งยังไม่จบ)
Predefined message: ข้อความที่ตั้งค่าไว้ล่วงหน้า
This indicator operates using Price Action (candlestick closes opposite to the previous bar) combined with signal confirmation from the Linear Regression Channel:
Signal Logic Chart Display
BUY: Close price is higher than the previous Open, and Low touches or drops below the Signal Support (Lower 1) line. BUY label (Green) below the candle.
SELL: Close price is lower than the previous Open, and High touches or rises above the Signal Resistance (Upper 1) line. SELL label (Red) above the candle.
Advanced Footprint Analysis1. ABSORPTION = BEST ENTRY SIGNALS
When BTC hits support and shows bullish absorption:
You know big money is buying
Price won't fall further (supply absorbed)
Risk/reward is optimal (tight stop below absorption)
Win rate on these setups is 70-80%
2. EXHAUSTION = REVERSAL TIMING
Catches exact moment selling/buying pressure is exhausted
No more guessing "is the dip over?"
Volume confirms the reversal
3. IMBALANCES = CONTINUATION TRADES
Stacked imbalances show trend strength
Enter pullbacks in strong trends
Avoid counter-trend trades when imbalance is strong
4. DELTA DIVERGENCE = EARLY WARNING
Cumulative delta rising but price flat = accumulation (buy setup)
Cumulative delta falling but price rising = distribution (sell setup)
This divergence appears BEFORE price moves
5. FILTERS OUT NOISE
Crypto has tons of fake volume and wash trading
By requiring volume to be significantly above average (2x, 3x), you ignore the noise
Only trade when institutions are active
6. WORKS ON ALL CRYPTO PAIRS
BTC, ETH, SOL - same patterns
Especially powerful on perpetual futures (more volume data)
PRACTICAL 5M CRYPTO ALGO STRATEGY:
LONG ENTRY:
Wait for bullish absorption OR bullish exhaustion
Confirm with positive stacked imbalances (3 bars)
Enter when price breaks above absorption high
Stop below absorption low
Target: 2-3x risk or next resistance
SHORT ENTRY:
Wait for bearish absorption OR bearish exhaustion
Confirm with negative stacked imbalances
Enter when price breaks below absorption low
Stop above absorption high
Target: 2-3x risk or next support
FILTER:
Only trade in direction of cumulative delta trend
Avoid when volume is below average (no institutional activity)
%-to-Tick Trailing Stop & VisualizerPercent-to-Tick Trailing Stop (strategy.exit Framework + Visualizer)
Overview
This script focuses on exit management and visualization, not entry performance. The included MA crossover entry is intentionally simple and replaceable.
Core idea (Percent → Tick conversion)
strategy.exit() trailing parameters are tick-based (trail_points, trail_offset, and loss).
This script lets you input distances in percent (%) and converts them into integer ticks using syminfo.mintick, making the same exit logic portable across most tick-based symbols/exchanges with different tick sizes.
//==What it provides==//
1. % → tick conversion for:
- Fixed stop loss (loss)
- Trailing activation distance (trail_points)
- Trailing offset distance (trail_offset)
2. On-chart visualization:
- Entry average price
- Trailing activation threshold
- Fixed stop-loss line
- Trailing stop line (with an exit-bar alignment attempt to reduce gaps)
//==How to use==//
1. Keep the included MA crossover entries, or replace them with your own entries.
2. Configure:
- Fixed Stop Loss % (loss_pct)
- Trailing Activation % (t_points_pct)
- Trailing Offset % (t_offset_pct)
3. Adjust commission/slippage defaults to match your market.
//==Important limitations (must read)==//
- calc_on_every_tick=true recalculates on realtime bars only; historical bars are evaluated differently. Backtests can differ from realtime behavior and may change after reload.
- Tick rounding: percent distances are rounded to integer ticks, so small differences can occur depending on tick size and price level.
- For more realistic intrabar backtesting, consider enabling Bar Magnifier in Strategy Properties (if available).
# Average Entry Price (Basis):
"Calculations are based on the position's average entry price (strategy.position_avg_price)."
# Pine Script v6:
"Written in the latest Pine Script v6."
요약
이 스크립트의 핵심은 “진입 전략”이 아니라 **strategy.exit()의 tick 기반 트레일링 파라미터를 % 입력으로 일반화(%→ticks 변환)**하여, 다양한 심볼/거래소의 서로 다른 tick size 환경에서도 동일한 exit 로직을 재사용할 수 있게 만든 “청산 프레임워크”입니다. 또한 calc_on_every_tick=true 환경에서 트리거/손절/트레일 라인을 실시간에 가깝게 시각화하는 데 중점을 두었습니다.
단, calc_on_every_tick은 실시간 바에서만 틱 단위 재계산이 적용되며, 히스토리 바/백테스트는 평가 방식이 달라 결과가 다를 수 있습니다.
ZOE IFVG+his indicator combines the original ICT Inversion Fair Value Gap (iFVG) Detector by ote618 with a manual checklist panel for trade analysis.
Features:
ICT iFVG Detector
Automatically identifies bullish and bearish inversion fair value gaps (iFVGs) based on 3-candle formation logic.
Draws colored boxes on the chart to highlight confirmed iFVG zones.
Sends optional alerts when iFVGs are confirmed, respecting your selected timeframe.
Works exactly like the original ote618 iFVG script, with no modifications to the core detection logic.
Manual Checklist Panel
Displays a customizable checklist to track key market factors:
Liquidity Sweep
HTF FVG
V-Shape Recovery
Inversion FVG
Clear Opposite DOL
SMT Divergence
Assigns a score and grade (A+ to F) based on selected conditions.
Panel position and background can be customized.
Allows traders to visually track trade quality alongside iFVG zones.
Usage:
Use the iFVG boxes to identify high-probability zones for entries and liquidity hunts.
Use the manual checklist to evaluate trades based on additional criteria, creating a structured workflow for market analysis.
Fully compatible with your existing iFVG workflow — the core detection and alerts remain unchanged.
Ideal For:
Traders following ICT concepts, liquidity hunts, and structure-based strategies who want to combine automated FVG detection with a manual trade-quality checklist.
Nifty OI Support Resistance This study is designed for educational purposes to assist traders in analyzing price structure on the Nifty 50 index. It creates visual reference zones based on standard mathematical intervals used in the derivatives market.
Purpose of the Tool: In the Nifty 50 index, price action is often analyzed relative to "Round Numbers" or standard strike intervals (e.g., multiples of 50). This script automatically plots these mathematical reference levels relative to the current price to help users observe price behavior.
How It Works: This indicator uses a mathematical formula to identify the nearest standard strike price intervals based on the current close price.
Strike Logic: It projects levels at standard 50-point intervals (Nifty's standard strike distance).
Volatility Buffers: It adds a user-defined buffer (default: 30 points) around these levels to visualize a "zone" rather than a specific price point.
Major Levels: It visually distinguishes major round numbers (multiples of 500) which are often significant for technical analysis.
Features:
Automated Plotting: Adjusts dynamically as price moves to show relevant upper and lower reference bands.
Zone Visualization: Helps in identifying potential areas of support or resistance based on technical structure.
Customizable: Users can adjust the strike distance and buffer range to suit different volatility conditions.
Usage: This tool is intended to be used as a visual aid for Technical Analysis. It allows users to see where the price is located relative to standard Nifty intervals.
⚠️ STANDARD DISCLAIMER & DISCLOSURE:
Nature of Content: This script and description are for educational and informational purposes only.
No Financial Advice: This tool does not constitute investment advice, buy/sell recommendations, or trading tips.
Not SEBI Registered: The author is not a SEBI registered Research Analyst (RA) or Investment Advisor (IA).
Methodology: The levels displayed are generated purely via mathematical calculation based on price inputs and do not represent real-time exchange Open Interest data.
Risk Warning: Trading in securities market is subject to market risks. Read all the related documents carefully before investing. User discretion is advised.
Adaptive Regime Z-Score (ARZ)Adaptive Regime Z-Score (ARZ) — Description
Adaptive Regime Z-Score (ARZ) is a regime-weighted, volatility-normalized price deviation histogram.
It measures the distance between price and a slow EMA (market center), normalized by ATR, and amplifies this deviation only when a directional trend regime is confirmed.
The output is displayed as a signed histogram, capped between -100 and +100, with directional regime awareness (bullish or bearish trends).
🔍 What ARZ measures
Normalized price deviation
Distance of price from the EMA center, expressed in ATR units and scaled to a fixed range.
Directional trend regime detection
A trend regime is confirmed only when all three conditions align:
EMA slope has a clear direction
Price is sufficiently far from the EMA (ATR-based distance)
ADX is above its threshold
Regime-weighted deviation
When a trend regime is active, the deviation is scaled by a trend-strength score
When no trend is detected, the output collapses toward zero
📊 How to read the histogram
Green bars → confirmed bullish trend regime
(price extended above EMA, positive deviation)
Red bars → confirmed bearish trend regime
(price extended below EMA, negative deviation)
Near-zero values → no confirmed trend regime
(range / transition state, not highlighted)
There is no separate “ranging” histogram:
absence of bars (or minimal values) implicitly represents non-trending conditions.
🎨 Visual elements
Histogram
Green = bullish trend regime
Red = bearish trend regime
Intensity reflects trend strength × extension
Highlighted only when a directional trend regime is active
Neutral otherwise
Upper / Lower Visual Levels
Reference levels only
#BLTA - CARE 7891🔷 #BLTA - CARE 7891: Ny session toolkit + Risk box + Confirmed levels + Asia box + Structure + Imbalances
Description:
#BLTA - CARE 7891 is an overlay toolkit 🧭🛠️ built for structured discretionary trading preparation. Its main purpose is to keep your chart reading and pre-trade planning in one place by combining time context, confirmed reference levels, liquidity framing, manual risk sizing, and context overlays (structure + imbalances).
🚫 This script is an indicator, not a strategy. It does not place orders.
🧩 Why these modules are combined (and how they work together)
This is not a “mashup for the sake of mixing”. Each module supports a specific step of a practical workflow:
🕒 Time context (new york session mapping)
Background highlights mark precise NY-time windows (day division at 17:00, london blocks, and new york blocks).
This provides the timing framework for when you typically scan, plan, or execute.
📰📅 Confirmed reference levels (previous day/week highs & lows)
Instead of plotting live extremes, this script confirms levels at defined boundaries:
Trading day: 17:00 → 17:00 NY
Weekly boundary: Sunday 17:00 NY
Lines start exactly at the candle where the high/low occurred and extend forward.
Optional “stop on hit” 🧊 freezes a level once price touches it, keeping the chart clean and realistic for forward analysis.
🈵 Asian range liquidity box (session that can cross midnight)
A dedicated Asian range container tracks high/low and an optional 50% midline.
It uses NY timestamps and safely handles sessions that cross midnight (storing the correct session date).
This gives you a daily liquidity “frame” often used for sweeps, breaks, and invalidations.
💸 Manual risk planning (trade box + lot sizing + table)
You select Entry (EP) and Stop (SL) directly on the chart using input.price(..., confirm=true) and time anchors.
The script then calculates:
💰 cash at risk from balance and risk %
📏 stop distance in pips (forex-aware pip sizing)
📦 lot size using units-per-lot and account currency inputs
🎯 target price using a reward ratio
It draws a risk box + target box and shows a compact table for quick verification.
🔁 Re-confirm mode (wizard) is included to prevent “stale” anchor points after timeframe changes or when you want a clean reset. While enabled, the risk table is replaced with a step guide and temporary EP/SL markers.
📈 Market structure overlay (1H zigzag projected to any timeframe)
A zigzag swing engine is computed on 1H via request.security() and projected onto the current chart.
Opacity is automatically reduced on non-1H charts so it stays contextual, not dominant.
Optional live extension of the last leg helps you see the active swing in progress.
📊 Imbalance map (fvg / og / vi) + optional dashboard
The script detects and draws:
🤏 fair value gaps (fvg)
👐 opening gaps (og)
🔎 volume imbalances (vi)
Optional filters allow minimum width by points / % / atr, and each imbalance type can be extended forward.
A dashboard 📱 can summarize bullish/bearish frequency and fill rates for context review.
✅ Quick start (recommended order)
Turn on 🕒 session visualization to align with NY timing.
Enable 📰 pdh/pdl and 📅 weekly highs/lows to map confirmed reference liquidity.
Use 🈵 the asian range box to frame the early-session liquidity container.
Plan your trade with 💸 risk module (pick EP/SL, verify pips + lots + target).
Add 📈 zigzag structure and 📊 imbalances only as supporting context.
⚠️ Notes & limitations
This tool is for planning and chart reading, not automated execution.
Lot sizing is an estimate based on your inputs; always confirm broker contract specs.
Some modules draw many objects (boxes/lines/tables) 🧱, which may slow very small timeframes.
SessionVWAP + ORBThis TradingView Pine Script indicator combines two powerful intraday tools:
Multiple Rolling VWAPs: It plots up to four independent rolling (continuous) Volume Weighted Average Prices (VWAPs) with user-defined periods (e.g., 1-hour, 2-hour, 4-hour, daily). These are "anchored" to a customizable session start time and roll forward accurately without daily resets, providing dynamic fair-value benchmarks that react at different speeds (fastest/shortest on top).
Opening Range Breakout (ORB) Zones: It displays the high/low range (with optional background shading and lines) for major global trading sessions — Sydney, Tokyo, London, New York, and US RTH (Regular Trading Hours, starting at 9:30 ET) — over the first configurable minutes (default 30) after each session open, with history for several prior days.
The latest version adds full timezone flexibility (e.g., Chicago, New York, UTC, London, Tokyo, Sydney), automatically adjusting anchor times and session opens.
Use Case
This script is ideal for intraday and day traders (especially in stocks, futures, forex, or indices) seeking confluence between volume-based value areas and session momentum.
VWAP Component: Use the layered rolling VWAPs as dynamic support/resistance. Price above the fastest VWAPs suggests bullish bias; pullbacks to slower VWAPs offer mean-reversion entries. The multi-timeframe view helps gauge short-term vs. longer-term "fair value."
ORB Component: Trade breakouts from major session opening ranges — e.g., buy above the New York ORB high (red line) for momentum longs, or fade failures for reversals. Combine with VWAP (e.g., only take NY ORB longs if price is above session VWAP) for higher-probability filters.
Overall: Overlay on lower timeframes (1-15 min) to spot setups like ORB breakouts aligning with VWAP crosses, or use for risk management (stops beyond ORB extremes). The timezone support makes it versatile for global markets without manual adjustments.
Momentum Burst + Absolute Momentum(TI65) + EP9M)This is a momentum burst indicator popularized by StockBee (hey EGeee). Track the stock absolute momentum for continuation breakout. Last but not least, identify EP9M. It can be Episodic pivot 9M volume breakout as a classic EP (CANSLIM type) for a long term trade or a regular EP9M or EP9M delayed reaction for swing trade. KISS - don't over complicate.
DJLogicsAn indicator designed to trade fast and efficiently on 3-minute charts — without lagging signals or unnecessary noise.
🎯 What’s inside:
— Clear identification of short-term trend
— Early entry and exit points
— Minimal subjectivity, maximum structure
— Perfect for active trading and scalping
🎥 I’ve recorded a detailed training video where I walk you step by step through:
— how the indicator works
— how to use it correctly
— the mistakes 90% of traders make on lower timeframes
This is a tool for those who actually trade — not just watch the market.
deKoder | VWAP | Volume Weighted Average PriceAn advanced, open-source Volume Weighted Average Price indicator with multi-period anchoring, standard deviation bands, previous period value area extension, comprehensive alerts, and enhanced visual context.
This script is a significant upgrade over standard VWAP implementations (including TradingView's built-in VWAP (the basis for this script) and typical community versions). It is designed for experienced intraday, swing, and positional traders who require precise, context-aware mean reference levels with minimal chart clutter.
Key Features & Trading Value
1 | Previous Period Value Area Extension
Automatically extends the prior anchor period's VWAP and ±1σ bands into the current period as reference lines.
Optional translucent fill between the previous ±1σ bands creates a clear "previous value area" zone.
Why it matters : The edges of the prior period's value area often act as dynamic support/resistance or mean reversion zones. This visual persistence eliminates manual drawing and provides immediate context for reactions at prior fair value zones. These are especially powerful on intraday charts when using Daily/Weekly/Quarterly anchors.
2 | Comprehensive Approach Alerts
Configurable proximity-based alerts trigger when price approaches (from either side) any plotted level: current VWAP, all six deviation bands (±1σ, ±2σ, ±3σ), and previous period VWAP/±1σ value area.
Adjustable trigger percentage and minimum bar cooldown prevent alert spam during consolidation.
Why it matters : Enables hands-off monitoring of potential mean reversion setups, deviation extremes, or breakout/rejection candidates without constant screen watching.
3 | Additional Professional-Grade Enhancements
Flexible Anchor Periods : Daily, Weekly, Monthly, Quarterly (default), Yearly, Decade, Century, plus event-based resets (Earnings, Dividends, Splits).
Intelligent Visibility Controls :
Hide entire indicator on selected higher timeframes (1H and above).
Dynamic distance filter removes off-screen levels (based on % from price).
Limit plotting to last X bars for performance and clarity.
Real-Time Info Table :
Displays current anchor, timeframe, and rounded live values for VWAP and all bands, enabling fast access to precise level values for order placement.
Fully customisable position, text size, font (monospace option), and price level decimal rounding.
Right-Side Labels with Tooltips :
Clean, minimal labels at current levels with hover tooltips allow you to quickly identify the level without cluttering the chart.
Customizable Styling :
Independently adjustable colours for VWAP and each deviation band pair.
Offset support for forward/backward shifting.
Recommended Use Cases
Intraday Scalping/Mean Reversion : 5m–15m charts with Daily anchor + previous value area as primary reference.
Swing Entries : Higher timeframes (1H–4H) using Weekly or Quarterly VWAP for bias, with previous quarter's value area as major confluence.
Deviation Trading : Watch for price interaction with ±2σ/±3σ bands combined with approach alerts for potential exhaustion.
Institutional Benchmarking : Quarterly/Yearly anchors approximate common institutional VWAP reset periods.
Additional Notes
Source fixed to hlc3 (industry standard for VWAP).
Enjoy cleaner, more contextual VWAP analysis.
| | deKoder | |
Released December 2025 | Open Source
// IF THIS FREE(!) VWAP SCRIPT — OR ANY OF ITS FRIENDS — HAS HELPED YOU BANK SOME COINS...
// A COFFEE, LUNCH, OR A FEW SATS GOES A LONG WAY TOWARDS KEEPING THE LIGHTS ON
// COFFEE KEEPS THE PINE FLOWING 😉❤️ | FR33FA11
// SOL: 2N8HWPAHSC7Z8SLyneMrZp234UAP9HCtQX7wNXw7LKQC
// ETH: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// BTC: bc1qd8j3awht5yrjtnvt5dagxldzhaesc83sftype3
// POLYGON: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// HYPE: 0xE770D254DC579d1db7bA2fe74376b7009527356B
Trade with TreandThink of this script as a filter and a signal light for trading Gold. It helps you avoid trading in the wrong direction and tells you exactly when the price momentum is shifting.
The Three Main Parts
The Ultimate Trend (The Filter):
This is the big table in the top-right corner.
Bullish (Green): Only look for BUY signals.
Bearish (Red): Only look for SELL signals.
It uses a "300 SMA" (a long-term average) to make sure you aren't "swimming against the tide."
The Entry Signals (The Crossover):
The script watches two lines on your chart (a 20-period and a 10-period).
When they cross, it places a BUY or SELL label on your screen.
The 4 Alerts (The Notifications):
You don't have to stare at the screen all day.
You get a notification for Buy entries, Sell entries, or when the Main Trend flips from Bullish to Bearish (or vice versa).
Simple Rules for Trading
To be successful with this script, follow these four rules:
Rule 1: Check the Table. If it says "Bearish," ignore all "BUY" labels.
Rule 2: Wait for the Label. Only enter a trade when a "BUY" or "SELL" label appears and it matches the trend table.
Rule 3: Protect Your Money. Look at the last 5 candles. Put your Stop Loss just past the highest or lowest point of those candles.
Rule 4: Aim for the Target. Your profit target should be at least double the amount of money you are risking (Risk:Reward 1:2).
How to use the Settings
When you click the Settings icon on the script, you can change:
SMA Filter: Change the "300" if you want the trend to be faster or slower.
Trend Gap: Adjust how far the trailing line stays away from the price.
Trend Strength Correlation Pro [TSI-C+]Overview The Trend Strength Correlation Pro (TSI-C+) is a sophisticated oscillator designed to measure the quality and linearity of a trend, rather than just its price magnitude. By calculating the Pearson Correlation Coefficient between Price and Time, it generates a score ranging from -1 (Perfect Bearish Linearity) to +1 (Perfect Bullish Linearity).
Unlike standard momentum indicators (like RSI or MACD), this tool filters out market noise to answer a specific question: "Is the market trending in an organized line, or is it chaotic?"
Mathematical Concept
Pearson Correlation: Measures how strictly the price follows a linear path over a set period.
Hull Moving Average (HMA): The input price is pre-smoothed using HMA to reduce lag significantly compared to standard correlations.
Adaptive Volatility Bands: The "Dead Zone" (Gray Area) expands and contracts based on the Standard Deviation of the correlation itself. This filters out fake signals during choppy markets.
Key Features
Asset Presets: A "Market Profile" menu allows you to instantly load optimized parameters for Crypto, Forex, Indices, or Stocks without guessing numbers.
Professional HUD: A 3-column "Head-Up Display" provides real-time status on Trend Direction, Numerical Strength, and Actionable Signals.
Smart Signal System: Differentiates between a simple breakout and a high-momentum "Strong Trend".
How to Use
1. The Signals (Shapes)
Triangle (Green/Red): Breakout Entry. The TSI line has crossed out of the gray noise zone. This marks the potential start of a trend.
Background Flash (Magenta): Strong Confirmation. The trend has reached a high correlation score (> 0.60). This indicates the trend is accelerating and stable.
X-Mark (Orange/Yellow): Exhaustion. The trend strength is dropping back below the strong threshold. This is a statistical warning that trend linearity is failing (potential Take Profit area).
2. The Dashboard (HUD)
TREND: Shows the current market state (Bull Power, Bear Power, or Neutral/Chop).
ACTION: Gives a suggestion based on the math (e.g., "WAIT", "HOLD LONG", "TAKE PROFIT").
3. The Lines
Gray Zone: When the line is inside the bands, the market is noisy. No trading is recommended.
Colored Line: When the line is Green or Red outside the bands, a trend is active.
Settings
Market Profile: Choose your asset class (Crypto, Forex, etc.) to auto-tune the indicator.
Show Signal Shapes: Toggle the visual icons on/off to clean up the chart.
Manual Parameters: If "Custom" is selected, you can tweak the Lookback Period, Smoothing Length, and Band Multipliers.
Disclaimer This tool is for educational and technical analysis purposes only. It does not provide financial advice. Past performance of a trend algorithm does not guarantee future results.
Seasonal Strategies V1Seasonal Strategies V1 is a rule-based futures seasonality framework built around predefined calendar windows per asset.
The strategy automatically detects the current symbol and activates long or short trading phases strictly based on historically observed seasonal tendencies. All entries and exits are fully time-based — no indicators, no predictions, no discretionary input.
Key Features
Asset-specific seasonal windows (MMDD-based)
Automatic long and short activation
Fully time-based entries and exits
One position at a time (no pyramiding)
Clean chart visualization using subtle background shading
No indicators, no filters, no curve fitting
Philosophy:
This strategy is designed as a structural trading tool, not a forecasting model.
It focuses on when a market historically shows seasonal tendencies — not why or how far price might move.
Seasonal Strategies V1 intentionally keeps the chart clean and minimal, making it suitable as a baseline framework for research, portfolio-style seasonal approaches, or further extensions in later versions.
Intended Use:
Futures and commodity markets
Seasonality research and testing
Systematic, calendar-driven strategies
Educational and analytical purposes
Disclaimer
This script is provided for educational and research purposes only.
Past seasonal tendencies do not guarantee future performance.
Risk management, position sizing, and portfolio decisions are the responsibility of the user.
IronRod Trigger SystemIRONROD TRIGGER SYSTEM
DESCRIPTION
IronRod Trigger System is a momentum oscillator based on the Stochastic Momentum Index (SMI) that identifies trend changes, momentum shifts, and range-bound "chop" zones. Features color-changing SMI lines, histogram columns showing momentum strength, and a visual chop zone that highlights when to trade versus when to stay on the sidelines.
The system combines momentum direction (green/red lines), momentum strength (histogram columns), and market context (chop zone cloud) into one clean visual package. The dynamic zero line changes color to signal trade conditions (cyan) versus hold conditions (orange).
What Makes It Unique:
Dual color-changing lines (SMI and AvgSMI) show momentum direction
Histogram columns display momentum strength
Chop zone cloud identifies low-momentum periods
Dynamic zero line (cyan = trade, orange = hold)
Three-color histogram (green = strong up, red = strong down, gray = weak)
Adjustable chop zone threshold
How to Use
THE DISPLAY
Lines:
Green = bullish momentum (rising)
Red = bearish momentum (falling)
Gray = neutral/sideways
Histogram Columns:
Green = strong bullish momentum
Red = strong bearish momentum
Gray = weak/choppy momentum
Zero Line:
Cyan (blue) = trade zone - momentum is directional
Orange = chop zone - momentum is weak, avoid trading
Chop Zone Cloud:
Gray shaded area = range where momentum is indecisive (±30 default)
TRADING STRATEGIES
1. Chop Zone Trading
Trade: Only when SMI is outside gray cloud AND zero line is cyan
Avoid: When SMI is inside cloud OR zero line is orange
Long: Green line appears above chop zone
Short: Red line appears below chop zone
This is the key feature - dramatically reduces whipsaws
2. Zero Line Crosses
Buy: SMI crosses above zero with cyan zero line
Sell: SMI crosses below zero with cyan zero line
Strongest signals when AvgSMI follows SMI across zero
Ignore crosses when zero line is orange (choppy)
3. Histogram Strength
Strong trend: Multiple consecutive green/red columns
Momentum building: Columns getting taller
Momentum fading: Columns turning gray = exit warning
Reversal signal: Gray columns after strong trend
4. Divergence Trading
Bearish divergence: Price higher high, SMI lower high → take red line signal
Bullish divergence: Price lower low, SMI higher low → take green line signal
Most powerful outside chop zone
ENTRIES & EXITS
Entries:
SMI line turns green outside chop zone (long)
SMI line turns red outside chop zone (short)
SMI crosses zero with cyan zero line
Exits:
SMI line changes color
SMI enters chop zone (orange zero line)
Histogram turns gray
Stops:
Below recent swing low (longs)
Above recent swing high (shorts)
ADJUSTING SETTINGS
Chop Zone (±) (default: 30):
Lower (15-25) = More trades, more whipsaws
Higher (35-50) = Fewer trades, higher quality
Adjust based on instrument volatility
Percent K Length (default: 5):
Lower (3-4) = More sensitive, faster signals - good for scalping
Higher (7-10) = Less sensitive, smoother - good for swing trading
Percent D Length (default: 4): Controls smoothing
SMI Bar Buffer (default: 4): Histogram color sensitivity
TIMEFRAME GUIDE
Scalping (1-5m): K=3, watch histogram color flips
Day trading (15-60m): Default settings, focus on zero crosses outside chop
Swing trading (4H-Daily): K=7-10, trade only strong trends outside chop
Key Settings
Percent K Length (default: 5): Lookback period - controls sensitivity
Percent D Length (default: 4): Smoothing period
Chop Zone (±) (default: 30): Range-bound zone threshold
SMI Bar Buffer (default: 4): Histogram color change sensitivity
Histogram Width (default: 1): Column thickness
Key Features
✅ Dual color-changing momentum lines
✅ Histogram columns show strength
✅ Chop zone cloud filters bad trades
✅ Dynamic zero line color
✅ Three-color histogram
✅ Adjustable chop threshold
✅ All timeframes
✅ Reduces whipsaws
Mid-term RibbonWhat the indicator is meant to tell you
-Mid-term trend direction (bullish vs bearish)
-Trend transitions when the ribbon flips color
-Trend strength (wider ribbon = stronger momentum)
-Helps traders stay in trends longer and avoid chop
Typical use cases
-Trend-following entries and exits
-Filtering trades in the direction of the ribbon
-Visual confirmation for other signals
-Swing trading and position trading
Colors are customizable
Only for educational purposes, no recommendation to buy or sell
Moving Average Structure ZigZag [Stable & Filtered]
(日本語説明)
このインジケーターは、移動平均線(MA)の転換に基づき、相場の「真の構造」を可視化するために開発されました。 通常のZigZagのように価格の単純な反転に依存せず、「MAのトレンド転換 + 指定した値幅の到達」という2つの条件を用いることで、レンジ相場の細かなノイズ(ダマシ)を排除し、ダウ理論に基づいた重要な高値・安値だけを結びます。
💡 主な機能
MAタイプの切り替え: SMA, EMA, HMA, VW-HMAなど、目的に合わせたトレンド感度を選択可能。
値幅フィルター(Min Deviation): 添付画像のように、小さな値動きをカットし、大きな市場構造だけを抽出します。
価格アクションへの追従: ラインはMAの数値ではなく、期間内の実最高値・最安値を正確に結び、高値更新時には自動で延伸されます。
🛠 活用シーン
環境認識: 上位足での大きな波形を確認し、現在のフェーズを定義。
ノイズ除去: 市場の主要な節目(レジサポ候補)の特定。
ダウ理論の視覚化: 高値・安値の切り上がり・切り下がりを明確化。
(English Description)
This indicator was developed to visualize the "True Market Structure" based on Moving Average (MA) reversals. Unlike standard ZigZag which relies solely on price reversals, this tool combines MA Trend Reversals and a Minimum Deviation filter to eliminate market noise and highlight significant swing highs and lows based on Dow Theory.
💡 Key Features
Multiple MA Types: Select from SMA, EMA, HMA, VW-HMA, etc., to match your preferred trend sensitivity.
Min Deviation Filter: As shown in the attached image, it filters out minor price fluctuations to extract only the major market waves.
Price Action Tracking: The lines connect the actual High/Low prices within the period, not the MA values themselves. Lines automatically extend when a trend continues to new highs/lows.
🛠 Use Cases
Market Context: Identify major wave patterns on higher timeframes to define the current phase.
Noise Reduction: Pinpoint key market levels and potential support/resistance.
Dow Theory Visualization: Clearly visualize higher highs/lows and trend shifts.
Settings
MA Type: Choose the type of Moving Average.
Moving Average Length: The lookback period for structure.
Min Deviation (Pips): The threshold to filter noise. Adjust according to the volatility of the pair.
Advanced Dynamic RSI Pro40-60
Oscillation Phase: Market is in consolidation. Expect sideways movement with no clear trend.
>60
Bullish Signal: A breakout above 60 confirms upward momentum and trend strength.
<40
Bearish Signal: Dropping below 40 confirms a downward trend and selling pressure.
The depth of the MA (reaching levels above 70 or below 30) clearly visualizes extreme Overbought or Oversold market conditions.
Liquidity Trap Detector Pro [PyraTime]The Problem: Why You Get Stopped Out
90% of retail traders place their stop-losses at obvious swing highs and lows. Institutional algorithms ("Smart Money") are programmed to push price through these levels to trigger liquidity, fill their heavy orders, and then immediately reverse the market.
If you have ever had your stop hit right before the market moves exactly where you predicted—you were the victim of a Liquidity Trap.
The Solution: Visualizing the "Stop Hunt"
Liquidity Trap Detector Pro is not just a support/resistance indicator. It is a comprehensive Reversal Scoring Engine.
Unlike standard indicators that spam signals on every wick, this tool uses a proprietary 5-Star Scoring System to analyze the quality of the trap. It validates every signal using Wick Symmetry, RSI Divergence, and Volume Analysis to separate a true reversal from a trend continuation.
Key Features (USP)
- 5-Star Scoring Engine: Every signal is rated from 1 to 5 stars. Stop guessing if a signal is valid; let the algorithm check the confluence for you.
- Glassmorphism Visuals: Gone are the messy lines. We use modern, semi-transparent "Liquidity Zones" that keep your chart clean and professional.
- Smart Terminology: Automatically identifies Bull Traps (Buyers trapped at highs) and Bear Traps (Sellers trapped at lows).
- Heads-Up Display (HUD): A professional dashboard monitors the market state, active filters, and recent trap statistics in real-time.
- Strict Non-Repainting: (Technical Note) This script uses strict non-repainting logic. All Higher Timeframe (HTF) data is confirmed and closed before a signal is generated, ensuring historical accuracy.
---
Tutorial: How to Trade This Indicator
1. Understanding the Signals
We use correct institutional terminology to describe the market mechanics:
GREEN Signal (BEAR TRAP):
- What happened: Price swept a Swing Low, enticing sellers (Bears) to enter. The candle then reversed and closed back inside the range, trapping those sellers.
- The Trade: This is a Bullish Reversal setup (Long).
RED Signal (BULL TRAP):
- What happened: Price swept a Swing High, enticing buyers (Bulls) to breakout. The candle reversed and closed lower, trapping the buyers.
- The Trade: This is a Bearish Reversal setup (Short).
2. The 5-Star Scoring System
Not all traps are created equal. The stars tell you how much "Confluence" exists:
- 1 Star: A basic structure sweep. Risky.
- 3 Stars: A solid setup backed by either Volume or Divergence.
- 5 Stars: The "Perfect" Trap. Structure Sweep + RSI Divergence + Volume Spike + Wick Symmetry. High Probability.
3. The Strategy
- Wait for the Zone: Watch price approach a coloured Liquidity Zone.
- Observe the Reaction: Do not trade blindly. Wait for the candle to close.
- Check the Stars: Look for at least 3 Stars before considering an entry.
- Confirm with HUD: Glance at the Dashboard to ensure the "RSI Filter" and "Vol Filter" agree with your analysis.
---
Settings Guide
Structure Settings:
- Pivot Lookback: Adjusts how sensitive the zones are (Default: 10/5).
- HTF Confirmation: Optional filter to only show traps that align with Higher Timeframe structure (e.g., 1H or 4H).
Quality Filters:
- RSI Divergence: Requires momentum to disagree with price (classic reversal sign).
- Volume Spike: Requires volume to be higher than average (Smart Money footprint).
Visuals:
- Clean Mode: A presenter-favorite feature. Hides all historical zones and leaves only the active setup—perfect for taking screenshots or sharing analysis.
Disclaimer
This tool is designed to assist with technical analysis and identifying potential areas of interest. It does not guarantee profits. Trading involves significant risk; always use proper risk management.
Classic Chartism-Market Structure- Support.ResistanceClassic Chartism – Market Structure + Support & Resistance
This indicator is designed for traditional chart-based technical analysis, relying exclusively on price action and market structure, without the use of oscillators or lagging indicators.
The script automatically detects significant swing highs and swing lows using confirmed pivots and classifies price structure according to classic market structure notation:
HH (Higher High)
HL (Higher Low)
LH (Lower High)
LL (Lower Low)
Based on these swings, the indicator plots horizontal Support & Resistance (SR) levels, representing historically significant areas of supply and demand. These levels remain active until invalidated by price, providing a clear and objective market context.
The indicator does not repaint once a swing is confirmed, making it suitable for real-time analysis and discretionary trading decisions. It performs well across cryptocurrencies, futures, indices, and equities, and is particularly useful for trend identification, pullback entries, and structure-based risk management.






















