quant.count

How many rows of a Quantlab machine (days, weeks, months or occurrences) started by the end of the bar; 0 until the machine's rows have loaded.

quant.count(machine: simple string) -> int

Parameters

Example

MDR = "m8x2k4q1z"                   // a month machine's id, from its page
n = quant.count(MDR)
if n > 0
    hi = quant.num(MDR, "drHigh", -1)   // the newest row: na until known by this bar