TradingView
xdecow
25 jan 2021 20:36

Multi Timeframe Moving Average [xdecow] 

Ethereum / TetherUSBinance

Beskrivning

This indicator plots a moving average of 4 different timeframes.
The types of averages available are: SMA, EMA, DEMA, VWMA, RMA, WMA.

Versionsinformation

+increased the number of moving averages to 8
+separate length and type configuration for each MA
+labels with type, length and resolution (configurable)

Versionsinformation

-Removed 'Current' timeframe from labels
+Converts the length of another resolution to the current resolution (smoothing)

Versionsinformation

MTF mode changed

Versionsinformation


  1. Update to PineScript v5
  2. Added VWAP, MVWAP, TEMA and LSMA types
  3. Added 2 more MA, now 10 in total
  4. Added the option to change the source
  5. Option to show MA only from higher timeframes
  6. Fix: hide labels whose MA has a null value
  7. Option to change the font size of the label
  8. Option to show the MA number on the label
  9. Added tooltips to the labels with MA information
  10. aRGB leds included

Versionsinformation

- Added length to MVWAP

Versionsinformation

Fixed MTF MA dotted after some PineScript update.

Versionsinformation

They reverted the changes to pinescript that caused the bug.
So I reverted it back to how it was before and added the option to choose the "Smoothed MTF mode".
Kommentarer
Optimal-Entry
I am sorry to be of bother.
But is there a way you can add 2 more moving average slot?
Appreciate all your hard work.
Your indicator is the BEST!
Optimal-Entry
Can you add 2 more moving average slot to this indicator?
I use both SMA & EMA.
VWAP will also be GREAT!
xdecow
Oiiiii
Thank you very much for both scripting this indicator and making it out freely available for other traders like me.

Knowing the EMA of multiple timeframes is vital to my trading system, and I am grateful that there are traders and programmers like you who are willing to make these tools and generously put them out there for others to use.
sunilmaurya26
very good script . if you could just add VWAP and it will become great.
xdecow
Dyna8620
Brilliant script! I've checked a lot of SMA/EMA scripts and this one is the best. 8 lines, possible to change the timeframe for every line, and also the type of moving average can be changed for every line plus there's a label (including offset) so you can see exactly on your chart what you're dealing with. Thanks a lot!

Too bad though that there are no quarterly moving average lines available in Tradingview
leepakhan
You are the best coder and a great humanbeing as well for sharing all possible options in one indicator..
joban444
Is it possible to change visibility settings such that only lines from higher timeframes are plotted on the opened timeframe? for eg: on 1Hr chart, lines from 4hr, Daily, and weekly are shown but not 30min, 15min, and 5 min.
xdecow
@joban444, updated
Mer