You need to select the asset you want with the asset call and then you can query its prices.

Like so for example:
Code:
asset("Asset1");
var asset1price = priceClose();

asset("Asset2");
var asset2price = priceClose();