BarsCalculated

Returns the amount of calculated data for the indicator.

int  BarsCalculated() const;

Return Value

Returns the amount of calculated data in the indicator buffer, or -1 in the case of error (data is not calculated yet).