but not exactly what I am looking for- must be an easier way to count loses, as I am trying to build something that double downs up to 6 times... if 6 consecutive loses. and 3 for 3 etc..
I need to do something like:
if (Performance.ConsecLosingTrades.Count > 1 && Performance.ConsecLosingTrades.Count < 2)
Contracts= Contracts *2;
if (Performance.ConsecLosingTrades.Count > 2 && Performance.ConsecLosingTrades.Count < 3)
Contracts= Contracts *3;
I understand ConsecLosingTrades is not a definition, but is there a way to do that?
Thanks in advance!

Comment