PlotShapes change as I scroll the price chart

Hi Guys,

I have plotted a conditional shape, (iif x, shapecircle,shapestar)

When I initially plot this, I see star shapes plotted, then as I scroll across the price chart the star shapes change into circle shapes. When I stop scolling, they change back to star shapes

Here is the orignal plot of shapes
Untitled

This is what It looks like when I scroll left one movement
image

As always thanks :grin:

Add below code to your afl.

SetBarsRequired(sbrAll,0);

Thanks. Can I ask, so that I understand, how does this fix the problem?

I tried your suggestion, inserting this line of code at the top of the AFL script, but the problem persists

@kgalea, to get an accurate answer you should try posting a code example that would show us the behavior you see.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.