Can I just throw this code into my
protected override void OnBarUpdate()
if (BarsPeriod.BarsPeriodType == BarsPeriodType.Minute && BarsPeriod.Value == 5) { // Indicator calculation logic here if (Close[0] < Low[1]) //break out to the down side { ExitLong(DefaultQuantity,"",""); } }
Comment