OPEN-SOURCE SCRIPT
Nicha_EMA_Line

Moving Average Pack (Trend Identification)
The first part of the script calculates and plots 7 different moving averages on your chart. These are commonly used to determine trend direction, dynamic support/resistance, and momentum:
EMA 9, 14, 20, 50, 100, 200: These are standard Exponential Moving Averages. The script colors the short-term averages (9, 20, 50) and the long-term trend indicator (200) all in green, while EMA 14 is yellow and EMA 100 is blue.
LWMA 720 (White): This is a Linear Weighted Moving Average with a very long period (720). Instead of just using the closing price, it uses a custom Weighted Close formula (high + low + close + close) / 4 to give extra importance to the closing price while factoring in the day's high and low.
The first part of the script calculates and plots 7 different moving averages on your chart. These are commonly used to determine trend direction, dynamic support/resistance, and momentum:
EMA 9, 14, 20, 50, 100, 200: These are standard Exponential Moving Averages. The script colors the short-term averages (9, 20, 50) and the long-term trend indicator (200) all in green, while EMA 14 is yellow and EMA 100 is blue.
LWMA 720 (White): This is a Linear Weighted Moving Average with a very long period (720). Instead of just using the closing price, it uses a custom Weighted Close formula (high + low + close + close) / 4 to give extra importance to the closing price while factoring in the day's high and low.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.