MobiusTrader
English
Russian
中文
English
العربي
Bahasa Indonesia
Terminals
For clients
Documentation
Articles
mScript
Contacts
Textbook
Directory
»
TimeFrame
»
toNumber
Current
D1
H1
H12
H2
H3
H4
H6
H8
M1
M10
M12
M15
M2
M20
M3
M30
M4
M5
M6
MN1
W1
Period
custom
toNumber
TimeFrame.toNumber()
Converts the string representation of the timeframe to numeric
TimeFrame.toNumber(timeFrame:string)
Parameters
Name
Type
Действие
Значение по умолчанию
timeFrame
string
Timeframe, for example M1, MN1
—