Download MetaTrader 5

What does the code mean?

To add comments, please log in or register
Share your program via Code Base. Gain access to millions of traders!
Chang Suk Chung
528
Chang Suk Chung 2016.07.15 18:28 
class CSignalMA : public CExpertSignal
  {
protected:
   CiMA              m_ma;             // object-indicator
   //--- adjusted parameters
   int               m_ma_period;      // the "period of averaging" parameter of the indicator
   int               m_ma_shift;       // the "time shift" parameter of the indicator
   ENUM_MA_METHOD    m_ma_method;      // the "method of averaging" parameter of the indicator
   ENUM_APPLIED_PRICE m_ma_applied;    // the "object of averaging" parameter of the indicator
   //--- "weights" of market models (0-100)
   int               m_pattern_0;      // model 0 "price is on the necessary side from the indicator"
   int               m_pattern_1;      // model 1 "price crossed the indicator with opposite direction"
   int               m_pattern_2;      // model 2 "price crossed the indicator with the same direction"
   int               m_pattern_3;      // model 3 "piercing"

 

Above is the code of CSignalMA.

What does it mean, m of 'm_ma_period'?

I can't imagine.  

Please let me know.  

To add comments, please log in or register