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

GEN: Percent Return



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>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I know this issue was discussed before. Some one 
was kind enough to post a formula for calculating percent return. It involved 
average return per stock, average number of days and a couple of other 
factors.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Can you send it to me again ?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thank you,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Shay 
Horowitz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
shay@xxxxxxxxxxxxxxxxx<BR>Zeus 
Investments, LLC.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>13918 E. Mississippi 
Ave.&nbsp;&nbsp;&nbsp; <A 
href="http://www.zeus-holdings.com/";>http://www.zeus-holdings.com/</A><BR>Suite 
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>Aurora, CO 
80012&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR></FONT></DIV></BODY></HTML>
</x-html>From ???@??? Sun Jan 04 17:16:46 1998
Received: from smtp3.nwnexus.com (smtp3.nwnexus.com [206.63.63.41])
	by mail1.halcyon.com (8.8.7/8.8.7) with ESMTP id MAA18202
	for <neal@xxxxxxxxxxxxxxxx>; Sun, 4 Jan 1998 12:46:34 -0800 (PST)
Received: from accessone.com (list.listserver.com [198.68.191.15])
	by smtp3.nwnexus.com (8.8.7/8.8.7) with ESMTP id MAA17978
	for <neal@xxxxxxxxxxx>; Sun, 4 Jan 1998 12:46:33 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
	by accessone.com (8.8.5/8.8.5/PIH) with SMTP id MAA28319;
	Sun, 4 Jan 1998 12:46:14 -0800 (PST)
Received: from mtigwc03.worldnet.att.net (mtigwc03.worldnet.att.net [204.127.131.34])
	by accessone.com (8.8.5/8.8.5/PIH) with ESMTP id MAA28184
	for <realtraders@xxxxxxxxxxxxxx>; Sun, 4 Jan 1998 12:45:06 -0800 (PST)
Received: from shay1 ([12.67.69.166]) by mtigwc03.worldnet.att.net
          (post.office MTA v2.0 0613 ) with SMTP id AAA9229
          for <realtraders@xxxxxxxxxxxxxx>; Sun, 4 Jan 1998 20:44:33 +0000
Message-Id: <03ea01bd1951$b6b36f20$5944430c@xxxxx>
Date: Sun, 4 Jan 1998 13:45:36 -0700
Reply-To: shy@xxxxxxxxxxxxxxxx
Sender: owner-realtraders@xxxxxxxxxxxxxx
From: "Zeus" <shy@xxxxxxxxxxxxxxxx>
To: RealTraders Discussion Group <realtraders@xxxxxxxxxxxxxx>
Subject: GEN: Percent Return
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_03E7_01BD1917.08EC7BA0"
X-To: "RealTraders Discussion Group" <realtraders@xxxxxxxxxxxxxx>
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Listprocessor-Version: 8.1 -- ListProcessor(tm) by CREN
Status:   

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

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I know this issue was discussed before. Some one 
was kind enough to post a formula for calculating percent return. It involved 
average return per stock, average number of days and a couple of other 
factors.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Can you send it to me again ?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thank you,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Shay 
Horowitz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
shay@xxxxxxxxxxxxxxxxx<BR>Zeus 
Investments, LLC.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>13918 E. Mississippi 
Ave.&nbsp;&nbsp;&nbsp; <A 
href="http://www.zeus-holdings.com/";>http://www.zeus-holdings.com/</A><BR>Suite 
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>Aurora, CO 
80012&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR></FONT></DIV></BODY></HTML>
</x-html>From ???@??? Sun Jan 04 17:16:47 1998
Received: from smtp1.nwnexus.com (smtp1.nwnexus.com [198.137.231.16])
	by mail1.halcyon.com (8.8.7/8.8.7) with ESMTP id OAA28602
	for <neal@xxxxxxxxxxxxxxxx>; Sun, 4 Jan 1998 14:01:35 -0800 (PST)
Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48])
	by smtp1.nwnexus.com (8.8.7/8.8.7) with ESMTP id OAA15663
	for <neal@xxxxxxxxxxx>; Sun, 4 Jan 1998 14:01:31 -0800
Received: (from smartlst@xxxxxxxxx)
	by mx1.eskimo.com (8.8.8/8.8.8) id OAA19018;
	Sun, 4 Jan 1998 14:00:34 -0800
Resent-Date: Sun, 4 Jan 1998 14:00:34 -0800
From: MarkBrown@xxxxxxxxxxxxx
Message-ID: <34B00663.97FDA9E5@xxxxxxxxxxxxx>
Date: Sun, 04 Jan 1998 16:00:04 -0600
Reply-To: MarkBrown@xxxxxxxxxxxxx
Organization: Mark Brown's The Traders Network at http://markbrown.com
X-Mailer: Mozilla 4.01 [en] (Win95; I)
MIME-Version: 1.0
To: Steve Duval <dmii@xxxxxxxxxxxxx>
CC: Real Traders <realtraders@xxxxxxxxxxxxxx>,
        Omega Traders <omega-list@xxxxxxxxxx>
Subject: Re: Adaptive Moving Average System
X-Priority: 3 (Normal)
References: <01bd187c$70d8a720$5602b8cd@xxxxxxxxx>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"V0TIZ.0.we4._P0iq"@mx1>
Resent-From: omega-list@xxxxxxxxxx
X-Mailing-List: <omega-list@xxxxxxxxxx> archive/latest/12757
X-Loop: omega-list@xxxxxxxxxx
Precedence: list
Resent-Sender: omega-list-request@xxxxxxxxxx
Status:   

Steve Duval wrote:

>  In the latest issue of Stocks & Commodities, Perry Kaufman talks about his AMA. I am interested in this trading system and wonder if anyone has put
> this into a trading system and as an indicator for SuperCharts 4.0? Also, any comments relative to this system would be much appreciated.By the way,
> Happy New Year!Steve

===============================

inputs:price(c),
           length(10),
           fastlen(5),
           slowlen(20);

vars:dt(0),
        vt(0),
        ert(0),ert2(0),
        fastest(2/(fastlen+1)),
        slowest(2/(slowlen+1)),
        return(0),amal(0);

if (@currentbar=1)then begin
fastest = 2/(fastlen+1);
slowest = 2/(slowlen+1);
end;
dt = price[0]-price[length];
vt = @summation(@absvalue(price[0]-price[1]),length);
if (vt<>0)
then ert = (dt/vt)*(fastest-slowest)+slowest
else ert = ert[1];;
ert2 = ert*ert;
if(@currentbar<=1)
then return = price
else return = return[1]+ert2*(price-return[1]);
amal = return;
plot1(amal,"ama");