Forum

CExpertMoney classes and required margin check

I like the idea of having dedicated classes for money management within MQL5: CExpertMoney and derived classes, especially CMoneyFixedRisk, which allows to defined a percent of risk for a trade (e.g. 2%). I though that these classes are meant as "ready to go" but now it seems to me that they are not

Drawing objects in MQL5

Hello all, I'm struggling already for several days with how to draw objects within Expert Advisor in MQL5. First goal is to draw objects and have them visible within Strategy Tester . I searched and read various articles in the forum, but still, it's not clear to me what is the logic behind drawing