OPEN-SOURCE SCRIPT

Fixed-period Moving Average for Multi-TF Switching

Updated
- This indicator will plot MA by using Fixed number or Calculation based on candle-minute to specified range
- The indicator will use "length = 1" if selected period is smaller than current timeframe
- Max limit for length is capped at 1000
- Default setting is for 15m time frame

Main usage is to show MA plot from difference timeframe
(at shorter timeframe -> 1D MA(30) is pretty close to 1H MA(720) or 4H MA(180)) or something like that.
Release Notes
Rework to make it support different period and hide too high length.
Moving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer