通達信CCI上穿指標(biāo)公式
短線機會:C>MA(C,5) AND MA(C,5)>REF(MA(C,5),1),COLORYELLOW; STICKLINE(短線機會,0,50,2,0); -100,LINESTICK,COLORGRAY; 0,COLORGRAY; 100,COLORGRAY; N:=14; DIF:EMA(CLOSE,12) - EMA(CLOSE,26); DEA:EMA(DIF,9); MACD:(DIF-DEA)*2; 主力潛伏:COUNT(MACD<0,10)=10,COLORRED; STICKLINE(主力潛伏,0,MACD*200,8,0),COLORRED; MA20:=MA(C,20); MA20角度:ATAN((MA20/REF(MA20,1)-1)*100)*180/3.14159,COLORYELLOW; TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLOR00A0F0; IF(CCI>100,CCI,DRAWNULL),COLORRED; IF(CCI<-100,CCI,DRAWNULL),COLORGREEN;
作者:大鵝
|