Strategy is running OnBarClose - my preference with indicators etc
currently in the Strategy Builder but can unlock the code if necessary
Goal to exit with the trigger from the 20 second bar Close while current prints are intrabar of the current Renko Bar
// Set 40
if ((Position.MarketPosition == MarketPosition.Long)
&& (LongTrades == true)
&& (BarsSinceEntryExecution(0, "", 0) >= 0)
&& (Closes[2][0] <= (Low[0] + (-2 * TickSize)) )
&& (BarsSinceEntryExecution(2, "", 0) > 0))
{
ExitLong(Convert.ToInt32(Position.Quantity), @"LStop1", @"Long1");
}
ATTEMPTING TO TRIGGER when 20 Second bar dataseries CLOSE is Less than or Equal to the Renko Bar Low[0] (last completed bar of renko) less 2 ticks
Thanks - hope the solution helps me and others

Comment