Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
ObjectSquare - library for MetaTrader 4
- Views:
- 5226
- Rating:
- Published:
- 2008.09.04 07:19
- Updated:
- 2014.04.21 14:53
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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