Forum

"Own graphical panels" confusion

Hello, I want to create own GUI panel (with butttons etc.) for my indicator. There is an example in MT4 called SimplePanel/SimpleDialog.mqh which has the method "CreateEdit" : bool CPanelDialog::CreateEdit( void ) { //--- coordinates int x1=INDENT_LEFT; int y1=INDENT_TOP; int

Programming own collection class

Hello, I want to create OrderCollection class, which represents list of Order instances and which I can iterate. I have this code: class OrderCollection { public: Order orders[]; int pointer; int size; void OrderCollection() { pointer = -1;