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=#fffff0>
<DIV><FONT color=#000000 size=2>Recently switched from Dial Data to Prophet Data
(which is in Metastock format). Futures data only along with Continuous
and Noncontinuous contracts. Prophet automatically sets up and updates any
new contracts in each of the commodities. All data is stored in
c:\prophet\major\ then BP, BO, C, etc., etc. and updated daily in
these directories.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>The problem is how to set these up in the data
downloader. Using Corn as an example, I can set up a "New Chart", call
it Corn, go to the prophet directory and select Corn. It comes up as
"stock" "Chrysler" so I change it to Corn - CBOT Future but
when I go to the month in Corn, it's back to "Chrysler".
</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>If I import these commodities into the
downloader, how will they update daily? Do I need to set up each and every
commodity and all contract months (there are hundreds). </FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>Any help would certainly be
appreciated.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>Jim</FONT></DIV></BODY></HTML>
</x-html>From ???@??? Sun Dec 14 11:28:04 1997
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 KAA27040
for <neal@xxxxxxxxxxxxxxxx>; Sun, 14 Dec 1997 10:59:58 -0800 (PST)
Received: from mx1.eskimo.com (smartlst@xxxxxxxxxxxxxx [204.122.16.48])
by smtp3.nwnexus.com (8.8.7/8.8.7) with ESMTP id IAA04239
for <neal@xxxxxxxxxxx>; Sun, 14 Dec 1997 08:00:45 -0800 (PST)
Received: (from smartlst@xxxxxxxxx)
by mx1.eskimo.com (8.8.8/8.8.8) id HAA23180;
Sun, 14 Dec 1997 07:59:41 -0800
Resent-Date: Sun, 14 Dec 1997 07:59:41 -0800
X-Sender: bfulks@xxxxxxx
Message-Id: <v03102803b0b99d41d1c5@[158.140.103.202]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="============_-1330007335==_============"
Date: Sun, 14 Dec 1997 10:59:12 -0500
To: Omega-list@xxxxxxxxxx
From: Bob Fulks <bfulks@xxxxxxxxxxx>
Subject: T3 Moving Average from January TASC
Cc: twt@xxxxxxxxxxx
Resent-Message-ID: <"ax8eY.0.-f5.g90bq"@mx1>
Resent-From: omega-list@xxxxxxxxxx
X-Mailing-List: <omega-list@xxxxxxxxxx> archive/latest/12359
X-Loop: omega-list@xxxxxxxxxx
Precedence: list
Resent-Sender: omega-list-request@xxxxxxxxxx
Status:
I just received the January issue of Technical Analysis of Stocks &
Commodities and noticed the article "Smoothing Techniques for More Accurate
Signals", by Tim Tillson.
I decided to try to program the "T3" filter he described into EasyLanguage
by translating the MetaStock code.
I am not familiar with MetaStock code so had to guess at some things. The
result is given below and in the attached ELA file. It duplicates the
picture shown in figure 4 of the article, so I assume it is correct.
But I would appreciate anybody familiar with MetaStock code checking it
over to see if there are any obvious mistakes. (I substituted the variable
"b" for his variable "a" as "a" is a reserved work in EasyLanguage.)
Thanks.
Bob Fulks
{ *******************************************************************
Indicator : T3Average
Last Edit : 12/14/97
Provided By : Bob Fulks
Description : : This indicator plots the moving average described
in the January. 1998 issue of TASC, p57, "Smoothing Techniques
for More Accurate Signals", by Tim Tillson.
It uses the T3Average function.
********************************************************************}
Inputs: Price(Close), Periods(5);
Plot1(T3Average(Price, Periods),"T3");
{ *******************************************************************
Function : T3Average
Last Edit : 12/14/97
Provided By : Bob Fulks
Description : This function is an EasyLanguage version of the
moving average described in the January. 1998 issue of TASC,
p57, "Smoothing Techniques for More Accurate Signals", by Tim
Tillson. It is translated from the MetaStock code presented
in the article. The function uses a version of the XAverage,
written by me, which allows variables as inputs.
The variable, "Hot", is a damping coefficient which is set to
the suggested default value of 0.7. The variable "b" is
substituted for the variable, "a", used in the article since
"a" is a reserved word.
The resulting indicator plotting this function appears to
duplicate the results shown in Figure 4 of the article.
********************************************************************}
Inputs: Price(NumericSeries), Periods(NumericSimple);
Variables: b(0), e1(0), e2(0), e3(0), e4(0), e5(0), e6(0), c1(0),
c2(0), c3(0), c4(0), Hot(0.7);
b = Hot;
e1 = XAverage.V(Price, Periods);
e2 = XAverage.V(e1, Periods);
e3 = XAverage.V(e2, Periods);
e4 = XAverage.V(e3, Periods);
e5 = XAverage.V(e4, Periods);
e6 = XAverage.V(e5, Periods);
c1 = -b*b*b;
c2 = 3*b*b+3*b*b*b;
c3 = -6*b*b-3*b-3*b*b*b;
c4 = 1+3*b+b*b*b+3*b*b;
T3Average = c1*e6+c2*e5+c3*e4+c4*e3;
{ *******************************************************************
Function : XAverage.V
Last Edit : 11/2/96
Provided By : Bob Fulks
Description : This is a recoding of the XAverage function as a
"simple function" rather than as a "series function". For
correct results it must be evaluated on every bar, as is
normal for Omega simple functions.
********************************************************************}
inputs : Price(NumericSeries), Length(NumericSimple);
vars : Factor(0), XLast(0);
if Length + 1 <> 0
then begin
if CurrentBar <= 1
then begin
Factor = 2 / (Length + 1);
XAverage.V = Price;
XLast = Price;
end
else begin
Value1 = Factor * Price + (1 - Factor) * XLast;
XAverage.V = Value1;
XLast = Value1;
end;
end;
Attachment Converted: "c:\eudora\attach\T3.ELA"--
Bob Fulks
bfulks@xxxxxxxxxxx
|