Set Current Timeframe For Next Blocks Not Working
-
It's taken me hours of troubleshooting to realise that the "Set Current Timeframe..." block does not work properly. In the below link, I have added two "Draw Line" blocks - both drawing trend lines. However one derives (or is supposed to derive) its timeframe from the "Set Timeframe..." block, while the other has it manually set to "H1".
If you run the EA on a 1min chart, you will notice that the two lines drawn are different. The manually set one is correct while the other isn't.
-
@oseiwe good find.
To put it more precisely, the "Time" selection by "Candle time" does not follow the "Set Current Timeframe" block. -
@roar Precisely. I think what's happening is that it only works on fields named "Timeframe" and nothing else. So even fields named "Candle Timeframe" will not work.
One could argue that it is working according to specification

