Specifically if I take the time interval down to 5min or less, I seem
to get large periods of 'null' plots...

Any ideas why...??

Above 5min the plot is as I would expect it to be.

--- In [email protected], "sidhartha70" <[EMAIL PROTECTED]> wrote:
>
> To simplyify the question further, if I add the following line to a
> basic price chart,
> 
> Plot(BarsSince(DayOfWeek()==1),"x",colorPink,styleOwnScale);
> 
> Can someone explain the plot output... because I'm somewhat confused.
> 
> TJ?
> 
> Thanks
> 
> --- In [email protected], "sidhartha70" <sidhartha70@> wrote:
> >
> > Hi All,
> > 
> > I'm trying to do some logic using the BarsSince() function... I want
> > to spot when an element of an array is true within the last 10 bars...
> > 
> > So I used something like,
> > 
> > x = BarsSince(y)<10;
> > 
> > Now if I plot the result,
> > 
> > Plot(x,"x",colorGold,StyleOwnscale);
> > 
> > I get some quite strange results... x appears to be null for large
> > periods... I think it's something to do with how BarsSince() works.
> > 
> > Anyone know what's going on here...?
> > 
> > Many Thanks
> >
>


Reply via email to