"Trend Lines Premium Engine" logo
Indicator
147 downloads
Version 1.0, Apr 2026
Windows, Mac
"Trend Lines Premium Engine" uploaded image
"Trend Lines Premium Engine" uploaded image
"Trend Lines Premium Engine" uploaded image
"Trend Lines Premium Engine" uploaded image
"Trend Lines Premium Engine" uploaded image
Since 03/10/2024
145
Sales
33.37K
Free installs

πŸ”· Trend Lines Premium Engine

Multi-Layer Market Structure & Dynamic Regression Indicator

https://chartshots.spotware.com/c/69d3c949a2e08


πŸ“Œ What is it?

Trend Lines Premium Engine is an overlay indicator that combines 5 independent modules into a single tool. Each module can be toggled on or off. It maps market structure, dynamic channels, and volume-based regression zones directly on the price chart.

It answers three core questions:

  • Where is price within the current structure?
  • What is the dominant trend and where are the breaking points?
  • At which price levels is activity concentrated?


🧩 The 5 Modules


1️⃣ Swing Range Connector

https://chartshots.spotware.com/c/69d3cab9b805b

Detects the most recent swing highs and swing lows, then draws a sloped channel connecting the oldest to the newest on both sides. The area between is filled as a dynamic range zone.

How it works:

  • A bar qualifies as a swing point when its high (or low) is the most extreme compared to N bars before and N bars after it.
  • A straight line is drawn from the oldest stored swing to the most recent, creating upper and lower boundaries.
  • The channel shifts automatically each time a new swing point is confirmed.

How to read it:

  • Price inside the channel β†’ defined structural range.
  • Break above/below β†’ volatility expansion or structure shift.
  • Channel slope β†’ predominant range direction.

Parameter

Purpose

Bars Before / After Swing

Bars required on each side to confirm a swing. Higher = more significant swings

Max Swing Points

How many swings to store. Controls channel depth

History Window

How far back the channel is drawn


2️⃣ Segment Linear Channel

https://chartshots.spotware.com/c/69d3cb221bba1

Splits the analysis window into 5 equal segments, finds the highest high and lowest low in each, then fits a least-squares regression line through those 5 upper points and another through the 5 lower points.

How it works:

  • The window is divided into 5 parts. One representative extreme is extracted per part.
  • Linear regression is applied over those 5 points for each boundary.
  • The result is a channel that adapts to segmented price structure rather than just two endpoints.

How to read it:

  • Ascending channel β†’ structural uptrend.
  • Descending channel β†’ structural downtrend.
  • Repeated touches on a boundary β†’ dynamic support/resistance.

Difference from Module 1: Swing Range connects only the first and last swing. Segment Channel uses 5-point regression, making it smoother and less reactive to a single swing.


3️⃣ Swing Point Labels

Detects swing highs and lows and classifies them into 4 market structure categories:

Label

Meaning

Indicates

HL

Higher Low

Bullish structure

HH

Higher High

Bullish structure

LH

Lower High

Bearish structure

LL

Lower Low

Bearish structure

How it works:

  • Each new swing low is compared to the previous swing low. Higher β†’ HL. Lower β†’ LL.
  • Each new swing high is compared to the previous swing high. Higher β†’ HH. Lower β†’ LH.

How to read it:

  • HL + HH sequence β†’ uptrend intact.
  • LH + LL sequence β†’ downtrend intact.
  • An HL breaking into LL, or an LH breaking into HH β†’ structure shift (BOS/CHoCH).

By default only HL and LH are displayed to keep the chart clean. HH and LL can be enabled for full structure visibility.


4️⃣ Automatic Trend Lines

https://chartshots.spotware.com/c/69d3cc071272e

Draws trend lines connecting the two most recent swing lows (bullish line) and the two most recent swing highs (bearish line). The active line is prominent; previous lines fade out.

