Zark CRT Line/Marker Color & Style Meaning
Previous Candle CRT Green (bullish) / Red (bearish) solid line Sweep confirmed on the previous candle
Current Candle CRT Green (bullish) / Red (bearish) dashed line Sweep currently happening on the current candle
Higher Timeframe CRT Orange dotted line Sweep from higher timeframe shown on lower timeframe chart
Target Line Blue dashed line Opposite side of liquidity for potential price target
Breaker Confirmed Aqua solid line (over previous/current CRT) Sweep confirmed with a break of a small swing
CRT Invalidated Gray line Sweep no longer valid (price closed beyond sweep level)
Full-Height HTF Divider Yellow vertical line Marks each higher timeframe bar for visual separation
Labels White text on colored background Shows type (Prev/Curr/HTF) and exact price
المؤشرات والاستراتيجيات
VWAP Multi-Anchor (Día / 24h / Semana / Mes)With this you can have the VWAP and choose between weekly average, day session or even last 24 hours
ICT Sessions [TradeWithRon]
ICT Sessions and killzones maps three intraday sessions on your chart (Asia, London, NY), tracks each session’s live high/low, draws optional session range boxes, and projects ICT OTE zones in real time—with granular styling, touch/mitigation logic, and alerting.
What it does
Live Session high/low tracking.
Historical session lines:
When a session ends, its final High/Low are preserved as tracked lines (with optional labels) for a configurable number of recent sessions.
Session boxes (ranges):
Draws a shaded box from session start to end that expands with new highs/lows. Limit how many recent boxes remain on chart.
ICT OTE zones (live):
For the currently active session, projects user-defined Fibonacci OTE levels (e.g., 61.8%, 70.5%, 78.6) between the session’s running high and low. Zones update tick-by-tick and can show labels. You can retain a history of recent sessions’ OTE levels.
Break visualization (mitigation):
Optionally color the bar when price breaks a stored session High/Low. You can:
Require a body close through the level (vs. any touch)
Auto-remove the line and/or label on touch/close
Use custom break colors per session and side (high/low)
Timestamps:
Add up to two recurring vertical timestamp markers (e.g., 08:00, 09:30), plus an opening horizontal marker (e.g., 09:30) with label that extends until the next occurrence.
Alerts:
Built-in alerts for:
Touch of Session 1/2/3 High/Low (Asia/London/NY)
Touch of OTE levels (per session)
Key inputs:
Time & Limits
Timezone (e.g., GMT-4)
Timeframe limit: hide all drawings on and above a specified TF
Sessions
Session windows (default):
Session 1 (Asia): 18:00–00:00
Session 2 (London): 00:00–06:00
Session 3 (NY): 08:00–12:00
How many to keep (lines/boxes)
Line width, colors, and label suffixes (“High”/“Low”)
Labels: toggle, text (“Asia”, “London”, “NY”), size, and colors
Boxes: toggle per session and background colors
ICT OTE Zones
Toggle per session (Asia/London/NY)
Levels (comma-separated %s, e.g., 61.8,70.5,78.6)
History: number of past sessions to retain
Opacity, line width/style, and label size
Custom label text per session (e.g., “Asia OTE”)
Break/Mitigation Behavior:
Enable Mitigated Candles (bar color on break)
Remove line on touch and/or remove label on touch
Require body close (vs. wick touch)
Custom break colors by session and side
Timestamps
Opening horizontal line (time, style, width, color, label text/size, drawing limit)
Two vertical timestamps (times, style, width, color, drawing limit)
Alerts
Master Enable Alerts
Per-session toggles for High/Low touches
OTE touch alerts
How it works (under the hood)
Detects session state via input.session() windows in the chosen timezone.
Live session High/Low lines and labels update in real time; on session end, final levels are stored with optional labels and tracked length.
OTE zones are live-computed from current session High↔Low and refreshed every bar; a compact rolling history is enforced.
Bar coloring reacts to break events (touch or body-close, per your setting) and uses session-specific colors when enabled.
Timestamp lines/labels are created on each occurrence and trimmed to a drawing limit for performance.
Tips:
To hide session lines but keep boxes, set line color opacity to 0.
Use Timeframe Limit to keep higher-TF charts clean.
Fine-tune OTE Levels and History to balance clarity and performance.
For stricter break logic, enable Require Body Close.
Note: The script reserves high limits for lines/labels/boxes to keep recent context visible while managing cleanup automatically. Adjust “Session Number” and “Number Of Boxes” to suit your workflow.
— © TradeWithRon
anomaly finderhelps find anomalies with returns n sheeyit ts is 100 million percent winrate on foenem grave
Kyle交易系统核心信号EA | Kyle Core Signal EA System📘 概述 | Overview
中文:
Kyle交易系统核心信号EA是一款为现代交易者打造的多功能趋势识别与自动风控系统。
它集成了 Heikin Ashi 趋势检测 + ATR 波动通道 + EMA 趋势过滤,能在价格反转早期精准捕捉多空信号,并自动绘制止损与三重止盈结构。
English:
Kyle Core Signal EA System is an all-in-one trading assistant designed for modern traders who need trend precision, risk automation, and multi-target exits.
It combines Heikin Ashi, ATR Volatility Channels, and EMA Direction Filters to deliver clean Buy/Sell signals with instant Stop Loss and 3 Take-Profit levels.
⚙️ 核心逻辑 | Core Logic
中文:
1️⃣ 趋势引擎: 通过 Heikin Ashi + ATR 计算动态通道,捕捉真实趋势反转。
2️⃣ EMA过滤: 避免虚假信号,仅在趋势方向一致时触发。
3️⃣ 风控系统: 每次信号生成后自动计算:
入场价(Entry)
止损价(Stop Loss)
三个止盈目标(TP1 / TP2 / TP3)
4️⃣ EA警报模块: 自动生成标准格式警报,可直接对接 EA / MT4 / MT5 / API 执行。
English:
1️⃣ Trend Engine: Heikin Ashi + ATR-based channel captures true reversals.
2️⃣ EMA Filter: Filters out false signals and confirms directional consistency.
3️⃣ Risk Management: Automatically calculates Entry, Stop Loss, and three layered profit targets (TP1 / TP2 / TP3).
4️⃣ EA Alert Module: Pre-formatted alerts ready for EA / MT4 / MT5 / API execution.
📊 主要功能 | Key Features
中文:
✅ 自动趋势识别(Heikin Ashi + ATR)
✅ EMA方向过滤,去除假突破
✅ 自动绘制进场、止损、止盈价位
✅ 三重止盈结构(TP1 / TP2 / TP3)
✅ 自定义ATR倍数(止损与目标)
✅ 支持警报联动EA执行
✅ 全图可视化交易结构
English:
✅ Auto Trend Recognition (Heikin Ashi + ATR)
✅ EMA Direction Filter (Noise Reduction)
✅ Entry/Stop/Target visualization
✅ Triple Take-Profit structure (TP1 / TP2 / TP3)
✅ Customizable ATR Multipliers
✅ EA-compatible alert format
✅ Full chart visualization and real-time updates
🔔 警报输出格式 | Alert Format
中文:
多头信号(LONG):
LONG|symbol=XAUUSD|zhisun=1980.5|jinchang=1985.0|price1=1987.5|price2=1990.0|price3=1993.5
空头信号(SHORT):
SHORT|symbol=XAUUSD|zhisun=1990.5|jinchang=1985.0|price1=1982.5|price2=1979.5|price3=1976.0
English:
Long Signal:
LONG|symbol=XAUUSD|zhisun=1980.5|jinchang=1985.0|price1=1987.5|price2=1990.0|price3=1993.5
Short Signal:
SHORT|symbol=XAUUSD|zhisun=1990.5|jinchang=1985.0|price1=1982.5|price2=1979.5|price3=1976.0
These messages can be directly parsed by any EA, bot, or API-based trade executor.
💡 使用建议 | Recommended Usage
中文:
🔥 推荐品种:黄金 (XAUUSD)、原油 (USOIL)、外汇 (EURUSD/GBPUSD)、加密货币 (BTC/ETH)
⏱ 推荐周期:2分钟 / 5分钟/15分钟 / 1小时
🎯 止损策略:建议 1.5 × ATR
📊 止盈策略:分批止盈(TP1 → TP3)
💡 可搭配 Supertrend、RSI、成交量指标作为辅助过滤。
English:
🔥 Best for: Gold (XAUUSD), Oil (USOIL), Forex (EURUSD/GBPUSD), Crypto (BTC/ETH)
⏱ Suggested Timeframes: 2m/5m / 15m / 1h
🎯 Stop Loss: ~1.5× ATR (default)
📊 Take Profit: Gradual scaling out (TP1 → TP3)
💡 Combine with Supertrend, RSI, or Volume for confirmation.
🧭 系统优势 | Advantages
优势 (中文) Advantages (English)
🎯 精准趋势识别 Accurate trend reversal detection
🔍 有效过滤虚假信号 EMA directional confirmation
🧮 自动风控绘制 Auto Stop/Target plotting
⚡ EA联动警报 EA-ready Alert Message Format
💎 多市场兼容 Works with Gold, Forex, Crypto
🖥️ 清晰可视化结构 Clean & structured chart layout
👤 作者介绍 | About the Author
中文:
作者 Kyle(TG: Kylexauusd)是一名专注于黄金与外汇系统交易的策略设计师。
本系统融合了量化逻辑与实盘验证,是多年趋势捕捉经验的成果。
English:
Developed by Kyle (TG: Kylexauusd) —
A professional system trader specialized in Gold & Forex strategies.
This system represents years of experience in automated and structured trading.
⚠️ 风险提示 | Disclaimer
中文:
本脚本仅供学习与策略研究,不构成任何投资建议。
实盘交易请务必做好风险控制与仓位管理。
English:
This script is for educational and research purposes only.
It does not constitute financial advice.
Trading involves risk — please manage your capital responsibly.
✨ Kyle交易系统核心信号EA | Kyle Core Signal EA System
Trade Smarter. Trade Structured.
一张图看趋势、看风控、看方向。 OANDA:XAUUSD TVC:DXY BINANCE:ETHUSDT.P BINANCE:BTCUSDT.P
Paparan MTF Bollinger BandsScript Description: MTF Bollinger Bands Display
1. Core Purpose
The main purpose of this script is to display two sets of Bollinger Bands (BB) from two different timeframes on a single chart. It is a visual analysis tool designed to help traders see the market from two perspectives simultaneously:
Short-Term Perspective (LTF): Current price action and volatility.
Long-Term Perspective (HTF): The broader trend and significant "value zones."
2. Key Features & Settings
The script is highly flexible, as nearly all elements can be modified through the Settings menu (⚙️ icon). It is divided into two main sections:
Section 1: Current Timeframe (LTF) Settings
BB Length (Length): Determines the period for the moving average (default: 20).
Standard Deviation (StdDev): Sets the width of the Bollinger Bands (default: 2.0).
Color: Allows you to change the color for this BB set (default: Blue).
Section 2: Higher Timeframe (HTF) Settings
Select Higher Timeframe (Timeframe): This is the most important setting. Here you can choose your reference timeframe, for example, "240" (4-Hour), "D" (Daily), or "W" (Weekly).
BB Length & StdDev: Similar to the LTF, you can set the BB parameters for the HTF independently.
Color & Line Thickness: You can change the color (default: Black) and also the line thickness to easily distinguish it from the current timeframe's BB.
3. How It Works
The script performs two parallel calculations:
LTF Calculation: It calculates the Bollinger Bands normally using the price data from the timeframe you are currently viewing on your chart (e.g., 15-Minute). The result is the blue lines that move smoothly with each candle.
HTF Calculation: This is the more complex part.
It uses the request.security() function to "request" the Bollinger Bands data from the higher timeframe (e.g., 4-Hour) that you have set.
To ensure the displayed data is accurate and does not "repaint," it fetches the BB values from the HTF candle that has already closed.
This means that the BB value from a single 4-hour candle will remain constant and be plotted as a flat line across all the 15-minute candles that fall within that 4-hour period.
4. What You See on the Chart (Visual Output)
When you add this script to a chart (for example, a 15-minute chart), you will see:
One set of blue Bollinger Bands that closely "hugs" the 15-minute price. This shows the short-term volatility.
Another set of thicker, black Bollinger Bands that appear 'stepped' or 'blocky'. These are the Bollinger Bands from the 4-hour timeframe. The "steps" indicate where the Upper, Middle, and Lower Band levels were for each 4-hour period.
Practical Uses:
Identifying the Trend: If the blue BB (LTF) is contained within the upper half of the black BB (HTF), it could indicate a pullback within a strong uptrend.
Dynamic Support & Resistance Zones: The black HTF bands can act as very strong long-term support or resistance zones. For example, if the price on a 15-minute chart drops to the H4 Lower Band, it might be a good buying zone.
Spotting Volatility Squeezes: You can see if both sets of Bollinger Bands are contracting simultaneously, signaling that a significant price move may be imminent.
In short, this script is a visual dashboard that allows you to make trading decisions on a lower timeframe with full awareness of the market context on a larger timeframe.
Regular Trading Hours Opening Range Gap (RTH ORG)### Regular Trading Hours (RTH) Gap Indicator with Quartile Levels
**Overview**
Discover overnight gaps in index futures like ES, YM, and NQ, or stocks like SPY, with this enhanced Pine Script v6 indicator. It visualizes the critical gap between the previous RTH close (4:15 PM ET for futures, 4:00 PM for SPY) and the next RTH open (9:30 AM ET), helping traders spot potential price sensitivity formed during after-hours trading.
**Key Features**
- **Standard Gap Boxes**: Semi-transparent boxes highlight the gap range, with optional text labels showing day-of-week and "RTH" identifier.
- **Midpoint Line**: A customizable dashed line at the 50% level, with price labels for quick reference.
- **New: Quartile Lines (25% & 75%)**: Dotted lines (default width 1) mark the quarter and three-quarter points within the gap, ideal for finer intraday analysis. Toggle on/off, adjust style/color/width, and add labels.
- **High-Low Gap Variant**: Optional boxes and midlines for gaps between the prior close's high/low and the open's high/low—perfect for wick-based overlaps on lower timeframes (5-min or below recommended).
- **RTH Close Lines**: Extend previous close levels with dotted lines and price tags.
- **Customization Galore**: Extend elements right, limit historical displays (default: 3 gaps), no-plot sessions (e.g., avoid weekends), and time offsets for non-US indices.
**How to Use**
Apply to 15-min or lower charts for best results. Toggle "extend right" for ongoing levels. SPY auto-adjusts for its 4 PM close.
Tested on major indices—enhance your gap trading strategy today! Questions? Drop a comment.
Thanks to twingall for supplying the original code.
Thanks to The Inner Circle Trader (ICT) for the logical and systematic application.
6 minutes ago
Release Notes
### Regular Trading Hours (RTH) Gap Indicator with Quartile Levels
**Overview**
Discover overnight gaps in index futures like ES, YM, and NQ, or stocks like SPY, with this enhanced Pine Script v6 indicator. It visualizes the critical gap between the previous RTH close (4:15 PM ET for futures, 4:00 PM for SPY) and the next RTH open (9:30 AM ET), helping traders spot potential price sensitivity formed during after-hours trading.
**Key Features**
- **Standard Gap Boxes**: Semi-transparent boxes highlight the gap range, with optional text labels showing day-of-week and "RTH" identifier.
- **Midpoint Line**: A customizable dashed line at the 50% level, with price labels for quick reference.
- **New: Quartile Lines (25% & 75%)**: Dotted lines (default width 1) mark the quarter and three-quarter points within the gap, ideal for finer intraday analysis. Toggle on/off, adjust style/color/width, and add labels.
- **High-Low Gap Variant**: Optional boxes and midlines for gaps between the prior close's high/low and the open's high/low—perfect for wick-based overlaps on lower timeframes (5-min or below recommended).
- **RTH Close Lines**: Extend previous close levels with dotted lines and price tags.
- **Customization Galore**: Extend elements right, limit historical displays (default: 3 gaps), no-plot sessions (e.g., avoid weekends), and time offsets for non-US indices.
**How to Use**
Apply to 15-min or lower charts for best results. Toggle "extend right" for ongoing levels. SPY auto-adjusts for its 4 PM close.
Tested on major indices—enhance your gap trading strategy today! Questions? Drop a comment.
Thanks to twingall for supplying the original code.
Thanks to The Inner Circle Trader (ICT) for the logical and systematic application.
+++ 2025.10.13 added new labels / fixed bugs
UK Recessions (1956–2023) This is a basic script that shows the UK recession periods with the dates pulled from the Wikipedia page on the UK Recession if you wish to check the reasons behind.
It will not show any future recessions however it may be updated.
Lucas' Money GlitchHere's a description you can use to publish your indicator to TradingView:
Title: Triple SuperTrend + RSI + Fib BB + Volume Oscillator
Short Description:
Advanced multi-indicator system combining three SuperTrends, RSI, Fibonacci Bollinger Bands, DEMA filter, and Volume Oscillator for precise trade entry and exit signals.
Full Description:
Overview
This comprehensive trading indicator combines multiple proven technical analysis tools to identify high-probability trade setups with built-in risk management through automated take profit levels.
Key Features
📊 Triple SuperTrend System
Uses three SuperTrend indicators with different ATR periods (10, 11, 12) and multipliers (1.0, 2.0, 3.0)
Requires all three SuperTrends to align before generating signals
Reduces false signals and confirms trend strength
📈 Volume Oscillator Filter
Calculates volume momentum using short and long-term moving averages
Requires volume oscillator to be above 20% threshold for trade entries
Ensures trades only occur during periods of strong volume activity
Displayed as a clean histogram in separate pane (green = bullish, red = bearish)
🎯 RSI Confirmation
7-period RSI must be above 50 for buy signals
RSI must be below 50 for sell signals
Prevents counter-trend entries
🌊 200 DEMA Trend Filter
Double Exponential Moving Average acts as major trend filter
Optional: Only buy above DEMA, only sell below DEMA
Can be toggled on/off based on trading style
📐 Fibonacci Bollinger Bands
Uses 2.618 Fibonacci multiplier (Golden Ratio)
200-period basis
Price touching bands triggers exit signals
Helps identify overextended moves
Entry Signals
BUY Signal (Green Triangle):
All three SuperTrends turn bullish simultaneously
RSI > 50
Price above 200 DEMA (if filter enabled)
Volume Oscillator > 20%
SELL Signal (Red Triangle):
All three SuperTrends turn bearish simultaneously
RSI < 50
Price below 200 DEMA (if filter enabled)
Volume Oscillator > 20%
Exit Signals
Automatic Exits Occur When:
Any of the three SuperTrends changes direction
Price touches Fibonacci Bollinger Band (upper or lower)
Take Profit target is reached (1.5x the distance from entry to ST1)
Exit Labels:
🟠 "TP" = Take Profit hit
🟡 "X" = SuperTrend change or BB touch
Visual Elements
Orange Line: Dynamic take profit level based on SuperTrend distance
Green/Red Lines: Three SuperTrend levels (varying opacity)
Purple Bands: Fibonacci Bollinger Bands with shaded area
Blue Line: 200 DEMA
Background Tint: Green when all bullish, red when all bearish
Volume Histogram: Separate pane showing volume oscillator
Dashboard Display
Real-time information table showing:
Current position status (Long/Short/Flat)
RSI value
Volume Oscillator percentage
Overall trend direction
Alert Conditions
Set up custom alerts for:
Buy signals
Sell signals
Take profit hits
Exit signals
Customizable Parameters
SuperTrend Settings:
Individual ATR periods and multipliers for each SuperTrend
Default: ST1(10,1.0), ST2(11,2.0), ST3(12,3.0)
Volume Oscillator:
Short length (default: 5)
Long length (default: 10)
Threshold percentage (default: 20%)
Toggle filter on/off
Other Filters:
RSI length (default: 7)
DEMA length (default: 200)
Fib BB length and multiplier
Take profit multiplier (default: 1.5x)
Best Use Cases
Trend following strategies
Swing trading
Day trading on higher timeframes (15min+)
Works on all markets: Stocks, Forex, Crypto, Futures
Notes
This is an indicator, not an automated strategy
Signals are for informational purposes only
Always practice proper risk management
Test on historical data before live trading
Works best in trending markets
Trading Life ProOverview
Trading Life Pro is an advanced all-in-one indicator built for TradingView users who demand precision and insight. It delivers real-time entry and exit signals, dynamic support and resistance levels, and deep analytical tools designed to elevate your trading strategy. Every component is optimized for accuracy, speed, and clarity — helping you make confident, data-driven decisions in any market.
Key Features
Non-Repaint Signals: All entries are locked once generated — no repainting, no false signals.
Real-Time Entry & Exit: Get immediate trade signals as market conditions evolve.
Smart Range Finder: Identify ideal trading zones based on current volatility and market structure.
Fundamental Analyzer: Automatically assess economic and market factors with on-chart insights once sufficient data is available.
Automatic 3-TP Levels: Configure up to three adaptive take-profit levels that track live market momentum.
Duo FVG Detection: Spot and trade Fair Value Gaps across consecutive candles for ultra-precise entries and exits.
Dynamic Support & Resistance: Detect key turning points and price reaction zones in real time.
Candle Sentiment Analyzer: Identify bullish and bearish candlestick formations to gauge market sentiment.
Market Screener: Scan multiple markets to uncover high-probability trade setups.
Adaptive Modes: Switch easily between Default, Aggressive, and Long Shot presets to match your trading style.
Trend Power Analyzer: Measure and visualize the strength of market trends directly from candlestick behavior.
Hyper Insights: Unlock advanced, context-based analytics for better decision-making.
RSI Analyzer: Evaluate overbought and oversold conditions with dynamic RSI integration.
Custom Alerts: Receive instant notifications for trade entries, trend shifts, or market changes.
Lifetime Access: One-time purchase — no subscriptions, no hidden costs.
Universal Compatibility: Works on all currency pairs, indices, and timeframes.
Heikin Ashi Optimized: Fully compatible and optimized for Heikin Ashi charts for smooth visualization and fast loading.
Free Updates & Training: Enjoy continuous updates plus a free video tutorial to master every feature.
Description
Trading Life Pro delivers a comprehensive trading toolkit within TradingView. From pinpoint entries and automated take-profit levels to real-time analysis of trends, fundamentals, and fair value gaps — every feature is crafted for traders seeking consistency and edge.
With powerful alerts, adaptive presets, and universal compatibility, Trading Life Pro seamlessly integrates into any trading workflow, supporting all markets, timeframes, and chart types.
Usage
Access real-time trade signals directly on TradingView.
Use Smart Range Finder and Fundamental Analyzer for context-driven entries.
Configure Automatic TP Levels and analyze trend strength via candlestick and RSI tools.
Enable alerts to stay informed about market shifts and entry confirmations — even when you’re away from the screen.
Bridge Bands ATR (Overlay) ShaneHurst-Adaptive Volatility Bands
A fractal-inspired evolution of Bollinger and Keltner bands that adapts dynamically to both volatility and trend persistence.
This indicator estimates the Hurst exponent (H) — a measure of market memory — and adjusts a standard volatility band to lean in the direction of the prevailing trend.
When H > 0.5, markets exhibit persistence (trending behavior); the bands shift in the trend’s direction.
When H < 0.5, markets are mean-reverting; the bands flatten and recent extremes become potential fade zones.
Band width scales with recent volatility (σ), expanding in turbulent conditions and contracting during calm periods.
Key Features:
Adaptive offset using the Hurst exponent
Volatility-sensitive width for dynamic market regimes
EMA baseline with directional bias
Clear visual separation between trending and choppy phases
Inspired by Benoit Mandelbrot’s The Misbehavior of Markets and H.E. Hurst’s original work on long-term memory in time series.
Use it to identify regime shifts, trend-following entries, and volatility-adjusted stop levels.
Credit for this script goes to a number of people including Steve B, MichaalAngle, doc and joecat808. 500 day DEMA (double EMA) can be used as a longer term momentum line.
Cumulative Volume Delta Z Score [BackQuant]Cumulative Volume Delta Z Score
The Cumulative Volume Delta Z Score indicator is a sophisticated tool that combines the cumulative volume delta (CVD) with Z-Score normalization to provide traders with a clearer view of market dynamics. By analyzing volume imbalances and standardizing them through a Z-Score, this tool helps identify significant price movements and market trends while filtering out noise.
Core Concept of Cumulative Volume Delta (CVD)
Cumulative Volume Delta (CVD) is a popular indicator that tracks the net difference between buying and selling volume over time. CVD helps traders understand whether buying or selling pressure is dominating the market. Positive CVD signals buying pressure, while negative CVD indicates selling pressure.
The addition of Z-Score normalization to CVD makes it easier to evaluate whether current volume imbalances are unusual compared to past behavior. Z-Score helps in detecting extreme conditions by showing how far the current CVD is from its historical mean in terms of standard deviations.
Key Features
Cumulative Volume Delta (CVD): Tracks the net buying vs. selling volume, allowing traders to gauge the overall market sentiment.
Z-Score Normalization: Converts CVD into a standardized value to highlight extreme movements in volume that are statistically significant.
Divergence Detection: The indicator can spot bullish and bearish divergences between price and CVD, which can signal potential trend reversals.
Pivot-Based Divergence: Identifies price and CVD pivots, highlighting divergence patterns that are crucial for predicting price changes.
Trend Analysis: Colors bars according to trend direction, providing a visual indication of bullish or bearish conditions based on Z-Score.
How It Works
Cumulative Volume Delta (CVD): The CVD is calculated by summing the difference between buying and selling volume for each bar. It represents the net buying or selling pressure, giving insights into market sentiment.
Z-Score Normalization: The Z-Score is applied to the CVD to normalize its values, making it easier to compare current conditions with historical averages. A Z-Score greater than 0 indicates a bullish market, while a Z-Score less than 0 signals a bearish market.
Divergence Detection: The indicator detects regular and hidden bullish and bearish divergences between price and CVD. These divergences often precede trend reversals, offering traders a potential entry point.
Pivot-Based Analysis: The indicator uses pivot highs and lows in both price and CVD to identify divergence patterns. A bullish divergence occurs when price makes a lower low, but CVD fails to follow, suggesting weakening selling pressure. Conversely, a bearish divergence happens when price makes a higher high, but CVD doesn't confirm the move, indicating potential selling pressure.
Trend Coloring: The bars are colored based on the trend direction. Green bars indicate an uptrend (CVD is positive), and red bars indicate a downtrend (CVD is negative). This provides an easy-to-read visualization of market conditions.
Standard Deviation Levels: The indicator plots ±1σ, ±2σ, and ±3σ levels to indicate the degree of deviation from the average CVD. These levels act as thresholds for identifying extreme buying or selling pressure.
Customization Options
Anchor Timeframe: The user can define an anchor timeframe to aggregate the CVD, which can be customized based on the trader’s needs (e.g., daily, weekly, custom lower timeframes).
Z-Score Period: The period for calculating the Z-Score can be adjusted, allowing traders to fine-tune the indicator's sensitivity.
Divergence Detection: The tool offers controls to enable or disable divergence detection, with the ability to adjust the lookback periods for pivot detection.
Trend Coloring and Visuals: Traders can choose whether to color bars based on trend direction, display standard deviation levels, or visualize the data as a histogram or line plot.
Display Options: The indicator also allows for various display options, including showing the Z-Score values and divergence signals, with customizable colors and line widths.
Alerts and Signals
The Cumulative Volume Delta Z Score comes with pre-configured alert conditions for:
Z-Score Crossovers: Alerts are triggered when the Z-Score crosses the 0 line, indicating a potential trend reversal.
Shifting Trend: Alerts for when the Z-Score shifts direction, signaling a change in market sentiment.
Divergence Detection: Alerts for both regular and hidden bullish and bearish divergences, offering potential reversal signals.
Extreme Imbalances: Alerts when the Z-Score reaches extreme positive or negative levels, indicating overbought or oversold market conditions.
Applications in Trading
Trend Identification: Use the Z-Score to confirm bullish or bearish trends based on cumulative volume data, filtering out noise and false signals.
Reversal Signals: Divergences between price and CVD can help identify potential trend reversals, making it a powerful tool for swing traders.
Volume-Based Confirmation: The Z-Score allows traders to confirm price movements with volume data, providing more reliable signals compared to price action alone.
Divergence Strategy: Use the divergence signals to identify potential points of entry, particularly when regular or hidden divergences appear.
Volatility and Market Sentiment: The Z-Score provides insights into market volatility by measuring the deviation of CVD from its historical mean, helping to predict price movement strength.
The Cumulative Volume Delta Z Score is a powerful tool that combines volume analysis with statistical normalization. By focusing on volume imbalances and applying Z-Score normalization, this indicator provides clear, reliable signals for trend identification and potential reversals. It is especially useful for filtering out market noise and ensuring that trades are based on significant price movements driven by substantial volume changes.
This indicator is perfect for traders looking to add volume-based analysis to their strategy, offering a more robust and accurate way to gauge market sentiment and trend strength.
HMA High/Low Band - Trend Color HMA High/Low Band Trend
Visualize market trends clearly with a single Hull Moving Average (HMA) and dynamic high/low bands. The indicator colors the HMA and its bands based on trend direction:
Green = Uptrend
Red = Downtrend
Gray = Sideways
The band adjusts dynamically to price action, giving a clear view of trending and sideways markets without cluttering your chart. Ideal for traders who want a smooth trend filter with instant visual cues.
HMA Band TrendVisualize market trends instantly with a smooth Hull Moving Average (HMA) . This indicator clearly shows uptrend, downtrend, and sideways conditions with color-coded lines and compact trend-change signals.
Options Symphony Adaptive CE/PE for Indian IndicesDescription:
This invite-only Pine Script indicator is built for Indian market options traders. It plots the Call and Put charts for a selected strike simultaneously, including adaptive moving averages on both.
Single-Chart Options View: Visualize both CE and PE charts on a single pane.
User-Friendly: Enter one strike (Put), and the indicator handles the dual-chart display.
Adaptive MA: Features adaptive moving averages for smarter trend analysis in both trending and ranging markets.
Invite-Only: Access is granted by the author and requires permission.
To get started: Request access from the author to be added to the invite list.
SSMT [TakingProphets]SSMT (Sequential SMT) — multi-cycle intermarket divergence with quarter-based timing
Purpose
Informational overlay that detects intermarket SMT divergences between the chart symbol and a user-selected correlated symbol. It does not generate buy/sell signals and is not financial advice. Use it to structure analysis and alerts, not to automate trades.
What it does
Scans for SMT on five coordinated cycles: Micro, 90-Minute, Daily (Q1–Q4), Weekly, Monthly.
Draws anchored lines and labels where divergences occur and keeps them after the period ends so you can use historical SMTs as context.
Offers per-cycle alerts (high-side/bearish, low-side/bullish).
Optional session/quarter boxes for timing context.
Time base uses America/New_York to align with common session conventions (with a 17:00–18:00 ET pause guard for CME instruments).
Why these modules belong together (more than a mashup)
All cycles share a single time-partitioning framework (quarters/sessions → day → week → month). That common clock means:
Comparability: divergences on Micro/90m/D/W/M are directly comparable because they’re computed with the same boundaries for both instruments.
Sequencing: higher-cycle context can gate lower-cycle events (e.g., a Daily Q3 divergence framing how you treat a Micro divergence).
Persistence: drawings retain the cycle identity (e.g., , ) so prior signals remain interpretable as the market progresses.
This is a coherent engine—not separate indicators pasted together—because detection, labeling, alerts, and persistence are all driven by the same quarter/period state machine.
How it works (high-level mechanics)
Time partitioning
Daily quarters (ET):
Q1: 18:00–00:00
Q2: 00:00–06:00
Q3: 06:00–12:00
Q4: 12:00–18:00
90-Minute cycle: four 90-minute blocks inside the active session.
Micro cycle: finer 20–22 minute blocks inside the session for granular timing.
Weekly/Monthly: tracked by calendar periods (Mon–Fri, and calendar month).
Pause guard: 17:00–18:00 ET to avoid false transitions during CME’s daily maintenance window.
State tracking (per cycle)
Tracks previous vs. current highs/lows for the chart symbol and the correlated symbol (fetched at the same timeframe).
Maintains cycle IDs (e.g., year*100 + weekofyear for weekly) so drawings remain tied to the originating period.
Divergence condition (SMT)
High-side (bearish): one instrument makes a higher high vs. its previous period while the other does not.
Low-side (bullish): one instrument makes a lower low vs. its previous period while the other does not.
When detected, the script plots a labeled span/line (e.g., SSMT w/ES) and records it for persistence.
Alerts
Two per cycle: High-side (bearish) and Low-side (bullish).
Fire on the bar where the condition first becomes true.
Inputs & customization
Correlated symbol (default can be an index future).
Cycle toggles: Micro, 90m, Daily (Q1–Q4), Weekly, Monthly.
Styling: line color/width, label text/size.
Session/quarter boxes: on/off.
Alerts: per-cycle SMT events on/off.
How to use
Add the indicator to your chart (e.g., NQ, ES) and select a correlated symbol.
Turn on the cycles you want to monitor; optionally enable quarter/session boxes.
Interpret SMTs by side:
High-side (bearish): chart makes HH, correlated does not.
Low-side (bullish): chart makes LL, correlated does not.
Set alerts for the cycles that matter to your workflow.
Combine with your higher-timeframe narrative and risk rules.
Repainting, timing, and limitations
Uses higher-timeframe data without look-ahead; values can update intrabar until the period closes.
SMTs may form and resolve within a period; conservative users may wait for period close.
Assumes America/New_York timing; very thin markets may yield fewer or noisier signals.
SMT quality depends on the benchmark you select; correlations vary across regimes.
Educational tool only. No performance claims; not a signal generator.
Originality & scope (for protected/invite-only publications)
A multi-cycle SMT engine built on a shared quarter/period state machine (Micro → 90m → Daily Q1–Q4 → Weekly → Monthly).
Quarter-aware persistence keeps divergence drawings tied to their source cycle for durable context.
CME pause handling and stable calendar IDs make detections consistent across sessions and rollovers.
Implements SMT through extremum sequencing and cross-instrument comparison rather than wrapping generic divergence indicators.
CRT [TakingProphets]CRT (Candle Range Theory) — HTF context overlay with alerts
Purpose
Informational overlay to structure higher-timeframe (HTF) context. It does not generate buy/sell signals and is not financial advice. Use it to organize analysis and alerts—not to automate trades.
What it does
Projects HTF candles (1m → 1M) on any lower timeframe so the big picture stays on the chart.
Detects CRT transitions on the HTF (bullish/bearish “failed continuation” pattern).
Evaluates SMT divergence vs. a user-selected correlated instrument on the same HTF (historical & real-time).
Extends live HTF Open/High/Low/Close as developing reference levels.
Concepts (what it looks for)
Candle Range Theory (CRT) — a 3-bar HTF pattern where candle 2 fails to continue candle 1’s move:
Bearish CRT: candle 2 trades above candle 1’s high but closes back inside candle 1’s range and does not break its low.
Bullish CRT: candle 2 trades below candle 1’s low but closes back inside candle 1’s range and does not break its high.
SMT divergence (intermarket) — compares HTF swing extremes between the chart symbol and a correlated symbol:
Bearish SMT: one makes a higher high while the other does not.
Bullish SMT: one makes a lower low while the other does not.
Checked in two modes: historical (between the two last closed HTF bars) and real-time (last closed vs. current forming HTF bar).
How the elements work together (integration, not a mashup)
All modules share one HTF time base, so annotations describe the same segment of price action. The overlay produces an explicit context state by sequencing the modules in this order:
HTF Projection → Structural Frame
The last three HTF candles are drawn (bodies+wicks). This creates the “canvas” the rest of the logic references (ranges, highs/lows, and time boundaries).
CRT Test → Directional Bias Candidate
The script evaluates the 3-bar CRT conditions on those exact HTF candles (not lower-TF approximations).
If conditions are forming on the current HTF bar, status is CRT Forming.
If they complete on the close, status becomes CRT Confirmed (Bullish/Bearish).
SMT Check → Confirmation/Stress-Test on the Same HTF
Using the same HTF window, the tool compares swing progress with the correlated symbol.
Historical SMT comments on whether the prior HTF segment’s push had intermarket agreement.
Real-time SMT comments on the current forming push.
This lets you confirm a CRT bias (e.g., Bearish CRT + Bearish SMT) or challenge it (e.g., Bullish CRT but Bearish SMT).
Live HTF OHLC → Actionable Reference Levels
The current HTF Open/High/Low/Close are extended as levels. These are the decision rails you’ll typically use to judge follow-through, failure, mitigation, or targets in the same CRT/SMT context.
Resulting context states (what you’ll see in alerts/labels):
Neutral (no CRT; SMT may still inform context).
CRT Forming (monitor): HTF push is underway; watch real-time SMT into HTF High/Low/Close projections.
CRT Confirmed (bias): HTF failure pattern locked; use projections as reference for continuation/invalidations.
CRT + SMT Aligned (confluence): CRT direction agrees with SMT; strongest context.
CRT vs. SMT Mixed (caution): bias exists but intermarket is disagreeing; treat levels as potential fade zones.
Why this is not a mashup
Every module is computed and plotted in the same HTF coordinate system, so signals are about one thing: the current HTF segment.
CRT provides the bias hypothesis, SMT provides a cross-market test of that hypothesis in the same window, and live OHLC projections supply the exact levels used to act on or fade that hypothesis.
Alerts are tied to state transitions (e.g., CRT forming → confirmed; SMT flip), not to unrelated features.
Mechanics (high-level)
HTF Projection: pulls HTF OHLC/time for the last three HTF bars and renders body boxes + wicks; optional time labels adapt to intraday vs D/W/M.
CRT Labels: when the three-bar conditions are met, prints BULLISH CRT or BEARISH CRT on the HTF stack.
SMT Lines: draws labeled diagonals across the relevant HTF pair for historical and real-time checks using your correlated symbol.
Live Levels: extends the current HTF Open/High/Low/Close horizontally; anchors are deterministic (Open = first bar, High/Low = first occurrence, Close = current bar).
Inputs & customization
HTF timeframe: 1m–1M.
Display: candle width/opacity, borders/wicks, time labels (12h/24h).
SMT: enable/disable, correlated symbol, line style/width, optional labels.
Projections: enable/disable, left extension (bars), per-level styling and price labels.
Alerts: switches for CRT, SMT-historical, SMT-real-time.
Alerts (workflow prompts)
Bullish/Bearish CRT detected on the selected HTF.
Bullish/Bearish SMT (historical) between the two last closed HTF bars.
Bullish/Bearish SMT (real-time) between the last closed and current forming HTF bar.
Suggested text includes the HTF and current context state so you know if CRT and SMT are aligned or mixed.
Example use
Bearish scenario: A Bearish CRT confirms on the 4H; soon after, real-time SMT (bearish) appears while price probes the projected 4H High. Context = CRT + SMT Aligned → treat the projected Open/Close as near-term objectives.
Mixed scenario: A Bullish CRT forms on 1H, but historical SMT (bearish) printed in the prior segment. Context = Mixed → continue to monitor real-time SMT and projected Low for possible invalidation.
Notes & limitations
HTF values are provisional until the HTF bar closes; labels/lines can update while forming.
SMT depends on the correlated symbol you select; relationships vary by market/regime.
Session gaps/illiquid hours can distort extremes and time labels.
Educational tool: no performance claims, no entry/exit signals.
Originality & scope (for protected/invite-only publications)
A unified HTF projection → CRT test → SMT check → live level pipeline that yields explicit context states instead of separate, unrelated overlays.
Formal CRT detection performed on actual HTF bars (not lower-TF approximations).
Dual-mode SMT tied to the same HTF windows (historical + real-time), plotted as labeled span lines.
Deterministic OHLC projection (first-occurrence anchoring) to align decisions with the identified context.
Attribution: CRT/SMT concepts inspired by ICT. Design, implementation, and alert framework by TakingProphets.
Metals vs DXY CorrelationThere's a growing interest in Gold and Metals in general - due to safe have demand - a lot of traders get blindsided by sudden consolidation and reversals while trading Gold or Silver. The key is to know that GC is closely related to DXY because large institutions and central banks hedge the two instruments. They are inversely correlated for the most part.
This indicator looks at price action applies Pearson correlation to find the strength in their "entanglement" and tells you if its is strongly, weakly or positively correlated.
It has helped me stay away from the markets when there's a strong inverse correlation because the price action can be very unpredictable.
Hopefully you find this useful.
Prophet Model [TakingProphets]The Prophet Model — context pipeline (HTF PDA → Sweep → CISD → EPE) with dynamic risk
Purpose
Informational overlay for organizing institutional context in real time. It does not issue buy/sell signals and is not financial advice. Use it to structure analysis and checklist-driven execution—not to automate decisions.
What it does (modules at a glance)
Projects HTF PD Arrays (FVGs) onto your current chart and maintains only the nearest active array.
Validates directional bias using Candle Range Theory (CRT) on the same HTF.
Tracks Liquidity Sweeps (BSL/SSL) on HTF-aware pivots.
Confirms Change in State of Delivery (CISD) via displacement after a sweep.
Optionally refines entries with EPE when a local (internal) imbalance forms right after CISD.
Derives dynamic TP/BE/SL from measured displacement and recent extremes (not fixed distances).
Keeps a rules checklist (PDA tap → CRT → Sweep → CISD) and a relationships table (common HTF↔LTF pairings) to enforce process.
How it works (integration, not a mashup)
The modules are sequenced on one HTF time base so each step gates the next:
HTF PD Arrays (context zone). The model identifies valid HTF FVGs, filters tiny/weekend gaps, removes arrays that are invalidated by clean trades-through, and persists only the nearest PDA. This focuses attention on the institutional zone most likely to matter now.
CRT (directional gating). CRT on the same HTF establishes a provisional bias. No entries are implied; CRT simply permits or forbids the following steps. If CRT disagrees with the PDA context, the checklist remains incomplete.
Liquidity Sweep (event). The model tracks HTF-aware BSL/SSL pivots. A sweep only “counts” if it occurs in relation to the active PDA (tap/engagement). This prevents generic swing-high/low tags from triggering downstream logic.
CISD (confirmation). After a qualified sweep, the tool looks for displacement through the sequence open (the open of the impulsive leg beginning at or immediately after the sweep). Crossing that threshold confirms CISD, which marks a structural delivery shift consistent with the CRT bias.
EPE (refinement, optional). Immediately following CISD, the model scans for a fresh internal imbalance. If found quickly, it promotes that price area as the Easiest Point of Entry (EPE) and relabels the reference. If not, the CISD level remains primary.
Dynamic risk levels. TP/BE/SL are derived from the measured displacement around the CISD leg (e.g., BE ≈ 1× leg, TP ≈ 2.25× stretch; SL aligned to nearby structural extremes rather than a fixed pip offset). Levels update with structure and can display prices.
By chaining PDA → CRT → Sweep → CISD → (EPE) → Risk on a single HTF backbone, the tool creates a coherent workflow where later signals simply do not appear without earlier context. That’s why this is not a bundle of independent features: each module’s output is another module’s input.
Concepts & operational rules (high level)
HTF PD Arrays (FVGs)
Uses a standard three-candle gap definition on the chosen HTF, with filters for weekend/tiny gaps.
Inverse mitigation: if price trades cleanly through an array, the box is removed and internal state resets.
Nearest-PDA persistence: when multiple arrays exist, only the closest remains visible to reduce clutter.
Optional right-extension draws lingering influence X bars forward.
Candle Range Theory (CRT)
Bullish CRT: candle 2 wicks below candle 1’s low but closes back inside candle 1’s range, without taking its high.
Bearish CRT: candle 2 wicks above candle 1’s high but closes back inside candle 1’s range, without taking its low.
Role: bias validation paired to CISD when alignments match the active PDA.
Liquidity Sweeps (BSL/SSL)
Tracks candidate HTF pivots as buy-/sell-side liquidity.
A sweep registers when price takes a tracked pivot in the vicinity of the active PDA.
CISD (Change in State of Delivery)
Finds the sequence open for the impulsive leg that begins at/after the sweep.
Bearish path (after BSL sweep): CISD when close < sequence-open.
Bullish path (after SSL sweep): CISD when close > sequence-open.
On confirmation, the model plots a CISD line, checks the box in the Strategy Checklist, and triggers risk calc.
EPE (Easiest Point of Entry)
Within a short window after CISD, scans for a local imbalance; if present, promotes that level as EPE.
If no imbalance forms, CISD remains the operative reference.
Dynamic TP / BE / SL
Built from the measured leg around CISD (not fixed pip steps).
Approximate geometry: BE ≈ 1× leg, TP ≈ 2.25× leg; SL respects nearby structural extremes.
Labels and price markers are optional.
Architecture notes
Maps the current chart to a higher timeframe (e.g., 15s→M5, M1→M15, M5→H1, M15→H4, H1→D, H4→W, D→M).
Retrieves HTF OHLC/time with no lookahead so structures update intrabar until the HTF bar closes.
Periodic cleanup clears obsolete lines/labels/boxes to keep charts responsive.
Inputs (summary)
FVGs/PD Arrays: show/hide, colors, borders, label size, right-extension, nearest-only toggle.
CRT: enable/disable, label style.
Sweeps/CISD/EPE: enable/disable, line/label styles, EPE window.
Risk Levels (TP/BE/SL): enable each, price labels on/off, colors.
Tables/Checklist: strategy checklist on/off; relationships table (common HTF↔LTF pairings); text sizes and header colors.
Alerts (optional)
You may add alertconditions aligned with these events in your own workspace:
HTF PDA tap (bullish/bearish box)
CRT detected (bullish/bearish)
CISD confirmed (bullish/bearish)
EPE set/updated
Example messages:
“Prophet: CISD confirmed on {{ticker}} / {{interval}}”
“Prophet: EPE refined at {{close}} ({{time}})”
Notes & limitations
HTF values are provisional until the HTF bar closes; labels/levels can update while forming.
CISD/EPE are live conditions; they can form and later invalidate within the same HTF bar.
Liquidity relationships vary by market/regime; thin sessions and large gaps can affect clarity.
Educational tool only. No performance claims; no trade signals.
Originality & scope (for protected/invite-only publications)
A single HTF-synchronized engine sequences PDA → CRT → Sweep → CISD → (EPE) and withholds later steps unless prerequisites are met.
Nearest-PDA persistence and inverse-mitigation enforce focus on the most relevant institutional zone.
Displacement-based risk math ties TP/BE/SL to structure instead of static offsets.
Checklist + relationships table promote consistent, rules-first behavior and reduce discretionary drift.
Attribution: Concepts inspired by ICT (PD arrays/FVGs, CRT, sweeps, displacement, refined entries). Design, integration logic, and risk framework by TakingProphets.
HTF Candles [TakingProphets]HTF Candles — higher-timeframe structure, SMT divergence, and live OHLC projections
Purpose
Informational overlay to keep higher-timeframe (HTF) context visible on a lower-timeframe chart. It does not generate buy/sell signals and is not financial advice. Use it to structure analysis and alerts, not to automate trading.
What it does
HTF candle visualization (up to 10 candles, optional right-side offset) with bodies, wicks, and time labels.
SMT divergence checks on the chosen HTF—both historical (last two completed HTF bars) and real-time (last closed vs. current forming bar) vs. a user-selected correlated symbol (default can be an index future).
Live HTF OHLC projections: forward-extending Open / High / Low / Close from the current HTF bar with optional price labels and styling.
HTF close timer (optional) to show when the active HTF candle ends.
Why these modules belong together (more than a mashup)
This overlay uses one HTF time base to align three lenses of the same context:
Candle projection provides the structural frame (ranges and bodies of true HTF bars).
SMT divergence provides intermarket confirmation/invalidations on that same HTF, so the divergence you see is directly comparable to the projected candles.
Live OHLC projections turn the current HTF bar’s evolving state into concrete reference levels for intraday decisions.
Because all three share the same HTF clock and data source, alerts and drawings change together when the HTF state actually changes. The intent is a coherent workflow tool where each module gates the others (structure → confirmation → actionable references), rather than separate indicators merely co-plotted.
How it works (high-level)
Timeframe mapping & data
You choose an HTF (1m–1M). The script retrieves HTF OHLC/time without look-ahead. Objects update intrabar until the HTF bar closes.
Candle rendering
Up to 10 recent HTF candles are drawn as body boxes with wicks.
A horizontal offset/spacing option places the stack right of the current price for clarity.
Visuals (colors, transparency, borders, wick width, label size/format 12h/24h) are configurable.
SMT divergence (historical & real-time)
Compares HTF highs/lows of your chart vs. a correlated symbol using the same HTF.
Bearish SMT (high-side): one makes a higher high while the other does not.
Bullish SMT (low-side): one makes a lower low while the other does not.
Historical mode compares HTF → HTF ; real-time mode compares HTF → HTF as the current HTF bar forms.
Optional lines/labels mark where the divergence is detected.
Live OHLC projections
Extends the current HTF Open / High / Low / Close forward as horizontal lines.
Anchors: Open = first bar of the HTF period; High/Low = first occurrence of each extreme inside the period; Close = current bar.
Each level has independent toggles for price labels, style, and width.
Alerts (workflow prompts)
Bullish SMT, Bearish SMT, Bullish Real-time SMT, Bearish Real-time SMT.
Fire on the bar where the condition first becomes true.
Inputs & customization
Timeframe: select HTF (1m–1M).
Display: number of candles (1–10), right-offset, candle width, transparency, time labels on/off (12h/24h), label size, HTF close timer on/off.
Visuals: bullish/bearish body colors, border color, wick color.
SMT: enable/disable, correlated symbol, line style/width, labels on/off, alerts on/off.
Projections: enable/disable, per-level toggles (Open/High/Low/Close), color/style/width, optional price labels.
Notes & limitations
HTF values are provisional until the HTF bar closes; lines/labels can update during formation.
SMT usefulness depends on the correlated symbol you select; relationships vary by market/regime.
Session gaps/low liquidity can affect extremes and time labels.
Educational tool only. No performance claims and no trade signals.
Originality & scope (for protected/invite-only publications)
A single HTF-synchronized engine: candle projection, dual-mode SMT, and live OHLC projections all computed from the same HTF series to ensure consistent timing and interpretation.
Real-time SMT explicitly ties the developing HTF bar to the prior closed bar, reducing ambiguity vs. generic divergence checks.
Projection anchoring (first-occurrence rules for H/L, period start for Open, current bar for Close) provides deterministic, reproducible reference levels.
Bull-Bear EfficiencyBull-Bear Efficiency
This indicator measures the directional efficiency of price movement across many historical entry points to estimate overall market bias. It is designed as a trend gauge rather than a timing signal.
Concept
For each historical bar (tau) and a chosen lookahead horizon (h), the script evaluates how efficiently price has traveled from that starting point to the endpoint. Efficiency is defined as the net price change divided by the total absolute movement that occurred along the path.
Formula:
E(tau,h) = ( Price - Price ) / ( Sum from i = tau+1 to tau+h of | Price - Price | )
This measures how "straight" the path was from the entry to the current bar:
If price moved steadily upward, the numerator and denominator are nearly equal, and E approaches +1 (efficient bullish trend).
If price moved steadily downward, E approaches -1 (efficient bearish trend).
If price chopped back and forth, the denominator grows faster than the numerator, and E approaches 0 (inefficient movement).
The algorithm computes this efficiency for many past starting points and multiple horizons, optionally normalizing by ATR to account for volatility. The efficiencies are then weighted by recency to emphasize more recent behavior.
From this, the script derives:
Bull = weighted average of positive efficiencies
Bear = weighted average of negative efficiencies (absolute value)
Net = Bull - Bear (net directional efficiency)
Interpretation
Bull, Bear, and Net quantify how coherently the market has been trending.
Bull near 1.0, Bear near 0.0, Net > 0 -> clean upward trends; long positions have been more efficient.
Bear near 1.0, Bull near 0.0, Net < 0 -> clean downward trends; short positions have been more efficient.
Bull and Bear both small or similar -> low-efficiency, range-bound environment.
Net therefore acts as a "trend coherence index" that measures whether price action is directionally organized or noisy.
Practical Use
Trend filter:
Apply trend-following systems only when Net is strongly positive or negative.
Avoid them when Net is near zero.
Regime change detection:
Crossings through zero often correspond to transitions between trending and ranging regimes.
Momentum loss detection:
If price makes new highs but Net or Bull weakens, it suggests trend exhaustion.
Settings Overview
Lookback: Number of historical bars considered as entry points (tau values).
Horizons: List of forward projection lengths (in bars) for measuring efficiency.
Recency Decay (lambda): Exponential weighting that emphasizes recent data.
Normalize by ATR: Adjusts "effort" to account for volatility changes.
Display Options: Toggle Bull, Bear, Net, or Signed Average (S). Customize line colors.
Notes
This indicator does not produce entry or exit signals.
It is a statistical tool that measures how efficiently price has trended over time.
High Net values indicate smooth, coherent trends.
Low or neutral Net values indicate noisy, directionless conditions.