OPEN-SOURCE SCRIPT

High/Low Moving Average

97
Custom Moving Average

This indicator is a single moving average line that is calculated by taking an array of the highs and lows of each candlestick in a set period of time, ordering and crushing them into an average value, then passing that value through an established moving average of your choosing.

Moving Average Types Available:

  • SMA
  • EMA
  • RMA
  • VWMA
  • DEMA
  • TEMA
  • FRAMA
  • HMA
  • WMA


There is a Darkmode/Lightmode feature, however, colors can be manually changed under "Style".

Personally, this is the only indicator I ever use on my charts, on all timeframes, in conjunction with the Volume Indicator.

The code is public and not complicated, feel free to use it however you would like.

Enjoy and Happy Trading!

Mr. Storm

Disclaimer

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.