PROTECTED SOURCE SCRIPT
Trend Lite [SolQuant]

The Trend Lite [SolQuant] indicator provides single-timeframe trend detection using Smoothed Moving Average (SMMA) analysis. It displays trend direction on the current timeframe with color-coded gradient fills, making it easy to identify bullish and bearish conditions at a glance.
This is the free version of Trend MTF [SolQuant], offering the core trend detection engine on a single timeframe without the multi-timeframe overlays, pressure zone detection, or market maker candle identification available in the full version.
█ USAGE
Reading the Trend
A smoothed moving average band is displayed on the chart. When the SMMA close is above the SMMA open, the band is bullish (default: blue). When below, it is bearish (default: magenta). A gradient fill extends from the band toward price, growing more visible as the trend strengthens.
The gradient effect provides an intuitive visual cue — a deep, saturated fill means price is moving firmly in the trend direction, while a fading fill suggests the trend may be weakening.
Candle Coloring
Optional candle coloring modes allow the chart candles to reflect the current trend direction or remain a neutral default color.
█ DETAILS
The Smoothed Moving Average is a recursive moving average calculated as: SMMA = (Previous SMMA * (Length - 1) + Current Source) / Length. Both the close and open values are smoothed with the SMMA, then fetched from a scaled-up timeframe using a configurable resolution multiplier. Trend direction is determined by comparing SMMA(close) to SMMA(open).
An additional EMA(10) is applied to the SMMA values for final smoothing before display.
█ SETTINGS
• Enable Candle Coloring: Toggle candle coloring on or off.
• Color Trend Candles: Color candles by trend direction.
• Resolution Multiplier: Scales the timeframe for SMMA calculation (default: 6). Higher = smoother.
• SMMA MA Period: Smoothing period for the SMMA (default: 12).
• Bull / Bear Color: Customizable trend colors.
This indicator is a trend-detection tool and does not constitute financial advice. Past performance does not guarantee future results.
This is the free version of Trend MTF [SolQuant], offering the core trend detection engine on a single timeframe without the multi-timeframe overlays, pressure zone detection, or market maker candle identification available in the full version.
█ USAGE
Reading the Trend
A smoothed moving average band is displayed on the chart. When the SMMA close is above the SMMA open, the band is bullish (default: blue). When below, it is bearish (default: magenta). A gradient fill extends from the band toward price, growing more visible as the trend strengthens.
The gradient effect provides an intuitive visual cue — a deep, saturated fill means price is moving firmly in the trend direction, while a fading fill suggests the trend may be weakening.
Candle Coloring
Optional candle coloring modes allow the chart candles to reflect the current trend direction or remain a neutral default color.
█ DETAILS
The Smoothed Moving Average is a recursive moving average calculated as: SMMA = (Previous SMMA * (Length - 1) + Current Source) / Length. Both the close and open values are smoothed with the SMMA, then fetched from a scaled-up timeframe using a configurable resolution multiplier. Trend direction is determined by comparing SMMA(close) to SMMA(open).
An additional EMA(10) is applied to the SMMA values for final smoothing before display.
█ SETTINGS
• Enable Candle Coloring: Toggle candle coloring on or off.
• Color Trend Candles: Color candles by trend direction.
• Resolution Multiplier: Scales the timeframe for SMMA calculation (default: 6). Higher = smoother.
• SMMA MA Period: Smoothing period for the SMMA (default: 12).
• Bull / Bear Color: Customizable trend colors.
This indicator is a trend-detection tool and does not constitute financial advice. Past performance does not guarantee future results.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.