資源描述:
《【股票指標(biāo)公式下載】-【通達(dá)信】DMI秀才(多、空)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、【通達(dá)信】DMI秀才(多、空)-指標(biāo)公式源碼TRYGB:=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);多:DMP*100/TRYGB,COLORWHITE,LINETHICK1;空:DMM*100/TRYGB,COLORYELLOW,LINETH
2、ICK1;ADX:EXPMEMA(ABS(空-多)/(空+多)*100,5),COLORRED,LINETHICK1;ADXR:EXPMEMA(ADX,3),COLORGREEN;DRAWBAND(多,RGB(100,10,10),空,RGB(10,100,10));DRAWBAND(ADX,RGB(250,10,10),ADXR,RGB(10,250,10));IF(空<多ANDADX>REF(ADX,1)ANDADX>=25,ADX,DRAWNULL),COLORRED,LINETHICK2;IF(空<多ANDADX>多ANDADX3、LL),COLORGREEN,LINETHICK1;IF(空>多AND空>REF(空,1)AND多[REF(ADX,1),ADX,DRAWNULL),COLORCYAN,LINETHICK2;IF(COUNT(多>=50,4)>=1AND多<=50ANDADX>=70,ADX,DRAWNULL),COLORYELLOW,LINETHICK2;VAR20:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR21:=(20*VAR20+19*REF(VAR20,1)+18*REF(VAR20,2)+17*REF(VAR20,3)+16*REF(V]
4、AR20,4)+15*REF(VAR20,5)+14*REF(VAR20,6)+13*REF(VAR20,7)+12*REF(VAR20,8)+11*REF(VAR20,9)+10*REF(VAR20,10)+9*REF(VAR20,11)+8*REF(VAR20,12)+7*REF(VAR20,13)+6*REF(VAR20,14)+5*REF(VAR20,15)+4*REF(VAR20,16)+3*REF(VAR20,17)+2*REF(VAR20,18)+REF(VAR20,21))/210;VAR22:=EMA(VAR21,15);VAR23:=HHV(CLOSE,90)
5、;VAR24:=LLV(CLOSE,90);VAR25:=VAR23-VAR24;VAR26:=EMA((CLOSE-VAR24)/VAR25-0.5,14);ZLSP:=VAR26*20;VAR27:=REF(HHV(CLOSE,66),2);VAR28:=CROSS(CLOSE,VAR27)AND(HHV(CLOSE,110)/LLV(CLOSE,110)-1)*100<45ANDZLSP<5.666;VAR29:=LLV(ZLSP,35)<-8.9ANDCROSS(ZLSP,-7.815)ANDZLSP<-1.2;VAR30:=10*FILTER(VAR29,41);VAR
6、31:=15*FILTER(VAR28,41)>10;STICKLINE(VAR31,10,30,1,0),COLORYELLOW;【通達(dá)信】DMI秀才(多、空)-指標(biāo)公式效果圖下載次數(shù):02010-12-1111:43下載(65.59KB)2010-12-1111:41(文檔來源:若水財(cái)經(jīng)社區(qū))