in ninja 7 I was able to add indicators to the strategy, but if I add an indicator my strategy gets terminated without an error message, compile gives no errors as soon as I remove the lines strategy is loading again.
m_VWAP is created and now exception is thrown.
Regards
Martin
else if (State == State.DataLoaded)
{
this.m_VWAP = mmVWAPS(_std, bSoundOn, pSoundVWAP, m_cntPullback, m_VWAPDelta, m_PeriodType, m_VTF, true);
AddChartIndicator(this.m_VWAP);
}

Comment