public class MacdIndicator extends ShortLongPeriodIndicatorBase
FINANCIAL_INDICATOR_Z_INDEX
SERIES_Z_INDEX
Constructor and Description |
---|
MacdIndicator()
Creates a new instance of the
MacdIndicator class. |
Modifier and Type | Method and Description |
---|---|
LineRenderer |
createRenderer()
Creates a new
LineRenderer object with the stroke properties of this LineIndicatorBase object. |
Paint |
getSignalPaint() |
int |
getSignalPeriod() |
int |
getStrokeColor()
Gets the stroke color of the indicator line.
|
float |
getStrokeThickness()
Gets the width of the line used to present the indicator.
|
void |
setSignalPaint(Paint paint) |
void |
setSignalPeriod(int period) |
void |
setStrokeColor(int value)
Sets the stroke color of the indicator line.
|
void |
setStrokeThickness(float value)
Sets the thickness of the line used to present the indicator.
|
ChartSeriesModel |
signalModel() |
String |
toString() |
getLongPeriod, getShortPeriod, setLongPeriod, setShortPeriod
getValueBinding, setValueBinding
getDashArray, getLegendFillColor, getLegendStrokeColor, setDashArray
getCategoryBinding, getDataPoints, model, setCategoryBinding
chartAxisChanged, getHorizontalAxis, getVerticalAxis, setHorizontalAxis, setVerticalAxis
getDataPointRenderer, getLegendTitle, getSelectedChangeListener, onPointAdded, onPointRemoved, setDataPointRenderer, setIsSelected, setLegendTitle, setSelectedChangeListener
addPropertyChangedListener, dataSource, findClosestPoint, getClipToPlotArea, getData, getDistanceToPoint, getIsSelected, getIsVisibleInLegend, getLabelFillColor, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelMargin, getLabelRenderer, getLabelSize, getLabelStrokeColor, getLabelTextColor, getLabelValueToStringConverter, getPlotAreaSize, getSelectionMode, getShowLabels, hitTest, hitTestDataPoint, onBoundItemPropertyChanged, onDataBindingComplete, onDataPointIsSelectedChanged, postRender, removePropertyChangedListener, render, setClipToPlotArea, setData, setIsVisibleInLegend, setLabelFillColor, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelMargin, setLabelPadding, setLabelRenderer, setLabelSize, setLabelStrokeColor, setLabelTextColor, setLabelValueToStringConverter, setSelectionMode, setShowLabels
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIsSelected
getCollectionIndex, invalidatePalette, measureContent, refreshNode
public MacdIndicator()
MacdIndicator
class.public int getSignalPeriod()
public void setSignalPeriod(int period)
public Paint getSignalPaint()
public void setSignalPaint(Paint paint)
public LineRenderer createRenderer()
LineIndicatorBase
LineRenderer
object with the stroke properties of this LineIndicatorBase
object.createRenderer
in class LineIndicatorBase
public ChartSeriesModel signalModel()
public int getStrokeColor()
LineIndicatorBase
getStrokeColor
in class LineIndicatorBase
public void setStrokeColor(int value)
LineIndicatorBase
setStrokeColor
in class LineIndicatorBase
value
- The new stroke color.public float getStrokeThickness()
LineIndicatorBase
getStrokeThickness
in class LineIndicatorBase
public void setStrokeThickness(float value)
LineIndicatorBase
setStrokeThickness
in class LineIndicatorBase
value
- The new stroke width.