invalid pointer in Expert.mqh

 

I am getting "invalid pointer access in 'Expert.mqh' (358,8)" in the journal tab. 

It happens when I change a input parameter in the set file.

This is where it happens inside Expert.mqh:

//+------------------------------------------------------------------+
//| Initialization signal object                                     |
//+------------------------------------------------------------------+
bool CExpert::InitSignal(CExpertSignal *signal)
  {
   if(m_signal!=NULL)
      delete m_signal;
//---
   if(signal==NULL)
     {
      if((m_signal=new CExpertSignal)==NULL)
         return(false);
     }
   else
      m_signal=signal;
//--- initializing signal object
   if(!m_signal.Init(GetPointer(m_symbol),m_period,m_adjusted_point))  // <---- this is line 358 mentioned in the journal error message
      return(false);
   m_signal.EveryTick(m_every_tick);
   m_signal.Magic(m_magic);
//--- ok
   return(true);
  }

Any help is appreciated.

thanks

 
Good morning
The problem must be on your input, look at the type of those who work and those who don't.
 
better.trader every.day:

I am getting "invalid pointer access in 'Expert.mqh' (358,8)" in the journal tab. 

It happens when I change a input parameter in the set file.

This is where it happens inside Expert.mqh:

Any help is appreciated.

thanks

Barely enough code.

It probably has to do with how EAs are being reloaded/re-initialized.

You need to do some research on how EAs behave on external changes.
 

what happened with the other comments that were here yesterday?

 
better.trader every.day #:

what happened with the other comments that were here yesterday?

The website was updated yesterday and some yesyerday's comments were lost.