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