Exemple #1
0
        protected override void InitExecuteContext()
        {
            if (IsSimple)
            {
                return;
            }

            m_sma = new SMA {
                Context = Context, Period = Period
            };
            m_stDev = new StDev {
                Context = Context, Period = Period
            };
        }
Exemple #2
0
 protected override void ClearExecuteContext()
 {
     m_sma   = null;
     m_stDev = null;
 }