display the entered timeframe constant
-
Hello, does anyone know how I can display a timeframe value entered in the constants in the display? FxDreema doesn't know the TimeFrameToString(TF) function and returns an error message.
-
In market properties, you have the current timeframe. Anything else can be achieved, but you need to give more information on what you are doing.
-
@RGoo
Both Period() and _Period return the current period as integer. Say, 60 means 1 hour. -
@jstap , @sktsec
Thank you for the answers, I forgot to write that I don't need the current time frame to be displayed, but rather a time frame that I have stored in the constants. So I would always like to know which time frame my indicator refers to in the current time frame. Here are some pictures, all the code wouldn't be helpful.


-
Comment, text code input, constant with the TF
-
@jstap
thanks, it worked -
Your welcome