This function is available on the Add Study window and in the Formula Toolbox.
Bar Interval returns the current value of the bar interval for the chart it is applied to. It is used primarily for creating conditions where specifying a bar time frame is important.
Example: BarInterval(@,none) > BarInterval(@,30) would be true if the current bar time frame were greater than 30 minutes.
Example: BarInterval(@,none)
Parameter |
Description |
Interval |
Values: None 15-Minute 30-Minute 60-Minute 120-Minute Daily Monthly Semi-Annual Yearly |