usingcAlgo.API;namespacecAlgo{// This example shows how to use the Chart ChartMouseWheelEventArgs// ChartMouseWheelEventArgs derives from ChartMouseEventArgs[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]publicclassChartMouseWheelEventArgsSample:Indicator{protectedoverridevoidInitialize(){Chart.MouseWheel+=Chart_MouseWheel;}privatevoidChart_MouseWheel(ChartMouseWheelEventArgsobj){vartext=string.Format("Wheel Delta: {0}",obj.Delta);Chart.DrawStaticText("Wheel",text,VerticalAlignment.Top,HorizontalAlignment.Right,Color.Red);}publicoverridevoidCalculate(intindex){}}}