Lot size comes from the Long/Short Position tool and the selected risk settings. TestingView then normalizes the quantity for the symbol being traded.
Fixed lot versus a size that matches the stop is one of the first position-sizing arguments online. A one-lot test on a wide stop is a different bet from a one-lot test on a tight stop, even when both are called "one contract."
Lot size starts in the TradingView position tool, from the risk settings you chose, and TestingView normalizes the quantity for the symbol. Change the stop or the risk amount before entry if you want a different size. The journal then stores the size the trade actually opened with.