TimeFrameSet periods

When using TimeFrameSet, is it possible to set it to 20 minutes? As in:

TimeFrameSet(in20minute);

Thanks.

@C_M you can set a custom interval for 20 minutes as follow;

TimeFrameSet(20 * in1Minute);

as it it clearly documented:

... To get other intervals you can use multiple of pre-defined intervals, for example: ( 3*in1Minute ) gives 3 minute bars. Or you can use 3 * inDaily for 3-day bars.

3 Likes

aha! Thank you beppe.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.