SG:=EMA(HHV(HIGH,1),8);
股票四大指标:=EMA(CLOSE,8);{通达信公式-通达信指标www.gs6699.com}
准确率:=((股票四大指标 < REF(股票四大指标,1)) AND (CLOSE < 股票四大指标));
ssee1:=IF(((SG < REF(SG,1)) OR 准确率),1,0);
LC:=REF(CLOSE,1);
ssee2:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;
ccss1:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
ccss3:=45,COLORMAGENTA;
ccss2:=50,COLORGRAY;
ccss4:=80,COLORRED;
ccss5:=20,COLORGREEN;
ccss6:=5,COLORBLUE;
ccss7:=ssee2<ccss2 AND REF(ssee2,1)>ccss2 ;
PP:=ssee2<ccss3 AND REF(ssee2,1)>ccss3 ;
ccss8:=ssee2<ccss5 AND REF(ssee2,1)>ccss5;
ccss9:(((((COUNT((ssee1 = 1),4) = 3) AND (ssee1 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(ccss8,1) OR REF(PP,1))),COLORYELLOW,NODRAW;
STICKLINE(ccss9,3,2,1,0),COLORRED;
STICKLINE(ccss9,2,1,2,0),COLORFF00FF;
STICKLINE(ccss9,1,0,4,0),COLORMAGENTA;