Indicator

Indicator

EGX Macro Relative MomentumThis is a macro momentum indicator that measures how the Egyptian stock market (EGX30) is performing relative to the USD/EGP exchange rate, essentially tracking whether local equities are outpacing currency devaluation or not.
Here's the breakdown by section:
Core Concept:
The indicator answers: "Is the stock market rising faster than the Egyptian Pound is falling against the Dollar?"
This matters because in country with currency volatility (like Egypt), nominal stock gains can be wiped out by currency devaluation.
This tool separates real market strength from currency-driven illusory gains.
Section-by-Section Explanation
Inputs:
EGX:EGX30 : The Egyptian stock market index
FX_IDC:USDEGP : USD to Egyptian Pound exchange rate
lookback : Rolling window for momentum accumulation (default: 20 bars) one month.
Calculations:
Rate of Change (ROC) Daily % change for both EGX30 and USD/EGP
Relative ROC: Subtracts currency movement from equity movement:
If EGX rises 2% and USD/EGP rises 1% → Relative ROC = +1% (market beating devaluation)
If EGX rises 2% and USD/EGP rises 3% → Relative ROC = -1% (market lagging devaluation)
Accumulation: Rolling sum of this relative momentum over your lookback period (smoothed via SMA × length)
Visualization:
Green histogram = Positive accumulated momentum (market strength exceeding currency pressure)
Red histogram = Negative accumulated momentum (market weakness or heavy devaluation pressure)
Background shading = Light green/red tint for quick visual context
Divergence Signals
Bullish divergence (▲): EGX rises while USD/EGP falls → Local market strength, currency recovery
Bearish divergence (▼): EGX falls while USD/EGP rises → Capital flight, devaluation stress
How to Read It:
Green bars rising: EGX is gaining real momentum beyond just currency effects, genuine bullish.
Red bars deepening: Market is selling off OR devaluation is outpacing any nominal gains, bearish.
Bullish divergence: Market rallying despite currency stability/strength, strong risk-on signal.
Bearish divergence: Market dropping while currency weakens, classic capital flight pattern.
Practical Use Cases:
Filtering trades: Only take long EGX positions when the indicator is green (positive relative momentum)
Macro regime detection: Sustained red bars suggest it's a "currency trade" not an "equity trade"
Your stock gains may not translate to real USD returns
Timing entries: Bullish divergences at support can signal capitulation; bearish divergences at resistance warn of exodus risk.
in options:
you can change EGX30 to EGX100: The indicator becomes more sensitive to the broad market health rather than just the banking/real state giants that dominate EGX30.
If you're trading smaller EGX names, EGX100 gives you better correlation to your actual universe.
Increasing Lookback from 20 → 60: Timeframe shift: On a daily chart, you're moving from ~1 month of accumulation to ~3 months.
Signal smoothing: The histogram becomes much slower and smoother, noisy daily wiggles get averaged out.
Lag increases: You'll detect macro trends later, but with higher conviction.
new update:
✅ Switching between stocks won't change the indicator values
✅ Values update once daily at market close (or on your chosen timeframe)
✅ You can manually change the timeframe in the indicator settings (gear icon) if you want weekly or hourly momentum
✅ Consistent readings across your entire EGX watchlist
To Change Timeframe Manually
Click the gear icon on the EGX Macro Relative Momentum indicator
Change Timeframe to "W" (weekly), "60" (hourly), etc.
All stocks will use the same timeframe setting Indicator

Technical Confluence Pro - Multi-Indicator Dashboard - V1🧠 TECHNICAL CONFLUENCE PRO — Multi-Indicator Confluence Dashboard
A powerful, fully customizable real-time confluence panel that combines 14 indicators across 3 groups + 5 timeframes into a single weighted score — helping traders identify trend direction, market momentum, and potential entry conditions at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 WHAT'S INSIDE — 3 PANELS SIDE BY SIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ADVANCED INDICATORS
• CM UltMACD MTF (TF60) — MACD momentum on the 60-minute timeframe
• SQZMOM LB (11/2 · 11/1.5) — Squeeze Momentum, detects compression before explosive moves
• QQE (14 · 5 · 4.236) — Quantitative Qualitative Estimation, smoothed RSI with dynamic ATR bands
• Kalman Trend Strength (500 · 10) — Kalman filter oscillator, normalized over a 500-bar window
• WTO hlc3 (10 · 21) — Wave Trend Oscillator, momentum direction with overbought/oversold zones
▸ TECHNICAL INDICATORS
• EMA Stack 9 / 21 / 50 / 200 — full trend alignment across all key moving averages
• Supertrend (3.0 · 10) — dynamic trend direction with trailing stop logic
• RSI 14 — momentum with overbought / oversold detection
• Stoch RSI — stochastic applied to RSI for precision timing
• MACD (12 · 26 · 9) — classic momentum and signal crossover
• ADX + DI — trend strength filter, avoids weak/ranging markets
• VWAP — institutional price reference (above/below)
• OBV — volume accumulation vs. distribution pressure
• Volume — spike detection vs. 20-bar average
▸ TIMEFRAME ANALYSIS (EMA 21/50/200 alignment)
• 1H · 12H · 1 Week · 2 Weeks · 1 Month
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 WEIGHTED SCORING SYSTEM (0–100)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every signal contributes to a weighted score:
• EMA Stack & Supertrend → weight ×2 (primary trend signals)
• All other indicators → weight ×1
• Timeframes 1H / 12H / 1W → weight ×2
• Timeframes 2W / 1M → weight ×3 (macro bias)
Score interpretation:
85–100 → Strong Uptrend 🟢🟢
70–84 → Uptrend 🟢
58–69 → Weak Uptrend 🟩
43–57 → Neutral ⬜
31–42 → Weak Downtrend 🟥
16–30 → Downtrend 🔴
0–15 → Strong Downtrend 🔴🔴
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 CONCLUSION PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Trend — market direction based on weighted score
• Momentum — price condition: Favorable · Overbought · Oversold · Stretched Up/Down
• Indicators — count of bullish vs. bearish signals (e.g. 10 UP / 3 DN)
• Timeframes — count of aligned timeframes (e.g. 4 UP / 0 DN)
• Score — the final weighted confluence number out of 100
• Overall % — percentage of indicators pointing up vs. down (color matches trend)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FULLY CUSTOMIZABLE SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Everything is adjustable to match your trading style:
📊 Technical Indicators
→ EMA periods (Fast / Mid / Slow / Long)
→ Supertrend multiplier and period
→ RSI period, overbought/oversold levels, bull/bear thresholds
→ ADX period and minimum trend strength
→ Volume spike multiplier
🔬 Advanced Indicators
→ SQZMOM: BB length, BB multiplier, KC multiplier, momentum length
→ QQE: RSI length, smoothing factor, ATR factor
→ Kalman: gain, fast EMA, slow EMA, normalization window
→ WTO: channel length, average length, overbought/oversold levels
🎯 Score Thresholds
→ Stretched % distance from EMA21 (momentum sensitivity)
🎨 Display
→ Table position: Top Right · Top Left · Top Center · Middle · Bottom
→ Font size: Tiny · Small · Normal · Large
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational and analytical purposes only.
It does NOT constitute financial advice or a recommendation to buy or sell any asset.
Always apply proper risk management and make your own informed decisions.
The advanced indicators (SQZMOM, QQE, Kalman, WTO) are implemented as equivalent logic based on their original parameters — not direct copies of proprietary scripts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ TAGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
confluence · dashboard · multi-indicator · trend · momentum · EMA · RSI · MACD · VWAP · OBV · squeeze · QQE · Kalman · WTO · timeframe · scoring · overlay · customizable · settings Indicator

