TimeFrame

TimeFrame

Elements

const
Current Current timeframe
D1 1 day
H1 1 hour
H12 12 hours
H2 2 hours
H3 3 hours
H4 4 hours
H6 6 hours
H8 8 hours
M1 1 minute
M10 10 minutes
M12 12 minutes
M15 15 minutes
M2 2 minutes
M20 20 minutes
M3 3 minutes
M30 30 minutes
M4 4 minutes
M5 5 minutes
M6 6 minutes
MN1 1 month
W1 1 week
enum
Period Timeframe periods
function
custom Custom timeframe
toNumber Converts the string representation of the timeframe to numeric