Forum

Help with OOP

I'm making a class like this. class Strategy1 { Strategy1(); }; class Strategy2 { Strategy ( string sym); } Now I want to call an object array: Strategy1 S[ 10 ]; // компилируется Strategy2 Z( "EURUSD" )[ 10 ]; // не компилируется How then to quickly create an array of objects if

MT5 questions on trading on the Moscow Exchange

I opened a demo account at BCS. Can you tell me why the funds are frozen after the trades? When will they unfreeze? When I had the experience of trading in Otkritie. I had the same picture. I earned about 1000 roubles but my profit was deducted from clearing with some unclear comment. The strategy

Linear regression channel

I have a linear regression indicator. How to build its calculation into EA and get data on 0 bar or on 1. I tried to do it like this: enum ENUM_Polynomial { linear= 1 , // linear parabolic= 2 , // parabolic Third_power= 3 , // third-power }; input ENUM_Polynomial degree=linear; input

here's a new job for $10. Has something changed in the job service ?

https://www.mql5.com/ru/job/73683 here's the job itself. Left a bid for $10 and it worked. Is it back to the old days