logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Wednesday, June 15, 2022 4:21:22 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 91 times
Was thanked: 155 time(s) in 150 post(s)

John Ehlers’ article “Correlation as a Trend Indicator” discusses using correlation to an upward sloping line as a means to determine an instrument's trend. The MetaStock version of the Correlation Trend Indicator is below: 

Correlation Trend Indicator:

Formula:

Code:
pds:= Input("Number of periods", 5, 200, 20);
Correl(Cum(1), C, pds, 0)

Users browsing this topic
Guest (Hidden)
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.