[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding Question



PureBytes Links

Trading Reference Links

Robert,
Please refer to MS manual; pg.253  re.trough bars ago and trough value and 
finally (most importantly) pg.514..."be forewarned that the last leg is 
dynamic".
J.

>From: Robert Lambert <lambertb1@xxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: metastock@xxxxxxxxxxxxx
>Subject: Coding Question
>Date: Wed, 8 Mar 2000 08:53:03 -0800 (PST)
>
>List:
>
>Here's a simple setup:
>
>PK:=Zig(H,7,%)<Ref(Zig(H,7,%),-1) AND
>Ref(Zig(H,7,%),-1)>Ref(Zig(H,7,%),-2);
>
>Peak1:=ValueWhen(1,PK,Ref(H,-1));
>
>Peak2:=ValueWhen(2,PK,Ref(H,-1));
>
>Question1: Can I code MS to draw a simple trendline
>from Peak2 to Peak1?
>
>Question2: Can I code MS to recognize a cross by the
>close above the
>            trendline, assuming the trendline can be
>coded to extend
>            beyond Peak1? I'm looking for something
>more accurate than
>            Cross(C,ValueWhen(1,PK,Ref(H,-1))),which
>often occurs well
>            after the trendline is violated.
>
>Thanks in advance for any feedback.
>
>__________________________________________________
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com