Skip to content
All library documents

SuperTrend with a Moving Average Center and ATR Trailing Bands

Article ProRealCode

Summary

This variant combines a selectable moving average with Average True Range bands to display trend direction and potential support or resistance areas. The described defaults use an exponential moving average over 100 periods, a 10-period ATR, and a multiplier of 0.5. Users can select among 11 moving average types, including simple, weighted, double exponential, Hull, and Tillson T3 averages. The upper and lower bands are adjusted using prior values, while a trend state switches when price crosses a prior band. The active side is colored to distinguish up and down conditions.

The document supplies implementation logic but no chart examples, tests, or performance results. It does not establish that the bands reliably mark support or resistance, and the chosen settings may behave differently across instruments and time frames. The indicator is a trend visualization with ATR-based trailing thresholds; it does not specify position sizing, exits beyond the trend-state change, or risk controls. The code’s lengthy alternative average calculations also make the exact behavior dependent on the selected type and implementation.

Key ideas

  • The indicator centers ATR bands on a selectable moving average.
  • Its stated default uses a 100-period exponential moving average and a 10-period ATR with a 0.5 multiplier.
  • Eleven moving average types are listed as options.
  • Prior band values and price crossings determine the displayed trend state.
  • The description provides no evidence that the bands predict trends or act reliably as support and resistance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.