+1 888 340 6572

Dom isconnected

From MultiCharts

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);