public static enum SentimentIndexBarIndicator.SentimentMode extends Enum<SentimentIndexBarIndicator.SentimentMode>
Enum Constant and Description |
---|
CHART_PERIOD |
DAILY |
FOUR_HOURS |
ONE_HOUR |
THIRTY_MINS |
WEEKLY |
Modifier and Type | Method and Description |
---|---|
Period |
getPeriod(IIndicatorContext context) |
static SentimentIndexBarIndicator.SentimentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SentimentIndexBarIndicator.SentimentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SentimentIndexBarIndicator.SentimentMode CHART_PERIOD
public static final SentimentIndexBarIndicator.SentimentMode THIRTY_MINS
public static final SentimentIndexBarIndicator.SentimentMode ONE_HOUR
public static final SentimentIndexBarIndicator.SentimentMode FOUR_HOURS
public static final SentimentIndexBarIndicator.SentimentMode DAILY
public static final SentimentIndexBarIndicator.SentimentMode WEEKLY
public static SentimentIndexBarIndicator.SentimentMode[] values()
for (SentimentIndexBarIndicator.SentimentMode c : SentimentIndexBarIndicator.SentimentMode.values()) System.out.println(c);
public static SentimentIndexBarIndicator.SentimentMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic Period getPeriod(IIndicatorContext context)
Copyright © 2016. All rights reserved.