You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I have a Consecutive win count function which is capped at 10.
I have just realised that it doesn't stop counting at zero - so i get minus numbers.
If there is a win i want to increment by one upto 10, and decrement by 1 down to zero.
This is the original code below - i have tried adding breaks / having a wincount and loss count and then adding them together, and various other iterations. I am sure this is going to be very obvious - but am stuck at the moment.
any suggestions?