Indicator |
The IndicatorBase type exposes the following members.
| Name | Description | |
|---|---|---|
| AxisOrientation | AxisOrientation (Inherited from ChartVisualBase) | |
| BarsArray | Gets the Bars array. The primary bars array index is 0 (zero). The secondary bars array index will be determined on how the AddBars(String, BarType, String, DateTime, DateTime, BackfillPolicy) method is called | |
| BarsInProgress | Gets the index of the BarsArray 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 Bars invoking the OnBarUpdate method. Close[0] will return the most recent value, Close[1] will return the previous value and so on. | |
| Closes | Gets the Close series array. Closes[0] will return the Close series of the primary bars. Closes[1] will return the Close series of the first secondary bars (if any) etc. | |
| Count | ||
| CurrentBar | Gets the current bars index of the Bars invoking the OnBarUpdate method. | |
| CurrentBars | Gets the CurrentBar of the corresponding BarsArray | |
| 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 Bars invoking the OnBarUpdate method. High[0] will get the most recent value, High[1] will return the previous value and so on. | |
| HighestHigh |
Highest high of the plot series
(Overrides ChartVisualBaseHighestHigh) | |
| Highs | Gets the High series array. Highs[0] will return the High series of the primary bars. Highs[1] will return the High series of the first secondary bars (if any) etc. | |
| 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 invoking the OnBarUpdate method. | |
| IsFirstTickOfBars | Is first tick of the bar of the corresponding BarsArray | |
| 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 seris of the Bars invoking the OnBarUpdate method. Low[0] will get the most recent value, Low[1] will return the previous value and so on. | |
| LowestLow |
Lowest low of the plot series
(Overrides ChartVisualBaseLowestLow) | |
| Lows | Gets the Low series array. Lows[0] will return the Low series of the primary bars. Lows[1] will return the Low series of the first secondary bars (if any) etc. | |
| Median | Gets the Median price seris of the Bars invoking the OnBarUpdate method. Median[0] will get the most recent value, Median[1] will return the previous value and so on. | |
| Medians | Gets the Median series array. Medians[0] will return the Median series of the primary bars. Medians[1] will return the Median series of the first secondary bars (if any) etc. | |
| 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 seris of the Bars invoking the OnBarUpdate method. Open[0] will get the most recent value, Open[1] will return the previous value and so on. | |
| OpenInterest | Gets the OpenInterest seris of the Bars invoking the OnBarUpdate method. OpenInterest[0] will get the most recent value, OpenInterest[1] will return the previous value and so on. | |
| OpenInterests | Gets the OpenInterest series array. OpenInterests[0] will return the OpenInterest series of the primary bars. OpenInterests[1] will return the OpenInterest series of the first secondary bars (if any) etc. | |
| Opens | Gets the Open series array. Opens[0] will return the Open series of the primary bars. Opens[1] will return the Open series of the first secondary bars (if any) etc. | |
| 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 DateTime seris of the Bars invoking the OnBarUpdate method. Time[0] will get the most recent value, Time[1] will return the previous value and so on. | |
| Times | Gets the Time series array. Times[0] will return the Time series of the primary bars. Times[1] will return the Time series of the first secondary bars (if any) etc. | |
| Typical | Gets the Typical price seris of the Bars invoking the OnBarUpdate method. Typical[0] will get the most recent value, Typical[1] will return the previous value and so on. | |
| Typicals | Gets the Typical series array. Typicals[0] will return the Typical series of the primary bars. Typicals[1] will return the Typical series of the first secondary bars (if any) etc. | |
| Values | Gets the Plot series. The length of the array depends on the number of Plots are there. This is populated when user calls the AddPlot(String, PlotStyle, Pen, Boolean) method. The indicator values as calculated in the OnBarUpdate method is stored here. | |
| Volume | Gets the Volume seris of the Bars invoking the OnBarUpdate method. Volume[0] will get the most recent value, Volume[1] will return the previous value and so on. | |
| Volumes | Gets the Volume series array. Volumes[0] will return the Volume series of the primary bars. Volumes[1] will return the Volume series of the first secondary bars (if any) etc. | |
| Weighted | Gets the Weighted price seris of the Bars invoking the OnBarUpdate method. Weighted[0] will get the most recent value, Weighted[1] will return the previous value and so on. | |
| Weighteds | Gets the Weighted series array. Weighteds[0] will return the Weighted series of the primary bars. Weighteds[1] will return the Weighted series of the first secondary bars (if any) etc. |