Smart Trader, Episode 06, Isotropic Trend Lines
Apr 16, 2026

The Smart Trader, Episode 06, Isotropic Trend Lines indicator is a multi-scale structural trend channel tool built on an Isotropic Coordinate System (ICS) that normalizes price movement by volatility to provide comparable trend angles across any instrument or timeframe. By scaling log-price by Yang-Zhang realized volatility, the script produces a dimensionless space where a specific angle (e.g., 45°) represents a consistent structural move relative to market volatility, regardless of the chart's visual zoom or display settings.
Usage
The Usage section describes how the script can be used to identify structural trends and breakout states.
Trend Analysis and ICS Angles
The tool automatically partitions price history into blocks and measures the slope of the longest monotonic segment. Because it uses the Isotropic Coordinate System, traders can use the ICS angle (displayed on the chart) to quantify trend intensity. For example, an angle of 45° indicates a movement of approximately one standard deviation (σ) per bar. This allows for direct comparison of trend steepness between different assets like Gold and Bitcoin without visual distortion.
Multi-Scale Consensus
The indicator runs its analysis across six different temporal scales (3, 7, 13, 19, 29, and 47 bars per block). Users should observe the dashboard's "Agreement" row; a consensus of 5/6 or 6/6 suggests a robust structural trend visible across multiple resolutions. The primary channel shown on the chart is driven by the user-defined "Trend Block Period."
Breakout and Retest Tracking
A built-in finite-state machine monitors how price interacts with the primary channel boundaries. It identifies five distinct states:
- Inside: Price is within the channel floors and ceilings.
- Breakout (Up/Down): Price has breached a boundary.
- Retest (Up/Down): Price has returned to the boundary after a breakout to test it as new support or resistance. The dashboard narrative provides a human-readable summary of these states, including distance measurements as a percentage of channel width.
Details
The script utilizes a deterministic pipeline to ensure data integrity and structural accuracy:
- Yang-Zhang Volatility: Uses a drift-invariant estimator that combines overnight, intraday, and range-based variance to provide a normalization constant (σ).
- Block Construction: Instead of using closing prices, the script calculates the geometric mean of the high and low for each block, capturing the structural center and reducing bias.
- Isotropic Coordinate System (ICS): By dividing the log-price difference by σ and time, the slope becomes dimensionless. The arctangent of this slope yields the ICS angle.
- Data Anchoring: The "Calculation Bar" setting determines the anchor point. "Live Bar" allows for real-time updates (with potential intra-bar repainting), while "Close Bar" locks values at the last confirmed bar for historical consistency.
Settings
Calculation
- Calculation Bar: Sets the anchor for computations (Live Bar or Close Bar).
- Trend Block Period: Number of bars per block for the primary analysis engine.
- Trend Block Groups: Number of consecutive blocks used to detect direction and fit channels.
- Range Threshold (°): The degree limit below which a trend is classified as "ranging."
- Yang-Zhang Sigma Length: The lookback period for volatility estimation.
Visuals
- Channel Lines: Customization for colors, width, and styles for Up, Down, and Range trends.
- Projection Lines: Controls the forward extension of channel slopes.
- Display: Toggle visibility for the channel, fill, and dashboard, and select from 7 supported languages.
- Channel Fill: Adjusts the transparency and colors of the background shading between boundaries.
Alerts
- Enable Alerts: Master toggle for 19 different conditions including direction changes, breakouts, retests, and consensus thresholds. Note: Alerts require "Live Bar" mode.
FAQ
How do I interpret the ICS angle shown on the trend label? The ICS angle represents trend intensity normalized by volatility. An angle of 0° is flat, while 45° indicates a move of one standard deviation per bar. These angles are comparable across all timeframes and assets.
Why does the indicator show a warning when I use Close Bar mode? Alerts are suppressed in Close Bar mode because this setting intentionally lags by one bar to ensure historical stability. For real-time alerts, you must switch the Calculation Bar setting to "Live Bar."
How can I get access to Isotropic Trend Lines? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.