It is not difficult to change your version from 4 to 5 digit.
But there is some error with this part of the code:
Code:
if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }
else { mylotsi=NormalizeDouble(mylotsi*2,1); }
I am not a coder sorry ...
Can not fix.