Skip to content

Chart.BarsTotal

property · Chart · cAlgo.API

DesktopCLICloud

Gets the total number of the bars on the chart.

Definition

int BarsTotal {get;}
api.Chart.BarsTotal: int

Returns int

Examples

Print("Bars loaded on the chart: {0}", Chart.BarsTotal);
api.Print(f"Bars loaded on the chart: {api.Chart.BarsTotal}")