market properties -> timeframe use in output.
-
How does one use the time frame option in the market properties section? When I add it to an Alert box, it gives me an output of 16392 or something when I'm trying to get it to say 4h chart.
My goal is to be able to use "set current timeframe" in MT5 and have the EA check multiple time frames and give me an output of which time frame the situation happened on. Any tips?
-
@voodoogodman use "set current timeframe" and set "repeat this block " and each time when block repeated you can check your condition.
-
@xfire I have done this and it is what i want, though i don't know how to create an output alert that will tell me what tf the condition was found on.
AUDCAD is searched on h4,h6,h8,h12,D1 using the "repeat this block" how do I create an alert that tells me which TF the condition was found on?
-
You will need a variable to store that information. Then you can create that alert showing the variable's current value.
-
How would I set that up? I assume a var loaded with the tf found in market properties info would just read the same as an ouput alert that displays tf.
-
Here you can find detailed help:
-
@l-andorrà It did not work unfortunately. Only came up with errors and would not compile on the web or in MetaEditor. I declared variable as shown. Set var in a modify variables box. and attempted to display contents of the variable in an alert box. it wouldn't compile, though
-
I guess the problem should be in the variable type. Considering that is is for MT5 some help from real programmers is required. THis is not my field of expertise, sorry.
