PureBytes Links
Trading Reference Links
|
<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@xxxxxxxxxxxxxxxxx">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:ForgetLastTabAlignment/>
<w:DoNotUseHTMLParagraphAutoSpacing/>
</w:Compatibility>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:16792199 0 0 0 65791 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-reply;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Jean-Roland,<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Many
thanks.<span style="mso-spacerun: yes"> </span>Now all I have to do is
try to figure out how to apply it. </span></font></span><span
class=EmailStyle17><font size=2 color=navy face=Wingdings><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Wingdings;
mso-ascii-font-family:Arial;mso-hansi-font-family:Arial;mso-char-type:symbol;
mso-symbol-font-family:Wingdings'><span style='mso-char-type:symbol;mso-symbol-font-family:
Wingdings'>J</span></span></font></span><span class=EmailStyle17><font size=2
color=navy face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial'><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>We have no
expected return in our trading system, let alone a standard deviation of the
returns.<span style="mso-spacerun: yes"> </span>I guess I could fudge our
numbers and give it a try using our actual average (net) return.<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Since last
October, we have twenty (real, live) trades to work with.<span
style="mso-spacerun: yes"> </span>Our average return is $1,631 or 34.79%.<span
style="mso-spacerun: yes"> </span>The standard deviation is .5788
(according to my trusty Excel spreadsheet).<span style="mso-spacerun:
yes"> </span>Assuming a risk free interest rate of 5%, let’s see what we calculate.<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>SR = (34.79-5.00)/.5788<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>SR =
51.469<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Does this
make sense?<span style="mso-spacerun: yes"> </span><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Now that I
have the Sharpe Ratio, I better go back and reread John’s posts to discover what
to do next.<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoAutoSig><!--[if supportFields]><span class=EmailStyle17><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span style='mso-element:field-begin'></span><span
style="mso-spacerun: yes"> </span>AUTOTEXTLIST \s "E-mail
Signature" <span style='mso-element:field-separator'></span></span></font></span><![endif]--><font
color=navy><span style='color:navy'>Guy</span></font><font color=navy><span
style='color:navy;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><![if !supportEmptyParas]> <![endif]></span></font><font
color=navy><span style='color:navy;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Paranoia...you only have to be right once
to make it all worthwhile!</span></font><font color=navy><span
style='color:navy;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal><!--[if supportFields]><span class=EmailStyle17><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span style='mso-element:field-end'></span></span></font></span><![endif]--><span
class=EmailStyle17><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]<b><span
style='font-weight:bold'>On Behalf Of </span></b>Jean-Roland Quastana<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 10, 2000 3:00
PM<br>
<b><span style='font-weight:bold'>To:</span></b> metastock@xxxxxxxxxxxxx<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Optimal f code for
Tradestation</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:black'>Sharpe
Ratio : SR = (E-I)/s</span></font><font color=black><span style='color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:black'>where
E is expected return, I is risk-free interest rate and s is standard deviation
of the returns.</span></font><font color=black><span style='color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:black'>Hope
this help...</span></font><font color=black><span style='color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:black'>Jean-Roland</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<div style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>-----
Original Message ----- </span></font><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;background:#E4E4E4;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'>
<div style='font-color:black'>From:</span></font></b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'> <a
href="mailto:grt@xxxxxxxxxxxx" title="grt@xxxxxxxxxxxx">Guy Tann</a> </span></font></div>
<font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'>To:</span></font></b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'> <a
href="mailto:metastock@xxxxxxxxxxxxx" title="metastock@xxxxxxxxxxxxx">metastock@xxxxxxxxxxxxx</a>
</span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'>Sent:</span></font></b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'> Monday, July 10, 2000
8:45 PM</span></font><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'>Subject:</span></font></b><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'> RE:
Optimal f code for Tradestation</span></font><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'><![if !supportEmptyParas]> <![endif]></span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;
margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>John,<br>
<br>
Could you ask him the formula for the Sharpe Ratio.<br>
<br>
Thanks,<br>
<br>
Guy<br>
<br>
Paranoia...you only have to be right once to make it all worthwhile!<br
style='mso-special-character:line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]></span></font><font color=black><span style='color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>
</x-html>From ???@??? Mon Jul 10 20:57:18 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 UAA23083
for <neal@xxxxxxxxxxxxx>; Mon, 10 Jul 2000 20:51:00 -0700
Received: (from majordom@xxxxxxxxx)
by listserv.equis.com (8.8.7/8.8.7) id UAA25310
for metastock-outgoing; Mon, 10 Jul 2000 20:57:50 -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 UAA25307
for <metastock@xxxxxxxxxxxxxxxxxx>; Mon, 10 Jul 2000 20:57:47 -0600
Received: from mail.rdc1.az.home.com (imail@xxxxxxxxxxxxxxxxxxxx [24.1.240.66])
by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id VAA24613
for <metastock@xxxxxxxxxxxxx>; Mon, 10 Jul 2000 21:19:46 -0600 (MDT)
Received: from home.com ([24.8.74.110]) by mail.rdc1.az.home.com
(InterMail vM.4.01.02.00 201-229-116) with ESMTP
id <20000711030208.GSFX12685.mail.rdc1.az.home.com@xxxxxxxx>
for <metastock@xxxxxxxxxxxxx>; Mon, 10 Jul 2000 20:02:08 -0700
Message-ID: <396A8E2F.98DE3B58@xxxxxxxx>
Date: Mon, 10 Jul 2000 20:02:07 -0700
From: Dave Nadeau <dave.nadeau@xxxxxxxx>
Organization: @Home Network Member
X-Mailer: Mozilla 4.72 [en]C-AtHome0407 (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: MetaStock Listserver <metastock@xxxxxxxxxxxxx>
Subject: A Question of Testing Order
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:
Can anyone tell me what is the order of the logic that the
system tester uses? For example, say my system enters on
the open on a one bar delay from my entry signal. Does the
software analyze the low of this next bar and compare my
stops then go to the high of the bar and compare my stops
(say profit target stops) then go to the close of the bar
and calculate the signal, then move to the next day, etc.?
Thanks!
Dave Nadeau
|