ChartArea.IsAlive
property · ChartArea · cAlgo.API
DesktopCLICloud
Checks whether the instance is still on the chart area.
Definition
bool IsAlive {get;}
chartArea.IsAlive: bool
Returns bool
Examples
foreach (var area in Chart.IndicatorAreas)
{
if (area.IsAlive)
Print("Indicator area is still on the chart, height: {0}", area.Height);
}
for area in api.Chart.IndicatorAreas:
if area.IsAlive:
api.Print(f"Indicator area is still on the chart, height: {area.Height}")