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

Re: Profit/Loss Index Calculation



PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2721.2900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff><STRONG>I am having trouble finding the MSWIN update 
download page at Equis web site- can anyone direct me to the proper URL?&nbsp; I 
can of course find the home page, but I got lost in trying to navigate thru 
it.</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff><STRONG>al</STRONG></FONT></DIV>
<DIV><BR>Alton Stephens<BR>Gallagher, Sharp<BR><A 
href="mailto:astephen@xxxxxxxx";>astephen@xxxxxxxx</A></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 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:Lionel Issen <lissen@xxxxxxxx" 
  title=lissen@xxxxxxx>mailto:Lionel Issen &lt;lissen@xxxxxxxx</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> Wednesday, November 03, 1999 7:37 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Profit/Loss Index 
  Calculation</DIV>
  <DIV><BR></DIV>Ton:<BR><BR>Perhaps the formula is something like 
  this:<BR><BR>(P-L)/(P+L)*100.<BR><BR>This will vary between +100 and 
  -100.<BR><BR>Your formula gives infinity if 
  L=0.<BR><BR>regards<BR><BR>Lionel<BR>----- Original Message -----<BR>From: 
  A.J. Maas &lt;<A 
  href="mailto:anthmaas@xxxxxxxxx";>anthmaas@xxxxxxxxx</A>&gt;<BR>To: &lt;<A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;<BR>Sent: 
  Friday, October 29, 1999 5:28 PM<BR>Subject: Re: Profit/Loss Index 
  Calculation<BR><BR><BR>&gt; For Ratio results:<BR>&gt;<BR>&gt; The 
  P/L-ratio:<BR>&gt; Divide the Profit outcome by the Loss outcome (eg 
  "Profit/Loss")<BR>&gt;&nbsp;&nbsp; -when on the good site the outcome will be 
  plus ("+", eg positive)<BR>&gt;&nbsp;&nbsp; -when on the bad site this will be 
  minus ("-", eg negative)<BR>&gt;<BR>&gt; Regards,<BR>&gt; Ton Maas<BR>&gt; <A 
  href="mailto:ms-irb@xxxxxxxxxxxxxxxx";>ms-irb@xxxxxxxxxxxxxxxx</A><BR>&gt; 
  Dismiss the ".nospam" bit (including the dot) when replying and<BR>&gt; note 
  the new address change. Also for my Homepage<BR>&gt; <A 
  href="http://home.planet.nl/~anthmaas";>http://home.planet.nl/~anthmaas</A><BR>&gt;<BR>&gt;<BR>&gt; 
  ----- Original Message -----<BR>&gt; From: Bruce K. Anderson &lt;<A 
  href="mailto:bruceka@xxxxxxxx";>bruceka@xxxxxxxx</A>&gt;<BR>&gt; To: &lt;<A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;<BR>&gt; 
  Sent: donderdag 28 oktober 1999 21:35<BR>&gt; Subject: Profit/Loss Index 
  Calculation<BR>&gt;<BR>&gt;<BR>&gt; &gt; Does any know the math for the 
  Profit/Loss Index that is produced in<BR>the<BR>&gt; &gt; Detail Summary 
  Report after testing a trading system?&nbsp; I can not<BR>determine<BR>&gt; 
  &gt; the formula for the +100 to -100 range that is produced on the 
  report.<BR>&gt; &gt;<BR>&gt;<BR>&gt;<BR><BR><BR></BLOCKQUOTE></BODY></HTML>
</x-html>From ???@??? Wed Nov 03 07:51:39 1999
Return-Path: <majordom@xxxxxxxxxxxxxxxxxx>
Received: from listserv.equis.com (listserv.equis.com [204.246.137.2])
	by purebytes.com (8.8.7/8.8.7) with ESMTP id HAA29920
	for <neal@xxxxxxxxxxxxx>; Wed, 3 Nov 1999 07:45:42 -0800
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id IAA19474
	for metastock-outgoing; Wed, 3 Nov 1999 08:07:28 -0700
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 IAA19470
	for <metastock@xxxxxxxxxxxxxxxxxx>; Wed, 3 Nov 1999 08:07:25 -0700
From: dllabarre@xxxxxxxxx
Received: from franklin.appliedtheory.com (franklin.appliedtheory.com [192.77.173.116])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id IAA06915
	for <metastock@xxxxxxxxxxxxx>; Wed, 3 Nov 1999 08:11:57 -0700 (MST)
