OnInit() creates all those objects, then initializes ExtExpert object with them, then deletes those objects are deleted as OnInit() ends, but the data from them is already within ExtExpert. Methods of CExpert are doing all the job in OnTick() (and other trade functions) using the data initialized in OnInit().
Oh really?, Good Lord! I believe YOU....I have to, as there really no other way.
So basically we have data stored in ExtExpert object which is of CExpert class type -- so all the variables in this class are assigned respectively, these data processing all done in OnInit(), just ONCE.
Then, with a single ExtExpert.Ontick() ---> which has that Processing() in it.... the EA is beating with every new tick.
I think I am slightly better at this now... thanks enivid
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
OnInit() creates all those objects, then initializes ExtExpert object with them, then deletes those objects are deleted as OnInit() ends, but the data from them is already within ExtExpert. Methods of CExpert are doing all the job in OnTick() (and other trade functions) using the data initialized in OnInit().
Oh really?, Good Lord! I believe YOU....I have to, as there really no other way.
So basically we have data stored in ExtExpert object which is of CExpert class type -- so all the variables in this class are assigned respectively, these data processing all done in OnInit(), just ONCE.
Then, with a single ExtExpert.Ontick() ---> which has that Processing() in it.... the EA is beating with every new tick.
I think I am slightly better at this now... thanks enivid
why do not you trace the code of ExtExpert.xxxxxxxx ? all in there.
these codes os only a frame.
why do not you trace the code of ExtExpert.xxxxxxxx ? all in there.
these codes os only a frame.
Yes, I did. A dozen times.
I already somewhat understood what's happening. Thx to all who help.. this thread is solved ( I think).