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

Re: code help horizontal line



PureBytes Links

Trading Reference Links

At 09:49 AM 5/29/2006, Ben wrote:

>In  2000i,
>Anybody know how  to  code a a horizontal line starting at the bar low
>(condition1) for the next ....say 50 bars or so???
>
>Thanks!

I assume you know how to set Condition1 to what you want.

Try this:

----------
Vars: Count(100), MyLow(0);

Condition1 = ?????;
Count = Count + 1;
if Condition1 then begin
   Count = 0;
   MyLow = Low;
end;
if Count <= 50 then Plot1(MyLow, "MyLow");
----------

Bob Fulks