table host

Brief

The host application.

Details

The table provides access to the specific function and data of the host application. Use core.host to get an instance of this table.

Public Methods

execute

Executes the host-specific command.

execute("addCommand", ...);

Adds a custom command.

execute("attachOutputToChart", ...);

Attaches a line output of an oscillator to the main chart window

execute("attachTextToChart", ...);

Attaches a text output of an oscillator to the main chart window

execute("convertTime", ...);

Converts the date and time between timezones.

execute("createFont", ...);

Create a font for further usage for labels

execute("deleteFont", ...);

Deletes a font.

execute("drawLabel", ...)

Creates or replaces a label.

execute("drawLabel1", ...)

Creates or replaces a label (advanced version).

execute("drawLine", ...)

Creates or replaces a line.

execute("extendHistory", ...)

Extends the previously loaded history in the specified date range.

execute("getAskPrice");

Returns the collection of the ask prices.

execute("getBidPrice");

Returns the collection of the bid prices.

execute("getHistory", ...)

Loads the history of the specified instrument.

execute("getServerTime");

Gets the date/time of the server.

execute("getSyncHistory", ...)

Loads the history of the specified instrument and keeps it synchronized with an indicator source.

execute("getTradingDayOffset")

Returns an offset of the trading day start.

execute("getTradingProperty", ...);

Returns a trading property.

execute("getTradingWeekOffset")

Returns an offset of the trading week start.

execute("isTableFilled", ...);

Checks whether the table content is filled and ready to use.

execute("killTimer", ...);

Kills the timer

execute("removeAll")

Removes all lines and labels created using the execute method.

execute("removeLabel", ...)

Removes a previously created label.

execute("removeLine", ...)

Removes a previously created line.

execute("setStatus", ...);

Displays additional information at right of indicators' label.

execute("setTimer", ...);

Sets the timer

execute("stop");

Stops the strategy which executed the command

execute("subscribeTradeEvents", ...);

Subscribes a strategy or an indicator for trading events.

findTable

Finds the trading table.

trace

Puts the string into the default application output stream.

version

Returns the application name and the version.

back