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

Re: A Round about way for Date Function



PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Andrew ... I believe that a value can be passed 
into HHV using the LastValue function.&nbsp; Try HHV(H,lastvalue(array)), where 
&quot;array&quot; is the value you want to pass in.&nbsp; Metastock should have 
some sort of app note on this, as I have asked them and received a no-can-do 
reply.&nbsp; But&nbsp; they don't, I think.&nbsp; However, I am using this 
method in custom indicators; and, if you look in the manual (V6.52, p.235), 
you'll see that the Last Value function is specifically identified for passing 
constants into functions, supposedly like HHV.&nbsp; You shouldn't have any 
problem, but give me a holler if you need help.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Best regards,</FONT></DIV>
<DIV><FONT size=2>Michael Spencer</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><B>-----Original Message-----</B><BR><B>From: 
</B>Kornberg Family &lt;<A 
href="mailto:kornberg@xxxxxxxxxxxxxxx";>kornberg@xxxxxxxxxxxxxxx</A>&gt;<BR><B>To: 
</B>Metastock List &lt;<A 
href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;<BR><B>Date: 
</B>Tuesday, April 18, 2000 5:13 AM<BR><B>Subject: </B>A Round about way for 
Date Function<BR><BR></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"></FONT>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000>Hi,</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>Metastock still 
    does not have a date function.&nbsp; I have a workaround but unfortunately 
    some of the other Metastock functions eg. HHV cannot use a passed 
    number.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>Here is a Days in 
    trade plot.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>Days in 
    Trade</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>Day1 := 
    Input(&quot;Day of Trade&quot;,1,31,4);<BR>Month1 := Input(&quot;Month of 
    Trade&quot;,1,12,1);<BR>Year1 := Input(&quot;Year of 
    Trade&quot;,1900,2400,2000);</SPAN></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000>PdsTrade:=BarsSince(DayOfMonth()=Day1 AND Month()= 
    Month1 AND Year()= Year1);</SPAN></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000>PdsTrade;</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>I would like to 
    be able to pass the number of days into HHV but it does not allow me to 
    do&nbsp;this.&nbsp; I want to do the following:</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>HHVStop:=&nbsp; 
    HHV(H,PDSTrade) ;</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN class=10140112-18042000>Can anyone 
    suggest a workaround?</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000>Thanks,</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=10140112-18042000><BR>Andrew</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>
</x-html>From ???@??? Wed Apr 19 07:37:54 2000
Return-Path: <majordom@xxxxxxxxxxxxxxxxxx>
Received: from listserv.equis.com (listserv.equis.com [204.246.137.2])
	by purebytes.com (8.9.3/8.9.3) with ESMTP id HAA08122
	for <neal@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 07:29:00 -0700
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id GAA27575
	for metastock-outgoing; Wed, 19 Apr 2000 06:37:06 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id GAA27572
	for <metastock@xxxxxxxxxxxxxxxxxx>; Wed, 19 Apr 2000 06:37:03 -0600
Received: from apoq.skynet.be (apoq.skynet.be [195.238.2.35])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id GAA09835
	for <metastock@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 06:49:28 -0600 (MDT)
Received: from SKY40912 (dialup1694.antwerpen.skynet.be [194.78.227.158])
	by apoq.skynet.be (Postfix) with SMTP id 57BCA1F2D8
	for <metastock@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 14:33:12 +0200 (MET DST)
