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

Re: Drawing the line...



PureBytes Links

Trading Reference Links

example for one line:
plot1(X,"");  {X can be plot series}
If plot1>=20 then setplotcolor(1,red);
If plot1>=10 and plot1<20 then setplotcolor(1,magenta);
If plot1>=0 and plot1<10 then setplotcolor(1,yellow);
If plot1<0 and plot1>=-10 then setplotcolor(1,darkgreen);
If plot1<-10 and plot1>=-15 then setplotcolor(1,cyan);
If plot1<15 then setplotcolor(1,blue);

bobr

----- Original Message -----
From: "Ian Waugh" <ianwaugh@xxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Cc: <ianwaugh@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, March 26, 2003 3:48 AM
Subject: Re: Drawing the line...


> Many thanks to Gary for clarification here.
>
> However, I am obliged to ask if it's possible to plot, say, 6 different
> values per bar on a chart using one piece of code? I know that EL only
> allows 4 plot statements is one indicator but are there any clever ways
> around this other than using two indicators?
>
> Ian
>

Attachment:
setplotcolor.gif

Attachment: Description: "Description: GIF image"