Class VolumeProfileStudy
java.lang.Object
com.motivewave.platform.sdk.study.Study
com.motivewave.platform.sdk.profile.VolumeProfileStudy
- All Implemented Interfaces:
Cloneable
Draws a summary volume profile on the left or right side of the chart.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
protected class
protected class
-
Field Summary
Fields inherited from class com.motivewave.platform.sdk.study.Study
ALT_DOWN, CTRL_DOWN, META_DOWN, SHIFT_DOWN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
By default, this method is called on events where the data series has been affected.void
Override this method to clear any internal state that may be kept within the study.getLabel()
Gets the display label for the default plot including setting values.void
initialize
(Defaults defaults) This method is called to initialize the design and runtime settings.void
This method is called whenever the settings for the study have been updated.void
onTick
(DataContext ctx, Tick tick) This method is called when a tick (trade) occurs.Methods inherited from class com.motivewave.platform.sdk.study.Study
addFigure, addFigure, addFigure, addFigure, addFigureFront, addFigureFront, addFigures, addFigures, addPropertyChangeListener, addPropertyChangeListener, beginFigureUpdate, calculate, clearFigures, clearFigures, clone, createRD, createSD, crossedAbove, crossedAbove, crossedAbove, crossedAbove, crossedBelow, crossedBelow, crossedBelow, crossedBelow, debug, destroy, endFigureUpdate, error, firePropertyChange, format, get, getBarSizes, getDataContext, getEntryState, getFigures, getFigures, getHeader, getInstruments, getLabel, getMinBars, getMinBars, getMinBars, getMinStartTime, getMinStartTime, getPopupMessage, getRuntimeDescriptor, getSettings, getSettingsDescriptor, getState, getStopPrice, getTargetPrice, hasFooter, info, isCancelInProgress, isLong, isRepaintAllOnUpdate, isShort, notifyRangeUpdated, notifyRedraw, notifyValuesUpdated, onActivate, onBarClose, onBarClose, onBarOpen, onBarOpen, onBarUpdate, onBarUpdate, onBeginDrag, onBeginResize, onClick, onDataSeriesMoved, onDataSeriesUpdated, onDeactivate, onDoubleClick, onDrag, onEndDrag, onEndResize, onEnterNow, onFiguresLaidOut, onHover, onHoverLost, onLoad, onMenu, onNewDataSeries, onOrderCancelled, onOrderFilled, onOrderModified, onOrderRejected, onPositionClosed, onReset, onResize, onSessionEnded, onSessionStarted, onSignal, onWheelMoved, postcalculate, precalculate, recalculate, removeFigure, removeFigure, removeFigures, removeFigures, removePropertyChangeListener, removePropertyChangeListener, round, setCancelInProgress, setDataContext, setEntryState, setFigures, setFigures, setLong, setMinBars, setMinBars, setMinStartTime, setRuntimeDescriptor, setSettings, setSettingsDescriptor, setState, setStopPrice, setTargetPrice, setVetoCloseOnDeactivate, supportsDrag, warning
-
Constructor Details
-
VolumeProfileStudy
public VolumeProfileStudy()
-
-
Method Details
-
initialize
Description copied from class:Study
This method is called to initialize the design and runtime settings.- Overrides:
initialize
in classStudy
- Parameters:
defaults
- system defaults
-
onSettingsUpdated
Description copied from class:Study
This method is called whenever the settings for the study have been updated.- Overrides:
onSettingsUpdated
in classStudy
- Parameters:
ctx
- data context
-
clearState
public void clearState()Description copied from class:Study
Override this method to clear any internal state that may be kept within the study. This method is called when the settings have been updated, the user chooses a new bar size or when additional historical data is loaded into the series- Overrides:
clearState
in classStudy
-
getLabel
-
calculateValues
Description copied from class:Study
By default, this method is called on events where the data series has been affected.- Overrides:
calculateValues
in classStudy
- Parameters:
ctx
- data context
-
onTick
Description copied from class:Study
This method is called when a tick (trade) occurs.
-