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

Re: [RT] EasyLanguage Formula Question



PureBytes Links

Trading Reference Links

here's one that works....................

Inputs: Series(high+low), length(28), HiLevel(60), LoLevel(40) ;
var:dir(0);
value1 = JRC.RSX.2k ( Series, length ) ;

dir= value1-value1[1];



if dir<0 and value1>Hilevel then setplotcolor[1](1,red);
if dir<0 and value1 < Hilevel then setplotcolor[1](1,yellow);
if dir<0 and value1 < Lolevel then setplotcolor[1](1,darkred);

if dir>0 and value1<Lolevel then setplotcolor[1](1,green);
if dir>0 and value1 > Lolevel then setplotcolor[1](1,yellow);
if dir>0 and value1 > Hilevel then setplotcolor[1](1,darkgreen);


plot1 (value1, "JRC RSX") ;
plot2 ( HiLevel , "") ;
plot3 ( LoLevel , "") ;






----- Original Message -----
From: "Brian Keith Voiles" <admagic@xxxxxxxx>
To: <realtraders@xxxxxxxxxxxxxxx>
Sent: Thursday, October 10, 2002 9:20 AM
Subject: [RT] EasyLanguage Formula Question


> I'm trying to plot an RSI that will change to yellow when it's
> value is <39 AND >61.
>
> Here's what I have... but alas... it doesn't work.
> What am I doing wrong?
> Thanks,
> Brian
>
>
> Inputs: Price(Close), Length(5), BuyZone(30), SellZone(70),
BZColor(Green),
> SZColor(Magenta), HiLoColor(Yellow);
>
> Plot1(RSI(Price, Length), "RSI");
> Plot2(BuyZone, "BuyZone");
> Plot3(SellZone, "SellZone");
>
> If Plot1 (<61 AND >39) then setplotcolor(1,HiLoColor);
>
>
>
> To unsubscribe from this group, send an email to:
> realtraders-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/