コード例 #1
0
        protected override void InitExecuteContext()
        {
            if (IsSimple)
            {
                return;
            }

            m_ema1 = new EMA {
                Context = Context, Period = Period
            };
            m_ema2 = new EMA {
                Context = Context, Period = Period
            };
            m_ema3 = new EMA {
                Context = Context, Period = Period
            };
        }
コード例 #2
0
 protected override void ClearExecuteContext()
 {
     m_ema1 = null;
     m_ema2 = null;
     m_ema3 = null;
 }