I'm hoping there is a simple answer to this but I've been pulling my hair out as to why it won't trigger. What I want to do is when a condition is met, enter a single long position, as soon as this order is placed, then I want to enter a limit order to buy 2 more long entries if the price drops 20 ticks below, bringing my entry price down. this is the 2 lines in my code :-
EnterLong(1, "Long Entry");
EnterLongLimit(2, PositionAccount.AveragePrice + TickSize * 20, "Long Entry 1");
What I'm finding is the first EnterLong works, but the limit order for the next one isn't placed at all - what would cause this not to be placed? is it because there's already a long position, so it won't enter another?
Is there a way I can get this to enter another long position?
Many thanks for your help
Andy

Comment