Message-ID: <002701bfa9fa$b3e969c0$9ee34ec2@xxxxxxxxx>
From: "Theo E.M. Lockefeer" <sky40912@xxxxxxxxx>
To: "Metastock User Group" <metastock@xxxxxxxxxxxxx>
Subject: Fw: CBRL part 2.
Date: Wed, 19 Apr 2000 09:41:28 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00B2_01BFA9E3.6F863540"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:  O

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>&nbsp;</DIV>
<DIV style="FONT: 10pt arial">
<DIV>.</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>List,</EM></STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>As you can see i did send last 
email in a hurry (Quick).</EM></STRONG></FONT></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>Didnot have much 
time.</EM></STRONG></FONT></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>So here is a revision of this 
Sell-Call :</EM></STRONG></FONT></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>Actually is was a Sell at 
13/4/00 (so a day earlier).</EM></STRONG></FONT></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>And that made a huge 
difference.</EM></STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>So now it's a anti-hold-2 
.</EM></STRONG></FONT></DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>Any comments ? 
</EM></STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial><STRONG><EM>Theo 
Lockefeer.</EM></STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:sky40912@xxxxxxxxx"; title=sky40912@xxxxxxxxx>Theo E.M. 
  Lockefeer</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:metastock@xxxxxxxxxxxxx"; 
  title=metastock@xxxxxxxxxxxxx>metastock@xxxxxxxxxxxxx</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> April 17, 2000 2:20 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: CBRL</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>17/4/2000</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=#800080 face=Arial><STRONG><EM>Quick 
  :</EM></STRONG></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=#800080 face=Arial><STRONG><EM>CBRL&nbsp; is&nbsp; on my 
  system at&nbsp; 14/4/00&nbsp;&nbsp; a SELL&nbsp; :</EM></STRONG></FONT></DIV>
  <DIV><FONT color=#800080 face=Arial><STRONG><EM>so if you did catch this cycle 
  (started 6/3/2000)</EM></STRONG></FONT></DIV>
  <DIV><FONT color=#800080 face=Arial><STRONG><EM>SELL before it's too 
  late.</EM></STRONG></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=#800080 face=Arial><STRONG><EM>Theo 
  Lockefeer</EM></STRONG></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
  <DIV><FONT face=Arial size=2>From: Guy Tann &lt;<A 
  href="mailto:grt@xxxxxxxxxxxx";>grt@xxxxxxxxxxxx</A>&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2>To: &lt;<A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2>Sent: April 17, 2000 7:05 AM</FONT></DIV>
  <DIV><FONT face=Arial size=2>Subject: RE: New Buy Signal</FONT></DIV></DIV>
  <DIV><BR></DIV><FONT face=Arial size=2>&gt; JimG<BR>&gt; <BR>&gt; She came 
  home from her office all excited on Friday.&nbsp; All the execs at 
  work<BR>&gt; had the radio and TVs on watching the market and crying out 
  loud.&nbsp; She on<BR>&gt; the other hand remembered we were short, so came 
  home asking how much money<BR>&gt; we made.&nbsp; Near tears when I told her 
  we went long that morning.<BR>&gt; <BR>&gt; GLOBEX&nbsp; S&amp;P down 20 and 
  the NASDAQ down 90.&nbsp; Hold on tight.<BR>&gt; <BR>&gt; Guy<BR>&gt; <BR>&gt; 
  <BR>&gt; -----Original Message-----<BR>&gt; From: <A 
  href="mailto:owner-metastock@xxxxxxxxxxxxx";>owner-metastock@xxxxxxxxxxxxx</A> 
  [<A 
  href="mailto:owner-metastock@xxxxxxxxxxxxx";>mailto:owner-metastock@xxxxxxxxxxxxx</A>]On<BR>&gt; 
  Behalf Of Jim Greening<BR>&gt; Sent: Saturday, April 15, 2000 11:18 AM<BR>&gt; 
  To: <A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A><BR>&gt; 
  Subject: Re: New Buy Signal<BR>&gt; <BR>&gt; Guy,<BR>&gt; 
  &nbsp;&nbsp;&nbsp;&nbsp; Tell your wife it's not what stocks do the day you 
  get in that counts,<BR>&gt; it's where they are the day you get out 
  &lt;G&gt;.&nbsp; I agree with you on CSCO and<BR>&gt; INTC.&nbsp; They are 
  both on my "watch" list, but not on my "watch close" list<BR>&gt; because they 
  are too far above any support.&nbsp; Of course the way the market is<BR>&gt; 
  going it may not take them too long to get there &lt;G&gt;.<BR>&gt; <BR>&gt; 
  JimG<BR>&gt; <BR>&gt; ----- Original Message -----<BR>&gt; From: "Guy Tann" 
  &lt;grt@xxxxxxxxxxxx&gt;<BR>&gt; To: 
  &lt;<A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;<BR>&gt; 
  Sent: Friday, April 14, 2000 9:48 PM<BR>&gt; Subject: RE: New Buy 
  Signal<BR>&gt; <BR>&gt; <BR>&gt; &gt; JimG<BR>&gt; &gt;<BR>&gt; &gt; Did you 
  get the number of that truck?<BR>&gt; &gt;<BR>&gt; &gt; With the gap down this 
  morning, the damage wasn't too great.... Cough,<BR>&gt; &gt; cough...<BR>&gt; 
  &gt;<BR>&gt; &gt; I think most of those stocks on the list are solid, good 
  buys.&nbsp; At least I<BR>&gt; &gt; didn't buy them on margin and still kept 
  almost half of my capital in<BR>&gt; cash.<BR>&gt; &gt; I will be looking for 
  opportunities to add to my positions.&nbsp; Stocks that I<BR>&gt; &gt; really 
  like are INTC and CSCO.&nbsp; Both are having record sales and 
  earnings<BR>&gt; a<BR>&gt; &gt; la AMD.&nbsp; I don't know this one individual 
  personally (he's a friend's<BR>&gt; &gt; neighbor), but he bought CSCO 
  yesterday and today and will buy more on<BR>&gt; &gt; Monday and he works for 
  them.&nbsp; Feels these are tremendous buying<BR>&gt; &gt; 
  opportunities.&nbsp; If you stay away from the stocks with no business, 
  no<BR>&gt; &gt; profits, etc., you should be all right, IMHO.<BR>&gt; 
  &gt;<BR>&gt; &gt; Meanwhile, we're licking our wounds and looking for an 
  opportunity to buy<BR>&gt; &gt; more.<BR>&gt; &gt;<BR>&gt; &gt; Meanwhile, how 
  do I explain to my better half that the first 2 forays into<BR>&gt; &gt; 
  equities from futures were on the two biggest down days on record. :)<BR>&gt; 
  Talk<BR>&gt; &gt; about the kiss of death.<BR>&gt; &gt;<BR>&gt; &gt; Good 
  luck,<BR>&gt; &gt;<BR>&gt; &gt; Guy<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; 
  -----Original Message-----<BR>&gt; &gt; From: <A 
  href="mailto:owner-metastock@xxxxxxxxxxxxx";>owner-metastock@xxxxxxxxxxxxx</A><BR>&gt; 
  [<A 
  href="mailto:owner-metastock@xxxxxxxxxxxxx";>mailto:owner-metastock@xxxxxxxxxxxxx</A>]On<BR>&gt; 
  &gt; Behalf Of Jim Greening<BR>&gt; &gt; Sent: Friday, April 14, 2000 3:06 
  PM<BR>&gt; &gt; To: <A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A><BR>&gt; &gt; 
  Subject: Re: New Buy Signal<BR>&gt; &gt;<BR>&gt; &gt; Guy,<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I don't know if we are in agreement or 
  not.&nbsp; I got scared today when<BR>&gt; &gt; the NASDAQ plunged through the 
  bottom of its Intermediate term up trend<BR>&gt; &gt; channel and closed all 
  my high tech and finance type positions.&nbsp; I'm now<BR>&gt; &gt; only long 
  CBRL and WMT (how's that for high flyers &lt;G&gt;).<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; However, I do like the stocks in your list 
  and will be watching for<BR>&gt; &gt; good entry points.&nbsp; I'm just not 
  going to rush back in at this point.&nbsp; I'd<BR>&gt; &gt; rather lick my 
  wounds and wait for the dust to clear a little.<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I've noticed that your signals are usually 
  right on but sometimes a<BR>&gt; few<BR>&gt; &gt; days early so you probably 
  will have a great position here.&nbsp; Besides you<BR>&gt; can<BR>&gt; &gt; 
  add my caution to your list of contrary indicators &lt;G&gt;<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Best of luck!<BR>&gt; &gt;<BR>&gt; &gt; 
  JimG<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; ----- Original Message 
  -----<BR>&gt; &gt; From: "Guy Tann" &lt;<A 
  href="mailto:grt@xxxxxxxxxxxx";>grt@xxxxxxxxxxxx</A>&gt;<BR>&gt; &gt; To: 
  "Metastock User Group" &lt;<A 
  href="mailto:metastock-list@xxxxxxxxxxxxx";>metastock-list@xxxxxxxxxxxxx</A>&gt;<BR>&gt; 
  &gt; Sent: Friday, April 14, 2000 12:26 AM<BR>&gt; &gt; Subject: New Buy 
  Signal<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; &gt; List,<BR>&gt; &gt; 
  &gt;<BR>&gt; &gt; &gt; I know that everyone has been waiting for this :) but 
  we're going long<BR>&gt; on<BR>&gt; &gt; &gt; Friday.&nbsp; Ta Taaaaa<BR>&gt; 
  &gt; &gt;<BR>&gt; &gt; &gt; Let the games begin.&nbsp; We'll be buying S&amp;P 
  futures as well as the<BR>&gt; following<BR>&gt; &gt; &gt; stocks.&nbsp; My 
  brother and I spent 3 hours tonight picking these babies, so<BR>&gt; I<BR>&gt; 
  &gt; &gt; hope they don't disappoint.&nbsp; We are not jumping in with both 
  feet<BR>&gt; though.<BR>&gt; &gt; &gt; Playing cautious.&nbsp; I originally 
  started buying more, but went back and<BR>&gt; &gt; &gt; changed my orders so 
  that I will be only 25% invested (of available<BR>&gt; margin<BR>&gt; &gt; 
  &gt; funds).&nbsp; I figure, this way I limit my risk if my signal is wrong, 
  and<BR>&gt; &gt; also<BR>&gt; &gt; &gt; provide myself with an opportunity to 
  buy more should the market look<BR>&gt; &gt; good.<BR>&gt; &gt; &gt;<BR>&gt; 
  &gt; &gt; Here is the list of stocks we're buying:<BR>&gt; &gt; &gt;<BR>&gt; 
  &gt; &gt; TER<BR>&gt; &gt; &gt; ATML<BR>&gt; &gt; &gt; INTC<BR>&gt; &gt; &gt; 
  LLTC<BR>&gt; &gt; &gt; HLIT<BR>&gt; &gt; &gt; SFA<BR>&gt; &gt; &gt; 
  TXN<BR>&gt; &gt; &gt; QCOM<BR>&gt; &gt; &gt; AMCC<BR>&gt; &gt; &gt; 
  ORCL<BR>&gt; &gt; &gt; HWP<BR>&gt; &gt; &gt; IBM<BR>&gt; &gt; &gt; 
  CSCO<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; We've tried to spread our exposure in 
  those groups we're most<BR>&gt; comfortable<BR>&gt; &gt; &gt; with.&nbsp; 
  Heavy exposure to the semi conductors, etc.<BR>&gt; &gt; &gt;<BR>&gt; &gt; 
  &gt; Anyway, I would like to think that now that we're in agreement 
  with<BR>&gt; Steve<BR>&gt; &gt; K.<BR>&gt; &gt; &gt; and JimG, we're all in 
  sync.&nbsp; Maybe working together we can stop this<BR>&gt; slid<BR>&gt; &gt; 
  e,<BR>&gt; &gt; &gt; at least for a while. :)<BR>&gt; &gt; &gt;<BR>&gt; &gt; 
  &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; Guy<BR>&gt; &gt; &gt;<BR>&gt; &gt; 
  &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; <BR>&gt; 
  <BR>&gt; </FONT></BLOCKQUOTE></BODY></HTML>
