PureBytes Links
Trading Reference Links
|
On Sat, 9 Jan 1999 10:55:01 -0600, "Adam Hefner"
<VonHef@xxxxxxxxxxxxx> wrote:
I noticed you left out the formula names in the revised formula(s).
Was that an oversight?
Am I missing something? I've not put the formulas into MS yet, so I'm
just thinking. I think I know what to do (obvious), but just wondering
why the names where left out?
For example, should the first formula I labeled (1>) be called FT-FBP
after the first post, since it is {Fixed Balance Point Calculation}
TIA,
-= Chris ß =-
Using MetaStock 6.52/FastTrack/FastRUBE/FastTools/EZPnF/TC2000
>These are coded for end-of-day use only. Please discard
> previous versions to this (1-9-99) post.
Should this be name: FT-FBP
>1>{Fibonacci Trader - Fixed Balance Point}
>1> {NOTE: under Color/Style options, change
>1> plot to last "style" option}
>1>
>1>Mc1:=BarsSince(DayOfWeek()=1);
>1>Fc1:=BarsSince(DayOfWeek()=5);
>1>Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;
>1>
>1>{Fixed Balance Point Calculation}
>1>FBC:=If(Mc1=0 AND Fc1>2,
>1> {then}(Ref(HHV(H,LastValue(mc1)),-1)+
>1> Ref(LLV(L,LastValue(Mc1)),-1)+
>1> Ref(C,-1))/3,
>1> {else}If(Fc1=0 AND Mc1>5,
>1> {then}(HHV(H,LastValue(Fc2))+
>1> LLV(L,LastValue(Fc2))+C)/3,
>1> {else}If(Fc1=0,
>1> {then}(HHV(H,LastValue(Mc1))+
>1> LLV(L,LastValue(Mc1))+C)/3,
>1> {else}0)));
>1>{Fixed Balance Point Plot}
>1>FBP:=ValueWhen(1,FBC>0,FBC);
>1>FBP;
Adam's given name to this formula - Name: ????
> {Fibonacci Trader- Support & Resistance}
> {NOTE: under Color/Style options, change
> plot to last "style" option}
>
>{Weekly Price Range Calculation}
>Mc1:=BarsSince(DayOfWeek()=1);
>Fc1:=BarsSince(DayOfWeek()=5);
>Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;
>WRC:=If(Mc1=0 AND Fc1>2,
> {then}Ref(HHV(H,LastValue(mc1)),-1)-
> Ref(LLV(L,LastValue(Mc1)),-1),
> {else}If(Fc1=0 AND Mc1>5,
> {then}HHV(H,LastValue(Fc2))-
> LLV(L,LastValue(Fc2)),
> {else}If(Fc1=0,
> {then}HHV(H,LastValue(Mc1))-
> LLV(L,LastValue(Mc1)),
> {else}0)));
>WRP:=ValueWhen(1,WRC>0,WRC);
>{Resistance Range}
>RR1:= FmlVar("FT-FBP","FBP")+(WRP*.5);
>RR2:= FmlVar("FT-FBP","FBP")+(WRP*.618);
>{Support Range}
>SR1:= FmlVar("FT-FBP","FBP")-(WRP*.5);
>SR2:= FmlVar("FT-FBP","FBP")-(WRP*.618);
>{Plot Ranges}
>RR1;
>RR2;
>SR1;
>SR2;
Should this be - name: FT-FBPS
> {Fibonacci Trader-Fixed Balance Point Step}
>
>FPS:=(ValueWhen(1,FmlVar("FT-FBP","FBC")>0,
> FmlVar("FT-FBP","FBC")) +
> ValueWhen(2,FmlVar("FT-FBP","FBC")>0,
> FmlVar("FT-FBP","FBC")) +
> ValueWhen(3,FmlVar("FT-FBP","FBC")>0,
> FmlVar("FT-FBP","FBC")) +
> ValueWhen(4,FmlVar("FT-FBP","FBC")>0,
> FmlVar("FT-FBP","FBC")) +
> ValueWhen(5,FmlVar("FT-FBP","FBC")>0,
> FmlVar("FT-FBP","FBC")))/5;
>FPS
>
> {Fibonacci Trader - Dynamic Balance Point}
> {Dynamic Balance Point Calculation}
>dt:=DayOfWeek();
>DBC:=(HighestSince(5,DayOfWeek()=dt,H)+
> LowestSince(5,DayOfWeek()=dt,L)+CLOSE)/3;
>DBC
Should this be - name: FT-DBPS
> {Fibonacci Trader-Dynamic Balance Point Step}
>
>DPS:=(ValueWhen(1,FmlVar("FT-DBP","DBC"),
> FmlVar("FT-DBP","DBC"))+
> ValueWhen(5,FmlVar("FT-DBP","DBC"),
> FmlVar("FT-DBP","DBC"))+
> ValueWhen(10,FmlVar("FT-DBP","DBC"),
> FmlVar("FT-DBP","DBC"))+
> ValueWhen(15,FmlVar("FT-DBP","DBC"),
> FmlVar("FT-DBP","DBC"))+
> ValueWhen(20,FmlVar("FT-DBP","DBC"),
> FmlVar("FT-DBP","DBC")))/5;
>DPS;
|