а если попробовать так :
var sma1 = new vvTSLtools.SMA();
{
sma1.Period = 10;
sma1.Context = ctx;
}