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

CD Check



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.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>For those troubled by Metastock always wanting to check 
the&nbsp;CD to continue operation, there is an interesting registry entry at 
HKEY_LOCAL_MACHINE\Software\Equis\Metastock 7.0. Under value name 
"LicenseCheckInterval" there is binary value data of "c6 08 86 92 ba cc f5 
e0".</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>-Corey.</FONT></DIV></BODY></HTML>
</x-html>From ???@??? Sun Jul 16 17:45:52 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 PAA09826
	for <neal@xxxxxxxxxxxxx>; Sun, 16 Jul 2000 15:22:37 -0700
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id PAA01023
	for metastock-outgoing; Sun, 16 Jul 2000 15:28:27 -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 PAA01020
	for <metastock@xxxxxxxxxxxxxxxxxx>; Sun, 16 Jul 2000 15:28:24 -0600
Received: from flowers.sprint.ca (hme0.smtp05.sprint.ca [207.107.250.66])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id PAA29983
	for <metastock@xxxxxxxxxxxxx>; Sun, 16 Jul 2000 15:50:58 -0600 (MDT)
Received: from default (spc-isp-mtl-58-4-424.sprint.ca [149.99.138.171])
	by flowers.sprint.ca (8.8.8/8.8.8) with SMTP id RAA12947
	for <metastock@xxxxxxxxxxxxx>; Sun, 16 Jul 2000 17:32:41 -0400 (EDT)
Message-ID: <000201bfef6e$10c5c220$ab8a6395@xxxxxxx>
From: "Walter Lake" <wlake@xxxxxxxxx>
To: "Metastock bulletin board" <metastock@xxxxxxxxxxxxx>
Subject: moving pearson correl
Date: Sun, 16 Jul 2000 15:49:32 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
Status:   

Thanks for your emails

Here's the moving pearson correlation from expo that you were looking for.

http://www.lmt-expo.com/xpl.htm

They have their own programming language "XPL ... time-series programming
language ..."

Best regards

Walter

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

/* Moving Pearson Correlation */
/* SK 13FEB98 - changed this from macro to XPL func, changed calcualtion to
   deal properly with NAs.       */
_movpcorfunc( s1, s2, n )
(
/* Each series should have NAs wherever either series has an NA.  */
_tct_nas = s1 + s2 - s1 - s2;

_tct_s1 = s1 + _tct_nas;
_tct_s2 = s2 + _tct_nas;

_tct_s1_avg = movavg( s1 , n ) + _tct_nas;
_tct_s2_avg = movavg( s2 , n ) + _tct_nas;

_tct_numerator = real(movavg( ( _tct_s1 - _tct_s1_avg ) * ( _tct_s2 -
_tct_s2_avg ) , n , -1 , 1)) + _tct_nas;
_tct_denom_x_part = real(movavg( (_tct_s1 - _tct_s1_avg)^2 , n , -1 , 1 )) +
_tct_nas;
_tct_denom_y_part = real(movavg( (_tct_s2 - _tct_s2_avg)^2 , n , -1 , 1 ));
_tct_denominator = sqrt( _tct_denom_x_part * _tct_denom_y_part );

_tct_retval = _tct_numerator / _tct_denominator;
_tct_retval = extract( _tct_retval , n , -1 );
return( _tct_retval );
)

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

These are the moving average functions

MOVAVG(series, points, rampflag, sum_only, type, factor, perform_on, lag,
lag_amt)

PURPOSE: "Smoothes" a series by averaging around each point.

series A window or variable reference.

points Integer. The number of points to average as the series is processed.

rampflag (Optional). Integer flag. Method of calculating first n points in
the series. Options are: 0 - show "ramp-in" edge of moving average; 1 -
Average by n, even for first n points (default).

sum_only (Optional).  Integer flag, which if set to 1, or TRUE, produces a
moving sum (rather than a moving average).

type (Optional).  Type of moving average to perform, where options are: 0 -
Normal (default); 1 - Modified ; 2 - Weighted; 3 - Exponential; 4 - Hamming;
5 - Hanning ; 6 - Kaiser; 7 - Modified Exponential.

factor (Optional).  If type is 3 (exponential), the decay factor. If  type
is 0 or 1, factor is ignored. Options are: 0..1 - FIR function is
used; -1..0 - IIR function is used.

perform_on (Optional).  Integer. If input series consists of multiple
columns (e.g., CHLO bars), this number indicates on which series to perform
the moving average. Defaults to 0, i.e., the first valid series.

lag (Optional).  Integer flag. Options are: 1 - lag the moving average; 0  -
do not lag (default).

lag_amt (Optional).  If lag is 1, or TRUE, the amount by which to lag the
moving average. If lag_amt is set to 0, then the moving average is lagged by
1/2 of the length of the input series.