通達(dá)信] 通達(dá)信綜合籌碼--最全面的籌碼圖指標(biāo)公式(副圖 源碼) 源碼 變量00:=5;變量01:=30; A02:=(WINNER((CLOSE*1.100)) *100.000); A03:=(WINNER((CLOSE*0.9))*100.000); A04:=MA(A03,變量00); STICKLINE(1.000,0,A04,1,-1),COLOR000033; A06:=(100.000-MA(A02,變量00)); STICKLINE(1.000,100.000,MA(A02,變量00),1,-1),COLOR333300; A08:=(MA(A02,變量00)-MA(A03,變量00)); STICKLINE(1.000,A04,MA(A02,變量00),1,-1),COLOR006699; A0A:=(((((HHV(A04, 15.000) - A03) / A03)*100.000)>變量01) AND (HHV(A04, 15.000)>50.000)); STICKLINE(A0A,(0-2.000),2.000,8.000,0),COLORRED; STICKLINE(NOT(A0A),(0-2.000),2.000,8.000,0),COLORGREEN; 獲利:MA(A03,變量00),COLORRED,LINETHICK1; 套牢:(100.000-MA(A02,變量00)),COLORCYAN,LINETHICK1; 浮動(dòng):(MA(A02,變量00)- MA(A03,變量00)),COLORYELLOW,LINETHICK1; HSL:=EMA(V/CAPITAL,3); ZDL:=HHV(HSL,240); ZXL:=LLV(HSL,240); XS:=MA(C,33); X4:=EMA(C,20); 鎖定:EMA((HSL-ZXL)/ZXL*XS,13)/10,LINETHICK0; 二十斜:(X4-REF(X4,1))/REF(X4,1)*100,LINETHICK0; 十換手:SUM(VOL,10)/CAPITAL*100,LINETHICK0; ZLCM:=EMA(WINNER(CLOSE)*70,3); SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); ZSHTL:=SHCM/(ZLCM+SHCM)*100; ZZLKP:=ZLCM/(ZLCM+SHCM)*100; 主控度:(ZZLKP),LINETHICK0,COLORRED; SHORT:=12; LONG:=26; MID:=9; DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); MACD:=(DIF-DEA)*2; N:=9; M1:=3; M2:=3; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,M1,1); D:=SMA(K,M2,1); J:=3*K-2*D; 換手率:=VOL/CAPITAL*100; A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; 中線:=EMA(X,13); AAA:=(3*C+L+O+H)/6; C2:=EMA(AAA,6); C3:=EMA(AAA,5); 短線:=EMA(CLOSE,17); 上漲天數(shù):=BARSLAST(短線<中線); N1:=5; N4:=34; CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4)); SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4)); 飽和度:=IF(SAT>1,1,SAT)*100; W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); 突破:=W4 AND COUNT(W4,5)=1; 峰頂:=飽和度>=97 AND CQ>90; 短期:=100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1)); KAAAA:=EXIST(CROSS(C2,C3),2); KAAAB:=EXIST(MACD>0,4) AND MACD<0; KAAAC:=MA(VOL,10)>MA(VOL,5); KBBB:=EVERY(C>中線 AND O>中線,5); KCCC:=HHV(VOL,30)/VOL>量比; KDDD:=上漲天數(shù)<上漲; KEEE:=SUM(換手率,30)>換手; KFFF:=C>低價(jià) AND C<高價(jià); KHHH:=EXIST(峰頂,30) OR EXIST(突破,30); KJJJ:=C/中線<1+0.01*離線; KIII:=短期<深度; 游資:IF(KAAAA AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,100,0),COLORYELLOW,NODRAW; 主力:IF(KAAAB AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,80,0),COLORGREEN,NODRAW; 機(jī)構(gòu):IF(KAAAC AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH AND KJJJ AND KIII,60,0),COLORRED,NODRAW; STICKLINE(游資,0,38,1.5,0),COLORYELLOW; STICKLINE(主力,0,28,1,0),COLORGREEN; STICKLINE(機(jī)構(gòu),0,18,0.5,0),COLORRED; 獲利1:=WINNER(C)*100,COLOR0033FF,NODRAW; 短套:=EMA(100*(1-WINNER(1.10*C)),1),COLORFFDD00,NODRAW; 中套:=EMA(100*(1-WINNER(1.2*C)),1),COLORFF0000 ,NODRAW; 長(zhǎng)套:=EMA(100*(1-WINNER(1.5*C)),1),COLOR00FF00,LINETHICK2; STICKLINE(CURRBARSCOUNT=90,40,50,100,1),COLOR0033FF; STICKLINE(CURRBARSCOUNT=90,40,50,獲利1,0),COLOR0033AA; DRAWTEXT(CURRBARSCOUNT=116,51,'日獲利盤(pán):'),COLOR0033FF; DRAWNUMBER(CURRBARSCOUNT=108,51,CONST(獲利1)),COLOR0033FF; STICKLINE(CURRBARSCOUNT=90,60,70,100,1),COLORFFFF00; STICKLINE(CURRBARSCOUNT=90,60,70,短套,0),COLOR888800; DRAWTEXT(CURRBARSCOUNT=116,71,'短線套牢:'),COLORFFFF00; DRAWNUMBER(CURRBARSCOUNT=108,71,CONST(短套)),COLORFFFF00; STICKLINE(CURRBARSCOUNT=30,40,50,100,1),COLORFF6600; STICKLINE(CURRBARSCOUNT=30,40,50,中套,0),COLORFF6600; DRAWTEXT(CURRBARSCOUNT=56,51,'中線套牢:'),COLORFF9900; DRAWNUMBER(CURRBARSCOUNT=48,51,CONST(中套)),COLORFF9900; STICKLINE(CURRBARSCOUNT=30,60,70,100,1),COLOR00FF00; STICKLINE(CURRBARSCOUNT=30,60,70,長(zhǎng)套,0),COLOR008833; DRAWTEXT(CURRBARSCOUNT=56,71,'長(zhǎng)線套牢:'),COLOR00FF00; DRAWNUMBER(CURRBARSCOUNT=48,71,CONST(長(zhǎng)套)),COLOR00FF00; |
|
來(lái)自: 昵稱3129357 > 《通達(dá)信炒股指標(biāo)》