How do you choose leverage when you are trading?

Right now I have a demo account open with Forex.com. I am using tradingview, but I have also tried out MT4 before. Whenever I open an order, it seems like the leverage is automatically set for you. How could I change the leverage so I’m risking the amount I want to risk. Or, is this only a feature on live accounts?

leverage confuses a lot of beginners.

It’s just a gearing ratio between your lot size and how much margin is required to open a deal. That’s all.

You risk how much you want to risk from the lot size and how far away your stop loss is.

Well; I basically selected the leverage feature according to my demo trading experience, I am comfortable with 1:100 trading leverage.