Forum

News error from MqlCalenderEvent

Dear MQL5 community, I am using the MQL5 calender function directly from the Metatrader platform and I have the following issue: Currently, I am using this specific code to get the required calender events ( The variable "EU_code" is an input variable and can be "WW", "EU", "US", "JP" etc. )

Create non-standard timeframes in MQL4

Hi all, I am programming an indicator and I wonder if it is possible to use non-standard timeframes in MQL4. Basically, I am thinking of using M10, H2, H6, H8 and H12 which are all available in MT5. Is this somehow possible to use them in MQL4? Currently, I was trying something like iHigh(_Symbol