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
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?