What is the moving average period used when called like this?

 
#include <Indicators\Trend.mqh>
CiMA ma[10];
 
CiMA::CiMA(void) : m_ma_period(-1),
There is no default period. You have to initialize it and all the others.