Annotation Interface StudyHeader
This annotation is used to describe information about the study
when the study is loaded by MotiveWave.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDescription displayed in the study dialog.Unique (within the namespace) ID for this study.Displayed name of this study.Namespace for this study (Must be unique for your organization)boolean
Indicates if this study is an overlay that may be placed on an existing plot. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Indicates if the study allows historical and live ticks to be aggregated.boolean
Indicates if the study allows historical and live ticks to be filtered by min and or max sizes.boolean
Indicates that this strategy supports automatic entry.boolean
Indicates that Bar Updates option on on by default.HTTP Link to a website that displays documentation on this study/strategy.Name displayed on plot label (uses name if not specified)boolean
Indicates that this strategy supports manual entry.Menu to display this study under (optional).2nd menu (optional)3rd menu (optional)boolean
Indicates if the study may request data from multiple instruments (default false).Resource bundle to pull translatable strings from.boolean
Indicates that this study required live bar updates.boolean
Indicates that this study requires historical Bid and Ask data.boolean
Indicates that this study requires the use of the account position.boolean
Indicates if this study requires volume data.boolean
Set this attribute to true if you would like this study to be protected by the namespace using the SDK Admin.int
Indicates if the number of sessions supported by this strategy (default 2).boolean
Indicates if the Trade Options panel should be shown.boolean
Indicates if this study generates signals.boolean
Indicates that this study is a strategy.boolean
Indicates if this study can be overlaid on any plot.boolean
Indicates if this study supports live bar updates.boolean
Indicates if the strategy supports the 'close on deactivate' feature.boolean
Indicates if the strategy supports the 'exit on session close' feature.boolean
Indicates that this strategy supports the display of the current profit/loss (strategy tag must be true).boolean
Indicates if the strategy supports the 'enter on activate' feature.boolean
Indicates if the strategy supports the 'enter on session open' feature (default false).boolean
Indicates that this strategy supports the display of the entry price (strategy tag must be true).boolean
Indicates that this strategy allows the user to choose Long or Short (strategy and manualEntry tags must be true).boolean
Indicates that this strategy supports the display of the position price (strategy tag must be true).boolean
Indicates if the strategy supports the 'position type' feature.boolean
Indicates that this strategy supports the display of the realized profit/loss (strategy tag must be true).boolean
Indicates that this strategy supports the display of the risk ratio (strategy tag must be true).boolean
Indicates if the strategy supports sessions.boolean
Indicates that this strategy supports the display of the stop profit/loss (strategy tag must be true).boolean
Indicates that this strategy supports the display of the target profit/loss (strategy tag must be true).boolean
Indicates if the strategy supports the order time in force (TIF) option.boolean
Indicates that this strategy supports the display of the total profit/loss (strategy tag must be true).boolean
Indicates if the strategy supports the 'trade lots' feature.boolean
Indicates that this strategy supports the display of the unrealized profit/loss (strategy tag must be true).boolean
Indicates if this study supports use account position.Name displayed on tab (Uses label if not specified)boolean
Indicates if this study has the underlay attribute set to true by default.
-
Element Details
-
namespace
String namespaceNamespace for this study (Must be unique for your organization) -
secured
boolean securedSet this attribute to true if you would like this study to be protected by the namespace using the SDK Admin.- Returns:
- true if this study should be protected by namespace.
- Default:
false
-
id
String idUnique (within the namespace) ID for this study. -
rb
-
helpLink
String helpLinkHTTP Link to a website that displays documentation on this study/strategy.- Default:
""
-
name
String nameDisplayed name of this study. -
desc
String descDescription displayed in the study dialog. -
label
-
overlay
boolean overlayIndicates if this study is an overlay that may be placed on an existing plot. -
underlayByDefault
boolean underlayByDefaultIndicates if this study has the underlay attribute set to true by default.- Default:
false
-
studyOverlay
boolean studyOverlayIndicates if this study can be overlaid on any plot.- Default:
false
-
signals
boolean signalsIndicates if this study generates signals.- Default:
false
-
strategy
boolean strategyIndicates that this study is a strategy.- Returns:
- true if this study is a strategy.
- Default:
false
-
tabName
-
requiresVolume
boolean requiresVolumeIndicates if this study requires volume data.- Default:
false
-
multipleInstrument
boolean multipleInstrumentIndicates if the study may request data from multiple instruments (default false).- Returns:
- true if this study may request data from multiple instruments.
- Default:
false
-
supportsBarUpdates
boolean supportsBarUpdatesIndicates if this study supports live bar updates.- Returns:
- true if this study responds to live bar updates.
- Default:
true
-
requiresBarUpdates
boolean requiresBarUpdatesIndicates that this study required live bar updates.- Returns:
- true if this study requires live bar updates.
- Default:
false
-
barUpdatesByDefault
boolean barUpdatesByDefaultIndicates that Bar Updates option on on by default.- Returns:
- true if this study has bar updates on by default.
- Default:
false
-
allowTickAggregate
boolean allowTickAggregateIndicates if the study allows historical and live ticks to be aggregated.- Returns:
- true if historical and live ticks can be aggregated.
- Default:
false
-
allowTickFilter
boolean allowTickFilterIndicates if the study allows historical and live ticks to be filtered by min and or max sizes.- Returns:
- true if historical and live ticks can be filtered.
- Default:
false
-
supportsUseAccountPosition
boolean supportsUseAccountPositionIndicates if this study supports use account position.- Returns:
- true if this study supports use account position.
- Default:
true
-
requiresUseAccountPosition
boolean requiresUseAccountPositionIndicates that this study requires the use of the account position.- Returns:
- true if this study requires the use of the account position.
- Default:
false
-
requiresBidAskHistory
boolean requiresBidAskHistoryIndicates that this study requires historical Bid and Ask data.- Returns:
- true if this study requires historical Bid and Ask data.
- Default:
false
-
autoEntry
boolean autoEntryIndicates that this strategy supports automatic entry.- Returns:
- true if this strategy supports automatic entry (strategy tag must be true)
- Default:
true
-
manualEntry
boolean manualEntryIndicates that this strategy supports manual entry.- Returns:
- true if this strategy supports manual entry (strategy tag must be true)
- Default:
false
-
supportsLongShort
boolean supportsLongShortIndicates that this strategy allows the user to choose Long or Short (strategy and manualEntry tags must be true).- Returns:
- true if this strategy allows the user to choose Long or Short (strategy and manualEntry tags must be true)
- Default:
true
-
supportsEntryPrice
boolean supportsEntryPriceIndicates that this strategy supports the display of the entry price (strategy tag must be true).- Returns:
- true if this strategy supports the display of the entry price (strategy tag must be true)
- Default:
true
-
supportsPosition
boolean supportsPositionIndicates that this strategy supports the display of the position price (strategy tag must be true).- Returns:
- true if this strategy supports the display of the position price (strategy tag must be true)
- Default:
true
-
supportsCurrentPL
boolean supportsCurrentPLIndicates that this strategy supports the display of the current profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the current profit/loss (strategy tag must be true)
- Default:
false
-
supportsTotalPL
boolean supportsTotalPLIndicates that this strategy supports the display of the total profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the total profit/loss (strategy tag must be true)
- Default:
false
-
supportsRiskRatio
boolean supportsRiskRatioIndicates that this strategy supports the display of the risk ratio (strategy tag must be true).- Returns:
- true if this strategy supports the display of the risk ratio (strategy tag must be true)
- Default:
false
-
supportsStopPL
boolean supportsStopPLIndicates that this strategy supports the display of the stop profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the stop profit/loss (strategy tag must be true)
- Default:
false
-
supportsTargetPL
boolean supportsTargetPLIndicates that this strategy supports the display of the target profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the target profit/loss (strategy tag must be true)
- Default:
false
-
supportsRealizedPL
boolean supportsRealizedPLIndicates that this strategy supports the display of the realized profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the realized profit/loss (strategy tag must be true)
- Default:
false
-
supportsUnrealizedPL
boolean supportsUnrealizedPLIndicates that this strategy supports the display of the unrealized profit/loss (strategy tag must be true).- Returns:
- true if this strategy supports the display of the unrealized profit/loss (strategy tag must be true)
- Default:
false
-
showTradeOptions
boolean showTradeOptionsIndicates if the Trade Options panel should be shown.- Returns:
- true if the trade options panel should be shown.
- Default:
true
-
supportsTradeLots
boolean supportsTradeLotsIndicates if the strategy supports the 'trade lots' feature.- Returns:
- true if this strategy supports the 'trade lots' feature.
- Default:
true
-
supportsPositionType
boolean supportsPositionTypeIndicates if the strategy supports the 'position type' feature.- Returns:
- true if this strategy supports the 'position type' feature.
- Default:
false
-
supportsEnterOnActivate
boolean supportsEnterOnActivateIndicates if the strategy supports the 'enter on activate' feature.- Returns:
- true if this strategy supports the 'enter on activate' feature.
- Default:
true
-
supportsCloseOnDeactivate
boolean supportsCloseOnDeactivateIndicates if the strategy supports the 'close on deactivate' feature.- Returns:
- true if this strategy supports the 'close on deactivate' feature.
- Default:
true
-
supportsTIF
boolean supportsTIFIndicates if the strategy supports the order time in force (TIF) option.- Returns:
- true if this strategy supports changing the order time in force (TIF).
- Default:
false
-
supportsSessions
boolean supportsSessionsIndicates if the strategy supports sessions.- Returns:
- true if this strategy supports sessions.
- Default:
true
-
sessions
int sessionsIndicates if the number of sessions supported by this strategy (default 2).- Returns:
- number of supported sessions.
- Default:
2
-
supportsEnterOnSessionStart
boolean supportsEnterOnSessionStartIndicates if the strategy supports the 'enter on session open' feature (default false).- Returns:
- true if this strategy supports the 'enter on session open' feature.
- Default:
false
-
supportsCloseOnSessionEnd
boolean supportsCloseOnSessionEndIndicates if the strategy supports the 'exit on session close' feature.- Returns:
- true if this strategy supports the 'exit on session close' feature.
- Default:
true
-