Pivot Point SuperTrend with ATR and Moving-Average Trend Filters
Summary
The script builds a SuperTrend-style trailing line from pivot highs and lows. It blends each new pivot into a center line, offsets that line by an ATR multiple to form trailing bands, and changes trend state when price crosses the prior band. Trend reversals create buy and sell signals, while optional plots show pivots, support and resistance, and the center line.
The visible source then begins adding a second SuperTrend calculation and a moving-average trend filter, but the excerpt cuts off before the filter is fully defined or any order rules are shown. It includes configurable pivot and ATR parameters, yet supplies no backtest period, performance results, or discussion of signal limitations. Pivot confirmation uses bars on both sides of the pivot, so the signal timing should be assessed in the full implementation before drawing conclusions about tradable entries.
Key ideas
- A weighted center line is updated when pivot highs or lows are identified.
- ATR-based upper and lower bands define a trailing trend level around the pivot center.
- Crosses of the trailing bands change trend state and mark buy or sell signals.
- Optional chart elements include pivot labels, the center line, and support or resistance levels.
- The excerpt does not include complete trend-filter or order logic and gives no performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.