PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Roy
<FONT face=Arial color=#0000ff
size=2>
Thanks
for the clarification - I certainly hadn't considered this aspect
before!
<FONT face="Kunstler Script" color=#008000
size=5>Regards,
<FONT face="Kunstler Script" color=#008000
size=5>
Gordon
Sutherland
<FONT
face=Tahoma size=2>-----Original Message-----From: Roy Larsen
[mailto:rlarsen@xxxxxxxxxxxxxx] Sent: Wednesday, 12 March 2003 6:53
a.m.To: equismetastock@xxxxxxxxxxxxxxxSubject: Re:
[EquisMetaStock Group] Expert Symbol/Alert
problemGordon, Harry, Chuck,Cross() and Ref()
functions both add another N/A count to any formula inwhich they are used.
A 40 period EMA will force any code it is used with tohave 40 N/A bars,
that is, bars that produce no output signal. Using Cross()or Ref() will
make that 41 bars, and each use of the same functions in aformula is
cumulative. Very quickly you can deny yourself access to anotherweek of
data at the left side of the chart. Often this is no big deal, butit is a
big deal if you want to back test as accurately as possible.The
solution is to use the Alert() function wherever possible instead. Checkit
out.a:=C>=Mov(C,40,E);a AND
Alert(a=0,2);Roy> Thanks for the suggestion. Works
fine---but I decided to implement theCross feature that Chuck suggested,
because it is easier for me toremember,at my age.>>
Harry>> --- In equismetastock@xxxxxxxxxxxxxxx, Gordon Sutherland
<gosuth@xxxx>wrote:> > Harry,> >> >
You need to define that yesterday's Close was below the 40EMA to make>
> Today's status unique, as follows:> >> >
C>=Mov(C,40,E) AND Ref(C,-1)<Mov(C,40,E)> >> > Enjoy
Metastock Version 8.> >> > Regards,> >>
> Gordon Sutherland> >> > -----Original
Message-----> > From: bex1210 [mailto:hmw3@xxxx]> > Sent:
Monday, 10 March 2003 7:22 p.m.> > To:
equismetastock@xxxxxxxxxxxxxxx> > Subject: [EquisMetaStock Group]
Expert Symbol/Alert problem> >> >> > I am new to
Metastock, having just purchased Version 8. I am trying to> >
replicate a setup I had in a previous program, with limited success.>
>> > This formula signals a "buy" using the Expert:
(C)>=Mov(C,40,E). The> > reverse signals a "sell". I want to have
a Buy symbol placed on the> > chart on the first day (only) that the
above Buy condition is met. And I> > want to have a Sell symbol
placed on the chart on the first day (only)> > that the Sell
condition is met.> >> > I tried to set this up with an
Expert Symbol function, but I get a Buy> > symbol EVERY day that the
Buy condition is met; and the Sell symbol> > every day the Sell
condition is met. This makes for a very messy chart.> >> >
So I tried to use the Alert function. But it opens an Alert window
every> > day that I open the chart; not just the first day the
condition is met,> > and it does not leave any marker on the
chart.> >> > I am sure there is a way to achieve this.
What am I missing?> >> > Harry> >>
>> >> > Yahoo! Groups Sponsor> >> >
ADVERTISEMENT> >> > <<A
href="">http://rd.yahoo.com/M=243066.2784921.4151384.1927555/D=egroupweb/S=1705>
> 375617:HM/A=1377501/R=0/*<A
href="">http://www.verisign.com/cgi-bin/go.cgi?a=b30890>
> 113200616000>> >> > <<A
href="">http://us.adserver.yahoo.com/l?M=243066.2784921.4151384.1927555/D=egrou>
> pmail/S=:HM/A=1377501/rand=147195762>> >> > To
unsubscribe from this group, send an email to:> >
equismetastock-unsubscribe@xxxxxxxxxxxxxxx> >> >>
>> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service> > <<A
href="">http://docs.yahoo.com/info/terms/>
.>>> Yahoo! Groups
Sponsor>
ADVERTISEMENT>>>>> To unsubscribe from this
group, send an email to:>
equismetastock-unsubscribe@xxxxxxxxxxxxxxx>>>>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.>To
unsubscribe from this group, send an email
to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|