Indicator |
public abstract class IndicatorBase : ChartVisualBase, ISeries<double>, IIndicator, IInstrumentEnumerable
The IndicatorBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | IndicatorBase |
Name | Description | |
---|---|---|
![]() | AxisOrientation | AxisOrientation (Inherited from ChartVisualBase) |
![]() | BarsArray | Gets the Bars array |
![]() | BarsInProgress | Gets the index of the current Bars calling the OnBarUpdate method |
![]() | BufferSize | Gets or sets the buffer size. This property can be set only when the State is in Initialize state |
![]() | Calculate | Gets or sets the Calculate mode. This property can be set only when the State is in Initialize state |
![]() | Close | Gets the Close price series of the BarsInProgress |
![]() | Closes | Gets the close series array |
![]() | Count | |
![]() | CurrentBar | Gets the current bar of the bars in progress |
![]() | CurrentBars | Gets the current bars |
![]() | DebounceInterval |
Debounce interval
(Inherited from ChartVisualBase) |
![]() | DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) |
![]() | Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) |
![]() | DisplayName |
Gets the display name
(Overrides SharpScriptBaseDisplayName) |
![]() | Error |
Gets the Error string
(Inherited from ServiceBase) |
![]() | FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) |
![]() | HasLevel1Stream |
Has Level-I stream
(Inherited from ChartVisualBase) |
![]() | HasLevel2Stream |
Has Level-II stream
(Inherited from ChartVisualBase) |
![]() | High | Gets the High price seris of the BarsInProgress |
![]() | HighestHigh |
Highest high of the plot series
(Overrides ChartVisualBaseHighestHigh) |
![]() | Highs | Gets the high series array |
![]() | Indicators | Gets the child indicators |
![]() | Input | Gets the input series |
![]() | Instrument | Gets the IInstrument of the BarsInProgress |
![]() | Instruments | Gets the Instruments array |
![]() | IsAutoScale |
Is autoscale
(Inherited from ChartVisualBase) |
![]() | IsFirstTickOfBar | Is first tick of bar of the bars in progress |
![]() | IsFirstTickOfBars | Is first tick of the bars |
![]() | IsFormattedText | If set to true, the indicator plot value are printed (e.g. in YAxis) as formatted text |
![]() | IsSelected |
Is the object selected or not
(Overrides ChartVisualBaseIsSelected) |
![]() | IsSharpScript |
Gets if the drawing object is created by a sharpScript code
(Inherited from ChartVisualBase) |
![]() | IsValueChanged | (Inherited from ChartVisualBase) |
![]() | IsVisible |
Is series visible
(Inherited from ChartVisualBase) |
![]() | ItemInt32 | Gets the value of the series at the specified index |
![]() | ItemString |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) |
![]() | Last | |
![]() | LastSelectedIndex | Gets the lastPrice selected series index |
![]() | LineHitTestWidth |
Gets teh Line hit test width
(Inherited from ChartVisualBase) |
![]() | Lines | Gets or sets the Lines |
![]() | Low | Gets the Low price series of the BarsInProgress |
![]() | LowestLow |
Lowest low of the plot series
(Overrides ChartVisualBaseLowestLow) |
![]() | Lows | Gets the low series array |
![]() | Median | Gets the Median price series of the BarsInProgress |
![]() | Medians | Gets the median series array |
![]() | MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) |
![]() | Name |
Gets the name
(Inherited from SharpScriptBase) |
![]() | ObserveAllMarketDataTypes |
Observe all MarketDataType (Inherited from ChartVisualBase) |
![]() | Open | Gets the Open price series of the BarsInProgress |
![]() | OpenInterest | Gets the open interest series of the BarsInProgress |
![]() | OpenInterests | Gets the Open Interests array |
![]() | Opens | Gets the Open series array |
![]() | PanelIndex |
Gets the panel index
(Inherited from ChartVisualBase) |
![]() | Parent |
Gets the Bars of the Input series
(Overrides ChartVisualBaseParent) |
![]() | Plots | Gets the Plots |
![]() | SelectedSeriesIndex | Gets the selected series index (Scanner View) |
![]() | SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) |
![]() | State |
Gets the current State of the script
(Inherited from SharpScriptBase) |
![]() | Template |
Gets the user parameters xaml template. If not overriden will return the default template which populates the properties decorated with InputAttribute for types boolean, string, datetime, int, double and decimal.
(Overrides SharpScriptBaseTemplate) |
![]() | Time | Gets the time series of the BarsInProgress |
![]() | Times | Gets the Times array |
![]() | Typical | Gets the Typical price series of the BarsInProgress |
![]() | Typicals | Gets the typical price series array |
![]() | Values | Gets the series |
![]() | Volume | Gets the volume series of the BarsInProgress |
![]() | Volumes | Gets the Volumes array |
![]() | Weighted | Gets the Weighted price series of the BarsInProgress |
![]() | Weighteds | Gets the weighted series array |
Name | Description | |
---|---|---|
![]() | AddBars(BarType) | Add a seconday Bars series. The IInstrument will be that of the primary bars series |
![]() | AddBars(String) | Add a seconday Bars series. The BarType will be that of the primary bars series |
![]() | AddBars(String, BarType) | Add a secondary Bars series |
![]() | AddBars(String, BarType, String, DateTime, DateTime, BackfillPolicy) | Add a secondary Bars series |
![]() | AddContextMenu | Add an IMenuItem in the context menu |
![]() | AddIndicatorT | Adds and/or retrieves sharp script from the cache |
![]() | AddIndicatorT(ISeriesDouble) | Adds and/or retrieves sharp script from the cache |
![]() | AddIndicatorT(Object) | Adds and/or retrieves and sharp script from the cache |
![]() | AddIndicatorT(ISeriesDouble, Object) | Adds and/or retrieves and sharp script from the cache |
![]() | AddLine(String, Double, Pen) | Add a Line |
![]() | AddLine(String, Double, Brush, Double) | Add a Line |
![]() | AddMenuItem | Adds an IMenuItem in the tool bar |
![]() | AddPlot(String, PlotStyle, Pen, Boolean) | Add a Plot series |
![]() | AddPlot(String, PlotStyle, Brush, Double, Boolean) | Add a Plot series |
![]() | Alert(String, String) |
Alert, with Medium. This alert is raised once.
(Inherited from ChartVisualBase) |
![]() | Alert(String, String, TimeSpan) |
Alert with Medium (Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String) |
Alert. This alert is raised only once
(Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String, TimeSpan) |
Alert
(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 |
Calculate the minimum and maximum values
(Overrides ChartVisualBaseCalculateMinMax(IBars, Int32, Int32, Double, Double)) |
![]() | CalculatePriceFromY(Double, ChartVisualArgs) |
Calculate price from Y (Inherited from VisualBase) |
![]() | CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) |
Calculate the price from Y (Inherited from VisualBase) |
![]() | CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) |
![]() | CalculateYFromPrice(Double, ChartVisualArgs) |
Calulate the Y point from price
(Inherited from VisualBase) |
![]() | CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) |
Calculate Y from price
(Inherited from VisualBase) |
![]() | CanRender |
Can invoke the OnRender(DrawingContext, ChartVisualArgs) method
(Overrides ChartVisualBaseCanRender(ChartVisualArgs)) |
![]() | CrossAbove(Double, ISeriesDouble, Int32) | Evaluates when value crosses above a series |
![]() | CrossAbove(ISeriesDouble, ISeriesDouble, Int32) | Evaluates when 2 (two) series crosses each other |
![]() | CrossAbove(ISeriesDouble, Double, Int32) | Evaluates when the series crosses above the value |
![]() | CrossBelow(Double, ISeriesDouble, Int32) | Evaluates when a value crosses below a series |
![]() | CrossBelow(ISeriesDouble, ISeriesDouble, Int32) | Evaluates when 2 (two) series crosses below each other |
![]() | CrossBelow(ISeriesDouble, Double, Int32) | Evaluates when series crosses below a value |
![]() | 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 lastPrice traded price. In case the real time price is not available the closing value of the lastPrice available bar is returned |
![]() | GetOrAddT | Gets or add a DrawingBase |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | HasValue | |
![]() | 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 |
![]() | 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 |
Make hit-test
(Overrides ChartVisualBaseMakeHitTest(ChartVisualArgs)) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Move |
Moves the visual
(Overrides ChartVisualBaseMove(Double, Double, ChartVisualArgs)) |
![]() | NotifyPropertyChanged | (Inherited from SharpScriptBase) |
![]() | OnBarUpdate | Called on each incoming tick |
![]() | OnLevel1 |
Opens the Level-I stream
(Inherited from ChartVisualBase) |
![]() | OnLevel2 |
Opens the Level-II stream
(Inherited from ChartVisualBase) |
![]() | OnRender |
Renders the Plot and Line (Overrides ChartVisualBaseOnRender(DrawingContext, ChartVisualArgs)) |
![]() | OnRenderYAxis |
Render the Y Axis values
(Overrides ChartVisualBaseOnRenderYAxis(DrawingContext, ChartVisualArgs)) |
![]() | OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) |
![]() | PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(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) |
![]() | Recalculate | (Overrides ChartVisualBaseRecalculate(ChartVisualArgs)) |
![]() | RefreshView | |
![]() | Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) |
![]() | SelectionSteps |
How far the selection rectangle will be drawn
(Inherited from VisualBase) |
![]() | SetOverrideBrush | Override the brush of the Bars |
![]() | SetOverridePen(Pen, Int32) | Override the wick brush of the Bars |
![]() | SetOverridePen(Pen, Int32, Int32) | Override the Pen of the Plot series |
![]() | Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) |
![]() | ToString | (Overrides ObjectToString) |
![]() | ToStringFormat |
Gets the string format of the value
(Overrides ChartVisualBaseToStringFormat(Double)) |
![]() | TryRemoveContextMenuItem | Removes a IMenuItem from the context menu |
![]() | TryRemoveDrawing | Remove a DrawingBase |
![]() | TryRemoveMenuItem | Removes a IMenuItem from the tool bar of the view |
Name | Description | |
---|---|---|
![]() | PropertyChanged | (Inherited from NotifyPropertyBase) |