Received: from mta.nyseg.com (mta.nyseg.com [199.98.200.7])
	by franklin.appliedtheory.com (8.8.8/8.8.8) with SMTP id JAA02289
	for <metastock@xxxxxxxxxxxxx>; Wed, 3 Nov 1999 09:57:32 -0500 (EST)
Received: by mta.nyseg.com(Lotus SMTP MTA v4.6.3  (733.2 10-16-1998))  id 8525681E.0052B331 ; Wed, 3 Nov 1999 10:03:18 -0500
X-Lotus-FromDomain: NYSEG@xxxxxxxx
To: metastock@xxxxxxxxxxxxx
Message-ID: <8525681E.0052B143.00@xxxxxxxxxxxxx>
Date: Wed, 3 Nov 1999 09:50:52 -0500
Subject: Re: Increasing the MetaStock(R) Formula Language with MetaStock 7
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:   



Background: I'm developing MetaStock add-ons.

What percent of MetaStock users are using (or converting to) version 7.0?
If I develope add-ons using "The new MetaStock External Function (MSX)
Application Programming Interface (API)"  am I going to be able to sell this to
the majority or minority of MetaStock users?

Where as if I develope a standalone VB program that would allow MetaStock users
to test their systems and produce a report of the results, all MetaStock (and
non-MetaStock) users could benefit from this program.

Don
Web developer
Visual Basic programmer
MetaStock programmer
http://www.abbracadabra.com/cybercast






Equis Support <support@xxxxxxxxx> on 11/02/99 06:13:48 PM

Please respond to metastock@xxxxxxxxxxxxx

To:   "'metastock@xxxxxxxxxxxxx'" <metastock@xxxxxxxxxxxxx>
cc:    (bcc: Donald L. LaBarre)
Subject:  Increasing the MetaStock(R) Formula Language with MetaStock 7




I've noticed several emails lately discussing MetaStock's Formula Language
capabilities.  I would like to take this time to introduce you to a new
feature added in MetaStock 7.  The new MetaStock External Function (MSX)
Application Programming Interface (API), available in the MetaStock
Developer's Kit, allows software developers to dynamically add externally
defined functions to the MetaStock Formula Language, in MetaStock version
7.0 and later.

When MetaStock initializes, it scans a pre-defined folder, looking for any
DLLs that correctly implement the MSX API.  When an MSX DLL is found, the
functions that it implements are automatically added to the MetaStock
Formula Language.
These new functions can be used to create Custom Indicators, Explorations,
System Tests and Expert Advisors using MetaStock's formula tools.
The MSX API supports any programming language that meets the following
criteria:
*    exports DLL functions by name
*    supports the stdcall stack frame convention
*    creates 32-bit DLLs for Windows 95, Windows 98, or Windows NT
version 4.0 or greater
This type of DLL is commonly called a Win32 DLL.

Note: Microsoft Visual Basic does not have the capability to produce a Win32
DLL.  Therefore, MSX DLLs cannot be written in Microsoft Visual Basic.   A
good alternative for VB programmers is PowerBASIC, an inexpensive compiled
Basic that is syntax-compatible with VB and can produce Win32 DLLs.
MSX DLL Capabilities
The functions that can be implemented in MSX DLLs are similar in behavior to
the Standard built-in MetaStock functions.  In other words, MSX Functions
can be written to perform calculations based on any available price data or
results of other functions.  All MSX DLL functions return a data array.
This exactly parallels the behavior of the MetaStock built-in functions.
The returned data array can be plotted by Custom Indicators or used in any
way that a standard built-in function can be used.
MSX DLLs can perform calculations of virtually unlimited complexity.  You
have the full power of conventional programming languages like C or Pascal
with all of their logic, data manipulation and rich flow-control
capabilities.
Things that you can do with an MSX DLL include:
*    Implement functions not provided with MetaStock.
*    Perform complex calculations on price data.
*    Provide multiple functions in a single MSX DLL.
*    Access stored MetaStock price data using MSFL (included in the
MetaStock Developers Kit - see the MSFL documentation for details).
*    Create functions that can be used by Custom Indicators, System
Tests, Explorations, and Experts.
*    Distribute your compiled MSX DLL to other users.

Things that you cannot do with an MSX DLL include:
*    GUI functions including plotting and user dialogs.
*    Access the standard MetaStock built-in functions from within your
DLL.

This capability is already in MetaStock Professional 7.0 and will be in the
upcoming MetaStock End-Of-Day 7.0. The MetaStock Developer's Kit is expected
to be available in late November.  For the latest details periodically check
http://www.equis.com/partners/developers/

Cheryl Elton
Product Development
Equis International, Inc
http://www.equis.com