CExpert:Init : adjust period and symbol
According to the CExpert class (of StandardLib), we must always use the current symbol (_Symbol) or period (_Period):
Why? I mean, why does the StandardLib provide a method with the parameters symbol and period if we can't actually use those parameters freely? I could override this method to allow it, but then I would have to consider what consequences this extended option (=setting arbitrary symbols or periods) has on the initialization of the other components.
Has anyone here had the same experience and found a correct solution to the problem?
Ok. Found the answer: https://www.mql5.com/en/forum/406072
Not really nice to start from scratch..
According to the CExpert class (of StandardLib), we must always use the current symbol (_Symbol) or period (_Period):
Why? I mean, why does the StandardLib provide a method with the parameters symbol and period if we can't actually use those parameters freely? I could override this method to allow it, but then I would have to consider what consequences this extended option (=setting arbitrary symbols or periods) has on the initialization of the other components.
Has anyone here had the same experience and found a correct solution to the problem?