PureBytes Links
Trading Reference Links
|
<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY>
<DIV><FONT color=#000000 size=2>I have attached a .GIF file to illustrate how
each indicator should</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>look. NOTE: the color of the
arrows will correspond with the </FONT></DIV>
<DIV><FONT size=2>indicator color.</FONT></DIV>
<DIV><FONT size=2><IMG align=baseline alt="" border=0 hspace=0
src="cid:005f01be3bf5$cb40cb00$bed1fed0@xxxxxxxxxxxxxxxxx"></FONT></DIV>
<DIV><BR> Best wishes,<BR> Adam
Hefner.<BR> VonHef@xxxxxxxxxx</DIV>
<DIV> </DIV>
<DIV>-------------------------------------</DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Adam Hefner
<VonHef@xxxxxxxxxxxxx><BR>To:
MetaStock <<A
href="mailto:metastock@xxxxxxxxxxxxx">metastock@xxxxxxxxxxxxx</A>><BR>Date:
Saturday, January 09, 1999 11:05 AM<BR>Subject: Dynamic Multiple Time
Frames<BR><BR></DIV></FONT>>To Chuck and anyone else who is
interested,<BR>>The missing day (Holidays) problem with my
formula<BR>>turned out to be more of a problem than I
anticipated.<BR>>Since I completely revised two of the codes, I am
posting<BR>>the complete set again. These are coded for end-of-day<BR>>use
only. Please discard previous versions to this
(1-9-99)<BR>>post.<BR>><BR>>{Fibonacci Trader - Fixed Balance
Point}<BR>> {NOTE: under Color/Style options,
change<BR>> plot to last
"style"
option}<BR>><BR>>Mc1:=BarsSince(DayOfWeek()=1);<BR>>Fc1:=BarsSince(DayOfWeek()=5);<BR>>Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;<BR>>{Fixed
Balance Point Calculation}<BR>>FBC:=If(Mc1=0 AND
Fc1>2,<BR>>
{then}(Ref(HHV(H,LastValue(mc1)),-1)+<BR>>
Ref(LLV(L,LastValue(Mc1)),-1)+<BR>>
Ref(C,-1))/3,<BR>> {else}If(Fc1=0 AND
Mc1>5,<BR>>
{then}(HHV(H,LastValue(Fc2))+<BR>>
LLV(L,LastValue(Fc2))+C)/3,<BR>>
{else}If(Fc1=0,<BR>>
{then}(HHV(H,LastValue(Mc1))+<BR>>
LLV(L,LastValue(Mc1))+C)/3,<BR>>
{else}0)));<BR>>{Fixed Balance Point
Plot}<BR>>FBP:=ValueWhen(1,FBC>0,FBC);<BR>>FBP;<BR>><BR>>
{Fibonacci Trader- Support & Resistance}<BR>> {NOTE: under
Color/Style options,
change<BR>> plot to last
"style" option}<BR>><BR>>{Weekly Price Range
Calculation}<BR>>Mc1:=BarsSince(DayOfWeek()=1);<BR>>Fc1:=BarsSince(DayOfWeek()=5);<BR>>Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;<BR>>WRC:=If(Mc1=0
AND Fc1>2,<BR>>
{then}Ref(HHV(H,LastValue(mc1)),-1)-<BR>>
Ref(LLV(L,LastValue(Mc1)),-1),<BR>> {else}If(Fc1=0 AND
Mc1>5,<BR>>
{then}HHV(H,LastValue(Fc2))-<BR>>
LLV(L,LastValue(Fc2)),<BR>>
{else}If(Fc1=0,<BR>>
{then}HHV(H,LastValue(Mc1))-<BR>>
LLV(L,LastValue(Mc1)),<BR>>
{else}0)));<BR>>WRP:=ValueWhen(1,WRC>0,WRC);<BR>>{Resistance
Range}<BR>>RR1:=
FmlVar("FT-FBP","FBP")+(WRP*.5);<BR>>RR2:=
FmlVar("FT-FBP","FBP")+(WRP*.618);<BR>>{Support
Range}<BR>>SR1:=
FmlVar("FT-FBP","FBP")-(WRP*.5);<BR>>SR2:=
FmlVar("FT-FBP","FBP")-(WRP*.618);<BR>>{Plot
Ranges}<BR>>RR1;<BR>>RR2;<BR>>SR1;<BR>>SR2;<BR>><BR>>
{Fibonacci Trader-Fixed Balance Point
Step}<BR>><BR>>FPS:=(ValueWhen(1,FmlVar("FT-FBP","FBC")>0,<BR>>
FmlVar("FT-FBP","FBC")) +<BR>>
ValueWhen(2,FmlVar("FT-FBP","FBC")>0,<BR>>
FmlVar("FT-FBP","FBC")) +<BR>>
ValueWhen(3,FmlVar("FT-FBP","FBC")>0,<BR>>
FmlVar("FT-FBP","FBC")) +<BR>>
ValueWhen(4,FmlVar("FT-FBP","FBC")>0,<BR>>
FmlVar("FT-FBP","FBC")) +<BR>>
ValueWhen(5,FmlVar("FT-FBP","FBC")>0,<BR>>
FmlVar("FT-FBP","FBC")))/5;<BR>>FPS<BR>><BR>>
{Fibonacci Trader - Dynamic Balance Point}<BR>> {Dynamic Balance Point
Calculation}<BR>>dt:=DayOfWeek();<BR>>DBC:=(HighestSince(5,DayOfWeek()=dt,H)+<BR>>
LowestSince(5,DayOfWeek()=dt,L)+CLOSE)/3;<BR>>DBC<BR>><BR>><BR>>
{Fibonacci Trader-Dynamic Balance Point
Step}<BR>><BR>>DPS:=(ValueWhen(1,FmlVar("FT-DBP","DBC"),<BR>>
FmlVar("FT-DBP","DBC"))+<BR>>
ValueWhen(5,FmlVar("FT-DBP","DBC"),<BR>>
FmlVar("FT-DBP","DBC"))+<BR>>
ValueWhen(10,FmlVar("FT-DBP","DBC"),<BR>>
FmlVar("FT-DBP","DBC"))+<BR>>
ValueWhen(15,FmlVar("FT-DBP","DBC"),<BR>>
FmlVar("FT-DBP","DBC"))+<BR>>
ValueWhen(20,FmlVar("FT-DBP","DBC"),<BR>>
FmlVar("FT-DBP","DBC")))/5;<BR>>DPS;<BR>><BR>><BR>>
Best wishes,<BR>> Adam Hefner.<BR>> <A
href="mailto:VonHef@xxxxxxxxxx">VonHef@xxxxxxxxxx</A><BR>><BR>>-------------------------------------<BR>><BR>><BR>></BODY></HTML>
</x-html>
Attachment Converted: "c:\eudora\attach\Re Dynamic Multiple Time Frame.gif"
|