Create time stamp for optimisation
-
In this link is how to take hour and minute constants, add leading 0's and compile into a string so testing optimisation can loop through different times.
MT4 link: https://fxdreema.com/shared/UI9CUeHEc
-
Very useful, as usual.
-
@jstap hello sir, does it work even on MT5?
-
Yes, it's the same, just copy the blocks, paste, and mimic the inputs
-
@jstap sir how to do it if I am using the time relative to Start Time???
-
Relitive to start time is already using int numbers, so just use the constants created for making the string time.
-
@jstap I mean sir, Relative to Start Time is the Sum of Start hr + Relative Time right??
so for the formula you gave, should I make it Start Time + Relative Time?? or just be direct like what you did on the formula?
-
Nott sure what you mean, yes it is start + relative, but this calculation is done within the block
-
@jstap yes sir I mean, for this to show on Comments Properly, should I put it as Start + Relative to show on comments when is the proper time for it to End?
-
Is awkward when you change a string to int, then work with what the FX block is doing so having to convert again
the link below will do it.MT5: https://fxdreema.com/shared/sOLiFCdqb
MT4: https://fxdreema.com/shared/DyQKz9f2b