protected override void InitExecuteContext() { if (IsSimple) { return; } m_sma = new SMA { Context = Context, Period = Period }; m_stDev = new StDev { Context = Context, Period = Period }; }
protected override void ClearExecuteContext() { m_sma = null; m_stDev = null; }