The container class for the main cAlgo.API Interfaces.


public class Algo : Object


Algo Method
Application PropertyRepresents the application.
Ask PropertyGets the symbol ask price.
Bars PropertyThe collection of Bar objects.
BeginInvokeOnMainThread MethodInvokes asynchronously the specified code on the main cBot or Indicator thread.
Bid PropertyGets the symbol bid price.
Chart PropertyRepresents the chart where cBot or Indicator is launched.
CreateDataSeries MethodInitialization of an IndicatorDataSeries.
History PropertyRepresents the collection of all historical trades of the account.
Indicators PropertyAccess to the built-in Indicators.
IsBacktesting PropertyTrue if a cBot is in the Backtesting mode, otherwise False.
MarketData PropertyProvides access to the Depth of Market Data.
Notifications PropertyRepresents the notifications, such as sounds and email.
OnTimer MethodCalled when the timer interval has elapsed.
PendingOrders PropertyThe array of all Pending Orders of the account.
Positions PropertyThe list of all open positions of the account.
Print MethodPrints a message to the Log.
RefreshData MethodUpdates MarketSeries, Positions, PendingOrders, History, etc.
RunningMode PropertyDefines if a cBot is running in real time, in the silent backtesting mode, in the visual backtesting mode, or in the optimization mode.
Server PropertyServer related information.
Symbol PropertyRepresents the current symbol provides access to its properties and certain methods
SymbolName PropertyGets or sets the symbol name.
Symbols PropertyGets the symbol names.
Time PropertyReturns the current server time. The shortcut to the Server.Time property.
TimeFrame PropertyAccess to the TimeFrame values.
TimeInUtc PropertyReturns the current server time in UTC. The shortcut to the Server.TimeInUtc property.
Timer PropertyAccess to the Timer object.
TimeZone PropertyTimeZone of a cBot or an Indicator.
Watchlists PropertyGets the watchlist.