</x-html>From ???@??? Wed Apr 19 07:01:39 2000
Return-Path: <majordom@xxxxxxxxxxxxxxxxxx>
Received: from listserv.equis.com (listserv.equis.com [204.246.137.2])
	by purebytes.com (8.9.3/8.9.3) with ESMTP id BAA17012
	for <neal@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 01:25:24 -0700
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id BAA26311
	for metastock-outgoing; Wed, 19 Apr 2000 01:54:49 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id BAA26307
	for <metastock@xxxxxxxxxxxxxxxxxx>; Wed, 19 Apr 2000 01:54:46 -0600
Received: from mail.rdc2.bc.home.com (ha1.rdc2.bc.wave.home.com [24.2.10.68])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id CAA09718
	for <metastock@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 02:07:12 -0600 (MDT)
Received: from home.com ([24.67.136.163]) by mail.rdc2.bc.home.com
          (InterMail vM.4.01.02.17 201-229-119) with ESMTP
          id <20000419075059.ZWAP10880.mail.rdc2.bc.home.com@xxxxxxxx>
          for <metastock@xxxxxxxxxxxxx>; Wed, 19 Apr 2000 00:50:59 -0700
Message-ID: <38FD6560.F425D45F@xxxxxxxx>
Date: Wed, 19 Apr 2000 00:50:56 -0700
From: HHP <hhp@xxxxxxxx>
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: metastock@xxxxxxxxxxxxx
Subject: Re: RSI of MACD (corr2)
References: <38FC92D9.714418A8@xxxxxxxxxxxxxxxx> <38FD27C4.DC1E531F@xxxxxxxx> <38FD2E4D.DDF9D819@xxxxxxxx>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:   

I'll get it right yet.

UpCl:= C * (C > Ref(C, -1));
Sum(UpCl,14);

HHP wrote:
> 
> Sorry.  Missed a parenthesis.
> 
> UpCl:= C * (C > Ref(C, -1));
> Cum(UpCl,14);
> 
> HHP wrote:
> >
> > UpCl:= C * (C > Ref(C, -1);
> > Cum(UpCl,14);
> >
> > HHP
> > ===================
> >
> > Augustin Bataille wrote:
> > >
> > > It is easy to plot the RSI of a MACD on a chart.
> > > However, I don't find the way to calculate it and use it in a system.
> > >
> > > (I have already tried to calculate it completely using the full RSI
> > > formula.
> > > But I don't know how I can cumulate the closes of the last 14 days where
> > > the array closed up.)
> > >
> > > Any help welcome.
> > > Thanks in advance
> > > AB