I have a strategy that fires orders in a set order and to a criteria. The problem is that thier are 3 condition sets per side. THe first 2 condition sets work fine, but when i get to the third condition set it does not follow the sequence and just enters the next bar. I assume i have missed some thing so your thoughts are appreciated.
As you can see from the attachment the 3rd order fires directly after the second one. And as you can see from the code below the 3rd order should be XXX amount away from the previous orders. I have put the strategy criteria in order in relation to conditions, so the condition 1-3 is the same just in reverse.This is the simplified version but the problem is the same.

Comment