if (Close[0] < Open[0])
{
EnterLong(1, 1, "Long Entry"); // order submitted to BarsInProgress 1
}
}
// Exit logic
if (Position.MarketPosition == MarketPosition.Long && BarsInProgress == 1 && IsFirstTickOfBar)
{
ExitLong("Exit Long", "Long Entry");
}
Thanks Quantismo
Any help is appreciated!

Comment