@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface StudyHeader
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
desc
Description displayed in the study dialog.
|
java.lang.String |
id
Unique (within the namespace) ID for this study.
|
java.lang.String |
name
Displayed name of this study.
|
java.lang.String |
namespace
Namespace for this study (Must be unique for your organization)
|
boolean |
overlay
Indicates if this study is an overlay that may be placed on an existing plot.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
autoEntry |
java.lang.String |
helpLink
HTTP Link to a website that displays documentation on this study/strategy.
|
java.lang.String |
label
Name displayed on plot label (uses name if not specified)
|
boolean |
manualEntry |
java.lang.String |
menu
Menu to display this study under (optional).
|
java.lang.String |
menu2
2nd menu (optional)
|
java.lang.String |
menu3
3rd menu (optional)
|
boolean |
multipleInstrument
Indicates if the study may request data from multiple instruments (default false).
|
java.lang.String |
rb
Resource bundle to pull translatable strings from.
|
boolean |
requiresBarUpdates |
boolean |
requiresBidAskHistory |
boolean |
requiresUseAccountPosition |
boolean |
requiresVolume
Indicates if this study requires volume data.
|
boolean |
secured |
int |
sessions
Indicates if the number of sessions supported by this strategy (default 2).
|
boolean |
showTradeOptions
Indicates if the Trade Options panel should be shown.
|
boolean |
signals
Indicates if this study generates signals.
|
boolean |
strategy |
boolean |
studyOverlay
Indicates if this study can be overlaid on any plot.
|
boolean |
supportsBarUpdates
Indicates if this study supports live bar updates.
|
boolean |
supportsCloseOnDeactivate
Indicates if the strategy supports the 'close on deactivate' feature.
|
boolean |
supportsCloseOnSessionEnd
Indicates if the strategy supports the 'exit on session close' feature.
|
boolean |
supportsCurrentPL |
boolean |
supportsEnterOnActivate
Indicates if the strategy supports the 'enter on activate' feature.
|
boolean |
supportsEnterOnSessionStart
Indicates if the strategy supports the 'enter on session open' feature (default false).
|
boolean |
supportsEntryPrice |
boolean |
supportsLongShort |
boolean |
supportsPosition |
boolean |
supportsPositionType
Indicates if the strategy supports the 'position type' feature.
|
boolean |
supportsRealizedPL |
boolean |
supportsRiskRatio |
boolean |
supportsSessions
Indicates if the strategy supports sessions.
|
boolean |
supportsStopPL |
boolean |
supportsTargetPL |
boolean |
supportsTIF
Indicates if the strategy supports the order time in force (TIF) option.
|
boolean |
supportsTotalPL |
boolean |
supportsTradeLots
Indicates if the strategy supports the 'trade lots' feature.
|
boolean |
supportsUnrealizedPL |
boolean |
supportsUseAccountPosition
Indicates if this study supports use account position.
|
java.lang.String |
tabName
Name displayed on tab (Uses label if not specified)
|
boolean |
underlayByDefault
Indicates if this study has the underlay attribute set to true by default.
|
public abstract java.lang.String namespace
public abstract java.lang.String id
public abstract java.lang.String name
public abstract java.lang.String desc
public abstract boolean overlay
public abstract boolean secured
public abstract java.lang.String rb
public abstract java.lang.String helpLink
public abstract java.lang.String menu
public abstract java.lang.String label
public abstract boolean underlayByDefault
public abstract boolean studyOverlay
public abstract boolean signals
public abstract boolean strategy
public abstract java.lang.String menu2
public abstract java.lang.String menu3
public abstract java.lang.String tabName
public abstract boolean requiresVolume
public abstract boolean multipleInstrument
public abstract boolean supportsBarUpdates
public abstract boolean requiresBarUpdates
public abstract boolean supportsUseAccountPosition
public abstract boolean requiresUseAccountPosition
public abstract boolean requiresBidAskHistory
public abstract boolean autoEntry
public abstract boolean manualEntry
public abstract boolean supportsLongShort
public abstract boolean supportsEntryPrice
public abstract boolean supportsPosition
public abstract boolean supportsCurrentPL
public abstract boolean supportsTotalPL
public abstract boolean supportsRiskRatio
public abstract boolean supportsStopPL
public abstract boolean supportsTargetPL
public abstract boolean supportsRealizedPL
public abstract boolean supportsUnrealizedPL
public abstract boolean showTradeOptions
public abstract boolean supportsTradeLots
public abstract boolean supportsPositionType
public abstract boolean supportsEnterOnActivate
public abstract boolean supportsCloseOnDeactivate
public abstract boolean supportsTIF
public abstract boolean supportsSessions
public abstract int sessions
public abstract boolean supportsEnterOnSessionStart
public abstract boolean supportsCloseOnSessionEnd