Timeframe as variable/ Timeframe as input
-
Hey peeps,
is it possible to have the timeframe as an input aka variable in a condition block?
I tried several things as using "enum_timeframes" where normally "double" or "string" stays.
It would be great for being able to change several timeframes in several blocks with just one click.
Appreciate your suggestions!
-
@umbrellamaker there's a block "change timeframe for next blocks", that should work.
The enum_timeframes thing should also work... https://docs.mql4.com/constants/chartconstants/enum_timeframes
-
Gold. Thanks @roar !!