MobiusTrader
English
Russian
中文
English
العربي
Bahasa Indonesia
Terminals
For clients
Documentation
Articles
mScript
Contacts
Textbook
Directory
»
Bar
»
shift
Mode
appliedPrice
counted
equalBar
highest
load
lowest
refreshRates
shift
size
Bar.shift()
Search for a bar by time
Bar.shift(barsTime:Array, time:int)
Parameters
Name
Type
Действие
Значение по умолчанию
barsTime
Array
Array of Time
—
time
int
Time value for search
—
Return value
Index of the bar at which the specified time falls
Example
let index = Bar.shift(Time, 10);