im just gonna remove the strings..is this what you want?

returns(a) = Average(loser[a,b]:loser [a,b+10])

?