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.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0c0c0>
<DIV><FONT size=2>Adam:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Thanks for this information. I owe you for this.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Lionel</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
Adam Hefner
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:metastock@xxxxxxxxxxxxx"
title=metastock@xxxxxxxxxxxxx>metastock@xxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 16, 1999 5:32
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Robert Krausz Multiple Time
Frame stuff.......</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>For those interested in the MTF code that Robert
Krausz wrote about in the TASC article (Jan 99 I think).......</FONT></DIV>
<DIV><FONT face=Arial size=2>It is posted below. I have
also attached a chart to show how I have them displayed.</FONT></DIV>
<DIV> </DIV>
<DIV>
<HR>
</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-Dynamic Balance Point
Step</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame<BR> Dynamic
Balance Point Step 4/23/99}<BR>Dr:= FmlVar("MTF-Dynamic Balance
Point","DBC");<BR>Dsc:=(ValueWhen(1,Dr,Dr)+<BR>
ValueWhen(5,Dr,Dr)+<BR>
ValueWhen(10,Dr,Dr)+<BR>
ValueWhen(15,Dr,Dr)+<BR>
ValueWhen(20,Dr,Dr))/5;<BR>Dsc</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>---------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-Dynamic Balance
Point</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame<BR>
Dynamic Balance Point
4/23/99}<BR>dt:=DayOfWeek();<BR>dc:=If(Dt=1,BarsSince(Ref(dt,-1)=1)+1,<BR>
If(Dt=2,BarsSince(Ref(dt,-1)=2)+1,<BR>
If(Dt=3,BarsSince(Ref(dt,-1)=3)+1,<BR>
If(Dt=4,BarsSince(Ref(dt,-1)=4)+1,<BR>
BarsSince(Ref(dt,-1)=5)+1))));<BR>DBC:=If(dc=5,<BR>
{then}(Ref(HighestSince(5,dt,H),-1)+<BR>
Ref(LowestSince(5,dt,L),-1)+<BR>
Ref(CLOSE,-1))/3,<BR>
{else}(Ref(HighestSince(4,dt,H),-1)+<BR>
Ref(LowestSince(4,dt,L),-1)+<BR>
Ref(CLOSE,-1))/3);<BR>DBC<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-Fixed Balance Point
Step</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame<BR> "Fixed
Balance Point Step" 4/23/99}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>Dw:=If(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);<BR>Wt:=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>DwPs:=(ValueWhen(1,Wt>0,Wt)+<BR>
ValueWhen(2,Wt>0,Wt)+<BR>
ValueWhen(3,Wt>0,Wt)+<BR>
ValueWhen(4,Wt>0,Wt)+<BR>
ValueWhen(5,Wt>0,Wt))/5;<BR>Dwps</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-Fixed Balance
Point</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame<BR> "Fixed
Balance Point" 4/23/99}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>Dw:=If(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);<BR>Wt:=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>DwP:=ValueWhen(1,Wt>0,Wt);<BR>Dwp</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-S&R</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame<BR> "Weekly
Support & Resistance" 4/23/99}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>Dw:=If(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);<BR>Wt:=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>Wh:=If(Dw=1,<BR>
{then}Ref(HighestSince(1,Dw=1,H),-1),<BR>
{else}0);<BR>Wl:=If(Dw=1,<BR>
{then}Ref(LowestSince(1,Dw=1,L),-1),<BR>
{else}0);<BR>Wr:=ValueWhen(1,Wh>0,Wh)-ValueWhen(1,Wl>0,Wl);<BR>DwP:=ValueWhen(1,Wt>0,Wt);<BR>RR1:=DwP+(Wr*.5);<BR>RR2:=DwP+(Wr*.618);<BR>SR1:=DwP-(Wr*.5);<BR>SR2:=DwP-(Wr*.618);<BR>RR2;<BR>RR1;<BR>SR1;<BR>SR2;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>name: MTF-Tendency</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> {Multiple Time Frame - Tendency
5/23/99}<BR> {This will plot 1 for
Bullish<BR>
-1 for
Bearish}<BR>dw:=DayOfWeek();<BR>Fw:=If(dw<Ref(dw,-1),1,0);<BR>Mt:=If(Fw=1
AND Ref(dw,-1)<>5,<BR> {then}Ref(C,-1)-
FmlVar("MTF-Fixed Balance Point","DWP"),<BR>
{else}If(dw=5,<BR>
{then}C-((HighestSince(1,Fw=1,H)+<BR>
LowestSince(1,Fw=1,L)+C)/3),<BR>
{else}0));<BR>If(Mt>0,1,If(Mt<0,-1,0)); </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<HR>
</DIV>
<DIV></FONT> </DIV>
<DIV><IMG align=baseline alt="" border=0 hspace=0
src="cid:001901bf4831$19dd63c0$1464fea9@xxxxxxx"></DIV></BLOCKQUOTE></BODY></HTML>
</x-html>
Attachment Converted: "f:\eudora\attach\MTF1.gif"
|