StrategyBase Properties |
The StrategyBase 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.
|
![]() | BackBrush |
Gets the Background brush series
(Inherited from SharpScriptBase.) |
![]() | BarBrush |
Gets the Bar brush series
(Inherited from SharpScriptBase.) |
![]() | Bars |
Gets or sets the Primary bar
(Inherited from SharpScriptBase.) |
![]() | BarsInProgress |
Gets the Current bars array in progress
(Inherited from SharpScriptBase.) |
![]() | Calculate |
Gets or sets the Calculate type
(Inherited from SharpScriptBase.) |
![]() | Close |
Gets the Close series
(Inherited from SharpScriptBase.) |
![]() | Closes |
Gets the Close series array
(Inherited from SharpScriptBase.) |
![]() | 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 |
Gets the total bar count
(Inherited from SharpScriptBase.) |
![]() | CurrentBar |
Gets the Current bar
(Inherited from SharpScriptBase.) |
![]() | CurrentBars |
Current bar series
(Inherited from SharpScriptBase.) |
![]() | DefaultTemplate |
Gets the Default template of the sharp script
(Inherited from SharpScriptBase.) |
![]() | DisplayName |
Gets the display name
(Inherited from SharpScriptBase.) |
![]() | 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 Entry Handling type. This property can be set only when the strategy is in Initialize state.
|
![]() | Error |
Gets the Error string
(Inherited from MessageBoxBase.) |
![]() | Fill |
Gets the FillBase
|
![]() | Guid | (Inherited from SharpScriptBase.) |
![]() | High |
Gets the High series
(Inherited from SharpScriptBase.) |
![]() | Highs |
Gets the High series array
(Inherited from SharpScriptBase.) |
![]() | Input |
Gets or sets the Input series
(Inherited from SharpScriptBase.) |
![]() | Inputs |
Gets or sets the Input series array
(Inherited from SharpScriptBase.) |
![]() | IsEnabled |
Gets or sets IsEnabled property.
|
![]() | IsFirstTickOfBar |
Is first tick of bar
(Inherited from SharpScriptBase.) |
![]() | IsHistoricalOrder |
Returns if historical order will be submitted or not
|
![]() | IsRealTime |
Gets if the sharpscript Is real time
(Inherited from SharpScriptBase.) |
![]() | IsSubmitOnFilled |
Gets or sets if stop and/or target orders are submitted when entry order is completely filled. This property can be set only when the strategy is in Initialize state.
|
![]() | ItemString |
Gets the IDataErrorInfo error string
(Inherited from MessageBoxBase.) |
![]() | ItemInt32 |
Returns the value of the sharp script
(Inherited from SharpScriptBase.) |
![]() | Lines |
Gets or sets the Line array
(Inherited from SharpScriptBase.) |
![]() | Low |
Gets the Low series
(Inherited from SharpScriptBase.) |
![]() | Lows |
Gets the Low series array
(Inherited from SharpScriptBase.) |
![]() | Median |
Gets the Median series
(Inherited from SharpScriptBase.) |
![]() | Medians |
Gets the Median series array
(Inherited from SharpScriptBase.) |
![]() | Name |
Gets the name of the Sharp Script
(Inherited from SharpScriptBase.) |
![]() | Open |
Gets the Open series
(Inherited from SharpScriptBase.) |
![]() | OpenInterest |
Gets the Open Interest series
(Inherited from SharpScriptBase.) |
![]() | OpenInterests |
Get the Open Interest series array
(Inherited from SharpScriptBase.) |
![]() | Opens |
Gets the Open series array
(Inherited from SharpScriptBase.) |
![]() | PlotPens |
Gets the Plot pen series array
(Inherited from SharpScriptBase.) |
![]() | Plots |
Gets or sets the Plot array
(Inherited from SharpScriptBase.) |
![]() | Position |
Gets the current strategy position
|
![]() | PriceFormat |
Gets the Price format string
(Inherited from SharpScriptBase.) |
![]() | PriceType |
Gets or sets the Price type
(Inherited from SharpScriptBase.) |
![]() | Quantity |
Gets or sets the order quantity size. This property can be set only when the strategy is in Initialize state.
|
![]() | RealtimeErrorHandling |
Gets the real time error handing type. This can be set via Settings > Options > Strategy tab
|
![]() | SeriesDisplayName |
Gets the series display name
(Inherited from SharpScriptBase.) |
![]() | ShowLines |
Gets or sets whether the Lines parameter will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.) |
![]() | ShowNativeParameters |
Gets or sets whether Native parameters will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.) |
![]() | ShowPlots |
Gets or sets whether the Plots parameter will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.) |
![]() | ShowStrategyParameters |
Gets or sets whether user strategy parameters can be displayed in Strategy Selector View
|
![]() | 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 sharp script
(Inherited from SharpScriptBase.) |
![]() | Template |
Gets the name of the template
(Inherited from SharpScriptBase.) |
![]() | TemplateType |
Gets the Template type
(Inherited from SharpScriptBase.) |
![]() | Time |
Gets the Time series
(Inherited from SharpScriptBase.) |
![]() | TimeInForce |
Gets or sets the time in force. This property can be set only when the strategy is in Initialize state.
|
![]() | Times |
Gets the Time series array
(Inherited from SharpScriptBase.) |
![]() | TraceOrders |
Prints the order messages in the Output view when set to true
|
![]() | Typical |
Gets the Typical series
(Inherited from SharpScriptBase.) |
![]() | Typicals |
Gets the Typical series array
(Inherited from SharpScriptBase.) |
![]() | Values |
Gets the Plot value series array
(Inherited from SharpScriptBase.) |
![]() | ViewModel |
Gets the View associated with the Sharp Script
(Inherited from SharpScriptBase.) |
![]() | Volume |
Gets the Volume series
(Inherited from SharpScriptBase.) |
![]() | Volumes |
Get the Volume series array
(Inherited from SharpScriptBase.) |
![]() | Weighted |
Gets the Weighted series
(Inherited from SharpScriptBase.) |
![]() | Weighteds |
Gets the Weighted series array
(Inherited from SharpScriptBase.) |