Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
zoran [censored]er has a neat habit of marking fundamental events on his highly technical charts.... then we can better see
it's a blend of technical and fundamental events that move the markets.... zoran will actually hinge charts at times to
specific events.... metastock enables us to do the same.....
my accounts on the short side took a big hit on 4/18/06.... it was not from being technically wrong, technically i was
right..... a statement from the fed minutes released that morning , perceived as fundamentally bullish , moved the
markets against me.... of course my accounts on the long side, received a windfall boost..... but the point is later,
the true why, right , wrong , reason of it all might be long forgotten.....
by marking such events on the chart zoran keeps a better perspective of past..... without it, someone many months later
looking at the chart technically only, might draw wrong conclusions .... perhaps then it will appear as the widely
used 89 day ema stood, when in fact it had more to do with reaction to a fundamental event..... or a blend of both.....
meta can help us size up the +/- of such events.... as an example, if we were to add up the volume in advance/decline
style from a particular point in time we would hinge the chart, or at least one window, to that event in time.... it
would be helpful to zero the indicator from that day.... meta allows us to do that.... if we use moving averages tied to
that date, the usual lag will exist.... wabbit has helped in that area.... using his dll gets us to zero in smooth
fashion....
the indicators below are set to 1/03/06 but could be pegged to any event .... the top most window has wabbits ma in red overlaid
with the standard lag ma in blue for clear comparison.... the second window has wabbit's ma in red/blue and the pure adv/dec in green....
all together now, "good work wabbit"....
the indicator is straight forward, just set your values and date.... meta and wabbits dll will take it from there....
i changed date inputs to match henry's much appreciated suggestion.......
you'll need wabbit's dll for the indicator to work as is.... just give him a holler, but fair warning,
be sure to mention you've read the manual cover to cover 15 times......h
[code:1:cdf6a27c43]pnt:=Input("close=1, high=2, low=3",1,5,1);
pds1:=Input("fast macd periods 1",2,100,5);
pds2:=Input("slow macd periods 2",3,100,9);
pds3:=Input("moving average trigger periods 3",2,100,3);
date:=Input("date mmddyyyy",111990,12312100,1032006);
plot:=Input("adv/dec =1",0,1,1);
0;
upv:=Cum(If(If(pnt=2,H,If(pnt=3,L,C))>Ref((If(pnt=2,H,If(pnt=3,L,C))),-1),V,0));
dnv:=Cum(If((If(pnt=2,H,If(pnt=3,L,C)))<Ref((If(pnt=2,H,If(pnt=3,L,C))),-1),V,0));
a:=upv-dnv;
aa:=ValueWhen(1, Date=Month()*1000000 + DayOfMonth()*10000+ Year(),a);
aaa:=a-aa;
b:=ExtFml( "myMA2.SMA",aaa ,pds1 ) - ExtFml( "myMA2.SMA",aaa ,pds2 ) ;
bb:=ExtFml( "myMA2.SMA",b,pds3 ) ;
If(plot=1,aaa,0);
b;bb[/code:1:cdf6a27c43]
|