Try something like: TenBars = Sum(R, 10) == 10;
Mike --- In [email protected], "jollypollyanna" <jollypolly...@...> wrote: > > Greetings, > I have tried various REF functions to tell the damn computer > to signal only after 10 indicator bars have been above pointer 5. From > my picture (circled examples) it shows that the signals are generated > after every change from above pointer 5 to pointer 1 as per the "G" > statement. Good. > > R = pointer > 5; > G = IIf(BarsSince(R) == 1, pointer < 2, 0); > Q = Ref ; ??? > > Buy = G && ???; > > But what I need is the signal only after at least 10 indicator bars have > been above pointer 5. Please. > > [Photobucket] <%3Ca%20href=> > ">[IMG]http://i967.photobucket.com/albums/ae154/Henry_The_Eighth/untitle\ > d-3.jpg[/IMG] >
