Strategy Properties |
The Strategy type exposes the following members.
Name | Description | |
---|---|---|
![]() | Account | Gets or sets the account associated with the strategy. This property can be set only when the strategy is in Initialize state. |
![]() | AxisOrientation | AxisOrientation (Inherited from ChartVisualBase) |
![]() | BarsArray |
Gets the Bars array
(Inherited from IndicatorBase) |
![]() | BarsInProgress |
Gets the index of the current Bars calling the OnBarUpdate method
(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) |
![]() | CanUserModifyOrders | Gets or sets if the order as submitted by the strategy can be further changed/cancelled by user manually (from Chart or DOM etc). The property should be set when the strategy is in Initialize state. Note : The Orders will always be available in the Main View |
![]() | Close |
Gets the Close price series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Closes |
Gets the close series array
(Inherited from IndicatorBase) |
![]() | ConnectionLossHandling | Gets the Connection loss handling type. This can be set via Settings > Options > Strategy tab |
![]() | ConnectionTimeoutSeconds | Gets the connection timeout seconds up which the strategy will be disabled on connection loss. This can be set via Settings > Options > Strategy tab |
![]() | Count | (Inherited from IndicatorBase) |
![]() | CurrentBar |
Gets the current bar of the bars in progress
(Inherited from IndicatorBase) |
![]() | CurrentBars |
Gets the current bars
(Inherited from IndicatorBase) |
![]() | 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
(Inherited from IndicatorBase) |
![]() | EntriesPerDirection | Gets or sets the entries per direction. This property can be set only when the strategy is in Initialize state. |
![]() | EntryHandling | Gets or sets the EntryHandling type. This property can be set only when the strategy is in Initialize state. |
![]() | Error |
Gets the Error string
(Inherited from ServiceBase) |
![]() | FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) |
![]() | Fill | Gets the IFill |
![]() | 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 (Inherited from IndicatorBase) |
![]() | HighestHigh |
Highest high of the plot series
(Inherited from IndicatorBase) |
![]() | Highs |
Gets the high series array
(Inherited from IndicatorBase) |
![]() | Indicators |
Gets the child indicators
(Inherited from IndicatorBase) |
![]() | Input |
Gets the input series
(Inherited from IndicatorBase) |
![]() | Instrument |
Gets the IInstrument of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Instruments |
Gets the Instruments array
(Inherited from IndicatorBase) |
![]() | IsAutoScale |
Is autoscale
(Inherited from ChartVisualBase) |
![]() | IsEnabled | Gets or sets IsEnabled property. |
![]() | IsFirstTickOfBar |
Is first tick of bar of the bars in progress
(Inherited from IndicatorBase) |
![]() | IsFirstTickOfBars |
Is first tick of the bars
(Inherited from IndicatorBase) |
![]() | IsFormattedText |
If set to true, the indicator plot value are printed (e.g. in YAxis) as formatted text
(Inherited from IndicatorBase) |
![]() | IsHistoricalOrder | Returns if historical order will be submitted or not |
![]() | IsSelected |
Is the object selected or not
(Inherited from IndicatorBase) |
![]() | IsSharpScript |
Gets if the drawing object is created by a sharpScript code
(Inherited from ChartVisualBase) |
![]() | IsUserManaged | Gets or sets if the strategy is user managed or not. The property should be set when the strategy is in Initialize state |
![]() | IsValueChanged | (Inherited from ChartVisualBase) |
![]() | IsVisible |
Is series visible
(Inherited from ChartVisualBase) |
![]() | ItemInt32 |
Gets the value of the series at the specified index
(Inherited from IndicatorBase) |
![]() | ItemString |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) |
![]() | Last | (Inherited from IndicatorBase) |
![]() | LastSelectedIndex |
Gets the lastPrice selected series index
(Inherited from IndicatorBase) |
![]() | LineHitTestWidth |
Gets teh Line hit test width
(Inherited from ChartVisualBase) |
![]() | Lines |
Gets or sets the Lines
(Inherited from IndicatorBase) |
![]() | Low |
Gets the Low price series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | LowestLow |
Lowest low of the plot series
(Inherited from IndicatorBase) |
![]() | Lows |
Gets the low series array
(Inherited from IndicatorBase) |
![]() | Median |
Gets the Median price series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Medians |
Gets the median series array
(Inherited from IndicatorBase) |
![]() | 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 (Inherited from IndicatorBase) |
![]() | OpenInterest |
Gets the open interest series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | OpenInterests |
Gets the Open Interests array
(Inherited from IndicatorBase) |
![]() | Opens |
Gets the Open series array
(Inherited from IndicatorBase) |
![]() | Orders | |
![]() | PanelIndex |
Gets the panel index
(Inherited from ChartVisualBase) |
![]() | Parent |
Gets the Bars of the Input series
(Inherited from IndicatorBase) |
![]() | Plots |
Gets the Plots
(Inherited from IndicatorBase) |
![]() | Position | Gets the current strategy position of the BarsInProgress |
![]() | Positions | Gets the IPosition array |
![]() | ProductType | Gets or sets the order productType. The property should be set when the strategy is in Initialize state. |
![]() | Quantity | |
![]() | RealtimeErrorHandling | Gets the real time error handing type. This can be set via Settings > Options > Strategy tab |
![]() | SelectedSeriesIndex |
Gets the selected series index (Scanner View)
(Inherited from IndicatorBase) |
![]() | SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) |
![]() | Slippage | Gets or sets the slippage (in ticks) when a historical order is filled. Default value = 1, Minimum value = 0.0. |
![]() | State |
Gets the current State of the script
(Inherited from SharpScriptBase) |
![]() ![]() | Strategies | |
![]() | 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.
(Inherited from IndicatorBase) |
![]() | Time |
Gets the time series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | TimeInForce | Gets or sets the time in force. This property can be set only when the strategy is in Initialize state. |
![]() | Times |
Gets the Times array
(Inherited from IndicatorBase) |
![]() ![]() | TraceOrders | Prints the order messages in the Output View when set to true |
![]() | Trades | |
![]() | Transactions | |
![]() ![]() | Types | |
![]() | Typical |
Gets the Typical price series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Typicals |
Gets the typical price series array
(Inherited from IndicatorBase) |
![]() | Values |
Gets the series
(Inherited from IndicatorBase) |
![]() | Volume |
Gets the volume series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Volumes |
Gets the Volumes array
(Inherited from IndicatorBase) |
![]() | Weighted |
Gets the Weighted price series of the BarsInProgress (Inherited from IndicatorBase) |
![]() | Weighteds |
Gets the weighted series array
(Inherited from IndicatorBase) |