Bar.equalBar()

Checking that two times refer to the same bar
Bar.equalBar(time1:int, time2:int, timeFrame:string)

Parameters

Name Type Действие Значение по умолчанию
time1 int Time 1
time2 int Time 2
timeFrame string TimeFrame. It can be any of TimeFrame enumeration values

Example

let sameBar = Bar.sameBar(time1, time2);