show time to end
-
Hello everyone,
Which blocks should we use to display the time remaining until the end of the current candle?
Is there an example to understand how to achieve this?
Thank you in advance for your response.
Regards. -
You'll find what you need in here: https://fxdreema.com/shared/oLDaj9MDb
-
@jstap Thank you for your message. I copied your blocks, and I don't understand, it's not working. Do you have any ideas?
-
If you import that and download it will work on back test, if you need MT5 you will have to copy, ensure all the variables are created. Test and let me exactly what's not working.
-
This is the variables/constants you need to create:

-
@jstap Thank you for your response. However, I would need some clarification:
Are T, P, X_OFFSET, X, Y, and CW variables of type int or double?
-
@jstap For the variable T, I used "int," but I think it expects a different type.
I'm getting the following error message:'T' - parameter conversion not allowed
For the other variables, I also used "int."
-

