Add("CL 01-15", BarsPeriod.Id, BarsPeriod.Value); Add("CL 03-15", BarsPeriod.Id, BarsPeriod.Value); Add("CL 05-15", BarsPeriod.Id, BarsPeriod.Value);
And in my OnBarUpdate():
protected override void OnBarUpdate() { if (BarsInProgress == 0){ EnterLong(1, DefaultQuantity, "long1"); EnterLong(2, DefaultQuantity, "long2"); EnterLong(3, DefaultQuantity, "long3"); } }
Is this by design?
Comment