TradingView
felipeprenholato
Apr 7, 2020 2:18 AM
Multi Timeframe Moving Averages
BITFINEX:XRPUSD
1
XRP / Dollar
Bitfinex
Description
⋅
Apr 7, 2020 2:18 AM
This indicator allows you to view a moving average ( EMA or SMA ) of your choosing on other time frames than what you are currently on. You just need to edit the script and plot MAs that you want to see.
This is based on awesome work of
@millerrh
at
tradingview.com/script/1n00oj8X-Multi-Timeframe-Moving-Averages/,
but now instead of read inputs, I just plot what I desire with correct labels.
The reason I used that was that I wanted to see daily MAs in 15min, 5min and 1min charts.
To use the script add to your chart and edit it, you can add or remove any MA you want at end of file and then add it to your chart again.
The code off course is open source.
Moving Averages
Exponential Moving Average (EMA)
Simple Moving Average (SMA)
exponentialmovingaverages
sma
timeframe
Comments
jthole
⋅
Apr 13, 2021 4:49 AM
Great work, thanks!
Belliez
⋅
Jul 20, 2022 4:07 PM
Great script, do you know how to smooth the higher time frames to the lines show as a line instead of steps?
NtHawk101
⋅
Jun 15, 2022 3:27 AM
This now appears locked, in read only mode. Am I missing something?
radiohead06
⋅
May 29, 2022 6:02 AM
Thanks a lot! That's exactly what I was trying to do. You saved my life with just security(syminfo.tickerid, "60", ma(maType, close, length)) :-)
loyingwai
⋅
Jan 18, 2022 4:57 AM
Love it, thanks a lot!
csamsojo
⋅
Mar 6, 2021 1:27 PM
Could you please help me to adjust the code so that the 50 or the 200 MA is not displayed on the intraday charts? Thank you,
jthole
⋅
Apr 13, 2021 4:48 AM
@csamsojo
, just comment it out in the code?
felipeprenholato
⋅
Apr 14, 2021 1:59 AM
@csamsojo
, just change the "Current" for value you need, "W" for week, "M" for month.
More