MQL4 Reference
Standard constants
Timeframes
|
Timeframe of the chart (chart period). It can be any of the following values:
| Constant | Value | Description |
| PERIOD_M1 | 1 | 1 minute. |
| PERIOD_M5 | 5 | 5 minutes. |
| PERIOD_M15 | 15 | 15 minutes. |
| PERIOD_M30 | 30 | 30 minutes. |
| PERIOD_H1 | 60 | 1 hour. |
| PERIOD_H4 | 240 | 4 hour. |
| PERIOD_D1 | 1440 | Daily. |
| PERIOD_W1 | 10080 | Weekly. |
| PERIOD_MN1 | 43200 | Monthly. |
| 0 (zero) | 0 | Timeframe used on the chart. |
|
|
|