This script lets you add up to 8 EMAs (Exponential Moving Averages) that can be set to any timeframe and length. The difference between this and other EMA indicators is that it has a simple label attached to each EMA showing which timeframe it belongs to and what length it is, so you can get that information at a glance while trading without having to remember the specific settings for each EMA.
I was personally looking for something like this because I like clarity on my chart and these labels really help. The existing EMA indicators I found with labels don't support multiple timesframes or if they do, they don't include the timeframe itself in the label, so that's why I created this simple script and shared it in case somebody else is looking for the same. Enjoy.
Notas de prensa
⋅
Fixed rounding of price labels, the tick value is now shown
Why does the EMA change with different Timeframes interval selected from chart?
DigitalLRS
⋅
The EMA lines do not match any other EMA indicators I have used. I tried many and the lines for this indicator were always different, despite the settings being the same.
setite
⋅
Thank you for the script
mshumm
⋅
Thanks for the script. For some odd reason, I cannot view the emas when viewing a chart that only plots a line due to limited data (such as cpi). Is there a way to modify script so that it will run for those data series? The error is saying unsupported resolution in TV
bdtank
⋅
Awesome!
FullDegenMode
⋅
amazingggg
revene
⋅
bruh, you good :)
hamaraemailaddress
⋅
is it possible to plot for today's date only. Can we hide EMAs before todays date and make todays EMAs visible ?
moertling
⋅
Thanks for this - great job! Is there any way to increase decimal precision for the labels? They are rounded to whole number in the code; works for SPX, not for SPY?
chipmonk
⋅
@moertling, The rounding is now fixed and the price label will now have the correct tick size/decimal precision for the selected asset, simply re-add the indicator to your chart to get the latest update.