Discussions
»
Product and Service Development
»
Formula Assistance
»
How can I calculate the correlation between 2 instrument in Explorer?
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/17/2008(UTC) Posts: 21 Location: Houston, TX
Thanks: 2 times
|
I tried to use this formula which I found under the MetaStock support and just change from the RSI(14) indicator to an instrument (.SPX) instead, but the Explorer will not recognize the instrument.Correl(((Sum(Cum(1)*(RSI(14)),100))-(Sum(Cum(1),100)* Sum((RSI(14)),100)/100))/((Sum(Power(Cum(1),2),100))-(Power(Sum(Cum(1),100),2)/100)), ((Sum(Cum(1)*C,100))-(Sum(Cum(1),100)*Sum(C,100)/100))/((Sum(Power(Cum(1),2),100))- (Power(Sum(Cum(1),100),2)/100)),12,0)
Thx in advance, Robin
|
|
|
|
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)
|
rasj wrote:I tried to use this formula which I found under the MetaStock support and just change from the RSI(14) indicator to an instrument (.SPX) instead, but the Explorer will not recognize the instrument.Correl(((Sum(Cum(1)*(RSI(14)),100))-(Sum(Cum(1),100)* Sum((RSI(14)),100)/100))/((Sum(Power(Cum(1),2),100))-(Power(Sum(Cum(1),100),2)/100)), ((Sum(Cum(1)*C,100))-(Sum(Cum(1),100)*Sum(C,100)/100))/((Sum(Power(Cum(1),2),100))- (Power(Sum(Cum(1),100),2)/100)),12,0)
Thx in advance, Robin
The full method to call price data via formula is via the "Security function":
Security(".SPX",C)
|
1 user thanked MS Support for this useful post.
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
How can I calculate the correlation between 2 instrument in Explorer?
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.