Try Ref(Buy,-1)*shapeStar Dan
--- In [email protected], "ozzyapeman" <[EMAIL PROTECTED]> wrote: > > Hope someone can help with this very basic (maybe dumb) question. I have > trade delays set to: SetTradeDelays(1,1,1,1) > > Therefore "Buy" is just the buy signal (not entry) and the actual entry > price occurs at the next bar over, due to trade delay. > > I want to plot an up arrow at the buy signal and a star at the actual > entry. > > This works for the buy signal: > > PlotShapes(Buy * shapeUpArrow, colorOrange); > > But what do I replace "?" with, in order to plot at the entry price: > > PlotShapes(?,*shapeStar, ColorGreen); > > I need to somehow specify "Buy signal plus one bar over" within the > PlotShapes command, to plot at the entry. >
