i need some help in figuring this function out, which is quite common in other language.
I have a var called multiplier that if my previous trades is a winning trade,