指标源码: CC1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 机构线:EMA(CC1,5),LINETHICK2,COLOR6600FF; CC2:=(机构线-REF(机构线,1))/REF(机构线,1)*100; CC3:=EMA(C,5); CC4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势线MA(3*SMA(CC4,6,1)-2*SMA(SMA(CC4,5,1),5,1),2)),LINETHICK2,COLORYELLOW; CC5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; 底部:=(CC2<-10 AND CC2>REF(CC2,1))*25,COLORRED,LINETHICK2; 机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2; 大势已去:IF(CROSS(机构线,CC1)AND 机构线>70 AND 趋势线>80,90,100),COLORFF9900,LINETHICK2;
选股指标: CC1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 机构线:=EMA(CC1,5),LINETHICK2,COLOR6600FF;
CC2:=(机构线-REF(机构线,1))/REF(机构线,1)*100;
CC3:=EMA(C,5);
CC4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
CC5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
底部:=(CC2<-10 AND CC2>REF(CC2,1))*25,COLORRED,LINETHICK2;
机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2;
|