For a series of prices only within market hours, just fill a static series only within market hours.

vars Prices = series(0,-100);
if(market(...)) shift(Prices,priceClose(),100);