Smoothed Gaussian Trend Filter MT5 MTF Scanner

Smoothed Gaussian Trend Filter MT5 MTF Scanner

9 November 2026, 16:36
Duc Hoan Nguyen
0
28

Smoothed Gaussian Trend Filter Multi TF Scanner - Logic and Usage

1. Introducing the indicator

Smoothed Gaussian Trend Filter Multi TF Scanner helps you follow the direction of a filtered price curve, identify direction changes and distinguish periods when its short-term slope disagrees with the trend direction. It combines a Gaussian filter, linear regression smoothing, an ATR-adjusted trend reference, Buy/Sell arrows and two optional trailing bands.

Multi-TF lets you view information from another timeframe on the current chart. The Scanner monitors multiple symbols and timeframes, with separate parameter choices for each timeframe. This helps you find charts that deserve attention and then inspect the curve and signal locations directly.

View the details and download the version for your platform:

2. Understanding the logic and reading the indicator

2.1. How is the Gaussian curve formed?

The closing price first passes through a Gaussian filter. Gaussian Length defaults to 15 and determines the filter coefficient; Poles (1..4) defaults to 3 and selects the order of the recursive formula. Both parameters affect the curve's response to price. A longer period generally slows its response, but a change in filter order should not be treated as a fixed improvement.

The Gaussian output is then smoothed with linear regression. Smoothing Length, default 22, is the number of bars in the regression window; Flatten Multiplier, default 7, specifies the evaluation point on the fitted regression line. Despite the word Multiplier in its label, this is an offset parameter in the regression formula, not a direct multiplier of price or band distance.

The resulting curve provides the basis for trend classification, color phases and Buy/Sell locations. Flatten Multiplier does not move arrows to past bars: the regression result is still assigned to the bar being calculated. A negative value evaluates the fitted line farther forward according to the formula; it does not mean the indicator knows future prices.

2.2. Trend direction is not determined by slope alone

The indicator builds a trend reference using custom Supertrend logic centered on the smoothed Gaussian curve itself. The base distance is 0.15 × ATR(21), with ATR calculated from market high, low and closing prices. Upper and lower thresholds are maintained using their previous states to produce the active reference level.

The trend is classified as bullish when the Gaussian curve is above this reference; otherwise it follows the bearish branch. A bullish color should therefore not be read simply as “the curve is rising.” The curve can remain in a bullish trend while temporarily sloping down. This Supertrend reference is used internally and is not an additional Supertrend line drawn separately on the chart.

2.3. The three color phases and the meaning of ranging

  • Bullish phase: turquoise by default, showing a bullish trend when it is not replaced by the ranging phase.
  • Bearish phase: red by default, showing a bearish trend when it is not replaced by the ranging phase.
  • Ranging phase: gray by default, appearing only when Mid-Trend Signals is enabled and the slope direction disagrees with the trend direction.

The slope is classified as rising when the curve is higher than on the previous bar; equal or lower values belong to the non-rising branch. Ranging here describes disagreement between these two classifications. It does not establish that price is inside a fixed box or that market volatility is low.

Mid-Trend Signals defaults to false. When disabled, the curve displays only bullish and bearish phases, even though the disagreement calculation still exists. Enabling it displays gray when slope and trend disagree. Default transparency is 50% for the bullish/bearish curves and 0% for gray, with line width 3. Each phase uses fixed colors rather than transparency that varies with volume intensity.

2.4. Buy/Sell behavior depends on Mid-Trend Signals

With Mid-Trend Signals = false, Buy appears when the trend changes from bearish to bullish; Sell appears when it changes from bullish to bearish. This mode marks direction-change events rather than repeating an arrow on every bar that shares the same trend.

With Mid-Trend Signals = true, the condition changes: the previous bar must be ranging and the current bar must have left that phase. Buy appears if the current trend is bullish; Sell appears if it is bearish. This can produce continuation signals within an existing trend. It should not be understood as always preserving every direction-change arrow from the default mode and merely adding more signals.

Both Buy and Sell are placed directly at the smoothed Gaussian value on the signal bar. There are no separate Bullish/Bearish Dot plots. Show Buy Signal and Show Sell Signal control the drawing only; hiding arrows does not stop signal calculation or disable alerts.

