[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counter



PureBytes Links

Trading Reference Links

At 12:04 AM -0400 4/5/99, Robert W Cummings wrote:
>I need to mark the first 9th bar only and this is not working, why?
>
>Thanks, Robert
>
>Input:  Markbar(9);
>
>Vars:   Counter(0);
>
>If currentbar > 1 and Counter = Markbar then
>
>  Plot1(L,"Low");


You need to increment the counter on every bar to make this plot on the
ninth bar.

Alternately, you could just use CurrentBar.

   If CurrentBar = Markbar then Plot1(L,"Low");

Bob Fulks






  • References: