Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Libraries | ObjectSquare | MQL5 Code

New free code from MQL5: indicators, EAs, and scripts for traders.

Image for ObjectSquare

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.

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

Build better strategies with RobotFX professional tools – check them out.

8358

Best MetaTrader Indicators + Profitable Expert Advisors