Move line 5 to in between line 2 and 3, just after BUY.
You should use PipSize, not 10000, to make your code portable. You can remove that multiplication if you also remove the leading “p” from PLOSS and PPROFIT.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.