Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3163
- Rating:
- Published:
- 2016.06.30 13:03
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
M2_MA indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires M2_MA.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig.1. M2_MA_HTF
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15623
![M2_MACandle](https://c.mql5.com/i/code/indicator.png)
M2_MA indicator implemented as a sequence of candlesticks.
![MaChannel_HTF](https://c.mql5.com/i/code/indicator.png)
MaChannel indicator with the timeframe selection option available in input parameters.