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

Re[2]: Bamboozled by "Easy" Language



PureBytes Links

Trading Reference Links

Bob's XAverage.V allows the use of a variable with XAverage.  The way I wrote it
is

Input: Len(3);
Var: Spread(0);
Spread = (Close Data1) / (Close Data2);

Plot1 (XAverage.V (Spread, Len),"RS");


____________________Reply Separator____________________
Subject: Re: Bamboozled by "Easy" Language
Author: Clint Chastain
Date:  10/31/98 12:15 AM

Well, I tried your suggestion. Same result: works ok with Average but gives
"unresolvable data number" error when I substitute XAverage. Seems to work
with Bob Fulk's XAverage.V fxn, however.

Please excuse my thick headedness on this.

Clint


-----Original Message-----
From: William Brower <1000mileman@xxxxxxxxxxxxxx>
To: Clint Chastain <flag@xxxxxxxxxxxx>; omega-list@xxxxxxxxxx
<omega-list@xxxxxxxxxx>
Date: Friday, October 30, 1998 9:07 PM
Subject: Re: Bamboozled by "Easy" Language


>There is a misconception that TS is incapable of handling this type of
>analysis.  The correct way to code this is to put the data number after the
>function as shown below.
>
>plot1(Average((C of Data1/C of Data2) data1,20),"RS");
>
>The other functions work the same way.
>
>At 03:11 PM 10/30/98 -0600, you wrote:
>>I know that there are many list members smarter than I when it comes to
>>programming.  So, I hope some one of you could take a moment to explain to
>>me why the following code does verify in power editor:
>>
>>( 1) plot1(Average((C of Data1/C of Data2),20),"RS");
>>
>>
>>Yet, the code below does not verify in power editor:
>>
>>(2) plot1(XAverage((C of Data1/C of Data2),20),"RS");
>>
>>
>>nor does this:
>>
>>(3) RS=XAverage((C of Data1/C of Data2),20);
>>(4) plot1(RS,"RS");
>>
>>
>>Statement (1) works fine. Statement (2) produces an error message along
the
>>lines of,  "unresolvable data number". Statements (3) and (4) produce an
>>error message along the lines of,  "variables and arrays not allowed
here".
>>
>>Clint
>>
>>
>
>William Brower
>Publisher of TS Express
>Email: 1000mileman@xxxxxxxxxxxxxx
>Web: http://www.insideedgesystems.com
>