NorthStarDayTrading

NSDT MA High-Low

This may seem like a pretty basic Moving Average indicator but I haven't seen one that changes the calculation point depending if the market is going up or down.

I've added three EMA's (length of 20) on this sample chart to demonstrate the differences. These are not included with the indicator.
Green, EMA calculated on High
Red, EMA calculated on Low
Yellow, EMA calculated on Close (default)
Blue, EMA calculated on HIGH when rising but on LOW when falling. (looks at 3 candles back to gauge direction)
* * * Note you can choose between 5 different Moving Average types

Notice how the Blue line (when going up it's calculated on the High) is catching up to the Green line (which is already calculated on the High)?
Notice how the Blue line (when going down so it's calculated on the Low) is catching up to the Red line (which is already calculated on the Low)?

This gives a faster response in the direction of the market because it switches between calculating on the High or Low based on market direction.

This script is free and open source.

ALL indicators, strategies and bots are included with Discord access.
www.NorthStarDayTrading.com/discord
www.youtube.com/shorts/fWFQE7uEHvU
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?