Indicators: Moving Average MTF
MTF means the hability to calculate multiple timeframes simultaneosly, or to calculate data about "another" timeframe besides the current timeframe.
your code is not MTF
This indicator can help to analyze the market.
You can find the 4-hour moving average indicator in the 1-hour timeframe chart on all timeframe charts.
Thus, do not need to switch charts back and forth to check a specific period of moving average indicator relative to the market price on all timeframe.
Moving Average MTF:
Moving average with calculated period based on timeframe
Author: 4kk4