Set "Current Timeframe" for next blocks in mq5
-
the "Set "Current Timeframe" for next blocks" block does not seem to work in mq5 on the D1 timeframe.
Also, if you set the block to the same timeframe as the test (ex. H4), it displays different results than hardcoding the timeframe.for example if you run this test on the H4 timeframe it draws the vertical line differently when the timeframe block is connected vs. when it is not connected: http://fxdreema.com/shared/nOYdDaEZd


-
You are right, there is something wrong in this parameter - instead of H4, H6 is taken. I fixed that, thank you for this report.
-
great, thank you. When will the update be available in the desktop version?
-
Now I'm preparing few new blocks to work with the chart, I guess very soon.
What I can suggest is to check in the source code what is the timeframe that is selected, it should work. The problem is that names are shifted with one step, so H4 is actually H6, H6 is H8 and so on. When the fix comes it will not need any intervention, you can actually see on the project you posted that it now shows H6