How can I get the Bar Interval for Range Bars?

Hi,

Interval(1) = -3000 means Interval is 3000 ticks.

How to get the Interval for Range Bars e.g. 4R?

Regards,
Terence

Please read here before

So you can easily find that out yourself what's returned by Interval(1) if 4R is set:

printf("Interval(1): %07.0f", Interval(1));
printf("Is 4R? %s.", WriteIf(StrMatch(Interval(2),"4R"), "Yes", "No"));

7

2 Likes