I tried to search in the wiki and in the older posts but I am still a little bit confused on this matter I am going to depict.

My Time Frame = 5 minutes,

my signal has IOB enabled.

I would like to reload automatically the chart by the ".rld" command after 2 minutes from the beginning of the daily session every day and after that to allow normally my entries from the second "5-minutes" bar (9:10).

Using 5 minutes resolution, the first bar is 9:05, the second 9:20 and so on.

May I use this code? and in particular the line "Time=902"?

Code: Select all

`if Time = 902 then CommandLine(".rld");`

if time >= 910 and time <920 then buy .....

For example, if there will be 100 ticks in the first bar 9:05, will the .rld command be executed 100 times?

Thanks