JHenry:
Hi guys!
I’m looking for a function that returns the number of consecutive profitable trades until X victories. When the number of profitable trades hits the X value, so the count is restarted.
If someone can help me... thx!!!
Simply calculate the modulo (this is modulo : https://en.wikipedia.org/wiki/Modulo_operation) of all your consecutive wins
Hi guys!
I’m looking for a function that returns the number of consecutive profitable trades until X victories. When the number of profitable trades hits the X value, so the count is restarted.
If someone can help me... thx!!!

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
I’m looking for a function that returns the number of consecutive profitable trades until X victories. When the number of profitable trades hits the X value, so the count is restarted.
If someone can help me... thx!!!