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 | (Inherited from ChartVisualBase) | |
BarsArray | (Inherited from IndicatorBase) | |
BarsInProgress | (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 | (Inherited from IndicatorBase) | |
Closes | (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 | (Inherited from IndicatorBase) | |
CurrentBars | (Inherited from IndicatorBase) | |
DialogService | (Inherited from ServiceBase) | |
Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) | |
DisplayName | (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 Entry Handling type. This property can be set only when the strategy is in Initialize state. | |
Error |
Gets the Error string
(Inherited from ServiceBase) | |
FileService | (Inherited from ServiceBase) | |
Fill | Gets the IFill | |
High | (Inherited from IndicatorBase) | |
HighestHigh | (Inherited from IndicatorBase) | |
Highs | (Inherited from IndicatorBase) | |
Indicators | (Inherited from IndicatorBase) | |
Input | (Inherited from IndicatorBase) | |
InputSerializerHelper | (Inherited from IndicatorBase) | |
Instrument | (Inherited from IndicatorBase) | |
Instruments | (Inherited from IndicatorBase) | |
IsAutoScale | (Inherited from ChartVisualBase) | |
IsClose | Obsolete. 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) | |
IsEnabled | Gets or sets IsEnabled property. | |
IsFirstTickOfBar | (Inherited from IndicatorBase) | |
IsFirstTickOfBars | (Inherited from IndicatorBase) | |
IsHistoricalOrder | Returns if historical order will be submitted or not | |
IsSelected | (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 | (Inherited from ChartVisualBase) | |
ItemInt32 | (Inherited from IndicatorBase) | |
ItemString |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
Last | (Inherited from IndicatorBase) | |
LastSelectedIndex |
Gets the last selected series index
(Inherited from IndicatorBase) | |
LineHitTestWidth | (Inherited from ChartVisualBase) | |
Lines |
Gets or sets the Lines
(Inherited from IndicatorBase) | |
Low | (Inherited from IndicatorBase) | |
LowestLow | (Inherited from IndicatorBase) | |
Lows | (Inherited from IndicatorBase) | |
Median | (Inherited from IndicatorBase) | |
Medians | (Inherited from IndicatorBase) | |
MessageBox | (Inherited from ServiceBase) | |
Name |
Gets the name
(Inherited from SharpScriptBase) | |
Open | (Inherited from IndicatorBase) | |
OpenInterest | (Inherited from IndicatorBase) | |
OpenInterests | (Inherited from IndicatorBase) | |
Opens | (Inherited from IndicatorBase) | |
Orders | ||
PanelIndex | (Inherited from ChartVisualBase) | |
Parent | (Inherited from IndicatorBase) | |
Plots | (Inherited from IndicatorBase) | |
Position | Gets the current strategy position | |
Positions | Gets the positions collection | |
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 | (Inherited from IndicatorBase) | |
SingletonService | (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 | (Overrides SharpScriptBaseTemplate) | |
Time | (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 | (Inherited from IndicatorBase) | |
TraceOrders | Prints the order messages in the Output View when set to true | |
Trades | ||
Transactions | ||
Types | ||
Typical | (Inherited from IndicatorBase) | |
Typicals | (Inherited from IndicatorBase) | |
Values | (Inherited from IndicatorBase) | |
Volume | (Inherited from IndicatorBase) | |
Volumes | (Inherited from IndicatorBase) | |
Weighted | (Inherited from IndicatorBase) | |
Weighteds | (Inherited from IndicatorBase) |