The library contains the function for calculation of the area of three objects: a rectangle, ellipse or a triangle.
The function receives only one parameter - the name of the object.
double ObjectSquare(string name)
Since a price chart has the horizontal time scale and the vertical price scale, it is easier to measure the area in minutes*points, this allows to compare the areas of the different objects on the different timframes.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8358