Discussion of article "Cross-Platform Expert Advisor: The CExpertAdvisor and CExpertAdvisors Classes" - page 3

 
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
bool CCandleManagerBase::Add(const string symbol,const int period)
  {
   if(CheckPointer(m_symbol_man))
     {
      CSymbolInfo *instrument=m_symbol_man.Get(symbol);
      if(CheckPointer(instrument))
        {
         instrument.Name(symbol);
         instrument.Refresh();
         CCandle *candle=new CCandle();
         candle.Init(instrument,period);
         return Add(/*instrument*/candle);
        }
     }
   return false;
  }
There is error. I commented the wrong value.
 
Juer:
There is error. I commented the wrong value.

I see. Thank you for this. It is now corrected. You can see the latest version here:

https://github.com/iceron/MQLx/commits/master