OPEN-SOURCE SCRIPT
Updated EMAs

Show up to 5 EMAs on the chart at the same time.
This only shows the current price of the EMA.
You can use any timeframe you like, but it only works for EMAs on higher timeframe.
NOTE: The script will break if you set an EMA to 0 even if it is disabled.
This only shows the current price of the EMA.
You can use any timeframe you like, but it only works for EMAs on higher timeframe.
NOTE: The script will break if you set an EMA to 0 even if it is disabled.
Release Notes
Added the ability to change the labels location on the chart according to the last bar.Fixed the line extending to the right on EMAs 2, 3, 4 and 5.
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.