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
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