BUG get candle Time
-
What the heck is this time I'am getting from the ID 0 Candle?
http://prnt.sc/ago42o
I need the Candle's hour. I'am using hour charts, how could I do?ty
-
I will try to do something with Value -> Time. But Candle Time always appears as a numeric value, because... it's hard to explain
-
how can I read this numeric value? I didnt figure it's pattern. Like, for 11h candle, what is the number?

-
http://www.epochconverter.com/
In a program it's easier to deal with such a number. Of course, you don't understand it, you have to convert it as a string for your eyes. I just did that for the **Alert **block. If the input value has data type such as datetime, which is the case in Value -> Time, then in the **Alert **block this value will be converted to string. But for Candle Time, the problem is that all values in this category have the same data type - double
-
Dreema, is there a way to edit a text time variable, inside fxDreema like:
"2016.12.11 17:24"
I want just the 17.
thanks!
-
Conversions are not easily possible in fxDreema. But you want the current hour, use this function - https://docs.mql4.com/dateandtime/hour - just write Hour() where you need it.
-
Wow!!!
Exactly what I wanted
thanks.