You can use Ref to move it forward or backward. But it is dangerous 
to move it forward and will not work correctly on the last bar. Try 
Plot( Ref(CP1, 1), "CP1"...., Then try Plot( Ref(CP1, -1), "CP1"...., 
and see which you like better.

Barry

 --- In [email protected], "Vinay Gakkhar." <[EMAIL PROTECTED]> 
wrote:
>
> I want to shift the result of the following to the next bar instead 
of the
> current bar. What should I add?
> 
> Plot( CP1, "CP1", ParamColor("Color", colorRed ), styleDots |  
> ParamStyle("Style") | GetPriceStyle() );
> 
> 
> And if I want to see if after 5 bars, what should I add?
> 
> Thanks.
> 
> Vinay
>


Reply via email to