search Nothing found
Main Algotrading documentation Constants and enumerations

TimeFrame

Predefined list of timeframes

public enum TimeFrame : int
{
Current = 0,
M1 = 101,
M5 = 105,
M10 = 110,
M15 = 115,
M30 = 130,
H1 = 201,
H2 = 202,
H3 = 203,
H4 = 204,
H6 = 206,
H8 = 208,
H12 = 212,
D1 = 301,
W1 = 401,
MN = 501,
Q1 = 601,
Y1 = 701
}

Timeframes description

Timeframe
Description
int
        Current
Current timeframe
0
        M1
1 Minute
101
        M5
5 Minutes
105
        M10
10 Minutes
110
        M15
15 Minutes
115
        M30
30 Minutes
130
        H1
1 Hour
201
        H2
2 hours
202
        H3
3 hours
203
        H4
4 hours
204
        H6
6 hours
206
        H8
8 hours
208
        H12
12 hours
212
        D1
1 Day
301
        W1
1 Week
401
        MN
1 Month
501
        Q1
1 Quarter
601
        Y1
1 Year
70