PureBytes Links
Trading Reference Links
|
You will need the function derivativema. It is a great function to use I use it alot.
Here's the code
{********************************
DerivativeMA - By Dale Legan
Clear Lake Capital Managment
18333 Egrette Bay Blvd Suite 270
Houston TX 281-335-4983
Inputs: Price(Numeric), Length(Numeric);
VARS: DERIV(0),SUMD(0),LENG2(0),N1(0),DR(0);
DERIV= ((AVERAGE(Price,Length))*2) - AVERAGE(Price,Length)[1];
SUMD=Length*DERIV;
LENG2=length - 1 ;
N1= (AVERAGE(Price,LENG2))*LENG2;
DR=SUMD-N1;
DerivativeMA = DR;
-----Original Message-----
From: jocott@xxxxxxxxxx [SMTP:jocott@xxxxxxxxxx]
Sent: Tuesday, November 10, 1998 10:51 AM
To: Dale Legan
Subject: Re: Construction of trading signals
Hi Dale -
I pasted your confluence indicator and function into
Power Editor. Looking forward to a test. However,
indicator won't verify. Any suggestions?
Thanks,
John
|