Discussions
»
Product and Service Development
»
MetaStock
»
How can i calculate the slope of trend line?
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 8/24/2012(UTC) Posts: 3
|
hi, i want to determine the slope of a linear regression line. I want the value to appear on the chart. the slope of the LR line is based on scaling of the underlying curve, oscillator or indicator. What i want to calculate is the slope based on time(x axis) vs price(y axis) (m=rise/run) would appreciate any help
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
I'd measure the change in the linear regression line using ROC() and then divide by the same number of periods I used in that ROC() function.
Read the MS User Manual and then do the basic exercises in the free Equis Formula Primer and you'll easily achieve this simple programming project.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 8/24/2012(UTC) Posts: 3
|
Hi wabbit many thanks for a prompt reply. An elementary querry-the linear regression is that of OBV. Will measuring the ROC of this line give the slope of the LR of OBV line? And how to get the result to show on the chart? TY
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
algae wrote:An elementary querry-the linear regression is that of OBV. Will measuring the ROC of this line give the slope of the LR of OBV line? And how to get the result to show on the chart? wabbit wrote:Read the MS User Manual and then do the basic
exercises in the free Equis Formula Primer and you'll easily achieve
this simple programming project.
wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
How can i calculate the slope of trend line?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.