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

code help horizontal line



PureBytes Links

Trading Reference Links

Thanks Bob, 
That wasn't what I was thinking.
It's better!
Have a great day  
----- Original Message ----- 
From: "Bob Fulks" <bfulks@xxxxxxxxxxxx>
To: "Ben" <balex@xxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Monday, May 29, 2006 10:29 AM
Subject: Re: code help horizontal line


> 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 
> 
> 
>