Display timeframe with an alert message
-
I declared different timeframes as constants with the datatype ENUM_TIMEFRAMES. Everything works with it except of displaying the timeframe with an alert message like H1, H4, D1 etc. I tried to use types of value text and numeric. For H1 the responded value is 16385 and for H4 16388.
If i could get a numeric output of the datatype enum_timeframes like 60 for H1. It would also help and could be a solution.
Thanks for help in advance.
-
@cheftipp You can create as many string variables as timeframes and then use a structure like this to be visualized (example for 1H):
