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

Re: [EquisMetaStock Group] Re: LinRegSlope



PureBytes Links

Trading Reference Links

Thank Preston That explains my problem.
 
Martin Blain
Burlington Ontario
----- Original Message -----
From: pumrysh
Sent: Sunday, January 30, 2005 8:12 PM
Subject: [EquisMetaStock Group] Re: LinRegSlope


Marty,

I have the article. The coding is not metastock as it suggest. There
is a sidebar with metastock code but this is not reproduced in the
Traders Tips section of the magazine or the website. The amibroker
code that I posted earlier is very similar to metastock and should be
relatively easy to decipher into metastock if anyone wants to play
with the system.

Try this for the normalized indicator that you requested:

.4;-.4;0;
LinRegSlope( C, 35 ) / Ref( C, -35 )*100;
LinRegSlope( C, 70 ) / Ref( C, -70 )*100;

The first line of code produces a horizontal line at .4,-.4, and 0.
The next line of code produces a 35 day normalized LinRegSlope
oscillator. The last line produces the same oscillator with a 70 day
period.

Preston


--- In equismetastock@xxxxxxxxxxxxxxx, "Marty" <martin@xxxx> wrote:
>
>
> Hello
> The following is from the Stocks and Commodities Mag.
> I have typed it in the best I can see but there appears to be
> problems. The idea is that it it produces a normalized indicator.
>
> LinRegSlope(C,35)/(C,35)*100>-35 and LinRegSlope(c,35)/C,35)*100<.4
> LinRegSlope(c,70)/(c,70)*100..4andLinRegSlope(c,70)/(c,70)*100<.4
> Where:LinRegSlope(c,35)is the slope(c,70)/(c,70)*100>-
> .4AndLinRegSlope(C,70)/(c,70)*100<.4
>
> Any help appreciated
> Martin Blain





Yahoo! Groups Links