| 
 PureBytes Links 
Trading Reference Links 
 | 
Sunny England?  Must be somewhere other than regular England...
I have no idea what in the world you are talking about in terms of your indicator and what you are trying to mark or see.
However...  to get a price X bars ago use Price[X].  For example:
C[3] = Close 3 bars ago
L[3] = Low 3 bars ago
To plot paintbar X bars ago, use the following syntax:
Plot1[X](H,"Bar High");
Plot2[X](L, "Bar Low");
Showme's and indicators are done similarly.  X may be less than 0 in TS2Ki - causing the indicator to plot in the space to the right of a chart.
 ---- you wrote: 
> Got a simple one for someone. 
> How do you get a show me or paint bar study to indicate x bars ago(and to paint it or show it). I  watch a certain moving average and when it changes direction it's important, so what I want to do is locate the bar x ago because if the close of the current bar is above or below the bar x ago then the m/a changes direction.
> The nearest I can get to it is by using a moving average displaced by the amount I want to look at.
> I can also do it manually by moving a rectangle along each bar but that's a 'drag' (sorry!)
> Any ideas would be appreciated
> Thanks from sunny England
> Jeremy Stuart
> 
 
 |