Mirror Flux Projection **Mirror Flux Projection System**
This indicator is a dynamic market structure model built on a combination of trend, volatility, and momentum behavior. It is designed for visual analysis of price movement, not for automated execution.
The core structure is based on a smoothed EMA trend framework combined with a mirrored price projection model. The “mirror” component represents an inverse pressure of price action around the EMA, helping to visualize potential equilibrium shifts and directional bias.
The system adapts its behavior using ATR-based volatility scaling and OBV-driven flow bias. This allows the structure to expand during high volatility regimes and contract during low volatility conditions, creating a dynamic adaptive channel around price.
A forward projection component extends the current market structure into the future by a fixed number of bars. These projected lines are **not predictions**, but scenario-based estimations of possible trend continuation paths derived from current slope and volatility conditions.
Within this projected zone, a dynamic Fibonacci framework is applied. The Fib levels (0.236, 0.382, 0.5, 0.618, 0.786) are calculated based on the projected upper and lower boundaries of the future band. These levels represent potential equilibrium and reaction zones where price may react during continuation or retracement phases.
The color heatmap reflects distance from the central equilibrium line:
* Green zones indicate bullish pressure above equilibrium
* Red zones indicate bearish pressure below equilibrium
* Intensity increases with deviation strength from the center
This tool is designed for:
* Trend structure visualization
* Volatility expansion/contraction analysis
* Dynamic support/resistance projection
* Market regime interpretation
⚠️ Note: Forward projection lines are hypothetical scenario paths based on current conditions and should not be interpreted as guaranteed future price movement.
---
** **
Indicator

Indicator

byquan CombinedA+B (Gp 1H vs CHIBAO A)// GP - Combined EMA Early Retest + SRSI Channel Filter
This script combines a **price structure-based early retest system** with a **multi-timeframe momentum confirmation filter**, specifically engineered to minimize repainting and improve signal reliability.
The core concept is to detect high-probability pullback entries in the direction of the trend, but only when supported by confirmed momentum reversal from higher timeframes.
### Indicator A – EMA Early Retest System
- Uses a triple EMA setup (Fast 20 / Mid 50 / Slow 100 by default) to determine trend direction.
- Detects impulse moves when the fast EMA crosses mid or slow EMA.
- Tracks pullback depth as a percentage of the impulse wave.
- Triggers an early retest signal when price returns to a defined zone (default 90%) before a full retracement.
- Includes `barstate.isconfirmed` logic to ensure signals are generated only on closed bars, significantly reducing intra-bar false triggers.
### Indicator B – Multi-Timeframe SRSI Channel Filter
- Calculates Stochastic RSI using open, high, low, and close for more comprehensive momentum reading.
- Aggregates data from four higher timeframes (default: 3H, 6H, 12H, 24H).
- Detects momentum extremes and waits for confirmation over a user-defined number of bars.
- Uses `security()` with ` ` offset and proper lookahead settings to minimize repainting from higher timeframes.
### Combined Filtered Signals
Final signals are only valid when:
- The EMA Early Retest logic generates a setup **and**
- The SRSI Channel has recently confirmed a momentum extreme reversal within the past week (1-week lookback filter).
This dual confirmation greatly reduces noise and increases the quality of signals.
### Visuals & Signals
- **Orange**: Fast EMA (main signal line)
- **Blue**: Mid EMA
- **Gray**: Slow EMA (trend filter)
- **Light triangles**: Raw EMA Early Retest signals (often filtered out)
- **Bright Lime/Red triangles**: **Final filtered high-probability signals**
### How to Use
- **Long Signal** (Lime triangle): Early pullback retest in uptrend + recent SRSI momentum low confirmation.
- **Short Signal** (Red triangle): Early pullback retest in downtrend + recent SRSI momentum high confirmation.
- Best used on **5m, 15m, 30m, and 1H** timeframes for intraday and swing trading.
- Strongly recommended to combine with price action, key levels, or market structure for better results.
### Key Features
- Anti-repainting measures on both EMA logic and higher timeframe data.
- 1-week momentum lookback filter for stronger confluence.
- Clear visual distinction between raw and filtered signals.
This is not a basic mashup. The real value lies in the intelligent integration of **early price retest logic** with **multi-timeframe momentum confirmation**, plus careful anti-repainting implementation.
The script is open-source and shared for educational and research purposes only. It is not financial advice. Always backtest thoroughly and use proper risk management.
Feedback is welcome! Indicator

Bitcoin Halving Time Projections | Astral Vision Bitcoin Halving Time Projections | Astral Vision 🌠💠
Bitcoin's halving events cut the block reward in half approximately every four years, structurally reducing the rate of new supply issuance.
Across every completed cycle, price has followed a remarkably consistent temporal pattern relative to the halving date: a prolonged accumulation window in the months preceding it, and a distribution window in the months following it before the subsequent cycle peak.
This indicator encodes that pattern as fixed time offsets from each halving date, projecting three vertical markers per cycle (a buy window opening before the halving, the halving itself, and a sell window closing after it) across all historical halvings and forward into the next projected event.
All five halvings from 2012 through the projected 2028 event are included.
Calculation ⚙️
`Buy Signal = Halving date − 500 days`
`Sell Signal = Halving date + 535 days`
Both offsets are fixed constants derived from the historical temporal structure of Bitcoin's halving cycles. The halving dates for events 1 through 4 are hardcoded to their actual timestamps; the fifth is projected based on the expected block schedule. All markers are rendered at the last bar and extended across the full chart using time-based coordinates, making them visible at any chart resolution.
Plots 📊
Buy Signal vertical line per halving 500 days before the event, rendered with a 3-layer glow (widths 12/6/2, transparencies 85/60/0)
Halving vertical line per event rendered with the same 3-layer glow in a dedicated halving color
Sell Signal vertical line per halving 535 days after the event, same glow rendering
Labels at each marker identifying the event type (Buy Signal, Halving, Sell Signal)
Inputs 🎛️
`Halving Color`: independent color for the halving date lines (default white)
Buy and sell offsets (500 / 535 days) are fixed constants, not exposed as inputs, to preserve the integrity of the historical cycle structure
Colors 🎨
5 Astral Vision presets + custom override. Default: Futura. Positive color applies to buy signal lines; negative color applies to sell signal lines. The halving line has its own independent color input separate from the theme system.
Purpose 🎯
Most halving indicators mark only the halving date itself, providing no actionable context about when historically the optimal accumulation and distribution windows have opened and closed relative to it. The halving date alone tells you the supply event happened, it does not tell you where you are in the cycle's temporal structure.
This indicator maps the full three-point cycle geometry onto the chart for all five halvings simultaneously, making the historical alignment between time offsets and price behavior directly visible without any manual calculation. The forward projection of the 2028 halving extends the same framework into the current cycle, giving traders a concrete temporal reference for where the buy and sell windows are expected to fall, not as a prediction, but as a historically grounded structural anchor.
Disclaimer ⭕️
It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision. Indicator

