Indicator Class |
public abstract class Indicator : IndicatorBase
The Indicator type exposes the following members.
Name | Description | |
---|---|---|
AxisOrientation | (Inherited from ChartVisualBase) | |
BarsArray | (Inherited from IndicatorBase) | |
BarsInProgress | (Inherited from IndicatorBase) | |
BufferSize |
Gets or sets the buffer size. This property can be set only when the State is in Initialize state
(Inherited from IndicatorBase) | |
Calculate |
Gets or sets the Calculate mode. This property can be set only when the State is in Initialize state
(Inherited from IndicatorBase) | |
Close | (Inherited from IndicatorBase) | |
Closes | (Inherited from IndicatorBase) | |
Count | (Inherited from IndicatorBase) | |
CurrentBar | (Inherited from IndicatorBase) | |
CurrentBars | (Inherited from IndicatorBase) | |
DialogService | (Inherited from ServiceBase) | |
Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) | |
DisplayName | (Inherited from IndicatorBase) | |
Error |
Gets the Error string
(Inherited from ServiceBase) | |
FileService | (Inherited from ServiceBase) | |
High | (Inherited from IndicatorBase) | |
HighestHigh | (Inherited from IndicatorBase) | |
Highs | (Inherited from IndicatorBase) | |
Indicators | (Inherited from IndicatorBase) | |
Input | (Inherited from IndicatorBase) | |
InputSerializerHelper | (Inherited from IndicatorBase) | |
Instrument | (Inherited from IndicatorBase) | |
Instruments | (Inherited from IndicatorBase) | |
IsAutoScale | (Inherited from ChartVisualBase) | |
IsClose | Obsolete. Specifies what value an empty series node will return. If true, will return the Close price of the corresponding IBars index. If false, will return NaN (Inherited from IndicatorBase) | |
IsFirstTickOfBar | (Inherited from IndicatorBase) | |
IsFirstTickOfBars | (Inherited from IndicatorBase) | |
IsSelected | (Inherited from IndicatorBase) | |
IsSharpScript |
Gets if the drawing object is created by a sharpScript code
(Inherited from ChartVisualBase) | |
IsValueChanged | (Inherited from ChartVisualBase) | |
IsVisible | (Inherited from ChartVisualBase) | |
ItemInt32 | (Inherited from IndicatorBase) | |
ItemString |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
Last | (Inherited from IndicatorBase) | |
LastSelectedIndex |
Gets the last selected series index
(Inherited from IndicatorBase) | |
LineHitTestWidth | (Inherited from ChartVisualBase) | |
Lines |
Gets or sets the Lines
(Inherited from IndicatorBase) | |
Low | (Inherited from IndicatorBase) | |
LowestLow | (Inherited from IndicatorBase) | |
Lows | (Inherited from IndicatorBase) | |
Median | (Inherited from IndicatorBase) | |
Medians | (Inherited from IndicatorBase) | |
MessageBox | (Inherited from ServiceBase) | |
Name |
Gets the name
(Inherited from SharpScriptBase) | |
Open | (Inherited from IndicatorBase) | |
OpenInterest | (Inherited from IndicatorBase) | |
OpenInterests | (Inherited from IndicatorBase) | |
Opens | (Inherited from IndicatorBase) | |
PanelIndex | (Inherited from ChartVisualBase) | |
Parent | (Inherited from IndicatorBase) | |
Plots | (Inherited from IndicatorBase) | |
SelectedSeriesIndex | (Inherited from IndicatorBase) | |
SingletonService | (Inherited from ServiceBase) | |
State |
Gets the current State of the script
(Inherited from SharpScriptBase) | |
Template | (Overrides SharpScriptBaseTemplate) | |
Time | (Inherited from IndicatorBase) | |
Times | (Inherited from IndicatorBase) | |
Types | ||
Typical | (Inherited from IndicatorBase) | |
Typicals | (Inherited from IndicatorBase) | |
Values | (Inherited from IndicatorBase) | |
Volume | (Inherited from IndicatorBase) | |
Volumes | (Inherited from IndicatorBase) | |
Weighted | (Inherited from IndicatorBase) | |
Weighteds | (Inherited from IndicatorBase) |
Name | Description | |
---|---|---|
AddBars(BarType) | (Inherited from IndicatorBase) | |
AddBars(String) | (Inherited from IndicatorBase) | |
AddBars(String, BarType) | (Inherited from IndicatorBase) | |
AddBars(String, BarType, String, DateTime, DateTime, BackfillPolicy) | (Inherited from IndicatorBase) | |
AddContextMenu | (Inherited from IndicatorBase) | |
AddIndicatorT |
Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase) | |
AddIndicatorT(ISeriesDouble) |
Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase) | |
AddIndicatorT(Object) |
Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase) | |
AddIndicatorT(ISeriesDouble, Object) |
Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase) | |
AddLine(String, Double, Pen) | (Inherited from IndicatorBase) | |
AddLine(String, Double, Brush, Double) | (Inherited from IndicatorBase) | |
AddMenuItem | (Inherited from IndicatorBase) | |
AddPlot(String, PlotStyle, Pen, Boolean) | (Inherited from IndicatorBase) | |
AddPlot(String, PlotStyle, Brush, Double, Boolean) | (Inherited from IndicatorBase) | |
Alert(String, String) | (Inherited from ChartVisualBase) | |
Alert(String, String, TimeSpan) | (Inherited from ChartVisualBase) | |
Alert(String, Priority, Brush, String) | (Inherited from ChartVisualBase) | |
Alert(String, Priority, Brush, String, TimeSpan) | (Inherited from ChartVisualBase) | |
Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) | |
CalculateMinMax | (Inherited from IndicatorBase) | |
CalculatePriceFromY(Double, ChartVisualArgs) | (Inherited from VisualBase) | |
CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) | (Inherited from VisualBase) | |
CalculateXFromBarIndex | (Inherited from VisualBase) | |
CalculateYFromPrice(Double, ChartVisualArgs) | (Inherited from VisualBase) | |
CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) | (Inherited from VisualBase) | |
CanRender | (Inherited from IndicatorBase) | |
CrossAbove(Double, ISeriesDouble, Int32) |
Evaluates when value crosses above a series
(Inherited from IndicatorBase) | |
CrossAbove(ISeriesDouble, ISeriesDouble, Int32) |
Evaluates when 2 (two) series crosses each other
(Inherited from IndicatorBase) | |
CrossAbove(ISeriesDouble, Double, Int32) |
Evaluates when the series crosses above the value
(Inherited from IndicatorBase) | |
CrossBelow(Double, ISeriesDouble, Int32) |
Evaluates when a value crosses below a series
(Inherited from IndicatorBase) | |
CrossBelow(ISeriesDouble, ISeriesDouble, Int32) |
Evaluates when 2 (two) series crosses below each other
(Inherited from IndicatorBase) | |
CrossBelow(ISeriesDouble, Double, Int32) |
Evaluates when series crosses below a value
(Inherited from IndicatorBase) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | (Inherited from SharpScriptBase) | |
GetHandleCursor |
Returns the handle cursor
(Inherited from ChartVisualBase) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetLastPrice |
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) | |
GetOrAddT | (Inherited from IndicatorBase) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetValue | (Inherited from NotifyPropertyBase) | |
HasValue | (Inherited from IndicatorBase) | |
InvalidateView | (Inherited from ChartVisualBase) | |
InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) | |
IsInputEquals |
Compares two input
(Inherited from IndicatorBase) | |
Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) | |
Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) | |
Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) | |
MakeHitTest | (Inherited from IndicatorBase) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Move | (Inherited from IndicatorBase) | |
NotifyPropertyChanged | (Inherited from SharpScriptBase) | |
OnBarUpdate | (Inherited from IndicatorBase) | |
OnLevel1 | (Inherited from IndicatorBase) | |
OnLevel2 | (Inherited from IndicatorBase) | |
OnRender | (Inherited from IndicatorBase) | |
OnRenderYAxis | (Inherited from IndicatorBase) | |
OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) | |
PlaySound | (Inherited from SharpScriptBase) | |
Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) | |
Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) | |
Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) | |
RefreshView | (Inherited from IndicatorBase) | |
Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) | |
SelectionSteps | (Inherited from VisualBase) | |
SetOverrideBrush | (Inherited from IndicatorBase) | |
SetOverridePen(Pen, Int32) | (Inherited from IndicatorBase) | |
SetOverridePen(Pen, Int32, Int32) | (Inherited from IndicatorBase) | |
SetValue | (Inherited from NotifyPropertyBase) | |
Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) | |
ToString | (Inherited from IndicatorBase) | |
ToStringFormat | (Inherited from IndicatorBase) | |
TryRemoveContextMenuItem | (Inherited from IndicatorBase) | |
TryRemoveDrawing | (Inherited from IndicatorBase) | |
TryRemoveMenuItem | (Inherited from IndicatorBase) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from NotifyPropertyBase) |