@masboy I guess the problem is that calculation. Other than that the logic of your project is correct. Please create a copy of your project and change your lot size calculations to a fixed pips ratio. If everything works correctly, then the problem is there.