i use the following code for plotshapes:
'''
Buy= ISOK AND Buy;
Sell= Sell OR ISNOTOK;
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorDarkBlue, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorBlue, 0,L, Offset=-50);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),coloryellow, 0,L, Offset=-45);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colordarkRed, 0, H, Offset=40);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colordarkRed, 0,H, Offset=50);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),coloryellow, 0,H, Offset=-45);
'''
now, i'd like to have a different shape plotted for the first buy/sell signal in a raw, and a different
shape for subsequent signals, so that i can easily distinguish them.
how do i do that, please?