Indicator |
The IndicatorBase type exposes the following members.
| 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 |