How it works:

  • New swing low detected β†’ line drawn from prior swing low to the new one (bullish trend line).
  • New swing high detected β†’ line drawn from prior swing high to the new one (bearish trend line).
  • The line projects forward by a configurable number of bars.
  • When a new line is created, the previous one fades to a semi-transparent color.

Breakout signals (optional): When enabled, the indicator detects if the closing price crosses an active trend line:

  • πŸ”Ό Up arrow β†’ bullish breakout.
  • πŸ”½ Down arrow β†’ bearish breakout.

Parameter

Purpose

Max Line Pairs

How many line pairs to keep visible. Set to 1 for cleanest view

Max Extension Bars

How far the line projects forward. Prevents lines from crossing the entire chart


5️⃣ Dynamic Regression Zone

The most advanced module. Calculates a linear regression channel on closing prices and overlays an activity profile (histogram) showing where volume or touches concentrated within the channel. It also marks key levels at the highest-activity zones.

A) Regression Channel:

  • Least-squares linear regression is applied to closing prices over a given period.
  • Standard deviation of prices from the regression line is calculated.
  • Upper and lower bands are placed at N standard deviations from the center (default: 2.0).
  • Optionally computed in logarithmic scale for better accuracy on high-price or high-volatility instruments.

B) Auto Period Detection:

  • The algorithm tests multiple periods (50 to 400 bars) and calculates the Pearson correlation coefficient for each.
  • It selects the period with the highest correlation β€” where the linear regression best fits the price movement.
  • The correlation value is displayed on the chart (e.g., R = 0.85).

C) Activity Histogram:

  • The channel is divided into horizontal sections (up to 25).
  • For each section, the algorithm counts how many bars touched that price level, weighted by volume or number of touches (configurable).
  • Higher-activity sections appear as longer, more opaque bars.
  • This reveals the Point of Control (POC) and high/low activity zones within the channel.

D) Key Levels:

  • The sections with the highest activity are projected forward as horizontal lines.
  • They function as volume-based support and resistance within the regression context.

How to read it:

  • Price near upper band β†’ statistically overbought zone.
  • Price near lower band β†’ statistically oversold zone.
  • R close to 1 or -1 β†’ strong, reliable linear trend. R close to 0 β†’ ranging or regression is not significant.
  • Key levels act as price magnets β€” zones with historical activity concentration tend to attract price back.


🎯 Use Cases

Use Case

Modules

Identify market structure (bullish/bearish/range)

Swing Labels + Trend Lines

Detect dynamic support & resistance

Swing Range + Segment Channel

Find value zones by volume

Regression Zone + Key Levels

Confirm structure breaks

Trend Lines + Breakout Signals

Measure trend strength

Pearson Correlation (Regression Zone)


βš™οΈ Recommended Setup by Style

Style

Suggested Modules

Scalping (M1–M15)

Swing Labels + Trend Lines

Intraday (M15–H1)

All modules

Swing Trading (H4–D1)

Swing Range + Regression Zone + Key Levels

Pure structure analysis

Swing Labels + Trend Lines only


⚠️ Important Notes

 

Indicator profile
Indicator category
Trend
Output type
Visualisation
Signals
Data requirements
Bars only
Volume
Supported signals
Breakout
Trend strength
Level touch
Level break
0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!
BTCUSD
Breakout
Scalping
EURUSD
GBPUSD
NZDUSD
SMC
XAUUSD
NAS100
USDJPY
Products available through cTrader Store, including trading bots, indicators and plugins, are provided by third-party developers and made available for informational and technical access purposes only. cTrader Store is not a broker and does not provide investment advice, personal recommendations or any guarantee of future performance.

More from this author

