Forum

The function ICustom()

Hello! I am trying to understand the function ICustom(). The definition I have from MQL4 is that this function ICustom() calculates the specified custom indicator and returns its value. Among the parameters, there is a type string parameter "name" indicating the path/name of the custom indicator

Operation on DateTime

Hello! I am trying to understand the following operation: int te, uv; uv = Period()*60; For(int i = 0; i < 10; i++) { te = Time[0] - i*uv; } Time[0] is a DateTime type; te is an integer. I am just failling to unsderstand how and why such operation can be carried out with two variables of different