I have a cumulative algo running that uses the following code (in theory) to allow the total position to be 3 x positionsize, where positionsize is variable and set by the MM code.
But what I find in practice is that once positionsize goes above 3 contracts, then no additional positions are opened. So at present positionsize is 5.79 and that initial position opens as it should, but there is no 2nd or third entry, even though the conditions are met. So after it gets to 3 it’s as if cumulative orders = false.
Is there any other way to code this, to allow for 3 entries regardless of positionsize ?