This snippet shows how to use timeframes as input field. For that you just have to use the ENUM_TIMEFRAMES. It contains all of the predefined timeframes. This way you can use multiple times in a...
The MetaQuotes Language 4 and 5 (MQL4 / MQL5) are an object-oriented high-level programming language intended for writing automated trading strategies, custom technical indicators for the analysis of various financial markets.