Click or drag to resize

StrategyBase Properties

The StrategyBase type exposes the following members.

Properties
  NameDescription
Public propertyAccount
Gets or sets the account associated with the strategy. This property can be set only when the strategy is in Initialize state.
Public propertyBackBrush
Gets the Background brush series
(Inherited from SharpScriptBase.)
Public propertyBarBrush
Gets the Bar brush series
(Inherited from SharpScriptBase.)
Public propertyBars
Gets or sets the Primary bar
(Inherited from SharpScriptBase.)
Public propertyBarsArray
Gets the Bars array
(Inherited from SharpScriptBase.)
Public propertyBarsInProgress
Gets the Current bars array in progress
(Inherited from SharpScriptBase.)
Public propertyBarWickBrushes (Inherited from SharpScriptBase.)
Public propertyCalculate
Gets or sets the Calculate type
(Inherited from SharpScriptBase.)
Protected propertyCanUserModifyOrders
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
Public propertyClose
Gets the Close series
(Inherited from SharpScriptBase.)
Public propertyCloses
Gets the Close series array
(Inherited from SharpScriptBase.)
Public propertyConnectionLossHandling
Gets the Connection loss handling type. This can be set via Settings > Options > Strategy tab
Public propertyConnectionTimeoutSeconds
Gets the connection timeout seconds up which the strategy will be disabled on connection loss. This can be set via Settings > Options > Strategy tab
Public propertyCount
Gets the total bar count
(Inherited from SharpScriptBase.)
Public propertyCurrentBar
Gets the Current bar
(Inherited from SharpScriptBase.)
Public propertyCurrentBars
Current bar series
(Inherited from SharpScriptBase.)
Public propertyDefaultTemplate
Gets the Default template of the sharp script
(Inherited from SharpScriptBase.)
Protected propertyDialogService (Inherited from MessageBoxBase.)
Public propertyDispatcher (Inherited from SharpScriptBase.)
Public propertyDisplayName
Gets the display name
(Inherited from SharpScriptBase.)
Public propertyEntriesPerDirection
Gets or sets the entries per direction. This property can be set only when the strategy is in Initialize state.
Public propertyEntryHandling
Gets or sets the Entry Handling type. This property can be set only when the strategy is in Initialize state.
Public propertyError
Gets the Error string
(Inherited from MessageBoxBase.)
Protected propertyFileService (Inherited from MessageBoxBase.)
Public propertyFill
Gets the FillBase
Public propertyGuid (Inherited from SharpScriptBase.)
Public propertyHigh
Gets the High series
(Inherited from SharpScriptBase.)
Public propertyHighs
Gets the High series array
(Inherited from SharpScriptBase.)
Public propertyInput
Gets or sets the Input series
(Inherited from SharpScriptBase.)
Public propertyIsAutoScale (Inherited from SharpScriptBase.)
Public propertyIsEnabled
Gets or sets IsEnabled property.
Public propertyIsFirstScriptInPane (Inherited from SharpScriptBase.)
Public propertyIsFirstTickOfBar
Is first tick of bar
(Inherited from SharpScriptBase.)
Public propertyIsHistoricalOrder
Returns if historical order will be submitted or not
Protected propertyIsLevel1Subscribed Obsolete.
This property has been depreciated Gets or sets if Level1 events are subscribed or not. Evaluated only when the scripts state is set to Initialize
(Inherited from SharpScriptBase.)
Protected propertyIsLevel2Subscribed Obsolete.
This property has been depreciated Gets or sets is Level2 events are subscribed or not. Evaluated only when the scripts state is set to Initialize
(Inherited from SharpScriptBase.)
Public propertyIsOverlay
Gets or sets Is overlay
(Inherited from SharpScriptBase.)
Public propertyIsRealTime
Gets if the sharpscript Is real time
(Inherited from SharpScriptBase.)
Protected propertyIsUserManaged
Gets or sets if the strategy is user managed or not. The property should be set when the strategy is in Initialize state
Public propertyItemInt32
Gets the value of the sharp script
(Inherited from SharpScriptBase.)
Public propertyItemString
Gets the IDataErrorInfo error string
(Inherited from MessageBoxBase.)
Public propertyItemInt32, Boolean
Gets the value of sharp script
(Inherited from SharpScriptBase.)
Public propertyLines
Gets or sets the Line array
(Inherited from SharpScriptBase.)
Public propertyLow
Gets the Low series
(Inherited from SharpScriptBase.)
Public propertyLows
Gets the Low series array
(Inherited from SharpScriptBase.)
Public propertyMedian
Gets the Median series
(Inherited from SharpScriptBase.)
Public propertyMedians
Gets the Median series array
(Inherited from SharpScriptBase.)
Protected propertyMessageBox (Inherited from MessageBoxBase.)
Public propertyName
Gets the name of the Sharp Script
(Inherited from SharpScriptBase.)
Public propertyOpen
Gets the Open series
(Inherited from SharpScriptBase.)
Public propertyOpenInterest
Gets the Open Interest series
(Inherited from SharpScriptBase.)
Public propertyOpenInterests
Get the Open Interest series array
(Inherited from SharpScriptBase.)
Public propertyOpens
Gets the Open series array
(Inherited from SharpScriptBase.)
Public propertyOrders
Public propertyPlotPens
Gets the Plot pen series array
(Inherited from SharpScriptBase.)
Public propertyPlots
Gets or sets the Plot array
(Inherited from SharpScriptBase.)
Public propertyPosition
Gets the current strategy position
Public propertyPositions
Gets the positions collection
Public propertyPriceFormat Obsolete.
Gets the Price format string
(Inherited from SharpScriptBase.)
Public propertyPriceType
Gets or sets the Price type
(Inherited from SharpScriptBase.)
Public propertyProductType
Gets or sets the order productType. The property should be set when the strategy is in Initialize state.
Public propertyQuantity
Public propertyRealtimeErrorHandling
Gets the real time error handing type. This can be set via Settings > Options > Strategy tab
Public propertySeriesDisplayName
Gets the series display name
(Inherited from SharpScriptBase.)
Public propertyShowAdditionalParameters
Gets or sets if additional parameters will be displayed in the SharpScript selector view
(Inherited from SharpScriptBase.)
Public propertyShowLines
Gets or sets whether the Lines parameter will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.)
Public propertyShowNativeParameters
Gets or sets whether Native parameters will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.)
Public propertyShowPlots
Gets or sets whether the Plots parameter will be displayed in the Indicator Selector view
(Inherited from SharpScriptBase.)
Protected propertySingletonService (Inherited from MessageBoxBase.)
Public propertySlippage
Gets or sets the slippage (in ticks) when a historical order is filled. Default value = 1, Minimum value = 0.0.
Public propertyState
Gets the current state of the sharp script
(Inherited from SharpScriptBase.)
Public propertyTemplate
Gets the name of the template
(Inherited from SharpScriptBase.)
Public propertyTemplateType
Gets the Template type
(Inherited from SharpScriptBase.)
Public propertyTime
Gets the Time series
(Inherited from SharpScriptBase.)
Public propertyTimeInForce
Gets or sets the time in force. This property can be set only when the strategy is in Initialize state.
Public propertyTimes
Gets the Time series array
(Inherited from SharpScriptBase.)
Protected propertyCode exampleTraceOrders
Prints the order messages in the Output View when set to true
Public propertyTrades
Public propertyTransactions
Public propertyTypical
Gets the Typical series
(Inherited from SharpScriptBase.)
Public propertyTypicals
Gets the Typical series array
(Inherited from SharpScriptBase.)
Public propertyValues
Gets the Plot value series array
(Inherited from SharpScriptBase.)
Public propertyViewModel
Gets the View associated with the Sharp Script
(Inherited from SharpScriptBase.)
Public propertyVolume
Gets the Volume series
(Inherited from SharpScriptBase.)
Public propertyVolumes
Get the Volume series array
(Inherited from SharpScriptBase.)
Public propertyWeighted
Gets the Weighted series
(Inherited from SharpScriptBase.)
Public propertyWeighteds
Gets the Weighted series array
(Inherited from SharpScriptBase.)
Top
See Also