Forum

Is self reference is possible with MQL OOP Programing?

class Child { Parent *parent; public : void setParent(Parent *p) { parent = p; }; }; class Parent { Child *child; public : Parent() { child = new Child(); child.setParent( this ); // << Can we do something like this? } ~Parent(); }; I need

How to access Indicator properties on chart?

Hi everyone, I'm developing semi-auto EA to help trader to trade with the Moving Average on chart. the idea is you can add any moving average on chart and put the macro on its description (please see attachment) but right now I can't find the function to access them. please help me