Supply and Demand Zones [BigBeluga]🔵 OVERVIEW
The Supply and Demand Zones indicator automatically identifies institutional order zones formed by high-volume price movements. It detects aggressive buying or selling events and marks the origin of these moves as demand or supply zones. Untested zones are plotted with thick solid borders, while tested zones become dashed, signaling reduced strength.
🔵 CONCEPTS
Supply Zones: Identified when 3 or more bearish candles form consecutively with above-average volume. The script then searches up to 5 bars back to find the last bullish candle and plots a supply zone from that candle’s low to its low plus ATR.
Demand Zones: Detected when 3 or more bullish candles appear with above-average volume. The script looks up to 5 bars back for a bearish candle and plots a demand zone from its high to its high minus ATR.
Volume Weighting: Each zone displays the cumulative bullish or bearish volume within the move leading to the zone.
Tested Zones: If price re-enters a zone and touches its boundary after being extended for 15 bars, the zone becomes dashed , indicating a potential weakening of that level.
Overlap Logic: Older overlapping zones are removed automatically to keep the chart clean and only show the most relevant supply/demand levels.
Zone Expiry: Zones are also deleted after they’re fully broken by price (i.e., price closes above supply or below demand).
🔵 FEATURES
Auto-detects supply and demand using volume and candle structure.
Extends valid zones to the right side of the chart.
Solid borders for fresh untested zones.
Dashed borders for tested zones (after 15 bars and contact).
Prevents overlapping zones of the same type.
Labels each zone with volume delta collected during zone formation.
Limits to 5 zones of each type for clarity.
Fully customizable supply and demand zone colors.
🔵 HOW TO USE
Use supply zones as potential resistance levels where sell-side pressure could emerge.
Use demand zones as potential support areas where buyers might step in again.
Pay attention to whether a zone is solid (untested) or dashed (tested).
Combine with other confluences like volume spikes, trend direction, or candlestick patterns.
Ideal for swing traders and scalpers identifying key reaction levels.
🔵 CONCLUSION
Supply and Demand Zones is a clean and logic-driven tool that visualizes critical liquidity zones formed by institutional moves. It tracks untested and tested levels, giving traders a visual edge to recognize where price might bounce or reverse due to historical order flow.
Sentiment
Liquidity Sentiment Profile | LUPENIndicator Guide: Liquidity Sentiment Profile (LSP).
What is the LSP?
The Liquidity Sentiment Profile (LSP) is a "Next-Generation" oscillator designed to look beyond simple price action. While standard indicators (like RSI or MACD) primarily focus on where a candle closes, the LSP analyzes the micro-structure of the entire candle—specifically the relationship between the candle's Body, its Wicks (Shadows), and the Volume.
The Core Philosophy:
Wicks tell the truth: A long lower wick indicates that sellers pushed the price down, but buyers aggressively absorbed that liquidity and pushed it back up.
That is hidden bullish strength.
Volume validates intent: A price move with low volume is noise. A price move (or wick rejection) with high volume is a commitment by institutional players.
The LSP calculates a "Sentiment Score" between -100 and +100 based on these factors.
How to Read the Visuals
The Colors (Intensity)
color: Light Green - Bullish Acceleration. Buyers are in control, and momentum is increasing. This is the ideal time to be in a Long trade.
color: Dark Green - Bullish Deceleration. Buyers are still in control (price is likely rising), but the momentum is fading. This is a warning sign to tighten stop-losses or take profits.
color: Light Red - Bearish Acceleration. Sellers are dominating, and panic is increasing. This is the ideal time to be Short.
color: Dark Red - Bearish Deceleration. Sellers are still in control, but the downward pressure is exhausted. Be careful with new short positions.
The Lines & Fills
The Main Line: The actual LSP sentiment value.
The Yellow Signal Line: A smoothed average of the sentiment.
The Core Fill: The colored area between the Main Line and the Signal Line. When this area "glows", the trend is strong. When it dims (Dark), the trend is weak. Bearish Deceleration. Sellers are still in control, but the downward pressure is exhausted. Be careful with new short positions.
The Lines & Fills
The Main Line: The actual LSP sentiment value.
The Yellow Signal Line: A smoothed average of the sentiment.
The Core Fill: The colored area between the Main Line and the Signal Line. When this area "glows" (Neon), the trend is strong. When it dims (Dark), the trend is weak.
How to Use It (Trading Strategies)
Strategy A: The "Power Cross" (Trend Entry)
Use this for entering trends when the market wakes up.
Long Entry: Wait for the LSP line to cross ABOVE the Yellow Signal Line.
Confirmation: The fill color must turn Neon Green.
Short Entry: Wait for the LSP line to cross BELOW the Yellow Signal Line.
Confirmation: The fill color must turn Neon Red.
Strategy B: The "Absorption" Play (Reversals)
This is where the LSP shines. It detects when liquidity is being absorbed before price turns.
Bullish Absorption: The Price makes a Lower Low, but the LSP makes a Higher Low. This happens because the LSP detects the Volume on the Lower Wicks (buyers absorbing selling pressure). This is a high-probability reversal signal.
Bearish Absorption: The Price makes a Higher High, but the LSP makes a Lower High. The volume on the Upper Wicks suggests sellers are absorbing the buy orders.
Strategy C: The "Dimming" Exit (Risk Management)
Don't wait for the price to crash to exit a trade.
If you are in a Long trade (Neon Green) and the color instantly shifts to Dark Green, it means the "fuel" is running out. Consider taking partial profits or moving your Stop Loss to break even.
Standard oscillators (like RSI) often give false signals during strong trends (showing "Overbought" while price keeps going up). The LSP avoids this because it weights Volume and Wicks. If price goes up and volume increases, the LSP stays Neon Green, telling you the move is genuine, not just overextended.
USDT Market Cap Change [Alpha Extract]A sophisticated stablecoin market analysis tool that tracks USDT market capitalization changes across daily and 60-day periods with statistical normalization and gradient intensity visualization. Utilizing z-score methodology for overbought/oversold detection and dynamic color gradients reflecting change magnitude, this indicator delivers institutional-grade market liquidity assessment through stablecoin flow analysis. The system's dual-timeframe approach combined with statistical normalization provides comprehensive market sentiment measurement based on capital inflows and outflows from the dominant stablecoin.
🔶 Advanced Market Cap Tracking Framework
Implements daily USDT market capitalization monitoring with dual-period change calculations measuring both 1-day and 60-day net capital flows. The system retrieves real-time CRYPTOCAP:USDT data on daily timeframe resolution, calculating absolute dollar changes to quantify stablecoin supply expansion or contraction as primary market liquidity indicator.
// Core Market Cap Analysis
USDT = request.security("CRYPTOCAP:USDT", "D", close)
USDT_60D_Change = USDT - USDT
USDT_1D_Change = USDT - USDT
🔶 Dynamic Gradient Intensity System
Features sophisticated color gradient engine that intensifies visual representation based on change magnitude relative to recent extremes. The system normalizes current 60-day change against configurable lookback period maximum, applying gradient strength calculation to transition colors from neutral tones through progressively intense blues (negative) or reds (positive) based on flow direction and magnitude.
🔶 Statistical Z-Score Normalization Engine
Implements comprehensive z-score calculation framework that normalizes 60-day market cap changes using rolling mean and standard deviation for objective overbought/oversold determination. The system applies statistical normalization over configurable periods, enabling cross-temporal comparison and threshold-based regime identification independent of absolute market cap levels.
// Z-Score Normalization
Change_Mean = ta.sma(USDT_60D_Change, Normalization_Length)
Change_StdDev = ta.stdev(USDT_60D_Change, Normalization_Length)
Z_Score = Change_StdDev > 0 ? (USDT_60D_Change - Change_Mean) / Change_StdDev : 0.0
🔶 Multi-Tier Threshold Detection System
Provides four-level regime classification including standard overbought (+1.5σ), standard oversold (-1.5σ), extreme overbought (+2.5σ), and extreme oversold (-2.5σ) thresholds with configurable adjustment. The system identifies market liquidity extremes when stablecoin inflows or outflows reach statistically significant levels, indicating potential market turning points or trend exhaustion.
🔶 Dual-Timeframe Flow Visualization
Features layered area plots displaying both 60-day strategic flows and 1-day tactical movements with distinct color coding for instant flow direction assessment. The system overlays short-term daily changes on longer-term 60-day trends, enabling traders to identify divergences between tactical and strategic capital flows into or out of stablecoin reserves.
🔶 Gradient Color Psychology Framework
Implements intuitive color scheme where red gradients indicate capital inflow (bullish for crypto as USDT supply expands for buying) and blue gradients show capital outflow (bearish as USDT is redeemed). The intensity progression from pale to vivid colors communicates flow magnitude, with extreme colors signaling statistically significant liquidity events requiring attention.
🔶 Background Zone Highlighting System
Provides subtle background coloring when z-score breaches overbought or oversold thresholds, creating visual alerts without obscuring primary data. The system applies translucent red backgrounds during overbought conditions and blue during oversold states, enabling instant regime recognition across chart timeframes.
🔶 Configurable Normalization Architecture
Features adjustable gradient lookback and statistical normalization periods enabling optimization across different market cycles and trading timeframes. The system allows traders to calibrate sensitivity by modifying the window used for maximum change detection (gradient) and mean/standard deviation calculation (z-score), adapting to volatile or stable market regimes.
🔶 Market Liquidity Interpretation Framework
Tracks USDT supply changes as proxy for overall cryptocurrency market liquidity conditions, where expanding market cap indicates fresh capital entering crypto markets and contracting cap suggests capital flight. The system provides leading indicator properties as large stablecoin inflows often precede major market rallies while outflows may signal distribution phases.
🔶 Why Choose USDT Market Cap Change ?
This indicator delivers sophisticated stablecoin flow analysis through statistical normalization and gradient visualization of USDT market capitalization changes. Unlike traditional market sentiment indicators that rely on price action alone, this tool measures actual capital flows through the dominant stablecoin, providing objective assessment of market liquidity conditions. The combination of dual-timeframe tracking, z-score normalization for overbought/oversold detection, and intensity-based gradient coloring makes it essential for traders seeking macro-level market assessment and regime change detection across cryptocurrency markets. The indicator excels at identifying liquidity extremes that often precede major market reversals or trend accelerations.
VWAP Histogram with EMAsBased on VWAP and Moving Averages.
Bias turns +ve if dynamic colour of the moving averages turns green. All moving avaerages are customisable.
VIX Term Structure Pro [v7.0 Enhanced]# VIX Term Structure Pro v7.0
[! (img.shields.io)](www.tradingview.com)
[! (img.shields.io)](www.tradingview.com)
[! (img.shields.io)](LICENSE)
**Professional VIX-based Market Sentiment & Timing Indicator**
专业的 VIX 市场情绪与择时指标
---
## 🌟 Overview / 概述
VIX Term Structure Pro is an advanced multi-factor market timing indicator that analyzes the VIX futures term structure, volatility regime, and market breadth to generate actionable buy/sell signals.
VIX Term Structure Pro 是一款高级多因子市场择时指标,通过分析 VIX 期货期限结构、波动率区间及市场广度,生成可操作的买卖信号。
---
## 🚀 Key Features / 核心功能
### 📊 Multi-Factor Scoring System / 多因子评分系统
- **Term Structure Z-Score**: Measures deviation from historical mean / 期限结构 Z 分数:衡量与历史均值的偏离
- **VIX/VX1 Basis**: Spot premium detection for panic signals / VIX 现货溢价:恐慌信号检测
- **Contango Analysis**: Futures curve shape insights / 期货升水分析
- **SKEW Integration**: Options skew for tail risk / SKEW 整合:尾部风险监测
- **Put/Call Ratio**: Sentiment extremes / 看跌/看涨比率:情绪极端
- **VVIX Support**: Volatility of volatility (optional) / VVIX 支持:波动率的波动率
### 🎯 Three-Tier Signal System / 三级信号系统
| Signal | Score | Description |
|--------|-------|-------------|
| 🚨 **CRASH BUY** | ≥ 6 | Extreme panic, rare opportunity / 极端恐慌,罕见机会 |
| 🟢 **STRONG BUY** | ≥ 5 | Multi-factor confluence / 多因子共振 |
| 🟡 **BUY DIP** | ≥ 4 | Accumulate on weakness / 逢低吸纳 |
| 🟠 **SELL/HEDGE** | ≤ -2 | Consider reducing risk / 考虑减仓对冲 |
| 🔴 **STRONG SELL** | ≤ -5 | Strong bearish signals / 强烈看跌信号 |
| 🔥 **EUPHORIA SELL** | ≤ -6 | Extreme greed, sell signal / 极度贪婪,卖出信号 |
### 📈 Dashboard Indicators / 仪表盘指标解读
| Indicator | Bullish 🟢 | Bearish 🔴 |
|-----------|------------|------------|
| Overall Bias | STRONG BUY / BUY DIP | STRONG SELL / SELL/HEDGE |
| AI Score | ≥ 5 (Extreme Fear) | ≤ -5 (Extreme Greed) |
| Market Trend | 🟢SPX 🟢NDX (Above MA200) | 🔴SPX 🔴NDX (Below MA200) |
| VIX Regime | LOW VOL (<15) | HIGH VOL (>25) |
| Term Struct Z | < -2.0 (Panic) | > 2.0 (Complacency) |
---
## ⚙️ Configuration / 配置选项
### 📡 Data Sources / 数据源
- **VIX Symbol**: Default `CBOE:VIX` (Alternative: `TVC:VIX`)
- **Put/Call Ratio**: Default `INDEX:CPCI` (Index P/C)
- **Timeframe**: Daily (stable) or Chart (real-time)
### ⚠️ Strategy Mode / 策略模式
- **High (Scalping)**: Sensitive, for short-term trades / 高敏感,短线
- **Normal (Swing)**: Balanced approach / 平衡模式
- **Low (Trend/Safe)**: Conservative, trend-following / 保守,趋势跟踪
### 🔬 Backtest Mode / 回测模式
- **OFF (Real-time)**: Shows current day data, suitable for live monitoring / 显示当日数据,适合实盘监控
- **ON (Historical)**: Uses only confirmed data, avoids look-ahead bias / 仅使用已确认数据,避免未来函数
---
## 📖 Usage Guide / 使用指南
### Best Practices / 最佳实践
1. **Apply to SPX/SPY/QQQ daily charts** for optimal signal accuracy
在 SPX/SPY/QQQ 日线图上使用,信号准确度最佳
2. **Wait for next trading day** to execute signals (signals trigger on daily close)
信号触发后在下一交易日执行(信号基于日线收盘)
3. **Use in conjunction with price action** for confirmation
结合价格走势确认信号
4. **Enable Market Trend Filter** (MA200) for safer entries in uncertain markets
开启趋势过滤(MA200)以在不确定市场中更安全入场
### Signal Interpretation / 信号解读
```
🚨 CRASH BUY (Score ≥ 6)
→ Rare extreme panic event
→ Historical average return: significant positive over 2 months
→ Consider aggressive positioning
🟢 STRONG BUY (Score ≥ 5)
→ Multiple indicators align
→ Historical average return: positive over 1 month
→ Consider building positions
🟡 BUY DIP (Score ≥ 4)
→ Moderate fear detected
→ Suitable for adding to existing positions
→ Filtered out in bear markets if Trend Filter is ON
```
---
## 📊 Historical Statistics / 历史统计
The indicator tracks signal frequency and average subsequent returns:
- **CRASH BUY**: 40-day return period (~2 months)
- **STRONG BUY**: 20-day return period (~1 month)
- **BUY DIP**: 10-day return period (~2 weeks)
指标追踪信号频率和后续平均收益,可在仪表盘中查看历史统计。
---
## 🔔 Alerts / 警报
Built-in alert conditions with cooldown mechanism to prevent spam:
| Alert | Condition |
|-------|-----------|
| Crash Buy Alert | Score ≥ 6, extreme panic |
| Strong Buy Alert | Score ≥ 5, multi-factor confluence |
| Buy Dip Alert | Score ≥ threshold |
| Euphoria Sell Alert | Score ≤ -6, extreme greed |
| Strong Sell Alert | Score ≤ -5 |
| VIX Basis Panic | VIX spot premium spike |
---
## 📋 Changelog / 更新日志
### v7.0 (Current)
- ✨ Three-tier buy/sell signal system
- 📊 Signal statistics with average return tracking
- 🔬 Backtest Mode toggle for historical testing
- 🎨 Configurable ±1 Z-Score reference lines
- ⚡ Modular scoring functions
- 🛡️ Dual index trend display (SPX + NDX)
- 📱 Compact & Full dashboard modes
---
## ⚠️ Disclaimer / 免责声明
**English:**
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always do your own research and consider your risk tolerance before trading.
**中文:**
本指标仅供教育和信息参考,不构成投资建议。过往表现不代表未来收益。交易前请自行研究并评估风险承受能力。
---
## 📄 License / 许可证
MIT License - Feel free to use, modify, and share.
---
## 🤝 Contributing / 贡献
Issues and pull requests are welcome!
欢迎提交问题和贡献代码!
---
**Made with ❤️ for the trading community**
**为交易社区用心打造**
Smart WhaleOverview The Smart Whale Breakout System is a pure momentum strategy designed for Swing Traders who want to capture high-probability breakouts while managing risk with a mechanical trailing stop.
Unlike indicators that try to guess "bottoms," this system follows the "Smart Money" approach: buying strength when institutional volume enters, and riding the trend until the momentum breaks.
How it Works
1. The Entry (The Hunter) The system identifies a valid BREAKOUT signal only when four specific conditions align:
Trend Filter: Price must be above the 150 SMA. We only trade with the long-term trend.
Momentum: RSI > 50. Ensuring bulls are in control.
Volume Spike (Whale Activity): Current volume must be significantly higher than the average (Default: 1.5x). This filters out weak retail moves.
Price Action: A bullish candle closing higher than it opened.
2. The Exit (The Manager) Once in a trade, the system activates a dynamic Trailing Stop line. You never have to guess when to sell. You can choose between two exit logic modes in the settings:
ATR Trailing (Default): Adapts to volatility. The stop moves up based on a multiple of the Average True Range (ATR). Great for volatile stocks (e.g., TSLA, NVDA).
Percent Trailing: A fixed percentage drop from the highest high. (e.g., "Sell if price drops 10% from peak").
3. The Context (Optional Filter)
Squeeze Filter: Includes a built-in Bollinger/Keltner squeeze detection. If enabled in settings, the system will only signal a buy if the price recently broke out of a consolidation (squeeze). Default is OFF to catch all momentum moves.
Key Features
NO Repainting: Signals are confirmed at candle close.
Visual Risk Management: A Red Trailing Stop line clearly shows where your invalidation point is.
Fully Customizable: Adjust the Volume multiplier, ATR sensitivity, or Percentage drop to fit your asset class (Crypto/Stocks/Forex).
Clean Visuals: Only colors the Breakout and Sell candles to keep your chart clean.
Settings Guide
Trend SMA Length: Define the long-term trend baseline (Default: 150).
Volume Spike (xAvg): How much volume is needed to trigger a buy? (1.5 = 150% of average).
Exit Method: Choose between "ATR Trailing" or "Percent Trailing".
ATR Multiplier: Tighter stop (2.0) vs Looser stop (3.0).
Require Squeeze?: Check this to filter for breakouts that only happen after a consolidation period.
Disclaimer This tool is for educational purposes only. Always use proper risk management.
Trinity Real Move Detector DashboardRelease Notes (critical)
1. This code "will" require tweaks for different timeframes to the multiplier, do not assume the data in the table is accurate, cross check it with the Trinity Real Move Detector or another ATR tool, to validate the values in the table and ensure you have set the correct values.
2. I mention this below. But please understand that pine code has a limitation in the number of security calls (40 request.security() calls per script). This code is on the limit of that threshold and I would encourage developers to see if they can find a way around this to improve the script and release further updates.
What do we have...
The Trinity Real Move Detector Dashboard is a powerful TradingView indicator designed to scan multiple assets at once and show when each one has genuine short-term volatility "energy" — the kind that makes directional options trades (especially 0DTE or short-dated) have a high probability of follow-through, and can be used for swing trading as well. It combines a simple ATR-based volatility filter with a SuperTrend-style bias to tell you not only if the market is "awake" but also in which direction the momentum is leaning.
At its core, the indicator calculates the current ATR on your chosen timeframe and compares it to a user-defined percentage of the asset's daily ATR. When the short-term ATR spikes above that threshold, it signals "enough energy" — meaning the underlying is moving with real force rather than choppy noise. The SuperTrend logic then determines bullish or bearish bias, so the status shows "BULLISH ENERGY" (green) or "BEARISH ENERGY" (red) when energy is on, or "WAIT" when it's not. It also counts how many bars the energy has been active and shows the current ATR vs threshold for quick visual confirmation.
The dashboard displays all this in a clean table with columns for Symbol, Multiplier, Current ATR, Threshold, Status, Bars Active, and Bias (UP/DOWN). It's perfect for 3-minute charts but works on any timeframe — just adjust the multiplier based on the hints in the settings.
Editing symbols and multipliers is straightforward and user-friendly. In the indicator settings, you'll see numbered inputs like "1. Symbol - NVDA" and "1. Multiplier". To change an asset, simply type the new ticker in the symbol field (e.g., replace "NVDA" with "TSLA", "AVGO", or "ADAUSD"). You can also adjust the multiplier for each asset individually in the corresponding "Multiplier" field to make it more or less sensitive — lower numbers give more signals, higher numbers give stricter, higher-quality ones. This lets you customize the dashboard to your watchlist without any coding. For example, if you switch to a 4-hour chart or a slower-moving stock like AVGO, you may need to raise the multiplier (e.g., to 0.3–0.4) to avoid false "bullish" signals during minor bounces in a larger downtrend.
One important note about the multiplier and timeframes: the default values are optimized for fast intraday charts (like 3-minute or 5-minute). On higher timeframes (15-minute, 1-hour, 4-hour, or daily), the SuperTrend bias can be too sensitive with low multipliers (1.0 default in the code), leading to situations like the AVGO 4-hour example — where price is clearly downtrending, but the dashboard shows "BULLISH ENERGY" because the tight bands flip on small bounces. To fix this, you need to manually increase the multiplier for that asset (or all assets) in the settings. For 4-hour or daily charts, 0.25–0.35 is often better to match smoother SuperTrend indicators like Trinity. Always test on your timeframe and asset — crypto usually needs slightly lower multipliers than stocks due to higher volatility.
TradingView has a hard limit of 40 request.security() calls per script. Each asset in the dashboard requires several calls (current ATR, daily ATR, SuperTrend components, etc.), so with the full ATR-based bias, you can safely monitor about 6–8 assets before hitting the limit. Adding more symbols increases the number of calls and will trigger the "too many securities" error. This is a platform restriction to prevent excessive server load, and there's no official way around it in a single script. Some advanced coders use tricks like caching or lower-timeframe requests to squeeze in a few more, but for reliability, sticking to 6–8 assets is recommended. If you need more, the common workaround is to create two separate indicators (e.g., one for stocks, one for crypto) and add both to the same chart.
Overall, this dashboard gives you a professional-grade multi-asset scanner that filters out low-energy noise and highlights real momentum opportunities across stocks and crypto — all in one glance. It's especially valuable for options traders who want to avoid theta decay on weak moves and only strike when the market has true fuel. By tweaking the per-symbol multipliers in the settings, you can perfectly adapt it to any timeframe or asset behavior, avoiding issues like the AVGO false bullish signal on higher timeframes.
IB + MAG7 + EMA + ATR [midsu]IB + MAG7 + EMA + ATR - Multi-Method Analysis Dashboard
═════════════════════════════════════════════════════════════
OVERVIEW
Combines four proven methodologies: Initial Balance (auction theory), Magnificent 7 sector momentum, dual EMA trend analysis, and ATR trailing stops. Visual reference tool for confluence-based analysis.
═════════════════════════════════════════════════════════════
1. INITIAL BALANCE (IB) - AUCTION MARKET THEORY
Concept: First hour of trading (default 9:30-10:30 AM EST) establishes institutional value area. Based on J. Peter Steidlmayer's Market Profile theory.
Calculations:
• ib_range = ib_high - ib_low
• ib_range_pct = (ib_range / ib_low) × 100
• Extensions: ib_high/low ± (ib_range × percentage / 100)
• Default extensions: 25%, 50%, 100%
Range Day Detection (10:00-11:00 AM confirmation):
• tolerance = ib_range × 5%
• high > (ib_high + tolerance) → Trend Day (Bullish)
• low < (ib_low - tolerance) → Trend Day (Bearish)
• Otherwise → Range Day
Analysis Thresholds:
• <0.3% = Narrow IB (trend likely)
• >1.0% = Wide IB (range likely)
• 0.3-1.0% = Moderate
Why it works: First hour captures institutional price acceptance. Price either respects this area (80%) or breaks out and trends (20%).
═════════════════════════════════════════════════════════════
2. MAG7 DASHBOARD - WEIGHTED SECTOR MOMENTUM
Stocks: NVDA, AAPL, GOOGL, MSFT, AMZN, META, TSLA (~30% of S&P 500, >50% of Nasdaq 100)
Calculation Method:
1. Individual % change: pct_change = ((current - previous) / previous) × 100
2. Noise filter: If |pct_change| < 0.1% → signal = 0, else signal = pct_change
3. Weighted aggregation: weighted_bias = Σ(signal × weight) / Σ(weights)
4. Bias classification:
• >+0.70% = Strong Bull
• +0.30 to +0.70% = Mild Bull
• -0.30 to +0.30% = Neutral
• -0.70 to -0.30% = Mild Bear
• <-0.70% = Strong Bear
Current Weights (12/7/2024):
NVDA 20.03%, AAPL 19.36%, GOOGL 17.64%, MSFT 16.75%, AMZN 11.39%, META 7.65%, TSLA 7.19%
Update monthly from any magnificent7 sites
Price & OI Gauge:
• price_rising = close > SMA(close, 14)
• oi_proxy = volume × (high - low)
• oi_rising = oi_proxy > SMA(oi_proxy, 14) × sensitivity
Four states:
1. Price UP + OI UP = STRONG LONG
2. Price UP + OI DOWN = CAUTION LONG
3. Price DOWN + OI UP = STRONG SHORT
4. Price DOWN + OI DOWN = CAUTION SHORT
Why it works: Market cap weighting matches index calculations. Individual stocks lead index futures by seconds/minutes. When 6-7 stocks align, probability of sustained index movement increases.
═════════════════════════════════════════════════════════════
3. DUAL EMA - EXPONENTIAL TREND ANALYSIS
Formula: EMA = (Close × multiplier) + (EMA × (1 - multiplier))
Where: multiplier = 2 / (period + 1)
Defaults:
• EMA 1: 21-period (intermediate trend, ~1 month)
• EMA 2: 50-period (longer-term trend, ~2.5 months)
Color Logic:
• close ≥ EMA → green (bullish)
• close < EMA → red (bearish)
Why it works: Exponential weighting reduces lag vs SMA. EMAs act as dynamic support/resistance. 21/50 periods capture intermediate and long-term trends.
═════════════════════════════════════════════════════════════
4. ATR TRAILING STOP - VOLATILITY-ADAPTIVE REFERENCE
Calculation:
• xATR = ta.atr(10)
• nLoss = key_value × xATR (default key_value = 1.0)
• If trending up: stop = max(previous_stop, close - nLoss)
• If trending down: stop = min(previous_stop, close + nLoss)
Color: Green (bullish) | Red (bearish) | Blue (transitional)
Why it works: ATR adapts to volatility. Wide stops in volatile markets (fewer whipsaws), tight stops in calm markets (earlier signals).
═════════════════════════════════════════════════════════════
5. SMART MONEY CONCEPTS (OPTIONAL)
Premium/Discount Zones:
Divides swing high/low range into Premium (top 5%), Equilibrium (middle 5%), Discount (bottom 5%)
Fair Value Gaps:
• Bullish FVG: current_low > high
• Bearish FVG: current_high < low
Why it works: Identifies institutional imbalances and value zones.
═════════════════════════════════════════════════════════════
CONFLUENCE ANALYSIS
Example High-Probability Setup:
✓ IB breakout (price > IB high)
✓ MAG7: 6/7 green, +0.6% bias
✓ Price above both EMAs
✓ ATR trailing stop green
→ All methods confirm bullish
Example Divergence Warning:
✓ IB breakout bullish
✗ MAG7: 5/7 red, -0.4% bias
✗ Price below EMAs
✗ ATR stop red
→ False breakout risk
═════════════════════════════════════════════════════════════
KEY SETTINGS
IB: Time (start/duration), extensions (%), confirmation period, tolerance %
MAG7: Movement filter (0.1%), weights (user-adjustable), text size
EMA: Periods (21, 50), bar coloring toggle
ATR: Period (10), sensitivity (1.0)
SMC: Toggle zones/gaps, colors
═════════════════════════════════════════════════════════════
LIMITATIONS
IB: Best on liquid instruments (ES, NQ, SPY, QQQ), intraday timeframes, clear market opens
MAG7: Requires monthly weight updates, most relevant for tech/Nasdaq
EMA: Lagging indicator, can whipsaw in sideways markets
ATR: Best in trending markets, needs volatility
General: Visual reference only, requires user interpretation, no automation
═════════════════════════════════════════════════════════════
RECOMMENDED USAGE
Day Traders: 3/5/15min charts, IB breakouts + MAG7 confirmation + EMA entries
Swing Traders: 1H/Daily charts, MAG7 bias + IB levels + EMA trend
Educational: Study institutional behavior, sector correlation, market structure
═════════════════════════════════════════════════════════════
ALERTS
• IB Range Day Detection
• IB Bullish/Bearish Breakout
• Price & OI Strong Long/Short
═════════════════════════════════════════════════════════════
IMPORTANT NOTES
⚠️ Visual reference only - NO automated signals
⚠️ MAG7 weights need monthly updates
⚠️ No repainting - calculations on closed bars
⚠️ Best during US market hours (9:30 AM - 4:00 PM ET)
⚠️ Use confluence of multiple components for best results
═════════════════════════════════════════════════════════════
UNIQUE VALUE
Unlike single-method indicators, this combines:
• Auction theory (40+ years institutional use)
• Market cap momentum (matches real index composition)
• Exponential trend analysis (standard technical tool)
• Volatility adaptation (dynamic vs fixed levels)
Provides three layers: value areas (IB), sector conviction (MAG7), trend direction (EMAs/ATR). Make informed decisions based on confluence of proven methodologies, not single indicators or black-box algorithms.
═════════════════════════════════════════════════════════════
NEXT UPDATE:
BUY & SELL signals (coming soon)
Requirements: Pine Script v6, real-time data, works on all plans, all timeframes, all chart types
IB + MAG7 + EMA [midsu]# IB + MAG7 + EMA Indicator - Technical Documentation
## Overview
This indicator combines three distinct analytical methodologies: Market Profile's Initial Balance concept for institutional-level price acceptance zones, weighted sector momentum tracking based on market capitalization, and exponential moving average trend analysis. It provides visual reference data without generating automated trading signals.
---
## 1. Initial Balance (IB) - Auction Market Theory Implementation
### Underlying Concept
Initial Balance is derived from Market Profile theory, developed by J. Peter Steidlmayer and the Chicago Board of Trade. The concept recognizes that the first hour of trading establishes a value area that represents price acceptance by the majority of market participants.
### Calculation Methodology
**IB Formation (Default: 9:30-10:30 AM EST)**
```
ib_high = highest(high) during IB period
ib_low = lowest(low) during IB period
ib_range = ib_high - ib_low
ib_midpoint = (ib_high + ib_low) / 2
```
**Extension Levels (Fibonacci-style projections)**
```
extension_up = ib_high + (ib_range × extension_percentage / 100)
extension_down = ib_low - (ib_range × extension_percentage / 100)
```
Default extensions: 25%, 50%, 100% above and below IB
**Range Day vs Trend Day Classification**
The indicator uses a tolerance-based detection system:
```
tolerance = ib_range × (tolerance_percentage / 100) // Default: 5%
During confirmation period (default 10:00-11:00 AM):
- If high > (ib_high + tolerance): Classified as "Trend Day (Bullish)"
- If low < (ib_low - tolerance): Classified as "Trend Day (Bearish)"
- Otherwise: Classified as "Range Day"
```
**Statistical Analysis**
The indicator calculates IB range as a percentage of price:
```
ib_range_pct = (ib_range / ib_low) × 100
```
Classification thresholds:
- < 0.3% = Narrow IB (trend day likely)
- > 1.0% = Wide IB (range day likely)
- 0.3% - 1.0% = Moderate (wait for confirmation)
### Why This Works
- **First Hour Significance**: Institutional traders, market makers, and informed participants are most active during the opening hour, establishing the "true" value area
- **Value Area Theory**: Price tends to either remain within the accepted value (80% of the time) or break out and continue trending (20% of the time)
- **Extensions as Targets**: When breakouts occur, extensions based on IB range provide probabilistic targets based on volatility expansion
---
## 2. MAG7 Dashboard - Weighted Sector Momentum Analysis
### Underlying Concept
The Magnificent 7 stocks (NVDA, AAPL, GOOGL, MSFT, AMZN, META, TSLA) represent approximately 30% of the S&P 500 and over 50% of the Nasdaq 100 by market capitalization. Their collective movement is a leading indicator for index direction due to their outsized influence on index calculations.
### Calculation Methodology
**Step 1: Individual Stock % Change**
For each stock on the current timeframe:
```
pct_change = ((current_close - previous_close) / previous_close) × 100
```
**Step 2: Movement Filter (Signal Extraction)**
```
If pct_change > threshold (default 0.1%):
signal = pct_change // Bullish contribution
Else if pct_change < -threshold:
signal = pct_change // Bearish contribution
Else:
signal = 0 // Neutral (noise filtered out)
```
**Step 3: Weighted Aggregation**
Each stock is weighted by its current market cap percentage:
```
weights =
weighted_bias = Σ(signal × weight ) / Σ(weights)
```
This produces a single value ranging typically from -2% to +2%, representing net sector momentum.
**Step 4: Bias Strength Classification**
```
If weighted_bias > 0.70%: "Strong Bull"
Else if weighted_bias > 0.30%: "Mild Bull"
Else if weighted_bias < -0.70%: "Strong Bear"
Else if weighted_bias < -0.30%: "Mild Bear"
Else: "Neutral"
```
**Step 5: Consensus Counting**
```
bull_count = number of stocks where pct_change > threshold
bear_count = number of stocks where pct_change < -threshold
neutral_count = 7 - bull_count - bear_count
```
### Why This Works
- **Market Cap Weighting**: Matches how indexes are actually calculated, making this a proxy for index movement
- **Leading vs Lagging**: Individual stock movements often lead index futures by seconds to minutes due to arbitrage lag
- **Noise Filtering**: The threshold removes insignificant moves, focusing only on meaningful momentum
- **Consensus Strength**: When 6-7 stocks align directionally, probability of sustained index movement increases significantly
### Price & Open Interest Gauge Sub-Component
**Calculation Logic:**
```
price_ma = SMA(close, lookback_period) // Default: 14 bars
price_rising = close > price_ma
oi_proxy = volume × (high - low) // Volatility-weighted volume
oi_ma = SMA(oi_proxy, lookback_period)
oi_rising = oi_proxy > (oi_ma × sensitivity) // Default sensitivity: 1.0
```
**Four-State Classification:**
1. Price UP + OI UP = Strong Long (new money entering long positions)
2. Price UP + OI DOWN = Caution Long (short covering, not new longs)
3. Price DOWN + OI UP = Strong Short (new money entering short positions)
4. Price DOWN + OI DOWN = Caution Short (long liquidation, not new shorts)
**Why This Works:**
- Based on commodity futures analysis principles
- Rising OI with price confirms directional conviction
- Falling OI with price suggests temporary/weak move
- Helps distinguish sustainable moves from noise
---
## 3. Dual EMA System - Exponential Trend Analysis
### Underlying Concept
Exponential Moving Averages weight recent price action more heavily than older data, making them more responsive to trend changes than Simple Moving Averages while still filtering noise.
### Calculation Methodology
**EMA Formula:**
```
EMA(today) = (Close(today) × multiplier) + (EMA(yesterday) × (1 - multiplier))
Where: multiplier = 2 / (period + 1)
```
**Default Settings:**
- EMA 1 (Fast): 21-period
- EMA 2 (Slow): 50-period
**Color Logic:**
```
For each EMA:
If close >= EMA: color = green (bullish regime)
If close < EMA: color = red (bearish regime)
```
**Bar Coloring (Optional):**
Uses EMA 1 as the reference:
```
If close >= EMA1: bar_color = lime
If close < EMA1: bar_color = red
```
### Why This Works
- **21-Period**: Represents approximately 1 month of trading (21 trading days), capturing intermediate-term trend
- **50-Period**: Represents approximately 2.5 months of trading, capturing longer-term trend
- **Dynamic Support/Resistance**: EMAs act as dynamic support in uptrends and resistance in downtrends
- **Crossovers**: When fast EMA crosses slow EMA, it signals potential trend change (though this indicator doesn't generate signals, users can observe these manually)
- **Exponential Weighting**: Recent price action matters more, making EMAs more responsive to emerging trends than SMAs
### Mathematical Advantage of EMAs
The exponential smoothing reduces lag while maintaining smoothness:
- SMA gives equal weight to all periods (lag = period / 2)
- EMA gives 86% weight to most recent 2/3 of the period (lag ≈ (period - 1) / 2)
- Result: 21 EMA responds almost as fast as 14 SMA but with smoother line
---
## Integration & Synergy
### How Components Work Together
**1. IB Provides Context**
- Establishes key price levels (support/resistance)
- Identifies day type (range vs trend)
- Sets volatility expectations via IB range
**2. MAG7 Provides Directional Bias**
- Confirms or contradicts IB breakout attempts
- Shows sector-level conviction
- Indicates index futures direction
**3. EMAs Provide Trend Confirmation**
- Shows if current move aligns with intermediate/longer-term trend
- Provides dynamic entry/exit reference points
- Confirms or contradicts IB/MAG7 signals
**Example of Confluence:**
- IB breaks out bullishly (price > IB high)
- MAG7 shows 6/7 stocks green with +0.6% weighted bias
- Price is above both EMAs (EMA 1 > EMA 2, both green)
- This confluence suggests high-probability bullish continuation
**Example of Divergence (Warning Sign):**
- IB breaks out bullishly
- MAG7 shows 5/7 stocks red with -0.4% weighted bias
- Price below EMA 1, attempting to cross EMA 2
- This divergence suggests false breakout risk
---
## Limitations & Considerations
### Initial Balance Limitations
- Most effective on liquid instruments (ES, NQ, SPY, QQQ)
- Requires clear market open (less effective on 24-hour markets like crypto)
- IB may be less meaningful on very low or very high volatility days
- Works best on intraday timeframes (1min - 60min)
### MAG7 Limitations
- Weights become outdated as market caps change (requires monthly manual updates)
- Most relevant for tech-focused traders (Nasdaq, QQQ)
- Less relevant if trading unrelated sectors (energy, financials)
- Relies on correlation between individual stocks and indexes remaining stable
### EMA Limitations
- Lagging indicator by nature (responds to price, doesn't predict)
- Can produce whipsaws in sideways/choppy markets
- Fixed periods may not suit all market conditions
- Crossovers can be delayed in fast-moving markets
### General Limitations
- **Visual Reference Only**: Does not generate automated entry/exit signals
- **Requires User Interpretation**: Confluence of indicators requires trader judgment
- **Historical Data**: All calculations based on closed bars (no predictive element)
- **Market Hours Dependent**: IB designed for standard US market hours
---
## Unique Value Proposition
### What Makes This Different
**1. Multi-Method Confluence**
Most indicators use a single methodology. This combines three proven, independent methods:
- Auction theory (IB)
- Market cap-weighted momentum (MAG7)
- Exponential trend analysis (EMAs)
**2. Institutional-Level Data**
- IB used by professional floor traders for decades
- MAG7 weights match actual index composition
- Not arbitrary or curve-fitted parameters
**3. Adaptable Without Optimization**
- Works on any timeframe without parameter changes
- IB adapts to current day's volatility
- MAG7 reflects current market structure
- EMAs scale with timeframe
---
## Recommended Usage
### For Day Traders
- Use on 3min, 5min or 15min charts
- Focus on IB breakouts confirmed by MAG7
- Use EMAs for entry timing within IB-defined moves
### For Swing Traders
- Use on 30min, 1H or Daily charts
- Focus on MAG7 weighted bias for overall direction
- Use IB as key support/resistance zones
- Use EMAs for trend confirmation
### For Educational Purposes
- Study how IB forms and how market respects/rejects these levels
- Observe correlation between MAG7 bias and index movement
- Learn dynamic support/resistance concepts via EMAs
- Understand market structure and institutional behavior
---
**Summary**: This indicator provides three layers of market analysis—institutional price acceptance zones (IB), sector momentum (MAG7), and trend direction (EMAs)—allowing traders to make informed decisions based on confluence of multiple proven methodologies rather than relying on a single indicator.
Mag7 Dashboard [midsu]Mag7 Dashboard - Real-Time Tech Sector Momentum
What It Does
Tracks the 7 most influential tech stocks (NVDA, AAPL, GOOGL, MSFT, AMZN, META, TSLA) and displays their weighted performance in a clean dashboard. Shows you instantly whether big tech is bullish, bearish, or neutral.
Why Use It
These 7 stocks represent ~30% of the S&P 500 and over 50% of the Nasdaq 100. When they move, the market follows. This indicator gives you real-time insight into where the smart money is flowing.
How to Use For Day Traders:
Check the "Weighted Signal" at market open to gauge tech sector bias
Enter trades in the direction of the bias (green = long, red = short)
Watch for bias shifts during the day as momentum changes
For Swing Traders:
Use on 1H or Daily timeframe for longer-term sector sentiment
Strong Bull/Bear signals = high conviction setups
Neutral signals = avoid new positions or reduce size
Quick Reference:
6-7 stocks green = Strong bullish momentum
6-7 stocks red = Strong bearish momentum
Split 4-3 or closer = Choppy, no clear direction
Reading the Dashboard
Weight %: How much influence each stock has (based on market cap)
% Change: Real-time percentage change from previous bar
Status: ⬆️ Strong, ⬆️ Slight, ↔️ Neutral, ⬇️ Slight, ⬇️ Strong
Weighted Signal: Combined score showing overall tech sector direction
Settings
Dashboard Text Size: Tiny, Small, or Normal (adjust for your screen)
Mag7 Weights: Update monthly magnificent7
Weights change slowly as market caps shift
Takes 30 seconds to update all 7 stocks
Set "Last Updated" date to track your maintenance
Stock Movement Filter: Default 0.1% - minimum movement to count as bullish/bearish
Installation
Add indicator to your TradingView chart
Verify weights are current (Tradingview)
Adjust dashboard text size if needed
That's it! The dashboard appears top-right, live prices update automatically
True Three Soldiers Method (TTSM) - Breakout ConfirmationIndicator Overview
True Three Soldiers Method (TTSM) - Made in China is a quantifiable evolution beyond traditional candlestick pattern recognition. It replaces subjective visual analysis with an objective, data-driven momentum system featuring smart breakout confirmation.
Core Innovation: Beyond Traditional Pattern Recognition
Traditional three-soldier patterns merely check for three consecutive bullish/bearish candles. TTSM goes much deeper:
Dual Signal System: It identifies both single-candle and three-candle momentum signals, providing earlier warnings of potential trend changes.
Quantifiable Strength Metrics: Each signal must meet customizable thresholds for both absolute price movement (percentage change) and relative efficiency (close-to-open distance relative to total range).
Breakout Confirmation Logic: The real innovation lies in the "True Signal" mechanism. Preliminary signals are tracked, and only when price breaks above the highest high of recent bullish signals (or below the lowest low of recent bearish signals) does it trigger a confirmed entry signal. This eliminates false breakouts and ensures you're trading with confirmed momentum.
Absolute Strength: Quantifies momentum via percentage price change.
Relative Strength: Measures candlestick efficiency (close-to-open vs. total range).
True Signal Validation: A "True" entry signal triggers only after price confirms momentum by breaking above/below a cluster of recent preliminary signals, filtering out false moves.
Dual-Layer Signal System
Key Features
🔴 Amber Signals (Preparation): Single-candle or three-candle patterns that meet strength criteria. These indicate potential momentum building and can be used for preparation or light positioning.
🟢 Green Signals (True Breakout): Triggered only when price breaks above/below the recent signal cluster extremes. These represent confirmed momentum and are ideal for main entries.
🎚 Fully Customizable: Every parameter—absolute/relative strength thresholds, lookback periods, and average calculations—can be adjusted to match your trading style and market conditions.
📊 Clear Visual Feedback: Color-coded labels and reference lines make signal identification instant and intuitive.
Parameter Customization Guide
All parameters are organized in intuitive groups:
Strength Thresholds: Adjust absolute (%) and relative (%) strength requirements for both long and short signals.
First Signal Thresholds: Special thresholds for when a signal is the first in the lookback period.
Lookback & Averages: Control how many bars are considered for signal tracking and moving averages.
Strategic Application
Preparation Signals: Use amber signals to prepare for potential moves, set alerts, or enter with smaller positions.
True Signals: Green/red "True" signals indicate confirmed momentum—ideal for main entries with proper risk management.
Combination Strategy: Pair TTSM with trend indicators (like Supertrend) for higher probability trades—only take True Signals in the direction of the main trend.
Previous Time Based Dealing Ranges [Pro +] | cephxsPrevious Time Based Dealing Ranges 🧪
Visualize previous and current higher timeframe dealing ranges with dual-box OHLC representation, extending reference lines, and HTF candle displays.
OVERVIEW
This indicator displays time-based dealing ranges from higher timeframes directly on your chart. It shows the complete price action structure of previous (or current/forming) periods using a dual-box system: one box for the full High-Low range and another for the Open-Close body. Reference lines extend from key levels to help identify potential support, resistance, and mean reversion zones.
Perfect for traders who use ICT concepts, market structure analysis, or any methodology that relies on understanding where price has been relative to previous dealing ranges.
KEY FEATURES
Dual-Box Range Visualization: Each range displays two boxes - the full H-L range (outer) and the O-C body (inner) - giving immediate visual context of candle structure
Multiple Timeframes: Support for 4H, 6H, 1D, 1W, 1M, and 3M ranges
Previous/Current Mode: View completed ranges (Previous) or the forming range (Current) with real-time updates
Auto Mode: Automatically selects the appropriate range based on your chart timeframe
Reference Lines: Extending lines from High, Mid, Low (or Quadrants: H/75/M/25/L) with trade-into detection
HTF Candle Display: Visual HTF candles positioned to the right of price for context
6H Session Support: Session-aware ranges for Asia, London, NY AM, and NY PM with labeled names
Open Line: Vertical line marking the range's opening price/time
Imbalance Detection: Fair Value Gaps and Volume Imbalances highlighted on HTF candles
MODE OPTIONS
Previous/Current: Previous shows the last completed range. Current shows the forming range with dynamic H/L/C updates
Auto/Manual: Auto selects range by chart TF. Manual lets you choose specific ranges
Extend Box (Current): In Current mode, extends the box's right edge as price develops
AUTO MODE TIMEFRAME LOGIC
Chart < 15m → 6H Range
Chart 15m-1H → 1D Range
Chart 1H-6H → 1W Range
Chart 6H-1D → 1M Range
Chart > 1D → 3M Range
INPUTS
Mode
Mode: Previous/Current - Choose completed or forming range
Auto/Manual: Auto selects range by chart TF, Manual lets you choose
Extend Box (Current): Extends box right edge with price (Current mode only)
Previous Ranges
Range 1: Enable/disable, select timeframe (4H/6H/1D/1W/1M/3M), max display count
Range 2: Second range layer for multi-timeframe analysis
Reference Lines
Line Mode: Levels (H/M/L) or Quadrants (H/75/M/25/L)
Line Style: Solid, dashed, or dotted
Line Thickness: 1-4 pixels
Show Labels: Toggle reference line labels
Label Offset: Distance of labels from current price (1-20 bars)
HTF Candle Levels: Show mini H/M/L lines on HTF candles
Open Line: Vertical line at range open with customizable style
Range Boxes & Colors
Show Range Boxes: Toggle box visibility (lines remain visible)
Per-Range Colors: Customize box and line colors for each timeframe (4H, 6H, 1D, 1W, 1M, 3M)
HTF Candle Styling
Show HTF Candles: Toggle HTF candle display
Body/Border/Wick Colors: Customize bull and bear candle appearance
Padding/Buffer/Width: Control candle spacing and size
Labels
HTF Label: Show timeframe label above/below candles
Remaining Time: Countdown timer to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HOW TO USE
Add the indicator to your chart
Choose Previous or Current mode based on your analysis preference
Use Auto mode for intelligent range selection, or Manual to select specific timeframes
Reference lines extend from range levels - watch for price reactions at H/M/L
In Current mode, observe how the range develops with real-time updates
Use the HTF candles on the right for quick multi-timeframe context
REFERENCE LINE LABELS
Labels follow this format:
Previous mode: pD-H (previous Daily High), pW-M (previous Weekly Mid), p6H-London-L (previous 6H London Low)
Current mode: D-H (Daily High), W-M (Weekly Mid), 6H-Asia-L (6H Asia Low)
6H SESSION NAMES
Asia: 18:00-00:00 ET
London: 00:00-06:00 ET
NYAM: 06:00-12:00 ET
NYPM: 12:00-18:00 ET
RECOMMENDED TIMEFRAMES
1-5 minute charts: 6H or 1D ranges
15-60 minute charts: 1D or 1W ranges
4H charts: 1W or 1M ranges
Daily charts: 1M or 3M ranges
Or simply use Auto mode to let the indicator choose the optimal range.
TIPS
The Mid (M) level often acts as equilibrium - watch for mean reversion plays
High and Low levels are more often than not, key to reversals
In Current mode, watch how price interacts with the forming range boundaries
Combine with your existing analysis for confluence
DISCLAIMER
This indicator is for educational and informational purposes only.
Past performance does not guarantee future results.
Always use proper risk management and never risk more than you can afford to lose.
Trading involves substantial risk of loss and is not suitable for all investors.
CREDITS
Original Base HTF candle Plotting Logic by fadizeidan. Put on Steroids by cephxs & fstarcapital.
CHANGELOG
Pro + v1.0: Added Previous/Current mode, 4H range, dual-box visualization, reference lines with trade-into detection, session-aware 6H labels, open line, Auto mode with intelligent TF selection
Put Call Relative StrengthPut–Call Relative Strength (PE/CE RS)
Description
Put–Call Relative Strength compares the premium movement of a Put Option (PE) against a Call Option (CE) to detect bearish pressure in the market.
It uses the ratio:
RS = PE / CE – 1
If Puts gain strength faster than Calls, RS turns positive — indicating bearish dominance.
A moving average line helps you understand trend strength and filter noise.
This is an ideal tool for traders wanting a clear, fast view of downside momentum and Put-led trend shifts.
How to Use
1️⃣ Select PE and CE Symbols
In settings → manually enter:
Put Option (PE)
Call Option (CE)
Same strike + same expiry recommended.
2️⃣ Interpret RS
RS > 0 (Green) → Puts stronger → Bearish bias
RS < 0 (Red) → Calls stronger → Bullish bias
3️⃣ Use RS MA to Confirm Trend
RS MA rising (Green) → Bearish strength increasing
RS MA falling (Red) → Bearish strength weakening
RS MA sideways (Gray) → Indecision / range
4️⃣ Best Use Cases
Intraday short setups
PE scalping
Confirmation for breakdowns
Identifying Put-led strength surges
Best for 1m–10m timeframes
Call Put Relative Strength Call–Put Relative Strength compares the premium movement of a selected Call Option (CE) against a selected Put Option (PE) to reveal the underlying market’s bullish strength.
It calculates a clean ratio:
RS = CE / PE – 1
When Calls are gaining strength faster than Puts, the RS turns positive — signaling bullish momentum.
A smoothing moving average adds clarity and filters intraday noise.
This is a powerful tool for intraday traders who want to quickly identify whether buyers or sellers are dominating the market.
How to Use
1) Select CE and PE Symbols
Open indicator settings → manually enter:
Call Option (CE)
Put Option (PE)
Use same strike + same expiry.
2) Interpret RS
RS > 0 (Green) → Calls stronger → Bullish bias
RS < 0 (Red) → Puts stronger → Bearish bias
3) Use RS MA for Trend Confirmation
RS MA rising (Green) → Strength increasing
RS MA falling (Red) → Strength weakening
RS MA flat (Gray) → Market neutral
4) Best Use Cases
Intraday trend confirmation
Scalping CE trades
Avoiding false long entries
Tracking CE/PE rotation strength
Works best on 1m–10m charts
Universe PACut through the noise: The "Universe PA" Strategy
You don't need to get lost in thousands of complex terms like Order Flow, PO3, or Judas Swing. This indicator is based on the purest and most effective form of Price Action: Simplicity.
The Core Philosophy: While many traders focus on old history, the real opportunity lies in the last valid break (BOS). We call this the "Magic Line". The key is the Supply/Demand zone that caused that specific break.
Key Features:
Magic Line (BOS): Automatically marks the level where structure is broken.
Auto Supply & Demand Zones: Identifies the origin of the move (Order Block) that caused the break and draws a zone.
Smart Clean: Keeps your chart clean by automatically removing old/invalid zones, focusing only on the latest opportunity.
Entry Signals: Detects Pinbar (P) and Engulfing (E) patterns to help you time your entry perfectly within the zones.
How to Use:
Identify the "Magic Line" break and the Zone on higher timeframes (e.g., H4).
Wait for price to return (retest) to the Zone.
Look for "P" or "E" signals inside the zone for confirmation.
Simplicity pays.
NIFTY RENKO OPTION CE/PENIFTY RENKO OPTION CE/PE ek non-repainting intraday Renko-based option direction indicator hai jo price action + money flow ko combine karke CE / PE buy signals generate karta hai.
Confluence Signal Intelligence Indicators (CSI Indicators)CSI - Confluence Signal Intelligence is a dual-oscillator analysis tool that combines two specialized indicators in a single pane. It provides visibility into cycle exhaustion and statistical deviation conditions to help identify potential turning points.
The Two Oscillators
CEI - Cycle Exhaustion Index (Upper Section)
CEI measures where price sits within its recent cycle range and detects momentum depletion states. It identifies moments when a move has stretched beyond typical levels, which historically have preceded mean-reversion.
Normalized range from -1.0 to +1.0
Configurable exhaustion thresholds
Reversal signals (REV) when extreme zones begin turning
Cycle wave overlay showing peak/trough phases
Stepped confluence indicator between sections
PRG - PDF Reversal Gauge (Lower Section)
PRG applies statistical transforms across multiple timeframes to measure deviation from price norms. It combines readings from primary and secondary periods to create a confluence assessment.
Multi-period analysis for timing and confirmation
Strong Confluence (SC) signals at statistical extremes
Confluence scoring when multiple periods align
Deviation bars showing distance from mean
Signal Types
CEI Signals:
REV - Reversal signal when exhaustion zone begins turning
Triangle markers - Entry into exhaustion zones
X markers - Extreme exhaustion levels
PRG Signals:
SC - Strong Confluence signal when threshold met
Triangle markers - Standard reversal signals
Diamond markers - Multi-period confluence alignment
Visual Design
The pane is divided into two distinct sections with a separator line:
Upper Section (CEI) - Cycle analysis with area fill and confluence stepping
Lower Section (PRG) - Statistical gauge with deviation bars
Color Coding - Gold for strong confluence, Green/Red for direction, Gray for neutral
Zone Backgrounds - Shaded areas marking overbought/oversold regions
Information Table - Real-time values, zones, confluence scores, and signals for both oscillators
Configuration
CEI Settings:
Cycle period and exhaustion lookback
Signal smoothing and sensitivity
Upper/lower exhaustion thresholds
Extreme level definition
PRG Settings:
Primary and secondary periods
Smoothing and extreme threshold
Confluence sensitivity
Strong confluence threshold
Multi-period confluence toggle
Layout Settings:
Adjustable vertical positioning
Independent scale factors for each oscillator
Separator position control
Alert Conditions
CEI Alerts - Bull/Bear reversals, extreme exhaustion levels
PRG Alerts - Strong confluence buy/sell, standard reversals
Combined Alerts - Both oscillators signaling together, strong combined confluence
Companion Indicator
CSI - Confluence Signal Intelligence is the main chart overlay that generates BUY/SELL signals with confidence classifications (HIGH/MEDIUM/LOW). This oscillator pane is designed to work alongside it, showing the cycle and statistical dynamics that contribute to signal generation.
When using both together:
Main CSI provides analytical signals directly on the price chart
This pane reveals the underlying CEI and PRG oscillator states
Aligned readings across both indicate stronger confluence
Reading the Pane
For potential long setups:
CEI in lower exhaustion zone (OS) and rising
PRG in oversold territory and turning up
REV or SC labels appearing
Both oscillators showing elevated confluence scores
For potential short setups:
CEI in upper exhaustion zone (OB) and falling
PRG in overbought territory and turning down
REV or SC labels appearing
Both oscillators showing elevated confluence scores
The oscillators may not signal on the exact same bar. When readings cluster within a few bars, this suggests developing conditions that warrant attention.
Risk Disclosure
This indicator measures technical conditions—not future price direction. Confluence scores represent analytical assessments based on statistical deviation and cycle position, not guarantees of market movement. All trading involves substantial risk of loss. Use this tool alongside your own analysis and proper risk management. No indicator can predict future price movements with certainty.
---
## AUTHOR'S INSTRUCTIONS:
```
To request access to CSI - Confluence Signal Intelligence , please send a private message or visit frontieralgo.com/tradingview.
For best results, use alongside the main CSI overlay on the price chart.
Confluence Signal Intelligence (CSI)CSI - Confluence Signal Intelligence is a professional-grade analytical overlay that evaluates market conditions across multiple dimensions simultaneously. Rather than relying on a single indicator, CSI synthesizes multiple evidence factors and classification models into unified BUY/SELL signals with confidence classifications.
What It Does
CSI identifies potential reversal zones by detecting when multiple independent analytical components align in the same direction. Each signal displays a confidence classification:
HIGH - Strong multi-factor alignment (Gold labels)
MEDIUM - Moderate factor alignment
LOW - Limited factor alignment
Important : The confidence level measures analytical consensus—not a prediction of trade outcome. A HIGH reading means multiple components agree on directional bias at that moment, not that the trade will be profitable.
Multi-Factor Analysis
The classification system evaluates conditions across several categories:
Statistical Extremes - Normalized price transforms that identify stretched conditions
Momentum Indicators - Multiple oscillators confirming oversold/overbought states
Cycle Analysis - Gauges measuring exhaustion and potential turning points
Trend Alignment - Multi-timeframe directional agreement
Market Structure - Break of Structure events and swing point analysis
Pattern Classification - Models comparing current conditions to historical setups
Volume Analysis - Confirming directional moves with participation
Divergence Detection - Price/momentum disagreements across multiple oscillators
Classification Components
CSI incorporates multiple classification models (KNN, gradient boosting approximation, perceptron) that analyze current market conditions against historical patterns. These models contribute to the overall confidence assessment by identifying setups with characteristics similar to past formations.
Smart Money Concepts
The indicator includes institutional trading concepts:
Break of Structure (BOS) - Markers when price violates significant swing points
Order Blocks - Potential support/resistance zones based on price structure
Fair Value Gaps (FVG) - Price imbalances that may act as future reference points
Regime Detection - Background coloring distinguishing trending vs. ranging conditions
Key Features
Non-Repainting Mode - Optional bar-close confirmation prevents signal changes on the current bar
Adaptive Thresholds - Automatically adjusts sensitivity based on market volatility
Signal Filtering - Option to hide LOW confidence signals to reduce noise
Configurable Cooldown - Minimum bars between signals to prevent overtrading
Comprehensive Dashboard - Real-time display of key metrics and states
Trend EMAs - 20/50/200 period moving averages for context
Extensive Alerts - Conditions for signals, structure breaks, divergences, and more
Intended Use
CSI is designed as a decision-support tool for traders conducting their own analysis. It identifies moments of technical alignment that may warrant further investigation—it does not guarantee profitable outcomes. Market results depend on numerous variables beyond any single analytical tool.
The indicator works across all markets and timeframes.
Companion Indicator
CSI - Confluence Signal Intelligence is published separately and displays the underlying oscillators in their own pane:
CEI (Cycle Exhaustion Index) - Cycle position and momentum depletion measurement
PRG (PDF Reversal Gauge) - Statistical deviation scoring
When used together, the main CSI overlay provides signals on the chart while the oscillator pane offers visibility into the cycle and reversal dynamics contributing to those signals.
Risk Disclosure
This indicator is an analytical tool—not financial advice. Past performance does not guarantee future results. All trading involves substantial risk of loss. Confidence levels reflect internal model agreement only and should be considered alongside broader market context, your own analysis, and sound risk management practices. No indicator can predict future price movements with certainty.
---
## AUTHOR'S INSTRUCTIONS:
```
To request access to CSI - Confluence Signal Intelligence, please visit frontieralgo.com/tradingview or send a private message.
COT Index by thedatalayers.comThe COT Index transforms the weekly COT net positions of Commercial traders into a normalized mathematical model.
Instead of displaying raw net positioning, the COT Index processes the data through a cyclical normalization algorithm (commonly using a 26-week or alternatively a 52-week cycle).
This makes it easier to identify bullish or bearish extremes in Commercial activity.
The index is plotted as a color-coded line:
• Green Zone - Commercials are mathematically classified as bullish.
Historically, bullish Commercial positioning often aligns with upward market pressure.
• Red Zone - Commercials are mathematically classified as bearish.
This typically corresponds with increased downward pressure in the underlying market.
• Neutral Zone - Neither bull nor bear dominance; positioning is mid-range.
Since COT data is published only once per week and the COT Index is built on cyclical multi-week analysis, the indicator is intended to be used exclusively on the weekly timeframe.
Using lower timeframes will not reflect the structure of the data accurately.
The selected cycle length (typically 26 weeks, optionally 52 weeks) determines how net positions are compared and normalized, and can influence how quickly extreme zones appear.
The COT Index provides an objective way to interpret Commercial trader sentiment and to identify potential directional bias in the market.
COT Net Positions by thedatalayers.comCOT Net Positions by thedatalayers.com visualizes the net positioning of different trader groups based on the weekly Commitments of Traders (COT) reports published by the CFTC every Friday.
The indicator processes the raw COT data by calculating Long positions minus Short positions for each trader category. This results in the net position of every group per report.
The script then plots these net positions continuously over time, based on every available COT release. This creates a clear and easy-to-read visualization of how different market participants are positioned.
The indicator displays the three primary COT categories:
• Commercials
• Non-Commercials
• Non-Reportables
By observing how these trader groups shift their positioning, traders can better understand market sentiment and identify potential directional biases or changes in underlying market pressure.
This tool is designed to help traders incorporate positioning data into their analysis and to better interpret how institutional and speculative flows evolve over time.
This indicator is intended to be used exclusively on the weekly timeframe.
COT data is published once per week by the CFTC and therefore only updates weekly.
Using this script on lower timeframes may result in misleading visualization or irregular spacing between data points.
For correct interpretation, please apply it on 1W charts only.
Dragon Smart Detector [Sentiment & Flow HUD]Dragon Smart Detector is a professional-grade contextual analysis tool designed to answer the most critical questions in trading: "Is the market driven by Fear or Greed?", "Is Smart Money stepping in?", and "Is the current breakout genuine?".
Instead of lagging indicators or simple buy/sell arrows, this tool provides a Head-Up Display (HUD) that analyzes the internal dynamics of price and volume in real-time.
1. 🧠 How It Works (The Core Logic)
This indicator combines technicals and fundamentals into four distinct metrics:
A. Market Sentiment (The Mood)
Quantifies crowd psychology using a hybrid algorithm of RSI (14) and Bollinger Bands.
EXTREME FOMO 🔥 (Red): Price is overextended beyond the upper band with high RSI. Indicates the crowd is euphoric. Risk Level: High.
EXTREME FEAR 😱 (Cyan): Price is panicking below the lower band with low RSI. Often marks a potential reversal bottom (Capitulation).
GREED / ANXIETY: Intermediate states of the market.
B. Volume Winner & Flow (The Battle)
Since accurate "Order Flow" data is not universal across all feeds, this script uses Price Spread Analysis to estimate aggressive pressure.
BULLS: Close price is near the High of the candle $\rightarrow$ Accumulation/Buying Pressure.
BEARS: Close price is near the Low of the candle $\rightarrow$ Distribution/Selling Pressure.
Flow Display: Shows the estimated percentage of Buying vs. Selling volume for the current session.
C. Volume Strength (RVOL)
Relative Volume compares the current volume against the 20-period simple moving average.
1.0x: Average volume.
> 2.0x (Orange): Volume is double the average. Significant activity.
> 3.0x (Pink/Magenta): Institutional Activity. Massive volume spike indicating Smart Money participation.
D. Float Rotation (The "Dragon" Metric)
Calculates what percentage of the company's available shares have been traded today.
Smart Data Fetch: The script automatically attempts to load FLOAT_SHARES. If unavailable (common with ETFs or some Indices), it intelligently switches to TOTAL_SHARES as a backup.
Why it matters: High rotation (e.g., > 2%) accompanied by a price increase suggests a massive changing of hands, often validating a strong breakout.
2. 🎯 How to Trade (Strategy Guide)
Scenario 1: The "Dragon Breakout" (Momentum)
Condition: Price is breaking a key resistance level.
Check HUD:
WINNER: Must be BULLS.
VOL STRENGTH: Should be > 1.5x (Orange) or > 3.0x (Pink).
ROTATION: High rotation confirms the breakout is supported by fresh demand.
Action: Enter the trade with confidence.
Scenario 2: The "Capitulation Buy" (Reversal)
Condition: Price is dropping sharply.
Check HUD:
SENTIMENT: Must show EXTREME FEAR 😱 (Cyan).
WINNER: Wait for the "Winner" status to flip from BEARS to BULLS (indicating a wick/rejection of lows).
Action: Look for long entries or reversal patterns.
Scenario 3: The "FOMO Trap" (Risk Management)
Condition: Price is rallying, but you are late to the party.
Check HUD:
SENTIMENT: Shows EXTREME FOMO 🔥.
FLOW: Shows BEARS winning (selling into strength/wicks).
Action: Do NOT buy. Tighten stop-losses or take partial profits.
3. ⚙️ Settings & Features
Smart Backup Data: Automatically handles N/A data for NASDAQ/NYSE tickers (like TSLA, NVDA) by switching data sources.
Manual Float: Allows you to manually input share count (in Millions) for penny stocks or local markets where data is missing.
Minimalist Mode: Hides Fundamental rows (Float/Rotation) if you only want to see Sentiment and Flow.
Visuals: Modern Neon/Borderless interface designed for dark mode charts.
Disclaimer
This indicator is for educational and informational purposes only. "Volume Flow" and "Winner" are estimates based on Price Action logic, not Level 2 data. Fundamental data relies on TradingView's financial database. Past performance does not guarantee future results.
Tip: Add this to your favorites ⭐️ and boost 🚀 if you find it useful in your daily trading!
Pre-Market Gap %Helps identify Pre Market Gap %. If Blue line is above the green dotted line, this indicates the stock is gapping up as its >1%. If the Blue line is below the dotted Red then this indicates the stock will gap down on open.
Swing Elite Valuation ToolSwing Elite Macro Valuation
This indicator provides intermarket valuation analysis by measuring how an asset is priced relative to key macroeconomic instruments. Rather than analyzing price in isolation, it contextualizes current levels against bonds, the dollar, and gold — the three pillars of macro market structure.
The Concept Behind Macro Valuation
Assets don't move in a vacuum. Equities, commodities, and currencies maintain dynamic relationships with macro instruments. When the S&P 500 rises while bonds (ZB1) also rally, that's a different signal than when stocks rise while bonds sell off. Similarly, an asset's relationship to the dollar index (DXY) and gold (GC1) reveals whether price moves reflect genuine strength or simply dollar weakness.
This indicator quantifies these relationships by normalizing relative performance into a 0-100 scale, making it easy to identify when an asset is historically overvalued or undervalued relative to macro conditions.
How Valuation Is Calculated
The indicator computes a ratio between the charted asset and each comparison instrument, then normalizes this ratio as a percentage move from a historical baseline. Two modes are available: Short-term mode captures recent sentiment shifts and is useful for tactical positioning, while Long-term mode evaluates deeper macro positioning for swing trades and portfolio decisions.
The normalized reading places current valuation within historical context. A reading near 88+ suggests the asset is overvalued relative to that macro instrument — price has extended beyond typical ranges. Readings below 10 indicate undervaluation, where the asset may be oversold relative to macro conditions.
Dynamic vs Manual Thresholds
Users can select between manual threshold levels or automatic dynamic bands. Auto-levels calculate overvalued and undervalued zones using standard deviation from the mean, adapting to each asset's historical volatility. Manual mode allows fixed thresholds for traders who prefer consistent reference points across different instruments.
Multi-Instrument Flexibility
While defaults include ZB1 (30-year Treasury futures), DXY (dollar index), and GC1 (gold futures), any symbol can be substituted. This allows analysis against silver, currency futures, sector ETFs, or any instrument relevant to your trading thesis. Each comparison instrument displays independently with color-coded status: readings in overvalued territory appear red, undervalued zones show green, and neutral conditions display blue.
Practical Application
This tool serves traders who incorporate intermarket analysis into their decision-making. When an asset shows overvalued readings against multiple macro instruments simultaneously, it suggests price has extended relative to the broader macro environment — a potential mean reversion setup. Conversely, undervaluation across multiple macro comparisons can highlight value opportunities where price hasn't kept pace with supportive macro conditions.
The dashboard table provides at-a-glance status for each comparison, while alert conditions enable notifications when valuation crosses key thresholds.






















