Expert.mqh standard library

 

hello,

I can't access m_close (an array of close prices defined ) in ExpertSignalMACD.mqh that inherits from ExpertSignal.mqh

even though CiMACD which is used in the ExpertSignalMACD needs it , because of applied price of MACD indicator .


why in used_series of SignalMACD m_close does not initialize?

also I solve my problem by adding it in constructor but , I write this because , I think it should be considered in writing standard library.

   m_used_series=USE_SERIES_HIGH+USE_SERIES_LOW+USE_SERIES_CLOSE;