Click or drag to resize

Indicator Methods

The Indicator type exposes the following members.

Methods
 NameDescription
Protected methodAddBars(BarType)
(Inherited from IndicatorBase)
Protected methodAddBars(String)
(Inherited from IndicatorBase)
Protected methodAddBars(String, BarType)
(Inherited from IndicatorBase)
Protected methodAddBars(String, BarType, String, DateTime, DateTime, BackfillPolicy)
(Inherited from IndicatorBase)
Protected methodAddContextMenu
(Inherited from IndicatorBase)
Public methodAddIndicatorT Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase)
Public methodAddIndicatorT(ISeriesDouble) Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase)
Public methodAddIndicatorT(Object) Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase)
Public methodAddIndicatorT(ISeriesDouble, Object) Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase)
Protected methodAddLine(String, Double, Pen)
(Inherited from IndicatorBase)
Protected methodAddLine(String, Double, Brush, Double)
(Inherited from IndicatorBase)
Protected methodAddMenuItem
(Inherited from IndicatorBase)
Protected methodAddPlot(String, PlotStyle, Pen, Boolean)
(Inherited from IndicatorBase)
Protected methodAddPlot(String, PlotStyle, Brush, Double, Boolean)
(Inherited from IndicatorBase)
Protected methodAlert(String, String)
(Inherited from ChartVisualBase)
Protected methodAlert(String, String, TimeSpan)
(Inherited from ChartVisualBase)
Protected methodAlert(String, Priority, Brush, String)
(Inherited from ChartVisualBase)
Protected methodAlert(String, Priority, Brush, String, TimeSpan)
(Inherited from ChartVisualBase)
Protected methodAlert(String, IInstrument, Priority, Brush, String, TimeSpan) Shoots an alert. The alert is triggered only when the State is Realtime
(Inherited from SharpScriptBase)
Protected methodCalculateMinMax
(Inherited from IndicatorBase)
Protected methodCalculatePriceFromY(Double, ChartVisualArgs)
(Inherited from VisualBase)
Protected methodCalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType)
(Inherited from VisualBase)
Protected methodCalculateXFromBarIndex
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, ChartVisualArgs)
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType)
(Inherited from VisualBase)
Protected methodCanRender
(Inherited from IndicatorBase)
Public methodCrossAbove(Double, ISeriesDouble, Int32) Evaluates when value crosses above a series
(Inherited from IndicatorBase)
Public methodCrossAbove(ISeriesDouble, ISeriesDouble, Int32) Evaluates when 2 (two) series crosses each other
(Inherited from IndicatorBase)
Public methodCrossAbove(ISeriesDouble, Double, Int32) Evaluates when the series crosses above the value
(Inherited from IndicatorBase)
Public methodCrossBelow(Double, ISeriesDouble, Int32) Evaluates when a value crosses below a series
(Inherited from IndicatorBase)
Public methodCrossBelow(ISeriesDouble, ISeriesDouble, Int32) Evaluates when 2 (two) series crosses below each other
(Inherited from IndicatorBase)
Public methodCrossBelow(ISeriesDouble, Double, Int32) Evaluates when series crosses below a value
(Inherited from IndicatorBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Inherited from SharpScriptBase)
Protected methodGetHandleCursor Returns the handle cursor
(Inherited from ChartVisualBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLastPrice Returns the last traded price. In case the real time price is not available the closing value of the last available bar is returned
(Inherited from IndicatorBase)
Public methodGetOrAddT
(Inherited from IndicatorBase)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetValue
(Inherited from NotifyPropertyBase)
Public methodHasValue
(Inherited from IndicatorBase)
Public methodInvalidateView
(Inherited from ChartVisualBase)
Protected methodInvokeAsync Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase)
Public methodIsInputEquals Compares two input
(Inherited from IndicatorBase)
Protected methodLog(String) Logs a message with Low
(Inherited from SharpScriptBase)
Protected methodLog(Priority, String) Logs a message with the specified Priority
(Inherited from SharpScriptBase)
Protected methodLog(Priority, Brush, String) Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase)
Protected methodMakeHitTest
(Inherited from IndicatorBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMove
(Inherited from IndicatorBase)
Protected methodNotifyPropertyChanged
(Inherited from SharpScriptBase)
Protected methodOnBarUpdate
(Inherited from IndicatorBase)
Protected methodOnLevel1
(Inherited from IndicatorBase)
Protected methodOnLevel2
(Inherited from IndicatorBase)
Protected methodOnRender
(Inherited from IndicatorBase)
Protected methodOnRenderYAxis
(Inherited from IndicatorBase)
Protected methodOnStateChange Invoked when the State changes
(Inherited from SharpScriptBase)
Protected methodPlaySound
(Inherited from SharpScriptBase)
Protected methodPrint(String, String) Prints a message with Low
(Inherited from SharpScriptBase)
Protected methodPrint(Brush, String, String) Prints a message with a defined foreground brush
(Inherited from SharpScriptBase)
Protected methodPrint(Priority, String, String) Prints a message with the defined Priority
(Inherited from SharpScriptBase)
Public methodRefreshView
(Inherited from IndicatorBase)
Protected methodRound Rounds the value with the factor as defined in Options > General tab > RoundFactor
(Inherited from SharpScriptBase)
Protected methodSelectionSteps
(Inherited from VisualBase)
Protected methodSetOverrideBrush
(Inherited from IndicatorBase)
Protected methodSetOverridePen(Pen, Int32)
(Inherited from IndicatorBase)
Protected methodSetOverridePen(Pen, Int32, Int32)
(Inherited from IndicatorBase)
Protected methodSetValue
(Inherited from NotifyPropertyBase)
Protected methodShare Share messages via to social media SocialType The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase)
Public methodToString
(Inherited from IndicatorBase)
Public methodToStringFormat
(Inherited from IndicatorBase)
Protected methodTryRemoveContextMenuItem
(Inherited from IndicatorBase)
Protected methodTryRemoveDrawing
(Inherited from IndicatorBase)
Protected methodTryRemoveMenuItem
(Inherited from IndicatorBase)
Top
See Also