飞狐CCI+KD组合,副图,源码,说明
本指标组合进行了数据处理,当K与CCI双双在0轴下方时大底来临,当CCI在40以下,K值到达80以上时为阶段顶部,当CCI到达80附近而K值下穿80时见大顶.CCI与K双双在40以上运行时,进入强势区域.
N:=9;P1:=3;P2:=3;
均价:=(C+H+L)/3;
CCI:(均价-wMA(均价,98))/(0.015*AVEDEV(均价,98))/8+30;
做多:(3*SMA(CCI,5,1)+2*SMA(SMA(CCI,5,1),3,1))/5,COLORRED;
FILLRGN(CCI>做多,cci,做多),COLORBROWN;
FILLRGN(CCI<做多,cci,做多),COLORAAAA00;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:WMA(RSV,P1)-10,COLORWHITE;
D:SMA(K,P2,1),COLORYELLOW;
0,COLORGREEN;40,COLORWHITE;80,COLORRED;