Difference between revisions of "Dom isconnected"

From MultiCharts
Jump to navigation Jump to search
(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 ...")
 
(No difference)

Latest revision as of 14:30, 19 March 2012

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