ChartIndicatorRemovedEventArgs
class cAlgo.API
DesktopCLICloud
The class representing RemovedEventArgs for a ChartIndicator.
Environment behaviour
Cloud — not supported. Never raised in the cloud: the events that pass it never fire there (ChartIndicators.IndicatorRemoved).
Definition
public class ChartIndicatorRemovedEventArgs : ChartIndicatorEventArgs
Namespace: cAlgo.API · Group: EventArgs · Inherits: ChartIndicatorEventArgs
Examples
protected override void OnStart()
{
Chart.Indicators.IndicatorRemoved += OnChartIndicatorRemoved;
}
private void OnChartIndicatorRemoved(ChartIndicatorRemovedEventArgs args)
{
Print("Indicator {0} removed from the chart", args.Indicator.Name);
}
def on_start(self):
api.Chart.Indicators.IndicatorRemoved += self.on_chart_indicator_removed
def on_chart_indicator_removed(self, args):
api.Print(f"Indicator {args.Indicator.Name} removed from the chart")
Inherited members
From ChartIndicatorEventArgs: Indicator