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

Notification

Icon
Error

Options
Go to last post Go to first unread
ohad@altris.co.il  
#1 Posted : Sunday, November 27, 2016 9:39:04 AM(UTC)
ohad@altris.co.il

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 9/13/2016(UTC)
Posts: 4

Hi,

I want to create a very simple formula which involves the correlation function in metastock. For example's sake- lets suppose I want to create a formula -         7 * Correlation (paper1,paper2,5,2). 

The problem is that the formula editor will always require me specify specific stocks, but I want the new formula to be Verstatile. Meaning - I don't want to specify the data path each time I examine 2 different stocks.

Is there a way to accomplish this?

Thanks for any help you could offer regarding the issue

MS Support  
#2 Posted : Wednesday, November 30, 2016 4:33:50 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
Hi,

There has to be some sort of constant in the data array fields, so you cannot have a dynamic symbol field through the formula language for two different items. There is a "P" variable that allows you to select a 'plot' on a chart and have this be the value of p, but you would not be able to have two different p variables in the same formula. You could use the built-in correlation indicator which allows you to select two different plots. You can select multiple plots on a chart by clicking the first plot, then Shift+Clicking the second plot.

Edited by user Wednesday, November 30, 2016 4:34:25 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest (Hidden)
Similar Topics
Correlation formula (or process) ? (Formula Assistance)
by TomHam 4/15/2024 2:12:07 AM(UTC)
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.