2.5. Trailing Bands use candle-body distance

Enable Show Trailing Bands to display a lower band during a bullish trend and an upper band during a bearish trend. This option is off by default. If G denotes the central curve and D the smoothed candle-body distance, the bullish band is G − 2 × D and the bearish band is G + 2 × D.

D is derived from candle-body size, the absolute distance between close and open. Body Distance MA Length defaults to 100 and Body Distance MA Method defaults to SMA. Other available MA methods can be selected. Body Distance MA Applied Volume (VWMA) selects tick or real volume for VWMA, with tick volume as the default. This volume choice supplies VWMA weights; it is not a volume filter for Buy/Sell.

The two bands default to 90% transparency and width 1. They provide a distance reference around the curve in the trend direction. They are not the ATR thresholds used by the trend reference in section 2.2 and do not automatically set stop-loss or exit levels. In the current logic, Body Distance MA parameters affect the bands, not the Buy/Sell conditions or arrow anchor prices.

2.6. Ranging onset, ranging end and alerts

When Mid-Trend Signals is enabled, Choppy Market is active during the ranging phase. An onset event occurs only when the previous bar was not ranging and the current bar starts ranging; it does not repeat on every bar of that phase. Onset information is provided as current-timeframe data without an extra chart symbol or a separate onset-alert option.

The four alert choices are Buy, Sell, Choppy Market and End of Choppy Market. Buy/Sell alerts require the corresponding signal and a valid Gaussian price. Choppy Market reports the ranging state on each qualifying bar; End of Choppy Market reports only the transition from ranging to not ranging. Both Choppy alerts depend on Mid-Trend Signals.

The core alert logic uses closed bars. Arrows and curves on the open bar can still change or disappear as price updates. Enable alerts for the current symbol and Enable alerts for all Scanner symbols are both off by default; selecting an alert type alone does not start notifications. Enable the required alert scope and choose the appropriate message, push, email or sound channel.

2.7. Drawing options and timeframe labels

Style settings let you choose arrow codes, colors and widths, as well as line visibility, colors, transparency, styles and widths. Timeframe labels are anchored to the Gaussian curve and use the active phase's color, with an optional countdown. Turning a line's Show option on or off does not automatically disable its label or change signal conditions.

The filter and regression need an initial data period before their results are available. Bands also need data for Body Distance MA, so they can appear later than the Gaussian curve and arrows. Changing the history limit can affect the startup of the recursive filter.

3. Scanner and Multi-TF

Multi-TF displays the selected timeframe's curves and signals on the current chart. You can use common parameters or enable Use separate parameters for each time frame to adjust Gaussian filtering, regression, Mid-Trend Signals, band distance and related settings for individual timeframes.

The Scanner monitors multiple symbols and timeframes in one table. Its default timeframe list is M1, M5, M15, M30, H1, H4, D1 and W1; it supports up to 10 timeframes. Inputs include the symbol-list source, switching charts when a cell is clicked and table display options. Show Scanner is off by default.

For this indicator, Scanner and Multi-TF help you compare curve direction, Buy/Sell events and market segments that deserve closer inspection. The timeframes do not have to produce the same signal simultaneously: each has its own calculation window and phase rhythm.

Shared controls, panel operation and common settings are covered in the Multi-TF and Scanner User Guide.

4. Using the indicator with Scanner and Multi-TF

  1. Choose the signal mode first: leave Mid-Trend Signals off to monitor direction changes, or enable it to observe the gray phase and signals when the trend leaves a disagreement phase.
  2. Read the curve and arrows together: inspect Buy/Sell on the Gaussian curve, the curve's position relative to its trend reference and its slope state. An arrow is an event defined by the indicator, not confirmation that price will continue in that direction.
  3. Use bands as references: enable Trailing Bands when you want to inspect candle-body distance around the curve. Changing Body Distance MA adjusts the bands rather than switching the signal rules.
  4. Use the Scanner to select charts to inspect: monitor your symbols and timeframes, then open the corresponding chart to assess color phases, arrow locations and price context. Consult a higher timeframe for context rather than imposing a fixed timeframe combination.
  5. Distinguish live bars from alerts: a developing signal can change; compare closed-bar notifications with the correct symbol and timeframe.

Explore the product details and download the indicator for your platform: