Guide
How does the SuperTrend Long Strategy +TrendFilter strategy work ?
The SuperTrend Long Strategy +TrendFilter is designed to capture long opportunities through the combination of the SuperTrend indicator and a trend filter. Calculating the Average True Range (ATR) with a customizable period and applying a multiplier establishes dynamic support levels for long positions.
- The strategy utilizes an ATR Period to calculate the ATR, with adjustment capabilities to cater to different market volatilities.
- The Source (src) input takes the average of high and low prices to calculate the SuperTrend indicator's starting point.
- An ATR Multiplier adjusts the distance from the source to the support level, influencing signal sensitivity.
- Choice of ATR calculation method can be switched between the default or a simple moving average of the ATR.
- The strategy generates buy and sell signals which can be displayed or hidden on the chart.
- Trend highlighter and bar coloring are optional features for visual trend identification and last trend change recognition.
The core of the strategy lies in tracking the upper and lower trend lines, adjusting as per ATR and the multiplier set. It changes the trend variable from downtrend (-1) to uptrend (1) to indicate buy opportunities. This is further refined by incorporating a moving average trend filter ensuring trades are in sync with the prevailing trend, thus reducing the risk of false signals and enhancing the reliability of the strategy.