PureBytes Links
Trading Reference Links
|
Chris and others interested in the DMTF indicator,
I justed just want to step forward in defense of Adam's formula for this
indicator. While Equis's formula seems simpler, it is not as robust as
Adams in trapping the Monday holidays. This was a rather difficult
situation to deal with in the coding and particulary so when there are two
adjacent weeks with holidays. I checked Adam's formula with Excel calcs and
hand calcs and am quite confident that Adam's formulas give the correct
readings. Here's a picture as an example. The expert symbols 1 thru 5 are
dayofweek() just for checking.
-----Original Message-----
From: Christian Baude <BAUDECB@xxxxxxxxxxxxx>
To: metastock@xxxxxxxxxxxxx <metastock@xxxxxxxxxxxxx>
Cc: Adam Hefner <VonHef@xxxxxxxxxxxxx>
Date: Saturday, January 16, 1999 5:47 PM
Subject: Re: Dynamic Multiple Time Frames
>Equis recently posted the following:
>
>Dynamic Multiple Time Frames - Robert Krausz, TASC Bonus/1999, p.45.
>Equis WEB site
>
>All formulas are written to use daily data. The lines are plotted as
>described in the article, with the fixed lines only changing their
>values on the first day of each week.
>
>A sixth formula, Tendency, was added to indicate which way the price
>will tend to move, based on the relationship between the Friday close
>and the fixed balance point. This formula plots a value on Thursday
>and on Friday just in case Friday is a market holiday. On every
>trading week which includes Friday data, ignore the Thursday value. A
>value of 1 means prices will tend up first and a value of -1 means
>they will tend down
>
>Variables were used in places to simplify the formulas and to allow
>the referencing of certain values in formulas that plot multiple
>lines.
>________________________________________
>Dynamic Balance Point
>
>Ref( HHV(H,5)+LLV(L,5)+C, -1)/3
>_______________________________________
>Dynamic BP Steps
>
>WBPS:= Ref( (HHV(H,5)+LLV(L,5)+C)/3,-1);
>( WBPS + Ref(WBPS,-5) + Ref(WBPS,-10) + Ref(WBPS, -15) +
>Ref(WBPS,-20) ) / 5
>
>________________________________________
>Fixed Balance Point
>
>day:=DayOfWeek();
>FBC:= If(day=1,
>If(BarsSince(day=1)>5,
>Ref( HighestSince(1,day=2,H) + LowestSince(1,day=2,L)+C,-1)/3,
>Ref( HighestSince(1,day=1,H) + LowestSince(1,day=1,L)+C,-1)/3),
>If(day=2 AND Ref(day,-1)>1,
>If(BarsSince(day=1)>5,
>Ref( HighestSince(1,day=2,H) + LowestSince(1,day=2,L)+C,-1)/3,
>Ref( HighestSince(1,day=1,H) + LowestSince(1,day=1,L)+C,-1)/3),0));
>ValueWhen(1,FBC>0,FBC)
>______________________________________
>Support & Resistance
>
>day:=DayOfWeek();
>WR:= If(day=1,
>If(BarsSince(day=1)>5,
>Ref( HighestSince(1,day=2,H) - LowestSince(1,day=2,L),-1),
>Ref( HighestSince(1,day=1,H) - LowestSince(1,day=1,L), -1)),
>If(day=2 AND Ref(day,-1)>1,
>If(BarsSince(day=1)>5,
>Ref( HighestSince(1,day=2,H) - LowestSince(1,day=2,L),-1),
>Ref( HighestSince(1,day=1,H) - LowestSince(1,day=1,L),-1)),0));
>WRV:= ValueWhen(1,WR>0,WR);
>T1:=Fml("Fixed Balance Point") + (WRV*.5);
>T2:=Fml("Fixed Balance Point") + (WRV*.618);
>B1:=Fml("Fixed Balance Point") - (WRV*.5);
>B2:=Fml("Fixed Balance Point") - (WRV*.618);
>T1;
>T2;
>B1;
>B2
>____________________________________________
>Weekly BP Steps
>
>(Peak(1,FmlVar("Fixed Balance Point","FBC"),1) +
>Peak(3,FmlVar("Fixed Balance Point","FBC"),1) +
>Peak(4,FmlVar("Fixed Balance Point","FBC"),1) +
>Peak(5,FmlVar("Fixed Balance Point","FBC"),1) ) / 5
>
>____________________________________________
>Tendency
>{Used to indicate which way the price will tend to move}
>
>If(DayOfWeek()=4 OR DayOfWeek()=5,
>If((HighestSince(1,Cross(3,DayOfWeek()),H)+
>LowestSince(1,Cross(3,DayOfWeek()),L)+C)/3<C,1,-1),0)
>
>
Attachment Converted: "c:\eudora\attach\DMTF2.gif"
|