OPEN-SOURCE SCRIPT

BG Trix Trend signal

79
ovides dynamic long and short signals based on a multi-timeframe candle averaging method. It calculates a four-step average of recent candles to determine the trend and changes candle color accordingly (green for upward, red for downward).

Features:

Multi-Timeframe Candle Analysis: Combines current and previous candle data to smooth price action.

Optional TRIX Filter: Adds a TRIX-based trend filter from a separate timeframe. Only triggers signals when TRIX confirms the trend.

Optional Keltner Channel Filter: Prevents signals when the price is inside the Keltner channel. Long signals only trigger above the upper band; short signals only trigger below the lower band. Separate MTF and MA type can be selected for the channel.

Visual Signals: Long and short signals are displayed as arrows on the chart. Candle color reflects trend direction.

Fully Customizable: Users can enable/disable TRIX and Keltner filters and select MA types and timeframes independently.

This indicator is ideal for traders who want clear trend signals while filtering out trades inside key price channels. No exit management is included—signals are purely for entry visualization.

Penafian

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.