Hello all,
I want to increase my position size from 1 to 2 after 2 losses only.. .if the 3rd bet losses (the increased size one), it should then go back to normal bet size
I tried the code below, which works fine when there is 2 losses – the next bet has its position size increased – however when there are 3 or 4 losses in a row those are increased too.. then the next 2 wins are also increased.. why is this? I thought the “Positionperf(3)>=0” part would mean that if there are more than 2 losses in a row it would go back to original position size.
any idea what i’ve done wrong?
thanks
ONCE OrderSize =1
IF PositionPerf(1) < 0 AND PositionPerf(2) < 0 AND PositionPerf(3) >= 0 THEN
OrderSize = 2
ELSIF PositionPerf(1) > 0 THEN
OrderSize =1
ENDIF
So, to be sure: if you lose 2 times in a row, your 3rd order is double size? If this 3rd order is a winner or a loser you go back to first lot size?
WingParticipant
Veteran
Remove ‘once’ from ordersize=1 and it should work?