PureBytes Links
Trading Reference Links
|
DETWIN
I got a bit carried away with the Aroon code. This is simple (using the canned Aroon functions).
{Aroon}
A:=AroonUp(20);
B:=AroonDown(20);
BarsSince(Cross(A,B))>=14 AND BarsSince(Cross(A,B))<BarsSince(Cross(B,A));
Roy
----- Original Message -----
From: "Roy Larsen" <rlarsen@xxxxxxxxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Tuesday, March 23, 2004 9:07 AM
Subject: Re: [Metastockusers] Newbie Question (3 Formulas)
> DETWIN
>
> Here are the three things you asked for. Hope this helps your understanding.
>
> Roy
>
> > Hello, would appreciate some assistance, Thanks in
> > advance..
> >
> > 1. Aroon Crossover (20) Green Crossing Over Red -
> > for the last 14 days.
> >
> > 2. Wm%R (20) rise above -50 - for the last 14 days.
> >
> > 3. PPO (Price Oscillator) (8,24,8) rise abover 0 -
> > for the 14 days.
> >
> > Number in brackets represent settings..
>
> {Aroon-Up}
> N:=Input("Periods",1,999,20);
> A:=100*(N-HHVBars(H,N+1))/N;
> {Aroon-Down}
> B:=100*(N-LLVBars(L,N+1))/N;
> BarsSince(Cross(A,B))>=14 AND
> BarsSince(Cross(A,B))<BarsSince(Cross(B,A));
>
> {Williams %R}
> Sum(WillR(20)>-50,14)=14;
>
> {Price Oscillator}
> Sum(OscP(8,24,E,%)>0,14)=14;
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|