Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Slope of a Line for Metastock
star123
over 13 years ago
Metastock

Rating:
5 / 5 (Votes 1)
Tags:
oscillator, metastock, slope

The following custom formula returns the slope of a line. For example, this formula returns the slope of a 14 day run of the security’s closing prices.

Similar Indicators / Formulas

Slope of a Linear Regression Line
Submitted by star123 over 13 years ago
Polarized Fractal Efficiency by Hans Hannula
Submitted by kaiji over 13 years ago
3-10 Oscillator
Submitted by mayurs over 11 years ago
Relative Vigor Index
Submitted by vargasc1 almost 13 years ago
Bull and Bear Balance Indicator
Submitted by kaiji over 14 years ago

Indicator / Formula

Copy & Paste Friendly
( (14 * (Sum(Cum( 1 ) * C ,14 ) ) ) - (Sum(Cum( 1 ) ,14 ) * (Sum( C ,14) ) ) ) / ( (14 * Sum(Pwr (Cum( 1 ) ,2 ) ,14 ) ) - Pwr(Sum(Cum( 1 ) ,14 ) ,2 ) )

{To apply this to different lines you would replace C with the desired syntax for the line. For example the slope of a 25 period simple moving average would be:}
( ( Sum(Cum(1) * Mov(C,25,S),14) ) - (Sum(Cum(1),14) * Sum(Mov(C,25,S),14) / 14) ) / ( (Sum(Power(Cum(1),2),14) ) - (Power(Sum(Cum(1),14),2) / 14) )

{You could also make this a universal formula by using the P variable. You could then plot the formula on top of any line.}
( (14*(Sum(Cum(1)*P,14) ) ) - Sum(Cum(1),14)*(Sum(P,14 ) ) ) / ( (14*Sum(Pwr(Cum(1),2 ),14 ) )-Pwr(Sum(Cum(1),14),2 ) )

0 comments

Leave Comment

Please login here to leave a comment.

Back