Strategy Class |
public abstract class Strategy : IndicatorBase
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) |
Name | Description | |
---|---|---|
![]() | AddBars(BarType) |
Add a seconday Bars series. The IInstrument will be that of the primary bars series
(Inherited from IndicatorBase) |
![]() | AddBars(String) |
Add a seconday Bars series. The BarType will be that of the primary bars series
(Inherited from IndicatorBase) |
![]() | AddBars(String, BarType) |
Add a secondary Bars series
(Inherited from IndicatorBase) |
![]() | AddBars(String, BarType, String, DateTime, DateTime, BackfillPolicy) |
Add a secondary Bars series
(Inherited from IndicatorBase) |
![]() | AddContextMenu |
Add an IMenuItem in the context menu
(Inherited from IndicatorBase) |
![]() | AddIndicatorT |
Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase) |
![]() | AddIndicatorT(ISeriesDouble) |
Adds and/or retrieves sharp script from the cache
(Inherited from IndicatorBase) |
![]() | AddIndicatorT(Object) |
Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase) |
![]() | AddIndicatorT(ISeriesDouble, Object) |
Adds and/or retrieves and sharp script from the cache
(Inherited from IndicatorBase) |
![]() | AddLine(String, Double, Pen) |
Add a Line (Inherited from IndicatorBase) |
![]() | AddLine(String, Double, Brush, Double) |
Add a Line (Inherited from IndicatorBase) |
![]() | AddMenuItem |
Adds an IMenuItem in the tool bar
(Inherited from IndicatorBase) |
![]() | AddPlot(String, PlotStyle, Pen, Boolean) |
Add a Plot series
(Inherited from IndicatorBase) |
![]() | AddPlot(String, PlotStyle, Brush, Double, Boolean) |
Add a Plot series
(Inherited from IndicatorBase) |
![]() | Alert(String, String) |
Alert, with Medium. This alert is raised once.
(Inherited from ChartVisualBase) |
![]() | Alert(String, String, TimeSpan) |
Alert with Medium (Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String) |
Alert. This alert is raised only once
(Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String, TimeSpan) |
Alert
(Inherited from ChartVisualBase) |
![]() | Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) |
![]() | BarsSinceTrade(IOrder) | Returns the number of bars that have elapsed since the order entry for the primary Bars series |
![]() | BarsSinceTrade(Int32, IOrder) | Returns the number of bars that have elapsed since the order entry |
![]() | CalculateMinMax |
Calculate the minimum and maximum values
(Inherited from IndicatorBase) |
![]() | CalculatePriceFromY(Double, ChartVisualArgs) |
Calculate price from Y (Inherited from VisualBase) |
![]() | CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) |
Calculate the price from Y (Inherited from VisualBase) |
![]() | CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) |
![]() | CalculateYFromPrice(Double, ChartVisualArgs) |
Calulate the Y point from price
(Inherited from VisualBase) |
![]() | CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) |
Calculate Y from price
(Inherited from VisualBase) |
![]() | CancelOrder | Cancels an order |
![]() | CanRender |
Can invoke the OnRender(DrawingContext, ChartVisualArgs) method
(Inherited from IndicatorBase) |
![]() | ChangeOrder | Change an order Will be ignore if order is not user managed |
![]() | CloseAllPositions | Closes the position accross all bars indexes |
![]() | ClosePosition | Cancels all pending orders and closes exiting position. Market order is submitted to close the position. If Connection does not supports market order then a limit order is submitted. |
![]() | ClosePosition(Int32) | Cancels all pending orders and closes exiting position. Market order is submitted to close the position. If Connection does not supports market order then a limit order is submitted. |
![]() | CrossAbove(Double, ISeriesDouble, Int32) |
Evaluates when value crosses above a series
(Inherited from IndicatorBase) |
![]() | CrossAbove(ISeriesDouble, ISeriesDouble, Int32) |
Evaluates when 2 (two) series crosses each other
(Inherited from IndicatorBase) |
![]() | CrossAbove(ISeriesDouble, Double, Int32) |
Evaluates when the series crosses above the value
(Inherited from IndicatorBase) |
![]() | CrossBelow(Double, ISeriesDouble, Int32) |
Evaluates when a value crosses below a series
(Inherited from IndicatorBase) |
![]() | CrossBelow(ISeriesDouble, ISeriesDouble, Int32) |
Evaluates when 2 (two) series crosses below each other
(Inherited from IndicatorBase) |
![]() | CrossBelow(ISeriesDouble, Double, Int32) |
Evaluates when series crosses below a value
(Inherited from IndicatorBase) |
![]() | Disable | Disables the strategy. Pending orders will be canceled or not will be determined via Settings > Options > Strategies tab > CanCancelPendingOrders property. Position will be closed or not will be determined via Settings > Options > Strategies tab > CanClosePosition property. |
![]() | EnterLong | Enters a long position. The entry name is set to the default 'Strategy Entry'. Order quantity will be as specified by the strategy Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterLong(Int32) | Enters a long position. The entry name is set to the default 'Strategy Entry' Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterLong(String) | Enters a long position with a specified name. Order quantity will be as specified by the strategy Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterLong(Int32, Int32) | Enters a long position for the specified bars index and with specified quantity. |
![]() | EnterLong(String, Int32) | Enters a long position with a specified name and quantity Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterLong(Int32, String, Int32) | Enters a long position for the specified bars index with specified name and quantity Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterLongLimit(Double) | Submits a long limit order. The entry name is set to the default 'Strategy Entry'. Order quantity will be as specified by the strategy |
![]() | EnterLongLimit(Int32, Double) | Submits a long limit order with the specified quantity and limit price. |
![]() | EnterLongLimit(String, Double) | Submits a long limit order with a specified name. Order quantity will be as specified by the strategy |
![]() | EnterLongLimit(Int32, Int32, Double) | Submits a long limit order to the specified bars index, with specified quantity |
![]() | EnterLongLimit(String, Int32, Double) | Submits a long limit order with the specified name and quantity |
![]() | EnterLongLimit(Int32, String, Int32, Double) | Submits a long limit order to the specified bars index with specified name and quantity |
![]() | EnterShort | Enters a short position. The entry name is set to the default 'Strategy Entry' Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShort(Int32) | Enters a short position with the specifed quantity. The entry name is set to the default 'Strategy Entry' Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShort(String) | Enters a short position. Order quantity will be as specified by the strategy Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShort(Int32, Int32) | Enters a short position for the specified bars index and the specified quantity Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShort(String, Int32) | Enters a short position with the specifed name and quantity. Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShort(Int32, String, Int32) | Enters a short position for the specified bars index and specified name and quantity Market order is submitted. If Connection does not supports market order then a limit order is submitted. |
![]() | EnterShortLimit(Double) | Submits a short limit order. The entry name is set to the default 'Strategy Entry'. Order quantity will be as specified by the strategy |
![]() | EnterShortLimit(Int32, Double) | Submits a short limit order with the specified quantity and limit price |
![]() | EnterShortLimit(String, Double) | Submits a short limit order with the specified name. Order quantity will be as specified by the strategy |
![]() | EnterShortLimit(Int32, Int32, Double) | Submits a short limit order for the specified bars index and specified quantity |
![]() | EnterShortLimit(String, Int32, Double) | Submits a short limit order with specified name and quantity |
![]() | EnterShortLimit(Int32, String, Int32, Double) | Submits a short limit order for the specified bars index and specified name and quantity |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | ExitPosition | Exits positions as entered via entry order with entry name as Strategy Entry (default entry name) Market order is submitted to close the position. If Connection does not supports market order then a limit order is submitted. |
![]() | ExitPosition(Int32) | Exits a position |
![]() | ExitPosition(String) | Exits positions as entered via entry order with entry name as Strategy Entry (default entry name) Market order is submitted to close the position. If Connection does not supports market order then a limit order is submitted. |
![]() | ExitPosition(Int32, String) | Exits a position |
![]() | Finalize | (Inherited from SharpScriptBase) |
![]() | GetHandleCursor |
Returns the handle cursor
(Inherited from ChartVisualBase) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetLastPrice |
Returns the lastPrice traded price. In case the real time price is not available the closing value of the lastPrice available bar is returned
(Inherited from IndicatorBase) |
![]() | GetOrAddT |
Gets or add a DrawingBase (Inherited from IndicatorBase) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | HasValue | (Inherited from IndicatorBase) |
![]() | InvalidateView | (Inherited from ChartVisualBase) |
![]() | InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) |
![]() | IsInputEquals |
Compares two input
(Inherited from IndicatorBase) |
![]() | Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) |
![]() | Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) |
![]() | Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) |
![]() | MakeHitTest |
Make hit-test
(Inherited from IndicatorBase) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Move |
Moves the visual
(Inherited from IndicatorBase) |
![]() | NotifyPropertyChanged | (Inherited from SharpScriptBase) |
![]() | OnBarUpdate |
Called on each incoming tick
(Inherited from IndicatorBase) |
![]() | OnConnectionStatus | Updates on connection status |
![]() | OnFill | Updates when a ITrade takes place |
![]() | OnLevel1 |
Opens the Level-I stream
(Inherited from ChartVisualBase) |
![]() | OnLevel2 |
Opens the Level-II stream
(Inherited from ChartVisualBase) |
![]() | OnOrderUpdate | Updates when the IOrder gets updated |
![]() | OnPositionUpdate | Updates when the position gets updated |
![]() | OnRender |
Renders the Plot and Line (Inherited from IndicatorBase) |
![]() | OnRenderYAxis |
Render the Y Axis values
(Inherited from IndicatorBase) |
![]() | OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) |
![]() | PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) |
![]() | Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) |
![]() | Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) |
![]() | Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) |
![]() | Recalculate | (Inherited from IndicatorBase) |
![]() | RefreshView | (Inherited from IndicatorBase) |
![]() | Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) |
![]() | SelectionSteps |
How far the selection rectangle will be drawn
(Inherited from VisualBase) |
![]() | SetOverrideBrush |
Override the brush of the Bars (Inherited from IndicatorBase) |
![]() | SetOverridePen(Pen, Int32) |
Override the wick brush of the Bars (Inherited from IndicatorBase) |
![]() | SetOverridePen(Pen, Int32, Int32) |
Override the Pen of the Plot series
(Inherited from IndicatorBase) |
![]() | SetStop(Double) | Submits a new stop order for entry orders with entry name as 'Strategy Entry' (default entry order name) If stop order with the same entry order name exits, then changes the order if the stop price differs This method will be ignored if set when the Strategy is in Initialized state |
![]() | SetStop(Double, CalculationMode) | Submits a stop order for entry orders with entry name as 'Strategy Entry' (default entry name) If stop order with the same entry order name exists, then changes the order if the stop price differs. If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place an stop order as defined by the method |
![]() | SetStop(Double, String) | Submits a new stop order. If stop order with the same entry order name exits, then changes the order if the stop price differs This method will be ignored if set when the Strategy is in Initialized state |
![]() | SetStop(Int32, Double) | Submits a new stop order for the specified bars index. If stop order with the same entry order name exits, then changes the order if the stop price differs This method will be ignored if set when the Strategy is in Initialized state |
![]() | SetStop(Double, CalculationMode, String) | Submits a stop order. If stop order with the same entry order name exits, then changes the order if the stop price differs. If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place an stop order as defined by the method |
![]() | SetStop(Int32, Double, CalculationMode) | Submits a stop order for the specified bars index. If stop order with the same entry order name exits, then changes the order if the stop price differs. If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place an stop order as defined by the method |
![]() | SetStop(Int32, Double, String) | Submits a new stop order for the specified bars index. If stop order with the same entry order name exits, then changes the order if the stop price differs This method will be ignored if set when the Strategy is in Initialized state |
![]() | SetStop(Int32, Double, CalculationMode, String) | Submits a stop order for the specified bars index. If stop order with the same entry order name exits, then changes the order if the stop price differs. If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place an stop order as defined by the method |
![]() | SetTarget(Double) | Submits a limit order. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state |
![]() | SetTarget(Double, CalculationMode) | Submits a limit order. If a limit order with the same entry order name exits then changes that order if the price differs If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place a target order as defined by the method |
![]() | SetTarget(Double, String) | Submits a limit order. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state |
![]() | SetTarget(Int32, Double) | Submits a limit order for the specified bars index. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state |
![]() | SetTarget(Double, CalculationMode, String) | Submits a limit order. If a limit order with the same entry order name exits then changes that order if the price differs If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place a target order as defined by the method |
![]() | SetTarget(Int32, Double, CalculationMode) | Submits a limit order for the specified bars index. If a limit order with the same entry order name exists then changes that order if the price differs If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place a target order as defined by the method |
![]() | SetTarget(Int32, Double, String) | Submits a limit order for the specified bars index. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state |
![]() | SetTarget(Int32, Double, CalculationMode, String) | Submits a limit order for the specified bars index. If a limit order with the same entry order name exists then changes that order if the price differs If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place a target order as defined by the method |
![]() | Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) |
![]() | SubmitOrder(String, OrderAction, OrderType, Double, Double) | Submits an order with the quantity as defined in the Strategy Selector View |
![]() | SubmitOrder(String, OrderAction, OrderType, Int32, Double, Double) | Submit an order |
![]() | SubmitOrder(Int32, String, OrderAction, OrderType, Int32, Double, Double) | Submit an order |
![]() | SubmitOrder(String, OrderAction, OrderType, Int32, Double, Double, String) | Submit an order |
![]() | SubmitOrder(Int32, String, OrderAction, OrderType, Int32, Double, Double, String) | Submit an order |
![]() | ToString | (Inherited from IndicatorBase) |
![]() | ToStringFormat |
Gets the string format of the value
(Inherited from IndicatorBase) |
![]() | TryRemoveContextMenuItem |
Removes a IMenuItem from the context menu
(Inherited from IndicatorBase) |
![]() | TryRemoveDrawing |
Remove a DrawingBase (Inherited from IndicatorBase) |
![]() | TryRemoveMenuItem |
Removes a IMenuItem from the tool bar of the view
(Inherited from IndicatorBase) |
Name | Description | |
---|---|---|
![]() | PropertyChanged | (Inherited from NotifyPropertyBase) |