Dom isconnected

From MultiCharts
Revision as of 14:30, 19 March 2012 by Roman MultiCharts (talk | contribs) (Created page with "Returns a logical value indicating the availability of the market depth data; returns a value of True if the market depth data is available and a value of False if the market ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a logical value indicating the availability of the market depth data; returns a value of True if the market depth data is available and a value of False if the market depth data is not available.

Usage

dom_isconnected

Example

Print the ask price for the 1st level of market depth if the market depth data is available

variables:
var0(0);
if dom_isconnected then
var0 = dom_askprice(0);
print(var0);