WHERE IS THE PROBLEM HERE?
-
The chart colour wont change even when correct
https://fxdreema.com/shared/nGzzxtVkc -
There is nothing wrong with that, strip back and work out which particular attribute is causing the trouble, on mt5 int numbers won't work for a TF.
-
@jstap If not integers then how do we put ENUM_TIMEFRAMES in mt5
-
In constants add this as type:
ENUM_TIMEFRAMESname it anything
add this as a value:
PERIOD_CURRENT -
@jstap What if I want to change the timeframe from current to H1
-
In the inputs you will have a drop down to select what you want
-
@jstap I dont want to change manually..
-
Variables work like a constant, I have never done it but you need to change the variable to one of these when you need: https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes