com.jfx
Class Timeframe

java.lang.Object
  extended by com.jfx.Timeframe

public class Timeframe
extends java.lang.Object

Timeframe of the chart (chart period).


Field Summary
static int _PERIOD_D1
           
static int _PERIOD_DEFAULT
           
static int _PERIOD_H1
           
static int _PERIOD_H4
           
static int _PERIOD_M1
           
static int _PERIOD_M15
           
static int _PERIOD_M30
           
static int _PERIOD_M5
           
static int _PERIOD_MN1
           
static int _PERIOD_W1
           
static Timeframe PERIOD_D1
          1 Daily
static Timeframe PERIOD_DEFAULT
          Timeframe used on the chart.
static Timeframe PERIOD_H1
          1 hour
static Timeframe PERIOD_H4
          4 hour
static Timeframe PERIOD_M1
          1 minute
static Timeframe PERIOD_M15
          15 minutes
static Timeframe PERIOD_M30
          30 minutes
static Timeframe PERIOD_M5
          5 minutes
static Timeframe PERIOD_MN1
          Monthly
static Timeframe PERIOD_W1
          Weekly
 int val
           
 
Method Summary
static Timeframe getTimeframe(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERIOD_M1

public static final Timeframe PERIOD_M1
1 minute


_PERIOD_M1

public static final int _PERIOD_M1
See Also:
Constant Field Values

PERIOD_M5

public static final Timeframe PERIOD_M5
5 minutes


_PERIOD_M5

public static final int _PERIOD_M5
See Also:
Constant Field Values

PERIOD_M15

public static final Timeframe PERIOD_M15
15 minutes


_PERIOD_M15

public static final int _PERIOD_M15
See Also:
Constant Field Values

PERIOD_M30

public static final Timeframe PERIOD_M30
30 minutes


_PERIOD_M30

public static final int _PERIOD_M30
See Also:
Constant Field Values

PERIOD_H1

public static final Timeframe PERIOD_H1
1 hour


_PERIOD_H1

public static final int _PERIOD_H1
See Also:
Constant Field Values

PERIOD_H4

public static final Timeframe PERIOD_H4
4 hour


_PERIOD_H4

public static final int _PERIOD_H4
See Also:
Constant Field Values

PERIOD_D1

public static final Timeframe PERIOD_D1
1 Daily


_PERIOD_D1

public static final int _PERIOD_D1
See Also:
Constant Field Values

PERIOD_W1

public static final Timeframe PERIOD_W1
Weekly


_PERIOD_W1

public static final int _PERIOD_W1
See Also:
Constant Field Values

PERIOD_MN1

public static final Timeframe PERIOD_MN1
Monthly


_PERIOD_MN1

public static final int _PERIOD_MN1
See Also:
Constant Field Values

PERIOD_DEFAULT

public static final Timeframe PERIOD_DEFAULT
Timeframe used on the chart.


_PERIOD_DEFAULT

public static final int _PERIOD_DEFAULT
See Also:
Constant Field Values

val

public int val
Method Detail

getTimeframe

public static Timeframe getTimeframe(int val)


Copyright © 2008-2009 Roman Gerasimenko.