cci刚过100的股票
chenologin2分享
时间:
如何让软件自动选出cci超过前日100的股票
cci大于100选股公式
TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;MA13:=MA(C,13);MA34:=MA(C,34);TJ1:=CROSS(C,MA(C,5));TJ2:=CROSS(MA13,MA34);CCI>100 AND MACD>0 AND TJ1 AND TJ2;
哪位朋友能编一个指标为7天,CCI下穿负100的通达信的选股和预警...
{CCI}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));{DMI趋向指标}MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/MTR;MDI:=DMM*100/MTR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);{薛斯通道II}薛AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 短下:=薛AA*(200-102)/100; XG:CCI<-100 AND ADX>60 AND CROSS(C,短下);