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 enumprotected classprotected 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 voidBy default, this method is called on events where the data series has been affected.voidOverride 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.voidinitialize(Defaults defaults) This method is called to initialize the design and runtime settings.voidThis method is called whenever the settings for the study have been updated.voidonTick(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:StudyThis method is called to initialize the design and runtime settings.- Overrides:
initializein classStudy- Parameters:
defaults- system defaults
-
onSettingsUpdated
Description copied from class:StudyThis method is called whenever the settings for the study have been updated.- Overrides:
onSettingsUpdatedin classStudy- Parameters:
ctx- data context
-
clearState
public void clearState()Description copied from class:StudyOverride 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:
clearStatein classStudy
-
getLabel
-
calculateValues
Description copied from class:StudyBy default, this method is called on events where the data series has been affected.- Overrides:
calculateValuesin classStudy- Parameters:
ctx- data context
-
onTick
Description copied from class:StudyThis method is called when a tick (trade) occurs.
-