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

Weekly Pivot Point



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&nbsp;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>&nbsp;</FONT></DIV>
<DIV><FONT size=2>&nbsp; Later,</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Adam</FONT></DIV>
<DIV><FONT 
size=2>----------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>name: Weekly Pivot Point</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp; {Weekly Pivot Point Projection 
8/4/99}<BR>Dw:=If(DayOfWeek()&lt;=Ref(DayOfWeek(),-1),1,0);<BR>&nbsp;&nbsp; 
{Weekly Typical Price}<BR>PP1:=If(Dw=1,<BR>&nbsp;&nbsp;&nbsp; 
{then}(Ref(HighestSince(1,Dw=1,H),-1)+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ref(LowestSince(1,Dw=1,L),-1) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ref(C,-1))/3,<BR>&nbsp;&nbsp;&nbsp; {else}0);<BR>&nbsp;&nbsp; {Weekly 
High}<BR>Wh1:=If(Dw=1,<BR>&nbsp;&nbsp;&nbsp; 
{then}Ref(HighestSince(1,Dw=1,H),-1),<BR>&nbsp;&nbsp;&nbsp; 
{else}0);<BR>&nbsp;&nbsp; {Weekly Low}<BR>Wl1:=If(Dw=1,<BR>&nbsp;&nbsp;&nbsp; 
{then}Ref(LowestSince(1,Dw=1,L),-1),<BR>&nbsp;&nbsp;&nbsp; 
{else}0);<BR>Wh:=ValueWhen(1,Wh1&gt;0,Wh1);<BR>Wl:=ValueWhen(1,Wl1&gt;0,Wl1);<BR>PP:=ValueWhen(1,PP1&gt;0,PP1);<BR>&nbsp;&nbsp; 
{Resistance 1}<BR>R1:=(2*PP)-Wl;<BR>&nbsp;&nbsp; {Support 
1}<BR>S1:=(2*PP)-Wh;<BR>&nbsp;&nbsp; {Resistance 
2}<BR>R2:=(PP-S1)+R1;<BR>&nbsp;&nbsp; {Support 
2}<BR>S2:=PP-(R1-S1);<BR>R2;<BR>R1;<BR>S1;<BR>S2;<BR>--------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV>&nbsp;</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\snap113.gif"