OPEN-SOURCE SCRIPT
Updated Lower Timeframe *MA

Lower Timeframe Moving Average (MA) Indicator
This indicator calculates a moving average using data from a lower timeframe than the chart's current timeframe.
It provides potentially earlier signals and smoother price action by incorporating more granular price data. It also allows you to keep the same reference frame for your moving average regardless of your currently selected period.
Key Features:
- Uses lower timeframe data to calculate moving averages on higher timeframes
- Supports multiple MA types: SMA, EMA, WMA, VWMA, RMA, and HMA
- Allows selection of various price inputs (close, open, high, low, hl2, hlc3, ohlc4)
- Automatically adjusts MA length based on the ratio between chart timeframe and selected sub-timeframe
15m

5m

This indicator calculates a moving average using data from a lower timeframe than the chart's current timeframe.
It provides potentially earlier signals and smoother price action by incorporating more granular price data. It also allows you to keep the same reference frame for your moving average regardless of your currently selected period.
Key Features:
- Uses lower timeframe data to calculate moving averages on higher timeframes
- Supports multiple MA types: SMA, EMA, WMA, VWMA, RMA, and HMA
- Allows selection of various price inputs (close, open, high, low, hl2, hlc3, ohlc4)
- Automatically adjusts MA length based on the ratio between chart timeframe and selected sub-timeframe
15m
5m
Release Notes
Lower Timeframe Moving Average (MA) IndicatorThis indicator calculates a moving average using data from a lower timeframe than the chart's current timeframe.
It provides potentially earlier signals and smoother price action by incorporating more granular price data. It also allows you to keep the same reference frame for your moving average regardless of your currently selected period.
Key Features:
- Uses lower timeframe data to calculate moving averages on higher timeframes
- Supports multiple MA types: SMA, EMA, WMA, VWMA, RMA, and HMA
- Allows selection of various price inputs (close, open, high, low, hl2, hlc3, ohlc4)
- Automatically adjusts MA length based on the ratio between chart timeframe and selected sub-timeframe
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.