Вот так вызывается и тслаб не реагирует

int iBar = TSLabSecurity.Bars.Count - 1;
if (isBuy)
{
TSLabSecurity.Positions.BuyIfLess(iBar, iVolume, Price, sKey);
}
else
{
TSLabSecurity.Positions.SellIfGreater(iBar, iVolume, Price, sKey);
}