Download MetaTrader 5

CalcArea

Calculates the area under the curve defined by the data series.

 double  CalcArea(
   const uint  index,  // index
   )

Parameters

index

[in] Index of the series – the serial number of its addition, starting with 0.   

Return Value

Area of the figure limited by the curve which is defined by the data series.