How to directly access filter0

 

Hello,

  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:

void OnTick()
  {
   ExtExpert.m_signal.m_filters.m_data[0].myVariable = rand();
   ExtExpert.OnTick();
  }

But it is not obviously possible as "m_" variables are of protected type.