Just put...

BarOffset = whatever;
while(asset(loop("EUR/USD", etc)))