Thats an:
ENUM_TIMEFRAMES
Chart Timeframes
All predefined timeframes of charts have unique identifiers. The PERIOD_CURRENT identifier means the current period of a chart, at which a mql5-program is running.
ENUM_TIMEFRAMES
ID | Description |
PERIOD_CURRENT | Current timeframe |
PERIOD_M1 | 1 minute |
PERIOD_M2 | 2 minutes |
PERIOD_M3 | 3 minutes |
PERIOD_M4 | 4 minutes |
PERIOD_M5 | 5 minutes |
PERIOD_M6 | 6 minutes |
PERIOD_M10 | 10 minutes |
PERIOD_M12 | 12 minutes |
PERIOD_M15 | 15 minutes |
PERIOD_M20 | 20 minutes |
PERIOD_M30 | 30 minutes |
PERIOD_H1 | 1 hour |
PERIOD_H2 | 2 hours |
PERIOD_H3 | 3 hours |
PERIOD_H4 | 4 hours |
PERIOD_H6 | 6 hours |
PERIOD_H8 | 8 hours |
PERIOD_H12 | 12 hours |
PERIOD_D1 | 1 day |
PERIOD_W1 | 1 week |
PERIOD_MN1 | 1 month |
So you can fill in one of these parameters.
In the case of MQL4 there will be less then the above just look it up in the docs.
Hi Everyone,
I want to use a indicator in an EA,
this indicator has some input settings that I want to change it by EA and then EA use it for take positions,
below picture is input settings of indicator,
my problem is How I can use iCustom function for set value of drop down menu?
for example How can fill ENTER SETTING OF INDICAROE in below code?