同花顺WR和CCI合一指标公式[好查股公式]
2021/12/27 18:35:24
N:=14;
N1:=10;
N2:=6;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
cci:(TYP-ma(TYP,N))/(0.015*AVEDEV(TYP,N));
wr1:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
WR2:100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
A:100;
B:-100;
好查股公式指标