
BotTabSimple - public constructor. It initializes the necessary class fields and sets handlers for incoming events. It accepts two parameters:
1. name - a unique name for the tab;
2. startProgram – the type of program that initiated the request to create the object.
StartPaint – a public method that initiates the process of rendering data associated with the current tab.
StopPaint – a public method that stops the rendering process for the data associated with the current tab.
TabName – a public property of type string, representing the unique name of the tab.
TabNum – a public property of type int, representing the index of the tab in the list of all tabs belonging to the robot.
Clear – a public method that clears the data structures stored in the current tab.
Delete – a public method that prepares the tab for deletion and unsubscribes from all events received from internal modules.
IsConnected – a public property of type bool. It returns the connection status of the connector. true – connector is connected. false – no connection.
IsReadyToTrade – a public property of type bool. It returns the corresponding value from the connector. True – connector is fully ready for trading. false – in all other cases.
StartProgram – a public field of the StartProgram enumeration. It indicates the type of program that created the tab. The enumeration has the following values:
1. IsTester - environment for testing robots on historical data.
2. IsOsOptimizer – strategy optimizer.
3. IsOsData – program for downloading historical data.
4. IsOsTrader – program for real trading.
5. IsOsConverter – tick data converter to candles.
6. IsOsMiner – program for finding price patterns on data series.
SetNewLogMessage – a public method that calls the LogMessageEvent event.
LogMessageEvent – a public event. It sends an information message to the log. The method communicated with the event delegate must accept two parameters: a string - the message itself and a value of the LogMessageType enumeration.
CreateCandleIndicator – a public method. It accepts an indicator and the name of the area on the chart where it should be displayed. Then it delegates the command to create the indicator to the corresponding method of the ChartCandleMaster object.
CreateIndicator – a parameterized public method. It performs similar functionality to the CreateCandleIndicator method.
DeleteCandleIndicator – a public method. It accepts the indicator that needs to be removed from the chart.
Indicators – a public read-only property. It returns a list of indicators present on the chart.
SetChartElement – a public method. It accepts a graphical element and sends a command to display it on the chart.
DeleteChartElement – a public method. It removes a graphical element from the chart.
DeleteAllChartElement - a public method. It sends a command to remove all elements from the chart.
GetChartLabel – a public method. It returns a string from the chart containing the server type, instrument name, and selected timeframe.
MoveChartToTheRight – a public method. It forces the chart to shift the focus to the far right data point.
Connector – a public property. It returns a reference to the ConnectorCandles object. This object encapsulates all the logic for interacting with the exchange.
TimeFrameBuilder – a public property. It returns an object that stores the settings for creating candle series data.
_dealCreator – a public field of type PositionCreator. It holds a reference to the object responsible for creating positions in the program.
_journal – a public field of type Journal. It is the journal of all positions belonging to the tab.
ManualPositionSupport – a public field of type BotManualControl. It contains functionality for managing positions, such as automatically setting stop/profit, order recall based on time/price retracement, and reacting to closing errors.
_alerts – a public field of type AlertMaster. This object encapsulates the logic of sound notifications for customizable events.
AlertSignalEvent – a public event. It notifies subscribers of an alert trigger.
GetChartMaster – a public method. It returns a reference to the candle drawing master.
EmulatorIsOn – a public event of type bool that toggles the position emulation mode.
EmulatorIsOnChangeStateEvent – a public event that signals a change in the emulation mode.
ServerStatus – a public property of type ServerConnectStatus that returns the connection status of the connector. Possible values:
1. Connect – the connection is active and functioning successfully.
2. Disconnect – the connection has been severed.
Security – a public property that provides access to the Security object, the trading instrument that the tab is working with.
TimeFrame – a public read-only property that returns the current timeframe for the candle series as a TimeSpan structure.
Portfolio – a public property of type Portfolio that provides access to the portfolio that the tab is working with.
ComissionType – a public property of type ComissionType that allows for configuring the commission calculation method.
ComissionValue – a public property of type decimal that provides access to the commission size in the journal.
PositionsAll – a public property that returns a list of all positions belonging to the tab from the journal.
PositionsOpenAll – a public property that returns a list of open positions belonging to the tab from the journal.
PositionOpenerToStopsAll – a public property that returns a list of positions belonging to the tab and awaiting opening by stop price.
PositionsCloseAll – a public property that returns a list of all closed positions belonging to the tab from the journal.
PositionsLast – a public property that returns the last position belonging to the tab from the journal.
PositionOpenShort – a public property that returns a list of all short positions belonging to the tab from the journal.
PositionOpenLong – a public property that returns a list of all long positions belonging to the tab from the journal.
PositionsOnBoard – a public property that returns a list of exchange positions belonging to the tab.
VolumeNetto – a public property that returns the total volume for the instrument belonging to positions from this tab.
CheckTradeClosedThisBar – a public method that returns true if at least one position was closed on the last candle of the series.
CandlesAll – a public property that returns a list of all candles belonging to the connector of the tab.
CandlesFinishedOnly – a public property that returns a list of finished candles excluding the last unfinished one.
Trades – a public property that returns a list of all trades for the instrument of the tab from the connector.
TimeServerCurrent – a public property that returns the current time from the server as a DateTime structure.
MarketDepth – a public auto property that provides access to the order book for the instrument of the tab.
PriceBestAsk – a public property that returns the best ask price, the selling level.
PriceBestBid – a public property that returns the best bid price, the buying level.
PriceCenterMarketDepth – a public property that returns the average value between the PriceBestAsk and PriceBestBid prices.
ShowConnectorDialog – a public method that sends a command to the connector to show the settings window.
ShowManualControlDialog – a public method that commands to show the position management module settings window.
ShowOpenPositionDialog – a public method that shows the manual open position window.
ShowClosePositionDialog – a public method that shows the manual close position window.
ShowStopSendDialog – a public method that shows the manual stop order window.
ShowProfitSendDialog – a public method that shows the manual profit order window.
GoChartToThisTime – a public method that sends a command to the chart drawing master to move the focus of the image to a specific time, specified by the parameter of the method.
GetContextDialog – a public method that returns the context menu from the chart drawing master.
GetJournal – a public method that returns a reference to an instance of the Journal class.
SetNewAlert – a public method that loads a new signal into the alert master.
DeleteAlert – a public method that removes an alert from the master.
DeleteAllAlerts is a public method that deletes all alerts from the master.
PositionOpenerToStop is a public field that contains a list of all positions using the conditional order opening method.
UpdateStopLimits is a public method that updates the list of positions using conditional orders in the journal.
ClearAceberg removes all iceberg orders.
LastTimeCandleUpdate is a public auto property of type DateTime that returns the time of the last candle update.
If you have any difficulties or questions, please write to the support chat. Link