Indicator
ATR
RSI
+7
ZigZag filters noise, spots trends, patterns, pivots, aiding analysis, trade management, and confirmations. πŸ“‰πŸ“ˆ
Indicator
ATR
RSI
+7
Identify bullish and bearish Order Blocks to spot key support/resistance levels and potential trend reversals! πŸ“ˆπŸ”„
Indicator
ATR
RSI
+7
πŸ“Š Shows volume by price levels, highlights POC, and key zones. Identifies dynamic support/resistance and imbalances.
Indicator
ATR
RSI
+6
Market structural patterns , specifically the concepts of Change of Character (ChoCH) πŸ”„ and Break of Structure (BoS) πŸ’₯
Indicator
ATR
RSI
+6
Adaptive trend channel using linear regression and Pearson correlation for dynamic support, resistance, and trends.
Indicator
RSI
Breakout
+1
"Identify key market zones and visualize support/resistance from multiple timeframes on a single chart.
Indicator
ATR
RSI
+7
identify and highlight temporary market inefficiencies known as "fair value gaps" 🚨 within specific trading Sessions.
Indicator
ATR
RSI
+6
πŸ’Ή Define a price channel πŸ“ˆ and determine trend direction (bullish 🟒 or bearish πŸ”΄).
Indicator
ATR
RSI
+6
πŸ“ŠZones Supply & Demand: Identifies key price levels with high volume concentration, marking Supply/Demand Zones & Marke
Indicator
RSI
BTCUSD
+5
Identify market structure effortlessly with swing highs, lows, CHoCH, and BOS levels for smart trading decisions! πŸ“ŠπŸ”"
Indicator
ATR
RSI
+8
Detects bullish and bearish divergences
Indicator
Advanced price action toolΒ that combines multiple technical analysis concepts

You may also like

Indicator
Prop
Forex
+4
Universal multi time frame 'Moving Average' indicator with extended features
Indicator
Crypto
Stocks
+1
A complete trend-following system with an interactive UI dashboard, exact BUY/SELL signals, and smart Stop-Loss levels.
Indicator
Channel
Fibonacci
+5
Professional dynamic tunnel for cTrader. Accurate market structure and fractal confluence analysis for expert traders.
Indicator
Signal
The Dark Cloud Cover indicator detects a bearish reversal pattern, marking key candles and confirming signals based on v
Indicator
RSI‑powered robot for high‑volatility scalping, no fuss.
Indicator
SMC
Prop
+14
Right-anchored cTrader Volume Profile with VAH/VAL/POC, LVZ, top volume+EMA, themes, and fast, readable visuals.
Indicator
Forex
BTCUSD
+11
High-Low and Pivot Point
Indicator
SMC
Prop
+12
Killzone, ICT, SMC, Session, Asia, London, New York, NY PM, Session High, Session Low, Smart Money, Order Flow, Trading
Indicator
EURUSD
Plots chosen symbol's close price, candlestick (wick, body) on cTrader chart, supports multiple timeframes.
Indicator
Signal
Bollinger
BB20 MULTICOLOR
Indicator
Forex
EURUSD
+2
DXY HMA Indicator
Indicator
AI
ATR
+27
MMXM Structure by LudwigICT – Professional Market Structure Mapping Tool
Indicator
AI
Prop
+14
Pivot Reversal Pro with Breakout Alerts
"VWAP Pro" logo
Top-rated
5.0
(4)
Free
Indicator
VWAP
Forex
Advanced VWAP with up to 30 anchored levels, multiple timeframes, memory mode, standard deviation bands & simple GUI
Indicator
Signal
Channel
Channel Trading is a volatility-based indicator using envelope theory to spot price breakouts and trade signals.
Indicator
ATR
Grid
+19
Session Volatility Radar: adaptive volatility+structure signals with session bands, IB ranges and SignalFib
Indicator
ATR
Signal
+2
Visual Trend Momentum is a MA/ATR/Volume trend tool. Visual signals for strong trends & reversals. Customizable. πŸ“ˆπŸ“‰
Indicator
AI
SMC
+14
Refined cleaner version of Key Levels indicator with broker UTC offset, styles & label alignment.
Since 03/10/2024
145
Sales
33.37K
Free installs