Hi
I need to set the size of an array "to make it static" in the constructor, the following is not working. please help. thx
I need to set the size of an array "to make it static" in the constructor, the following is not working. please help. thx
MQL5:
Class a { private: double high[]; //-- I tried double* hight[] for no avail public: a(string syb, ENUM_TIMEFRAMES prd, int bars); } a::a(string syb, ENUM_TIMEFRAMES prd, int bars) : high([bars])
Last edited by a moderator: