{
ExitLong();
}
if (BarsSinceEntry() > barsLimit && Position.MarketPosition == MarketPosition.Short)
{
ExitShort();
}
I am not able to get the above code to work. Any thoughts on why? I would like to be able to exit after a number of bars since entry
Thanks much in advance

Comment