INVITE-ONLY SCRIPT

Triple SMA and EMA [MA using days, regardless of candle period]

1 870
Those moving averages are calculated from the Day candlesticks, regardless of whether the chart is using 5min, 45min, 2H...
So your 200MA is always the 200-day moving average.

Script can show up to 4 SMA and 4 EMA all in one indicator in TV.
By default the SMAs and EMAs are 50d, 100d and 200d. A fourth is available in the preferences if you enable it.

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.