SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: Chris G. who wrote (3009)1/13/1998 1:15:00 PM
From: TechTrader42  Read Replies (1) | Respond to of 11149
 
Chris: That's where I'm headed in this slope imbroglio, if I don't slip to the bottom. I want to get a scan that gives the slope of indicators such as MACD and Dahl. It would be easy to use the simpler formula for slope that Jeff Grover Sugas gave, but I'm looking for a snazzier formula that uses linear regression. As I said to Sean, I use the MSWIN and Window on Wall Street formula for slope with Dahl, like this:

slope(fml("Dahl's primary trend"),3)>0

So stay tuned. We'll eventually solve the riddle of the MSWIN formula. Then all sorts of slope formulas will be worked out for indicators. If I give up on the MSWIN formula, I'll use another formula I have, which uses simple moving averages, comparing moving averages of two periods.

Brooke



To: Chris G. who wrote (3009)1/13/1998 1:20:00 PM
From: TechTrader42  Read Replies (2) | Respond to of 11149
 
P.S.: Here's Jeff Grover's slope formula, ready to run:

//Slope by Jeff Grover

output="slope.lst";

DaysToLoad = 500;

float b, refday, daysback, y, x, slope;

b := 0; // don't believe this matters
refday := 0; // end day
daysback := 15; // days back to calculate from
y := close(0) - close(refday-daysback); // "rise" over number of days
x := refday-daysback; // "run" or number of days
slope := (y - b) / x; // slope = rise / run

println Symbol , "," , " Slope:", slope;