PureBytes Links
Trading Reference Links
|
<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3401" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2>Some time back a noticed some discussion (either on this list
or Real Traders) about "Pivot Points",</FONT></DIV>
<DIV><FONT size=2>so I played around with the Pivot Point code, but it
really didn't fit my style of trading. Then I thought</FONT></DIV>
<DIV><FONT size=2>about a weekly version and found this interesting. So below is
the code with a chart showing its</FONT></DIV>
<DIV><FONT size=2>usage. </FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2> Later,</FONT></DIV>
<DIV><FONT size=2>
Adam</FONT></DIV>
<DIV><FONT
size=2>----------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>name: Weekly Pivot Point</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> {Weekly Pivot Point Projection
8/4/99}<BR>Dw:=If(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);<BR>
{Weekly Typical Price}<BR>PP1:=If(Dw=1,<BR>
{then}(Ref(HighestSince(1,Dw=1,H),-1)+<BR>
Ref(LowestSince(1,Dw=1,L),-1)
+<BR>
Ref(C,-1))/3,<BR> {else}0);<BR> {Weekly
High}<BR>Wh1:=If(Dw=1,<BR>
{then}Ref(HighestSince(1,Dw=1,H),-1),<BR>
{else}0);<BR> {Weekly Low}<BR>Wl1:=If(Dw=1,<BR>
{then}Ref(LowestSince(1,Dw=1,L),-1),<BR>
{else}0);<BR>Wh:=ValueWhen(1,Wh1>0,Wh1);<BR>Wl:=ValueWhen(1,Wl1>0,Wl1);<BR>PP:=ValueWhen(1,PP1>0,PP1);<BR>
{Resistance 1}<BR>R1:=(2*PP)-Wl;<BR> {Support
1}<BR>S1:=(2*PP)-Wh;<BR> {Resistance
2}<BR>R2:=(PP-S1)+R1;<BR> {Support
2}<BR>S2:=PP-(R1-S1);<BR>R2;<BR>R1;<BR>S1;<BR>S2;<BR>--------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><IMG align=baseline alt="" border=0 hspace=0
src="cid:001a01bedef7$84aef720$51acfad0@xxxxxxxxxx"></DIV></BODY></HTML>
</x-html>
Attachment Converted: "c:\eudora\attach\snap112.gif"
|