Lot size comes from the Long/Short Position tool and the selected risk settings. TestingView then normalizes the quantity for the symbol being traded.