Local Linear Slope Network [forexobroker]Local Linear Slope Network runs four `ta.linreg` regressions at windows 10/20/40/80, computes each line's slope sign per bar, and only fires signals when at least N slopes agree AND the previous bar did NOT yet have agreement. A clean fractal trend-confirmation entry — most trend indicators use one length; this one votes across four.
🔶 ALGORITHM
For each window n in {10, 20, 40, 80}:
1. linreg_n = ta.linreg(close, n, 0)
2. slope_n = linreg_n − linreg_n
3. slope-sign vote: count how many slopes are > 0 (upCount) and how many are < 0 (dnCount)
4. Agreement edge: at least N slopes agree AND previous bar agreement was below the same threshold
The "agreement edge" requirement gates the signal to a single bar at the regime change, not a stream of confirmations.
🔶 SIGNAL LOGIC
- Buy: upCount ≥ N AND previous bar upCount < N AND cooldown AND barstate.isconfirmed
- Sell: dnCount ≥ N AND previous bar dnCount < N AND cooldown AND barstate.isconfirmed
🔶 INPUTS
- Window 1/2/3/4 (defaults 10/20/40/80 — dyadic spacing)
- Min Slopes Agreeing (default 3 of 4)
- Signal Cooldown (default 8)
- Visual toggles for slowest line, dashboard, glow, colors
🔶 ALERTS
LLN Buy / Sell, Any Signal, Full Bull (4/4), Full Bear (4/4), Fast Pair Up/Dn, Webhook JSON.
🔶 LIMITATIONS
- ta.linreg internally is OLS regression — robust but assumes linear local trend. Works well on liquid trending instruments.
- Slope is computed as endpoint difference (linreg − linreg ) — sensitive to outlier bars.
- Slowest window (80 default) sets warmup.
- The dyadic spacing (10/20/40/80) is opinionated; tighter/wider spacings change signal frequency drastically.
Indicator

Indicator

Momentum Engine - [DecodingFlowLab]Decoding Lab – Momentum Engine is a quantitative momentum analysis indicator designed to detect real market expansion and institutional-grade directional pressure.
Unlike traditional momentum indicators that rely on a single source such as RSI or MACD, Momentum Engine combines multiple market dynamics into one unified scoring model, including:
• Volatility Expansion (ATR Expansion)
• Candle Body Strength
• Relative Volume Activity
• Breakout Velocity
• Pullback Efficiency
The indicator calculates a dynamic Momentum Score ranging from 0 to 100, helping traders identify whether the current move is supported by genuine market participation or simply random price fluctuation.
━━━━━━━━━━━━━━━━━━
How It Works
━━━━━━━━━━━━━━━━━━
Momentum Engine analyzes five core components of market behavior:
• ATR Expansion
Measures whether volatility is expanding relative to normal market conditions.
• Candle Body Strength
Evaluates the dominance of buyers or sellers through candle body size relative to total range.
• Volume Expansion
Detects abnormal trading activity compared to average market participation.
• Breakout Speed
Measures how aggressively price moves after breaking key highs or lows.
• Pullback Efficiency
Analyzes whether retracements remain shallow or become excessively deep.
All factors are normalized and combined into a weighted Momentum Score to classify market conditions as:
• Bullish Momentum
• Bearish Momentum
• Weak / No Momentum
The indicator also prints “M” labels when strong momentum first appears.
━━━━━━━━━━━━━━━━━━
How Traders Use It
━━━━━━━━━━━━━━━━━━
Traders use Momentum Engine to:
• Detect strong breakout conditions
• Confirm trend continuation strength
• Filter weak or low-quality market moves
• Identify institutional momentum expansion
• Avoid trading during weak or ranging conditions
• Improve timing for entries during impulsive moves
Common use cases include:
• Breakout Trading
• Momentum Trading
• Smart Money Concepts (SMC)
• Scalping & Intraday Trading
• Trend Continuation Strategies
The indicator is especially powerful when combined with:
• Market Structure
• BOS / CHOCH
• Liquidity Sweeps
• Higher Timeframe Bias
• Volume Analysis
━━━━━━━━━━━━━━━━━━
Main Features
━━━━━━━━━━━━━━━━━━
• Detects strong bullish and bearish momentum
• Identifies explosive breakout conditions
• Measures trend continuation quality
• Detects early momentum ignition using M labels
• Includes real-time quantitative momentum dashboard
• Combines Price Action + Volume + Volatility in one engine
Momentum Engine is built for traders who want to move beyond traditional oscillators and analyze the true strength behind market movements.
Disclaimer:
This indicator is provided for educational and informational purposes only and should not be considered financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
The indicator does not provide guaranteed entry or exit signals for trading positions. Financial markets involve significant risk, and past performance does not guarantee future results.
Users are solely responsible for their own trading decisions, risk management, and use of this indicator in any market or trading environment.
The publisher, developer, and distributor of this indicator assume no responsibility or liability for any financial losses, damages, or outcomes resulting from the use or misuse of this indicator.
Indicator

R2D2 Liquidation HeatmapR2D2 Liquidation Heatmap: The Professional’s Guide to Trapped Liquidity
Liquidity is the lifeblood of the crypto markets, and more often than not, someone’s forced exit is your ideal entry. In high-leverage environments, price doesn't just move linearly; it moves from one pocket of trapped traders to the next. The R2D2 Liquidation Heatmap is designed to pull back the curtain on these "invisible" price levels, mapping exactly where stop-losses cluster and where market stress is most likely to break.
________________________________________
The Core Philosophy: Trading the "Pain"
Most indicators look at where the price has been. This indicator looks at where the price wants to go to find fuel.
A liquidation cascade occurs when the market hits a dense cluster of stop-orders or liquidation prices. This triggers a self-reinforcing loop: forced sells lead to more price drops, which trigger more sells. By identifying these zones before they are hit, you shift from being a reactive trader to a predictive one.
Heatmap Components
• Current Liquidation Levels: These are "active" zones. They extend to the right of the current price because they represent future targets.
• Historical Liquidation Levels: These are "spent" zones. When a line stops and freezes at a specific bar, it shows you exactly where a flush occurred, giving you a map of how the market responded to that specific injection of volatility.
________________________________________
The Color Spectrum: Decoding Intensity
The heatmap uses a multi-stop gradient to show you the "mass" of the positions at any given level.
Color Meaning Expected Reaction
Dark Purple Low Liquidity Minor speed bump; price may slice through with little effort.
Blue / Indigo Medium Liquidity Potential area for a "pause" or a minor retracement.
Cyan / Light Blue High Liquidity Strong magnet for price; likely to see a spike in volume.
Bright Mint Green Extreme Liquidity High probability of a violent cascade or a major trend reversal.
________________________________________
Professional Trading Strategies
1. The "Liquidity Sweep" Entry
Professional traders rarely buy a support line the first time it’s touched. Instead, they look for the Bright Green cluster sitting just below that support. When price "sweeps" into that green zone and immediately bounces, it indicates that the trapped longs have been flushed out, leaving the path clear for an upside move.
2. Target-Based Exits
If you are in a long position and see a massive Cyan/Green cluster above the current price, that is your exit magnet. These zones act as "liquidity draws." Price is statistically drawn to these areas to facilitate large orders. Setting your Take Profit just inside these clusters ensures you get filled during the peak of the volatility.
3. Avoiding the "Gap"
If you see a large price gap between the current price and the next major liquidation cluster, expect a "slippage zone." Price tends to move very quickly through these low-liquidity areas (Dark Purple) because there are no orders to slow it down.
________________________________________
S caling for Professionals: Timeframe Optimization
The biggest mistake traders make is using the same sensitivity on a 30m chart as they do on a Daily chart. To get a clean, professional-grade heatmap, you must adjust your Cluster Tolerance and Intensity Threshold.
Recommended Settings Table
Timeframe Pivot Length Cluster Tolerance Intensity Threshold
30m - 1HR 3 0.05% - 0.1% 3.0
4HR 3 - 5 0.3% - 0.5% 4.5
Daily 3 1.0% - 2.0% 6.0+
Why the change?
• Cluster Tolerance: On a Daily chart, a "level" is a wide zone. If you keep the tolerance at 0.05%, you will see hundreds of tiny, weak lines. Setting it to 1.5% on the Daily allows the script to aggregate all the stops within a $1,200 range (on BTC), showing you the true macro "wall" of liquidity.
• Intensity Threshold: Daily volume is massive compared to the average. Pushing the intensity to 6.0 or higher ensures that only the most extreme, market-shifting events light up in green, keeping your chart clean and actionable.
________________________________________
Final Tips for Success
• Trust the "Untouched": Significant liquidation levels that haven't been hit for months are often the ultimate "Magnets" for a macro trend.
• Watch the Clusters: If you see three or four lines merging into one thick, bright green bar, pay attention. That is a high-conviction zone where thousands of traders have their "line in the sand."
• Scaling Matters: Always ensure your indicator is pinned to the Right Scale. If the lines don't move when you drag the chart, right-click the indicator name and select "Pin to Scale."
May the trades be with you. Indicator

