Plotshapes how to use dynamic XShift

PlotShapes(IIf(setupFormed, shapeDigit0, shapeNone), colorGreen, 0, H, Offset=15, xShift=-1 * BarsSince(startOfA));

Any suggestion? Is loops the only way?

@Jefforey, no offense, but the only suggestion I can think of is this:

If after three days and 50 views no one posted an answer, probably, your single line of code is not enough to make the forum users understand what you want to achieve!

In particular, please, rewiew point 4:

Give us all the background Information and explain the GOAL you want to accomplish.

I'm sure that a more extended version of your code will also help and many times a (commented) screenshot is useful too.