1011 1 80
The slope indicator measures the rise-over-run of a linear regression , which is the line of best fit for a price series. Fluctuating above and below zero, the Slope indicator best resembles a momentum oscillator without boundaries. It is not well suited for overbought/oversold levels, but can measure the direction and strength of a trend. It can also be used with other indicators do identify potential entry points within an ongoing trend. (http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:slope)
Remove from Favorite Scripts Add to Favorite Scripts
study("Slope")
lrp = input(2, title="Linear Regression Period")
stf = input(2, title="Slope Time Frame")
lr = linreg(close, lrp, 0)
ch = lr-lr[stf]
plot(ch/stf)
hline(0)
thanks. on stockcharts there is only 1 variable to set for the time whereas your program has 2 variables for both the slope time frame & linear regression period?
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out