I have EA created by MQL5 EA Generator. I have my own custom signal of CExpertSignal class. I need to reinit one variable of the filter on every OnTick() event (generate a random number unique for every tick). But how to access filter variable (or its encapsulation function) directly from EA OnTick() function?
I need something like:
ExtExpert.m_signal.m_filters.m_data.myVariable = rand();
But it is not obviously possible as "m_" variables are of protected type.