Smart Trader, Episode 07, ICS Geometric Buyers/Sellers Pressure🔶 Overview
ICS Geometric Buyer/Seller Pressure measures the real-time balance between buying and selling forces through a geometric framework built on triangle areas. Rather than relying on volume, oscillators, or moving-average crossovers, this indicator constructs two right triangles on every bar — one representing seller pressure above the current price, one representing buyer pressure below it — and computes their areas inside a normalized coordinate system called the Isotropic Coordinate System (ICS).
The ICS transforms raw price and time into a dimensionless plane using Yang-Zhang composite volatility as the scaling factor. Because both axes are divided by the same volatility estimate, the resulting triangle areas carry no unit — they are pure geometric ratios. This makes the pressure reading comparable across any instrument, any timeframe, and any price scale, without the trader needing to adjust parameters when switching charts.
From these two normalized areas, the indicator derives a single metric called B, which condenses the entire buyer-versus-seller balance into a value between −1 and +1. B is then converted into intuitive percentage readings (Red % for seller dominance, Blue % for buyer dominance) and visualized through a gradient barometer column, a triangle fan overlay, and data-window plots ready for alerts.
🔶 Conceptual framework
To measure the real-time balance between buying and selling forces, this indicator takes a geometric approach rather than relying on volume analysis, oscillator divergences, or moving-average crossovers. Two right triangles are constructed on every bar — one above the current price toward the range ceiling, one below toward the range floor — and their areas are compared to determine which side of the market currently dominates.
Computing triangle areas in raw price-versus-time coordinates, however, introduces a structural problem: the same price movement produces a different geometric shape depending on the chart's zoom level, time compression, or display resolution. A 30-point rally on a compressed weekly chart creates a steep, narrow triangle; the identical rally on a stretched intraday chart creates a flat, wide one. The areas differ even though the underlying market event is the same.
To eliminate this distortion, the indicator applies a normalization layer referred to here as the Isotropic Coordinate System (ICS). The principle behind it is dimensional analysis — a well-established technique in physics and engineering for removing unit-dependent artifacts from measurements. The horizontal axis (time) is rescaled by dividing bar offsets by sigma, and the vertical axis (price) is rescaled by dividing the natural logarithm of price by the same sigma. Because both axes share the same divisor, the resulting coordinate plane is isotropic: triangle areas reflect only the structural relationship between price and range boundaries, not how the chart happens to be displayed.
The sigma used for this normalization is the Yang-Zhang (2000) composite volatility estimator, a published academic method (Journal of Business, Vol. 73, No. 3). It combines three independent variance components — overnight (close-to-open), intraday (open-to-close), and the Rogers-Satchell high-low-close estimator — into a single unbiased measure with minimum-variance weighting. This makes sigma robust across instruments with overnight gaps (equities, futures) and those that trade continuously (forex, crypto).
The practical result: the normalization layer adapts to the volatility regime of each instrument, making triangle areas structurally comparable across different charts and timeframes and reducing the need for manual recalibration when switching instruments.
🔶 The B metric: from triangle geometry to a single number
The core output of this indicator is a single value called B, which captures the instantaneous buyer-versus-seller balance in one dimensionless number.
Picture any bar on your chart. The indicator draws two right triangles around it. The upper triangle sits between the bar's high and the range ceiling: its three vertices are (1) the current bar's high, (2) the range ceiling at the current bar, and (3) the range ceiling at the prime-offset bar, 101 bars back. This triangle represents seller territory — the geometric "room" that sellers occupy above the current price. The lower triangle mirrors this below: its vertices are the current bar's low, the range floor at the current bar, and the range floor at that same prime-offset bar. This is buyer territory — the room below the current price. The larger the seller triangle relative to the buyer triangle, the more the market is tilted toward selling pressure, and vice versa.
Why prime-numbered offsets?
The indicator uses the first 25 prime numbers (3, 5, 7, 11, ... 97, 101) as its sampling offsets. Prime numbers share no common factors with each other or with any periodic cycle in the data. When a signal is sampled at evenly spaced intervals (e.g. every 10, 20, 30 bars), there is a risk that the sampling grid locks onto a periodic pattern in the price — a weekly cycle, an options expiration rhythm, or any recurring structure — and either amplifies or masks it. This is a form of harmonic aliasing. Prime offsets avoid this: because no prime is a multiple of any other, the sampling set {3, 5, 7, ... 101} is maximally non-periodic, ensuring that each offset captures a structurally independent slice of the price range.
Two roles: measurement and visualization
For the B calculation itself, only the widest triangle is used — the one anchored at prime offset 101. This single pair of triangles (upper and lower) captures the broadest structural pressure across the entire lookback window. The remaining 24 primes serve a visual role: they generate the triangle fan overlay you see on the chart. But this visual layer is not merely decorative. Each triangle in the fan maps a pressure boundary at a different time horizon.
As the screenshot above illustrates, candles that approach the red triangle edges tend to encounter resistance and reverse — the fan effectively draws a multi-scale map of where selling pressure intensifies. The blue fan does the same for buyer pressure below. Taken together, the fan gives the trader a spatial reading of how pressure distributes across shorter and longer horizons.
A notable property observed during testing across multiple instruments and timeframes: regardless of triangle size or lookback period, B consistently produces values within the bounded range of -1 to +1. This is not a coincidence — it is a mathematical consequence of the symmetric ratio formula that derives B from the two triangle areas.
The formula
Both triangle areas are first computed using the Shoelace formula — a standard computational geometry method that yields the exact area of any polygon from its vertex coordinates. Then B is derived through a symmetric ratio:
r1 = A_hi / A_lo r2 = A_lo / A_hi B = (r1 - r2) / (r1 + r2)
When the seller triangle is much larger than the buyer triangle (A_hi >> A_lo), r1 grows large while r2 shrinks, and B approaches +1. When buyer pressure dominates, B approaches -1. When both areas are equal, B = 0 — balanced pressure. The formula is symmetric by construction, meaning it treats buyer and seller sides with identical mathematical weight.
Percentage conversion
To make B immediately readable on the chart, the indicator converts it into two percentage values:
Red % = (B + 1) x 50 seller dominance, scale 0 to 100
Blue % = (1 - B) x 50 buyer dominance, scale 0 to 100
Red % and Blue % always sum to 100. They are available in the Data Window for any bar and are exposed as alert-ready plots, allowing traders to set threshold-based alerts (e.g. "Red % crosses above 80") directly from PulseWire's alert builder, without writing any code.
🔶 Features at a glance
🔸 Gradient barometer — A vertical column rendered to the right of the last bar. It splits the effective range into a red (seller) zone and a blue (buyer) zone, with the dividing line set by B. The gradient fades from full opacity at the split point to near-transparent at each range boundary, giving an immediate visual sense of which side is dominant and by how much.
🔸 Prime triangle fan — 25 filled triangles (one per prime offset from 3 to 101) overlaid on the chart. Upper triangles are colored red (seller pressure), lower triangles blue (buyer pressure). Together they form a fan that maps pressure intensity across multiple time horizons simultaneously. Optional dashed outlines can be enabled for each side independently.
🔸 Range lines with price labels — Horizontal lines marking the effective high and low of the lookback window. Each line carries a price label placed to the left of the range start. When the channel is frozen (see Freeze/Revival below), a snowflake icon (❄) appears on the labels.
🔸 Diamond markers and prime labels — At each prime-offset bar, a diamond marker is placed at both the range ceiling and the range floor. The corresponding prime number is displayed above the ceiling diamond, providing a visual ruler of the sampling structure.
🔸 Freeze / Revival system — When a confirmed close breaches the range boundary, the mother channel freezes and a child channel is born on the breach side. The child computes its own pressure metric (B'), and when the opposing force inside the child reaches a user-defined threshold, the mother channel revives. This mechanism tracks regime transitions without discarding the prior range context. A dedicated label at the breach candle shows the child's B' value in real time.
🔸 Live and Closed display modes — "Live" updates tick by tick using the current bar's data. "Closed" anchors all calculations on the last confirmed bar, eliminating intra-bar noise for traders who prefer signal stability.
🔸 Data Window and alert-ready plots — Three invisible plots (Red %, Blue %, raw B) are exposed in the Data Window and available for PulseWire's alert condition builder. Traders can create threshold, crossover, or crossing alerts on any of these values without writing Pine Script.
🔸 Full visual customisation — Every visual element (triangle fill colors, line colors, diamond size, text size, barometer width, barometer offset, gradient steps) is independently configurable through the indicator's settings panel.
🔶 Deep dive: the barometer
The barometer is a vertical gradient column displayed to the right of the last bar on the chart. Its purpose is to translate the abstract B value into a shape that the eye can read instantly: a column split into a red zone (seller pressure) on top and a blue zone (buyer pressure) on the bottom.
The column spans the full effective range — from rangeLow at the bottom to rangeHigh at the top. The split point between red and blue is not placed at the midpoint of the range. Instead, it is calculated directly from B:
yMid = rangeHigh − (B + 1) × range / 2
When B = 0 (balanced), yMid sits at the exact center of the range. When B approaches +1 (full seller dominance), yMid drops toward the range floor, making the red zone fill nearly the entire column. When B approaches −1 (full buyer dominance), yMid rises toward the range ceiling, and the blue zone dominates.
The gradient is rendered using a configurable number of boxes (default: 50). In the red zone, opacity is strongest near yMid and fades to near-transparent at rangeHigh. In the blue zone, opacity is strongest near yMid and fades toward rangeLow. This creates a natural "heat" effect: the most intense color always concentrates at the boundary where the two forces meet.
At the top and bottom of the column, percentage labels display the Red % and Blue % values. These are the same percentages available in the Data Window, presented here as a quick visual reference.
The barometer responds to the selected display mode. In "Live" mode, it updates on every tick using the current bar's B value. In "Closed" mode, it uses the B computed from the last confirmed bar, providing a stable reading that does not flicker with intra-bar price movement.
Barometer settings
🔸 Show barometer — Toggle the entire barometer on or off. Default: on.
🔸 Offset (bars right) — How far to the right of the last bar the column is placed. Default: 11. Increase this if the barometer overlaps with other right-margin elements.
🔸 Width (bars) — The horizontal thickness of the column, measured in bars. Default: 5.
🔸 Gradient steps — The number of boxes used to render the gradient. Higher values produce a smoother fade. Default: 50.
🔶 Deep dive: the prime triangle fan
The triangle fan is the indicator's signature visual element. It renders 25 filled triangles on the chart — one for each prime offset from 3 to 101 — fanning out from the current bar toward the left side of the lookback window. Upper triangles are shaded red (seller pressure) and lower triangles are shaded blue (buyer pressure), each with high transparency so the underlying candlesticks remain clearly visible.
Every triangle in the fan shares two of its three vertices with the current bar: the bar's high (for upper triangles) or the bar's low (for lower triangles), and the corresponding range boundary at that bar. The third vertex sits at the range boundary at the prime-offset bar. Because each prime offset is a different distance back in time, the triangles vary in width — the smallest is narrow and captures very short-term pressure, while the largest stretches across the full lookback and captures the broadest structural picture.
Reading the fan as a pressure map
The fan functions as a multi-scale pressure map. Each triangle edge represents a boundary where one side's territory begins. When price approaches a cluster of red triangle edges from below, it is entering a zone where seller pressure intensifies across multiple time horizons simultaneously. The denser the overlap of red edges at a given price level, the stronger the structural resistance at that level. The same logic applies in reverse for blue edges and buyer support.
This is visible in practice: candles that push into the red fan often stall or reverse at the triangle boundaries, while candles that drop into the blue fan tend to find support. The fan gives the trader a spatial sense of how much room each side has — a wide blue zone with thin red edges suggests buyers have structural space to move, and vice versa.
Color flipping during freeze
When the Freeze/Revival system is active and price moves beyond the frozen range boundary, the triangle colors on the breached side flip to reflect the new structural reality.
Consider a downward breach: price closes below the frozen rangeLow and continues falling. The lower triangles — which normally appear blue to represent buyer territory — switch to red. This signals that what was once the buyer's domain has been structurally penetrated; the geometry now measures selling pressure extending below the old floor. At the same time, the upper triangles remain red as they always are, and because the distance between the current price and the frozen rangeHigh has grown dramatically, the seller area expands. The visual result: the entire fan turns uniformly red, reflecting overwhelming seller dominance across every time horizon in the fan.
The mirror case works identically. During an upward breach, price closes above the frozen rangeHigh and continues rising. The upper triangles flip from red to blue, signaling that seller space has been penetrated from below. The lower triangles remain blue, and because the gap between the current price and the frozen rangeLow is now vast, buyer area dominates. The entire fan turns uniformly blue, reflecting overwhelming buyer dominance.
The color flip is automatic and requires no user intervention. It is driven entirely by the relationship between the current price and the frozen boundaries — when price returns inside the frozen range, colors revert to their normal assignment.
Diamond markers and prime labels
At each prime-offset bar, the indicator places diamond-shaped markers at both the range ceiling and the range floor. Above the ceiling diamond, the prime number itself is displayed as a label. These markers serve as a visual ruler: they show the trader exactly where each sampling point falls in time and make the non-periodic spacing of the primes immediately visible on the chart.
Fan settings
🔸 Show lower triangle lines / Show upper triangle lines — Toggle dashed outlines for each side. Default: off. When enabled, the outlines make individual triangle edges more distinct, which can be helpful when reading overlapping edges at specific price levels.
🔸 Lower / Upper line color — Stroke color for the dashed outlines.
🔸 Lower / Upper fill color — Fill color and transparency for the triangle bodies. Default: high transparency so candles remain readable.
🔸 Show vertical lines — Draws a vertical line at each prime-offset bar. Default: off.
🔸 Show prime labels — Displays the prime number and diamond at each offset. Default: on.
🔸 Diamond color / Diamond size — Visual styling for the diamond markers.
🔸 Label text size — Font size for the prime number labels.
🔸 Deep dive: Freeze / Revival
Markets do not stay inside ranges forever. When price breaks out, most range-based indicators simply reset and start a new range from scratch, discarding whatever structural context existed before the breakout. The Freeze/Revival system takes a different approach: it preserves the prior range as a frozen reference while simultaneously tracking the new regime that emerges beyond it.
How a freeze is triggered
A freeze occurs when a confirmed close — not a wick, not an intra-bar spike — breaches the effective range boundary. The indicator compares the previous bar's close against the range that existed one bar before it, so the breach signal is fully confirmed and cannot repaint. Once a breach is detected:
🔸 The mother channel freezes — its high and low are locked at the values they held just before the breach.
🔸 A child channel is born on the breach side. For an upward breach, the child's floor is the frozen rangeHigh and its ceiling expands with each new high. For a downward breach, the child's ceiling is the frozen rangeLow and its floor drops with each new low.
🔸 A snowflake icon (❄) appears on the range price labels, and the triangle colors flip as described in the section above.
The child channel and B'
While the mother channel is frozen, the child channel computes its own independent pressure metric called B'. B' uses the same ICS triangle formula as the mother's B, but measured against the child's own boundaries. This means B' tracks the buyer/seller balance exclusively inside the new regime — the territory beyond the old range.
A dedicated label appears at the breach candle showing the current B' value, converted to the percentage of the opposing force. For a downward breach, the label displays the buyer percentage inside the child; for an upward breach, it displays the seller percentage. This tells the trader how much counter-pressure is building inside the breakout zone.
B' as a structural overbought / oversold reading
When B' shows a very low opposing-force percentage shortly after a breach, the breakout side is structurally dominant — price has moved aggressively beyond the old range with minimal resistance. This condition is analogous to what traders call an overbought or oversold state, but derived from geometry rather than from momentum oscillators. The reading reflects the spatial imbalance between the two forces inside the child channel: one side occupies nearly all the geometric territory.
As time passes, if the opposing force gradually builds — the B' percentage climbs — it signals that the breakout is losing its structural one-sidedness. The market is beginning to rebalance inside the new territory. Watching B' evolve over successive bars gives the trader a real-time gauge of whether the breakout retains its structural conviction or is approaching exhaustion.
Revival: when does the freeze end?
The freeze lifts when the opposing force inside the child channel reaches a user-defined threshold (default: 50%). At that point, the indicator interprets this as the exhaustion of the breakout: the force that drove the breach is being met by equal or greater counter-pressure. The freeze is lifted, all freeze state is reset, and the mother channel resumes normal range tracking. The snowflake icons, B' label, and color flips are removed.
The revival threshold is configurable. A lower value makes the system more sensitive — it revives sooner, treating even moderate counter-pressure as a regime reset. A higher value makes it more patient — it waits for stronger opposition before releasing the freeze. The default represents balanced equilibrium: the freeze ends when the opposing side has matched the breach side.
Why this matters
The Freeze/Revival cycle gives the trader a structured way to observe regime transitions. Rather than watching a range silently reset after a breakout, the trader sees the old range preserved as context (frozen lines with ❄), the new regime measured in real time (B' at the breach candle with its overbought/oversold implication), and a clear signal when the transition is complete (revival). This makes it possible to distinguish between a genuine regime change and a brief spike that reverts — without relying on arbitrary time delays or fixed-bar re-entry rules.
🔸 Reading the indicator
This indicator does not generate buy or sell signals. It is a measurement tool that quantifies the geometric balance between buyer and seller pressure. How that measurement is incorporated into a trading decision is entirely up to the trader. The following observations describe what the indicator shows, not what the trader should do.
The barometer as a quick-glance gauge
The barometer provides the fastest reading. A column dominated by red indicates that seller pressure is structurally larger than buyer pressure across the lookback window. A column dominated by blue indicates the reverse. When the split point sits near the center, pressure is approximately balanced. Watching how the split point migrates over successive bars reveals whether the pressure balance is shifting gradually or remaining stable.
The fan as a spatial context layer
The triangle fan adds spatial depth to the barometer's single-number reading. While the barometer tells you the current balance, the fan shows you where that balance is concentrated in price space. Areas where multiple triangle edges converge represent zones of intensified pressure — structural resistance above (red edges) or structural support below (blue edges). When price trades inside a region with sparse triangle coverage, it has more structural room to move before encountering the next pressure boundary.
Freeze events as regime markers
When a freeze occurs, it marks a structural event: price has left the established range. The frozen lines (marked with ❄) preserve the old context, and B' at the breach candle provides a real-time measure of how one-sided the new regime is. A very low opposing-force reading in B' indicates a structurally extended condition — the breakout side has occupied nearly all geometric territory. As B' climbs toward the revival threshold, it indicates increasing counter-pressure. The moment of revival itself marks the point where the new regime's one-sidedness has been structurally neutralized.
Combining readings
The three visual layers — barometer, fan, and freeze state — work together. For example, a barometer showing strong seller dominance combined with a fan whose red edges are densely clustered near the current price suggests concentrated structural resistance. If a freeze is also active with a low B', the structural picture is one of strong directional conviction on the breach side. Conversely, a barometer near balance with widely spaced fan edges and no active freeze suggests a structurally neutral environment.
Data Window and alerts
The Red %, Blue %, and raw B values are available in PulseWire's Data Window for any bar by hovering over it. These same values are exposed as alert-ready plots, meaning traders can set alerts directly from PulseWire's alert builder — for example, triggering when Red % crosses above or below a chosen level, or when B crosses zero. No Pine Script knowledge is required to create these alerts.
🔸 Open-source structure and reusability
This script is published open-source under the Mozilla Public License 2.0. The full computation pipeline — the Yang-Zhang volatility estimator, the ICS coordinate transformation, the Shoelace area calculation, and the symmetric ratio that produces B — is readable, auditable, and reusable.
B is a bounded output: it always falls between −1 and +1, carries no unit, and is computed from normalized geometry. These properties make it suitable as an input for other scripts. Examples of how B can serve as input to further analysis include:
🔸 Plotting B as a standalone oscillator with its own zero line and structural extremes.
🔸 Applying moving averages of different periods to B and studying their crossovers as indicators of shifting pressure regimes.
🔸 Using B as a weighting coefficient to scale other measurements by the current geometric pressure balance.
🔸 Comparing B across timeframes, since the ICS normalization makes the metric structurally comparable regardless of the chart resolution.
🔸 Testing for divergences between B and price action.
🔸 Using B as a filter condition for entry or exit logic in other strategies.
The code is available for study and extension under MPL 2.0. Traders and developers who wish to build on this metric have full access to its derivation.
🔸 Settings reference
Range Lines
🔸 Lookback length — Number of historical bars used to compute the high/low range. Default: 101.
🔸 Line width — Pixel width of the horizontal range lines. Default: 1.
🔸 Display mode — "Live" updates tick by tick using the current bar. "Closed" anchors on the last confirmed bar, eliminating intra-bar noise. Default: Live.
ICS
🔸 ICS Window — Number of bars fed into the Yang-Zhang volatility estimator. Controls how much historical data shapes the normalization sigma. Default: 101.
Prime Verticals and Labels
🔸 Show vertical lines — Draws a vertical line at each prime-offset bar. Default: off.
🔸 Show prime labels — Displays the prime number and diamond marker at each offset. Default: on.
🔸 Vertical line color — Color for vertical lines at prime offsets.
🔸 Diamond color — Color of diamond markers and their labels.
🔸 Label text size — Font size for prime number labels, in points.
🔸 Diamond size — Size of the diamond-shaped markers, in points.
Prime Triangles
🔸 Show lower triangle lines — Toggle dashed outlines for lower (buyer) triangles. Default: off.
🔸 Show upper triangle lines — Toggle dashed outlines for upper (seller) triangles. Default: off.
🔸 Lower line color — Stroke color for lower triangle dashed outlines.
🔸 Upper line color — Stroke color for upper triangle dashed outlines.
🔸 Lower fill color — Fill color and transparency for lower (buyer) triangle bodies.
🔸 Upper fill color — Fill color and transparency for upper (seller) triangle bodies.
Barometer
🔸 Show barometer — Toggle the barometer column on or off. Default: on.
🔸 Offset (bars right) — Horizontal distance from the last bar to the barometer column. Default: 11.
🔸 Width (bars) — Horizontal thickness of the barometer column. Default: 5.
🔸 Gradient steps — Number of boxes used to render the gradient. Higher values produce a smoother fade. Default: 50.
Freeze and Revival
🔸 Revival threshold (B') — When the opposing force inside the child channel reaches this percentage, the freeze ends and the mother channel resumes. A lower value revives sooner; a higher value waits for stronger counter-pressure. Default: 50.
🔸 Disclaimer
This indicator is a technical analysis tool designed for educational and informational purposes. It measures the geometric balance between buyer and seller pressure using the methodology described above. It does not predict future price movements, does not guarantee any outcome, and does not constitute financial, investment, or trading advice.
The B metric, the barometer, the triangle fan, and the Freeze/Revival system are structural measurements derived from historical price data. Like all technical indicators, they reflect past and present conditions and carry inherent limitations. Market conditions can change rapidly, and no single measurement tool can account for all factors that influence price.
Traders should use this indicator as one component within a broader analytical framework, always in combination with their own research, risk management practices, and judgment. Past performance of any reading or pattern observed through this indicator is not indicative of future results.
Use this tool at your own risk. The author assumes no liability for any trading decisions made based on the information provided by this indicator. Indicator

Shift Share - Full Diagnostics & R2📄 Shift Share: Full Diagnostics & R²
Indicator Purpose:
To perform a "Multivariate Regression" on a stock's returns to see what is driving the price.
█ THE FOUR PERFORMANCE COMPONENTS
The indicator breaks down every price movement into four distinct buckets:
* Market (Beta): Returns driven by the broad market (e.g., SPY).
* Sector (Beta): Returns driven by your specific industry (e.g., XLF for Banks).
* Interaction: Returns caused by the market and sector moving in tandem (synergy).
* Unique (Idiosyncratic): Returns purely specific to the company (news, earnings, management).
█ CORE LOGIC & MATH
The script uses Log Returns and a Rolling Window (default 60 days) to calculate:
* Rolling Beta: It calculates how sensitive the stock is to the Market, Sector, and Interaction over time. This isn't a static number; it adapts as the stock's relationship with the market changes.
* T-Stats: This is a statistical "truth detector." It checks if the relationship is mathematically significant or just "noise."
* R-Squared ($R^2$): A measure of "Model Confidence." An $R^2$ of 0.80 means 80% of the stock's movement is explained by the Market and Sector, while 20% is random or unique.
█ HOW TO INTERPRET THE OUTCOME
1. The Cumulative Lines (The Visual Chart)
* Total (White): The actual price performance of the stock.
* Unique (Red): This is the most important line for stock pickers. If the red line is trending up, the company is outperforming its peers regardless of the economy. If it's trending down, the company is "bleeding" value despite what the market is doing.
* Market/Sector (Blue/Orange): If these are the primary movers, the stock is a "Beta play"—it’s just a passenger on the macro boat.
2. The Diagnostics Table (The Data)
* Share %: Tells you what percentage of the total return was contributed by that specific source.
* vs : * : Statistically Significant. You can trust that this factor (e.g., the Sector) is actually driving the price.
* : Not Significant. The relationship is weak; the price moves are likely random noise.
* Model Confidence ($R^2$): If this is low (e.g., < 30%), the "Unique" component is high, meaning the stock is "decoupled" from the market and doing its own thing.
█ LIMITATIONS
* Lookback Bias: Because it uses a rolling window (60 bars), it may take time to "notice" a sudden change in a stock's behavior.
* ETF Choice: The accuracy depends entirely on choosing the correct Sector ETF in the settings. If you use a Tech ETF (XLK) for a Bank stock, the data will be meaningless. Indicator

Indicator

Indicator

Indicator

Indicator

byquan GP - SRSI Channel (Hour TF)// GP - SRSI Channel (Multi-Timeframe Hourly)
This indicator displays a **Multi-Timeframe Stochastic RSI Channel** designed to identify momentum extremes and confirmed reversal zones using higher timeframe aggregation.
Instead of relying on a single timeframe SRSI, this script aggregates data from four higher hourly timeframes (default: 3H, 6H, 12H, 24H) to provide a more robust and stable view of momentum conditions.
### Core Components
**SRSI Calculation**
- Stochastic RSI (K+D smoothed) is calculated on open, high, low, and close.
- This creates a more comprehensive representation of momentum at each bar.
**Multi-Timeframe Channel**
- Minimum and Maximum SRSI values are collected across the four selected higher timeframes.
- The channel (filled area between Min and Max) shows the current momentum range across different scales.
- The white line represents the averaged SRSI Close value.
**Background Zones**
- **Green** (0-20): Oversold zone
- **Blue** (20-50): Accumulation / Recovery zone
- **Orange** (50-80): Distribution / Weakening zone
- **Red** (80-100): Overbought zone
These zones help traders quickly assess the overall momentum environment.
### Signal Logic
**Mid-Level Transition Detection**
- Watches when the SRSI exits extreme zones (below 20 or above 80) and crosses the 50 mid-level.
- Yellow circle at 50 marks potential momentum shift points.
**Confirmed Extreme Reversal**
- After exiting an extreme zone, the script tracks whether price continues moving away from the extreme for a user-defined number of bars (`Confirm bars`).
- **Lime circle** = Confirmed momentum low (potential bullish reversal)
- **Red circle** = Confirmed momentum high (potential bearish reversal)
This confirmation mechanism significantly reduces premature signals by waiting for sustained momentum movement after leaving extreme territories.
### How to Use
- **Bullish Reversal**: Look for the price entering the green oversold zone, then a **lime circle** appearing after confirmation. This suggests strengthening momentum across multiple timeframes.
- **Bearish Reversal**: Look for the price entering the red overbought zone, then a **red circle** appearing. This indicates weakening momentum.
- The channel width shows how broad the momentum disagreement is across timeframes — narrower channel = stronger consensus.
- Best used as a **momentum filter** or confluence tool together with price action, support/resistance, or other structure-based setups.
### Recommended Settings & Timeframes
- Works on all timeframes, but performs best on **5m, 15m, 30m, and 1H** charts for intraday and swing trading.
- Default higher timeframes (3H–24H) provide excellent balance between responsiveness and reliability.
- Increase `Confirm bars` for higher quality but fewer signals.
- Adjust `Watch Low/High Level` according to the volatility of the instrument.
This script is not a simple copy of existing SRSI indicators. Its value lies in the **multi-timeframe channel construction**, **dynamic extreme confirmation logic**, and the combination of visual zones with clear reversal markers.
The indicator is open-source and shared for educational purposes only. It is not financial advice. Always backtest thoroughly and use proper risk management.
Feedback is highly appreciated! Indicator

byquan GP - Combined GP 1H+ ChiBao A Filter// GP - Combined EMA Early Retest + SRSI Channel Filter
This script combines two complementary approaches into a filtered momentum and pullback retest system.
The core concept is to generate **high-probability entry signals** by requiring confirmation from both price action structure (via EMA pullback & early retest) and multi-timeframe momentum extremes (via SRSI Channel).
### Indicator A – EMA Early Retest Logic
This part identifies potential early retest entries after a strong move:
- Uses a triple EMA system (Fast 20 / Mid 50 / Slow 100 by default).
- Detects when the fast EMA crosses the mid or slow EMA, then tracks the subsequent pullback.
- Measures pullback depth as a percentage of the prior impulse move.
- Triggers a signal when price (via fast EMA) returns to an **early retest zone** (default 90% of the pullback), but only in the direction of the higher trend (Mid vs Slow EMA).
This logic aims to catch early resumption of the trend instead of waiting for a full retest of the swing low/high.
### Indicator B – Multi-Timeframe SRSI Channel
Provides higher-timeframe momentum context:
- Calculates Stochastic RSI (K+D) on open, high, low, and close.
- Aggregates values from **four higher timeframes** (default: 3H, 6H, 12H, 24H).
- Detects momentum extremes and confirms reversals after a set number of bars (default 10 bars confirmation).
- Acts as a powerful **momentum filter** to avoid signals against the broader momentum.
### Combined Filter System
The final signals are **filtered** using a 1-week lookback:
- A buy signal from the EMA Early Retest is only valid if the SRSI Channel has recently confirmed a momentum low (oversold reversal).
- A sell signal is only valid if the SRSI Channel has recently confirmed a momentum high (overbought reversal).
This filter significantly reduces false signals by ensuring that short-term price action aligns with broader momentum shifts.
### How to Use
**Bullish (Long) Signal:**
- Lime triangle appears below the bar.
- Indicates the fast EMA has pulled back and is retesting early in an uptrend, confirmed by recent multi-timeframe SRSI momentum low.
**Bearish (Short) Signal:**
- Red triangle appears above the bar.
- Indicates the fast EMA has pulled back and is retesting early in a downtrend, confirmed by recent multi-timeframe SRSI momentum high.
**Visual Elements:**
- Orange = Fast EMA (most responsive)
- Blue = Mid EMA
- Gray = Slow EMA (trend filter)
- Light triangles = Original EMA signals (filtered out)
- Bright triangles = **Filtered high-probability signals**
### Recommended Usage
- Best suited for **intraday and swing trading** on 5m, 15m, 30m, and 1H timeframes.
- Works well on major forex pairs, indices, and cryptocurrencies.
- Use in the direction of the higher timeframe trend for better performance.
- Combine with support/resistance, order blocks, or volume analysis for maximum edge.
### Settings Tips
- Adjust "Pullback depth (%)" and "Early retest ratio" to match market volatility.
- Modify higher timeframe settings in "Indicator B" group to suit your trading style.
- Increase "Confirm bars" for stricter (fewer but higher quality) signals.
This is **not** a simple mashup of indicators. The real value comes from the intelligent combination of **price structure (EMA retest)** with **multi-timeframe momentum confirmation**, plus the 1-week lookback filter.
The script is open-source and shared for educational purposes only. It is not financial advice — always use proper risk management and backtest thoroughly before using on a live account.
Feedback and suggestions are welcome! Indicator

Indicator

Average Daily Range by BlemAverage Daily Range (ADR) Indicator
Displays the Average Daily Range of any instrument directly on your chart as a clean, screen-anchored overlay — accurate on any timeframe from 1-minute to weekly.
What it shows:
1. Average Daily Range — the N-day average of daily high-low ranges (default 14 days)
2. ADR Remaining — how much of today's average range is still uncovered, useful for setting intraday targets (optional, can be toggled off)
How it works:
ADR is calculated using actual daily candle data regardless of the timeframe you are viewing, so the value is always consistent and accurate.
Fully customizable:
• ADR lookback period
• Screen position (9 combinations — top/middle/bottom × left/center/right)
• Background color, text color, text size
• ADR Remaining color thresholds (green when range remains, red when nearly exhausted)
• Toggle ADR Remaining on/off
How to use:
Traders use ADR to understand how much movement to expect in a session. When ADR Remaining is high, there is still room for the move to continue. When it approaches zero, the daily range is nearly complete and momentum may fade.
ADR is a statistical generalization based on past price behavior.
On any given day, price may fall short of the average, or exceed it significantly. It should never be treated as a guaranteed target or a hard boundary.
Use it as a general reference for expected daily movement, not as a precise prediction. Indicator

EMA 9/21/50 Bullish/Bearish Tracker SEDAT XI [5min Optimized]EMA 9/21/50 Bullish/Bearish Tracker SEDAT XI
A clean, powerful, and visual trend strength indicator optimized for 5-minute charts.
This indicator combines the classic EMA 9 – 21 – 50 stack with Higher Timeframe confirmation (15min EMA 50) and Volume Momentum to help traders quickly identify high-probability bullish and bearish setups.
✨ Key Features
Triple EMA System: EMA 9 (Fast), EMA 21 (Medium), and EMA 50 (Trend)
Dynamic Coloring: EMAs change color based on price position for instant visual feedback
Higher Timeframe Filter: 15-minute EMA 50 confirmation to avoid counter-trend trades on 5min charts
Volume Momentum Tracker: Detects significant volume spikes with bullish/bearish candle direction
Strong Signal Logic: Combines EMA stack + Price position + HTF alignment + Volume spike
Smart Background Coloring: Clear green/red background for strong momentum phases
Professional Table Dashboard: Real-time status of Price, Stack, Volume, and HTF alignment
Built-in Alerts: Multiple high-quality alert conditions
Movable Table: Fully adjustable position with pixel offsets.
🎯 How to Read the Indicator
Strong Bullish (Bright Green Background)
EMA 9 > 21 > 50 (Bull Stack)
Price above all three EMAs
Price above 15min EMA 50
Bullish volume spike
Strong Bearish (Bright Red Background)
EMA 9 < 21 < 50 (Bear Stack)
Price below all three EMAs
Price below 15min EMA 50
Bearish volume spike
The table gives you a complete snapshot at a glance:
STATE: Overall market condition
PRICE: Position relative to EMAs
STACK: EMA alignment
VOLUME: Spike detection
HTF 15m: Higher timeframe confirmation
🚨 Alerts Included
Price crosses EMA 50
Strong Bullish / Bearish Alignment
Bullish/Bearish Volume Spikes during trend
EMA 9/21 crossover in strong trend
Best Used On
Primary: 5-minute charts
Also works well on 3min, 8min, and 15min timeframes
Ideal for Day Trading, Scalping, and Swing Entries
Settings Overview
EMA Settings
Adjustable lengths for EMA 9, 21, 50
Custom source (Close, HL2, etc.)
Volume Settings
Volume MA Length
Spike Multiplier (default 1.5×)
Table Position
Choose base position + fine-tune with X/Y pixel offsets
Created by Sedat XI
Optimized for clean, stress-free trading on 5-minute charts.
Would you like me to also write:
A shorter version (for mobile view)?
Detailed "How to Trade" section with examples?
Tags and categories for publishing?
Just say the word and I’ll refine it further!377ms Indicator
