I need to be able to limit max position size in USD.
We can create customizable max leverage variable like x1 x1.5 x2 and so on.
And a slider max leverage of the initial capital or of the current balance.
This setting can be used in risk percent of account mm too.
It should behave this way:
If position size (in second currency) is bigger than max leverage allows
___ it should override size by max size allowed