All indicators

Exponential Regression Channel with novel volatility

Oct 1, 2021

Static chart image
Support and ResistanceChannelsVolatility

The Exponential Regression Channel with novel volatility indicator provides an advanced trend analysis tool that accurately plots regression channels on logarithmic charts to identify potential support, resistance, and price targets. By utilizing an exponential fit and a specialized volatility measure, it helps traders determine optimal holding times and stop-loss/take-profit boundaries based on mathematical trend projections.

Usage

The indicator is designed to help traders visualize the primary trend and its volatility-based boundaries. It is particularly effective for assets that exhibit exponential growth or decay, as it maintains accuracy on log scales where standard linear regression might fail.

  • Trend Identification: The central line represents the exponential regression fit, indicating the core trend direction.
  • Volatility Channels: The upper and lower bands are determined by a standard deviation calculation in the log scale (referred to as "novola"), defining the typical price range.
  • Trade Planning: At the most recent bar, the tool calculates and displays potential Stop-Loss (SL) and Take-Profit (TP) boundaries, along with the "Typical Holding Time" (Thold) based on the regression slope.
  • Log vs. Regular Scale: While the indicator works on both scales, it is optimized for logarithmic charts to ensure the linear extension remains valid relative to price action.

Details

This script is a specialized modification of standard linear regression tools. Instead of calculating a straight line on raw price data, it performs calculations on the log-transformed price. This mathematical approach ensures that the resulting "Exponential Regression" appears as a straight line on a log chart, providing a more realistic view of percentage-based price movements over time.

The "novel volatility" (novola) measure uses the standard deviation of these log-transformed values. This provides a more consistent volatility band across varying price levels compared to traditional linear standard deviations.

Settings

  • Upper Deviation: Multiplier for the standard deviation to determine the width of the upper and lower channels.
  • Use Linear Fit: When enabled, displays a dashed linear fit line for comparison.
  • Use Upper/Lower Deviation: Toggles whether the bands are calculated using the multiplier or the absolute highest/lowest deviations within the lookback period.
  • Show exp params / Pearson's R: Displays mathematical parameters including the intercept, slope (pot), and the Pearson correlation coefficient (r) to measure trend strength.
  • Extend Lines: Extends the projected regression lines into the future.
  • Count: The number of bars used for the regression calculation.

FAQ

How do I use the SL/TP labels?

The labels on the far right provide calculated percentage targets and price levels based on the current regression slope and volatility bands, helping to estimate risk-reward ratios.

What is "Thold"?

"Thold" represents the estimated typical holding time or time-to-target based on the current exponential regression slope.

How can I access the Exponential Regression Channel with novel volatility?

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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.