PureBytes Links
Trading Reference Links
|
Joe, You’re great.
Thank you. I have been tapping my fingers
on the desk for the past few days thinking about this myself.
Have a good New Year.
-Sam
<span
>-----Original Message-----
From: joetrade69
[mailto:joetrade69@xxxxxxxxx]
Sent: Wednesday, December 31, 2003
11:21 AM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: [Metastockusers] Re:
PIVOTS [January 2004 TASC magazine]
<span
>
I have
coded a few versions of these formulas:<font size=2
face="Courier New">
{weekly pivot on daily bars}
ic:=ValueWhen(1,ROC(DayOfWeek(),1,$)<0,Ref(C,-1));
ih:=ValueWhen(1,ROC(DayOfWeek(),1,%)<0,HighestSince(2,ROC(DayOfWeek
(),1,%)<0,Ref(H,-1)));
il:=ValueWhen(1,ROC(DayOfWeek(),1,%)<0,LowestSince(2,ROC(DayOfWeek
(),1,%)<0,Ref(L,-1)));
mp1:=(ih+il+ic)/3;
r2:=mp1+(ih-il);
r1:=(mp1*2)-il;
s1:=(mp1*2)-ih;
s2:=mp1-(r1-s1);
r1;
r2;
s1;
s2
{monthly pivot on daily bars}
ic:=ValueWhen(1,ROC(DayOfMonth(),1,$)<0,Ref(C,-1));
ih:=ValueWhen(1,ROC(DayOfMonth(),1,%)<0,HighestSince(2,ROC(DayOfMonth
(),1,%)<0,Ref(H,-1)));
il:=ValueWhen(1,ROC(DayOfMonth(),1,%)<0,LowestSince(2,ROC(DayOfMonth
(),1,%)<0,Ref(L,-1)));
mp1:=(ih+il+ic)/3;
r2:=mp1+(ih-il);
r1:=(mp1*2)-il;
s1:=(mp1*2)-ih;
s2:=mp1-(r1-s1);
r1;
r2;
s1;
s2
{daily pivot on daily bars}
r2:=Typ()+(H-L);
r1:=(Typ()*2)-L;
s1:=(Typ()*2)-H;
s2:=Typ()-(r1-s1);
LastValue(Ref(r2,-1));
LastValue(Ref(s2,-1));
LastValue(Ref(r1,-1));
LastValue(Ref(s1,-1));
{daily pivot on intraday bars}
ic:=ValueWhen(1,ROC(DayOfWeek(),1,$)<>0,Ref(C,-1));
ih:=ValueWhen(1,ROC(Hour(),1,%)<0,HighestSince(2,ROC(Hour(),1,%)<0,Ref
(H,-1)));
il:=ValueWhen(1,ROC(Hour(),1,%)<0,LowestSince(2,ROC(Hour(),1,%)<0,Ref
(L,-1)));
mp1:=(ih+il+ic)/3;
r2:=mp1+(ih-il);
r1:=(mp1*2)-il;
s1:=(mp1*2)-ih;
s2:=mp1-(r1-s1);
r1;
r2;
s1;
s2;
{yearly pivot on daily bars}
ic:=ValueWhen(1,ROC(Month(),1,$)<0,Ref(C,-1));
ih:=ValueWhen(1,ROC(Month(),1,%)<0,HighestSince(2,ROC(Month(),1,%)
<0,Ref(H,-1)));
il:=ValueWhen(1,ROC(Month(),1,%)<0,LowestSince(2,ROC(Month(),1,%)
<0,Ref(L,-1)));
mp1:=(ih+il+ic)/3;
r2:=mp1+(ih-il);
r1:=(mp1*2)-il;
s1:=(mp1*2)-ih;
s2:=mp1-(r1-s1);
r1;
r2;
s1;
s2
Hope this helps...
Trader Joe
--- In Metastockusers@xxxxxxxxxxxxxxx,
<uhehs@xxxx> wrote:
> Volume 22
>
> Number 1
>
>
>
> -----Original Message-----
> From: zenzen [mailto:zenzen@xxxx]
> Sent: Sunday, December 28, 2003 11:16 PM
> To: Metastockusers@xxxxxxxxxxxxxxx
> Subject: [Metastockusers] RE: PIVOTS [January
2004 TASC magazine]
>
>
>
> > Subject: PIVOTS [January 2004 TASC
magazine]
> >
> > I have always had an interest in working
with Pivots. This
article was my
> > reminder.
>
> I don't get TASC, can someone tell me the
issue/volume number of
this pivot
> article? I want to buy the back issue PDF. Is
it listed here?
> <a
href="">http://search.store.yahoo.com/cgi-bin/nsearch?follow-pro=1
> <<a
href="">http://search.store.yahoo.com/cgi-bin/nsearch?follow-
pro=1&vwcatalog=trader
> s> &vwcatalog=traders
> com&catalog=traderscom&query=pivot
>
> Thanks,
> Craig.
>
>
>
>
> To unsubscribe from this group, send an email
to:
> Metastockusers-unsubscribe@xxxxxxxxxxx
>
>
>
>
>
>
>
>
> Yahoo! Groups Sponsor
>
>
>
> ADVERTISEMENT
>
>
<<a
href="">http://rd.yahoo.com/SIG=12c6qevnu/M=267637.4116730.5333196.1261774/D=
egroup
>
web/S=1705001779:HM/EXP=1072888107/A=1853618/R=0/*http:/www.netflix.co
m/Defa
> ult?mqso=60178338&partid=4116730>
click here
>
>
>
> <http://us.adserver.yahoo.com/l?
M=267637.4116730.5333196.1261774/D=egroupmai
> l/S=:HM/A=1853618/rand=109845071>
>
>
>
> _____
>
> Yahoo! Groups Links
>
>
* To visit your group on the
web, go to:
> <a
href="">http://groups.yahoo.com/group/Metastockusers/
>
>
>
* To unsubscribe from this
group, send an email to:
> Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
>
<mailto:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>
>
>
>
* Your use of Yahoo! Groups is
subject to the Yahoo! Terms
of
> <<a
href="">http://docs.yahoo.com/info/terms/>
Service.
<font
size=2 face="Courier New">
<font size=2
face="Courier New">Yahoo!
Groups Links
<font size=2
face=Symbol>·<font size=1
face="Times New Roman">
<span
>To visit your group on the
web, go to:
http://groups.yahoo.com/group/Metastockusers/
<font size=2
face=Symbol>·<font size=1
face="Times New Roman">
<span
>To unsubscribe from this
group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<font size=2
face=Symbol>·<font size=1
face="Times New Roman">
<span
>Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service.
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 the Yahoo! Terms of Service.
|