股票与指数走势相关度

适用周期: 不限周期
公式代码:
code:=CODE()
close:=CLOSE
index:=INTRAINDEX('999999.SH','CODE')
indexc:=INTRAINDEX('999999.SH','CLOSE')
pair:=STATS_BY(code,index)
cf:=↑STATS_CORR(close,indexc)
结果示例: