Click or drag to resize

Strategy Properties

The Strategy 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 propertyAxisOrientation
(Inherited from ChartVisualBase)
Public propertyBarsArray
(Inherited from IndicatorBase)
Protected propertyBarsInProgress
(Inherited from IndicatorBase)
Public propertyBufferSize Gets or sets the buffer size. This property can be set only when the State is in Initialize state
(Inherited from IndicatorBase)
Public propertyCalculate Gets or sets the Calculate mode. This property can be set only when the State is in Initialize state
(Inherited from IndicatorBase)
Public 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
Protected propertyClose
(Inherited from IndicatorBase)
Protected propertyCloses
(Inherited from IndicatorBase)
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
(Inherited from IndicatorBase)
Protected propertyCurrentBar
(Inherited from IndicatorBase)
Public propertyCurrentBars
(Inherited from IndicatorBase)
Protected propertyDialogService
(Inherited from ServiceBase)
Protected propertyDispatcher Gets the dispatcher
(Inherited from SharpScriptBase)
Public propertyDisplayName
(Inherited from IndicatorBase)
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 ServiceBase)
Protected propertyFileService
(Inherited from ServiceBase)
Public propertyFill Gets the IFill
Protected propertyHigh
(Inherited from IndicatorBase)
Public propertyHighestHigh
(Inherited from IndicatorBase)
Protected propertyHighs
(Inherited from IndicatorBase)
Public propertyIndicators
(Inherited from IndicatorBase)
Public propertyInput
(Inherited from IndicatorBase)
Public propertyInputSerializerHelper
(Inherited from IndicatorBase)
Protected propertyInstrument
(Inherited from IndicatorBase)
Public propertyInstruments
(Inherited from IndicatorBase)
Public propertyIsAutoScale
(Inherited from ChartVisualBase)
Public propertyIsCloseObsolete.
Specifies what value an empty series node will return. If true, will return the Close price of the corresponding IBars index. If false, will return NaN
(Inherited from IndicatorBase)
Public propertyIsEnabled Gets or sets IsEnabled property.
Protected propertyIsFirstTickOfBar
(Inherited from IndicatorBase)
Public propertyIsFirstTickOfBars
(Inherited from IndicatorBase)
Public propertyIsHistoricalOrder Returns if historical order will be submitted or not
Public propertyIsSelected
(Inherited from IndicatorBase)
Public propertyIsSharpScript Gets if the drawing object is created by a sharpScript code
(Inherited from ChartVisualBase)
Public propertyIsUserManaged Gets or sets if the strategy is user managed or not. The property should be set when the strategy is in Initialize state
Protected propertyIsValueChanged
(Inherited from ChartVisualBase)
Public propertyIsVisible
(Inherited from ChartVisualBase)
Public propertyItemInt32
(Inherited from IndicatorBase)
Public propertyItemString Gets the IDataErrorInfo error string
(Inherited from ServiceBase)
Public propertyLast
(Inherited from IndicatorBase)
Protected propertyLastSelectedIndex Gets the last selected series index
(Inherited from IndicatorBase)
Public propertyLineHitTestWidth
(Inherited from ChartVisualBase)
Public propertyLines Gets or sets the Lines
(Inherited from IndicatorBase)
Protected propertyLow
(Inherited from IndicatorBase)
Public propertyLowestLow
(Inherited from IndicatorBase)
Protected propertyLows
(Inherited from IndicatorBase)
Protected propertyMedian
(Inherited from IndicatorBase)
Protected propertyMedians
(Inherited from IndicatorBase)
Protected propertyMessageBox
(Inherited from ServiceBase)
Public propertyName Gets the name
(Inherited from SharpScriptBase)
Protected propertyOpen
(Inherited from IndicatorBase)
Protected propertyOpenInterest
(Inherited from IndicatorBase)
Protected propertyOpenInterests
(Inherited from IndicatorBase)
Protected propertyOpens
(Inherited from IndicatorBase)
Public propertyOrders 
Public propertyPanelIndex
(Inherited from ChartVisualBase)
Public propertyParent
(Inherited from IndicatorBase)
Public propertyPlots
(Inherited from IndicatorBase)
Public propertyPosition Gets the current strategy position
Public propertyPositions Gets the positions collection
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 propertySelectedSeriesIndex
(Inherited from IndicatorBase)
Protected propertySingletonService
(Inherited from ServiceBase)
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 script
(Inherited from SharpScriptBase)
Public propertyStatic memberStrategies 
Public propertyTemplate
(Overrides SharpScriptBaseTemplate)
Protected propertyTime
(Inherited from IndicatorBase)
Public propertyTimeInForce Gets or sets the time in force. This property can be set only when the strategy is in Initialize state.
Protected propertyTimes
(Inherited from IndicatorBase)
Protected propertyCode exampleTraceOrders Prints the order messages in the Output View when set to true
Public propertyTrades 
Public propertyTransactions 
Public propertyStatic memberTypes 
Protected propertyTypical
(Inherited from IndicatorBase)
Protected propertyTypicals
(Inherited from IndicatorBase)
Public propertyValues
(Inherited from IndicatorBase)
Protected propertyVolume
(Inherited from IndicatorBase)
Protected propertyVolumes
(Inherited from IndicatorBase)
Protected propertyWeighted
(Inherited from IndicatorBase)
Protected propertyWeighteds
(Inherited from IndicatorBase)
Top
See Also