主圖 {灰色K} 粘線(O>=C,H,L,0,0),COLOR909090; 粘線(O>=C,C,O,3.1,0),COLOR606060; 粘線(O>=C,C,O,3.1,0),COLOR707070; STICKLINE(O>=C,C,O,1.2,0),COLOR808080; 粘線(O>=C,C,O,0.2,0),COLOR909090; 粘線(O<=C,H,L,0,0),COLOR666B6F; 粘線(C>O,C,O,3.1,1),COLOR666B6F; V2V:=V/REF(V,1)>=1.9 且 C>REF(C,1); MA1:=EXPMEMA(收盤價(jià),3); MA2:=EXPMEMA(收盤價(jià),5); MA3:=EXPMEMA(收盤價(jià),8); MA4:=EXPMEMA(收盤價(jià),10); MA5:=EXPMEMA(收盤價(jià),12); MA6:=EXPMEMA(收盤價(jià),35); MA7:=EXPMEMA(收盤價(jià),40); MA8:=EXPMEMA(收盤價(jià),45); MA9:=EXPMEMA(收盤價(jià),50); MA10:=EXPMEMA(收盤價(jià),60); 跌:=EMA(C,120),LINETHICK1,POINTDOT,COLORGREEN; {漲:IF (跌>REF(跌,1),跌,0),LINETHICK2,CIRCLEDOT,COLORGREEN;} 紅:=MA(C,120),LINETHICK1,POINTDOT,COLORGREEN; {綠:IF (紅>REF(紅,1),紅,0),LINETHICK2,CIRCLEDOT,COLORFF0080;} A24:=EMA(C,24); IF(A24>=REF(A24,1),A24,DRAWNULL),COLORFF00FF,LINETHICK1; A55:=EMA(C,55); IF(A55>=REF(A55,1),A55,DRAWNULL),COLORCYAN,LINETHICK1; A77:=EMA(C,77),點(diǎn)線; IF(A77>=REF(A77,1),A77,DRAWNULL),彩色,LINETHICK1; 效果:=O<=MIN(MA1,MIN(MA2,MIN(MA3,MIN(MA4,MA5))))AND C>=MAX(MA1,MAX(MA2,MAX(MA3,MAX(MA4,MA5)))); A01:=MIN(O,C); B01:=ABS(OC); A02:=MAX(O,C); :=O<=MIN(MA1,MIN(MA2,MIN(MA3,MIN(MA4,MIN(MA5,MIN(MA6,MIN(MA7,MIN(MA8, 最小值(MA9,MA10)))))))))和 C>=MAX(MA1,MAX(MA2,MAX(MA3,MAX(MA4,MAX(MA5, MAX(MA6,MAX(MA7,MAX(MA8,MAX(MA9,MA10))))))))); STICKLINE(焦點(diǎn),H,L,0,1),COLORYELLOW; STICKLINE(網(wǎng)格,C,O,3.1,0),COLOR117777; STICKLINE(網(wǎng)格,C,O,2.6,0),COLOR119999; STICKLINE(焦點(diǎn),C,O,1.9,0),COLOR11BBBB; STICKLINE(焦點(diǎn),C,O,1.1,0),COLOR11DDDD; STICKLINE(網(wǎng)格,C,O,0.3,0),COLOR44FFFF; STICKLINE(效果,A01,A01+B01/6,3.1,0),COLOR880088; STICKLINE(效果,A01,A01+B01/6,2.5,0),COLOR990099; STICKLINE(效果,A01,A01+B01/6,2.0,0),COLORBB00BB; STICKLINE(效果,A01,A01+B01/6,1.5,0),COLORDD00DD; STICKLINE(效果,A01,A01+B01/6,0.7,0),COLORFF00FF; 主力籌碼提示:=EMA(WINNER(CLOSE)*70,3),NODRAW,LINETHICK0; 散戶籌碼提示:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW; 散戶籌措牢次數(shù):=散戶籌碼提示/(主力碼提示+散戶籌碼提示)*100,NODRAW; 主力籌募盤占比:=主力籌碼提示/(主力籌碼提示+散戶籌碼提示)*100,NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.85,0.84,0,'■主力籌碼提示:'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.92,0.84,0,'%'),COLORMAGENTA; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.90,0.84,0,主力籌碼提示),COLORMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.85,0.93,0,'■主力控盤種類:'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.92,0.93,0,'%'),COLORMAGENTA; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.90,0.93,0,主力控盤部分),COLORMAGENTA; {風(fēng)險(xiǎn)系數(shù)} X1:=(財(cái)務(wù)(11)-財(cái)務(wù)(15))/財(cái)務(wù)(10)*1.2; X2:=(財(cái)務(wù)(31)+財(cái)務(wù)(17))/財(cái)務(wù)(10)*1.4;{盈余公積用資本公積金代替} X3:=財(cái)務(wù)(23)/財(cái)務(wù)(10)*3.3; X4:=FINANCE(19)/FINANCE(15)*0.6;{缺長(zhǎng)期保管或保管資金} X5:=財(cái)務(wù)(20)/財(cái)務(wù)(15)*0.999; LC:=REF(收盤,1); WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; 籌款碼:=CONST(WINNER(C)*100); 周六:=(金額/C)/(HHV(金額,20)/HHV(C,20)); 水量能滲:=(IF(SAT>1,1,SAT)*100); WR10:=(HHV(高,3)-收盤)/(HHV(高,3)-LLV(低,3))*100; 激活:=(WRSI-WR10); 活性度比:=IF(活性>=0,(活性+100)/2,100-ABS((活性-100)/2)); DRAWTEXT_FIX(1,0.992,0.84,1,STRCAT(STRCAT('量能滲漏:',CON2STR(量能滲漏,2)),'%')),COLORMAGENTA; DRAWTEXT_FIX(1,0.992,0.88,1,STRCAT(STRCAT('活性度比:',CON2STR(活性度比,2)),'%')),COLORMAGENTA; DRAWTEXT_FIX(1,0.992,0.92,1,STRCAT(STRCAT('盈利籌碼:',CON2STR(盈利籌碼,2)),'%')),COLORMAGENTA; {DRAWTEXT_FIX(1,0.82,0.00,1,'大盤趨勢(shì):'),COLORRED; DRAWTEXT_FIX( CONST(INDEXC) >SAR(4,2,20),0.85,0.00,1,'∧向上∧'),COLORRED; DRAWTEXT_FIX( CONST(INDEXC) >SAR(4,2,20),0.85,0.03,1,'∧∧∧∧'),COLORRED; DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.85,0.00,1,'∨向下∨'),COLORGREEN; DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.85,0.03,1,'∨∨∨∨'),COLORGREEN;} {DRAWTEXT_FIX(CURRBARSCOUNT=1,0.60,0.93,0,'數(shù)據(jù)日期:'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.80,0.93,0,' 財(cái)報(bào)更新第:'),COLORRED; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.90,0.93,0,FINANCE(37)),,COLORMAGENTA; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.70,0.93,0,MACHINEDATE+19000000),COLORMAGENTA;}; 副圖1 籌碼密集度:(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE,COLORYELLOW,LINETHICK3; X_1:=REF(HHV(籌碼密集度,20),0); X_2:=REF(HHV(籌碼密集度,3),0); X_3:=REF(LLV(籌碼密集度,20),0); X_4:=REF(LLV(籌碼密集度,3),0); 籌碼線:EMA(COST(99),181),POINTDOT,COLORFF0080,LINETHICK5; X_5:=LONGCROSS(籌碼密集度,籌碼線,60); DRAWICON(LONGCROSS(籌碼密集度,籌碼線,60),籌碼線,42); X_6:=VOL/CAPITAL*100; X_7:=VOL/CAPITAL*100; X_8:=MA(X_7,30); X_9:=MA(X_7,60); X_10:=MA(X_7,250); X_11:=MIN(X_9*1.1,X_10*1.1); X_12:=25*CROSS(X_6,X_11*2)*2; X_13:=45*CROSS(X_7,X_8); X_14:=BARSLAST(X_13); 優(yōu)選點(diǎn):(X_12 AND X_14<=2 AND (CLOSE/REF(CLOSE,1)-1)*100>=3)*7,NODRAW; STICKLINE(優(yōu)選點(diǎn),籌碼線,籌碼線*1.1,1,0),COLORMAGENTA; 副圖2 歷史量比:VOL/MA(VOL,5); 換手:VOL*100/CAPITAL,STICK; 二日換手:SUM(換手,2); 三日換手:SUM(換手,3); 五日換手:SUM(換手,5); 十日換手:SUM(換手,10); 二十日換手:SUM(換手,20); 三十日換手:SUM(換手,30); STICKLINE(換手<=1,0,VOL,3,0),COLORWHITE; STICKLINE(換手>1 AND 換手<=3 ,0,VOL,3,0),COLOR00FF00; STICKLINE(換手>3 AND 換手<=5 ,0,VOL,3,0),COLORF0F000; STICKLINE(換手>5 AND 換手<=8 ,0,VOL,3,0),COLOR8788F6; STICKLINE(換手>8 AND 換手<=10 ,0,VOL,3,0),COLORYELLOW; STICKLINE(換手>10 AND 換手<=15 ,0,VOL,3,0),COLORFF00FF; STICKLINE(換手>15 ,0,VOL,3,0),COLORRED; DRAWTEXT(換手<=1,VOL+1000,'1'),COLORYELLOW; DRAWTEXT(換手>1 AND 換手<=3,VOL+1000,'1'),COLORYELLOW; DRAWTEXT(換手>3 AND 換手<=5,VOL+1000,'3'),COLORYELLOW; DRAWTEXT(換手>5 AND 換手<=8,VOL+1000,'5'),COLORYELLOW; DRAWTEXT(換手>8 AND 換手<=10,VOL+1000,'8'),COLORYELLOW; DRAWTEXT(換手>10 AND 換手<=15,VOL+1000,'10'),COLORYELLOW; DRAWTEXT(換手>15,VOL-15000,' 15'),COLORYELLOW; 主力1:=IF(換手>10,V*0.9,V*0.1); 主力2:=IF(BETWEEN(換手,8,10),V*0.8,V*0.2); 主力3:=IF(BETWEEN(換手,5,8),V*0.6,V*0.4); 主力動(dòng)向:(主力1+主力2+主力3)/3,COLORRED,LINETHICK0; 散戶1:=IF(BETWEEN(換手,5,3),V*0.6,V*0.4); 散戶2:=IF(BETWEEN(換手,3,1),V*0.8,V*0.2); 散戶3:=IF(換手<1,V*0.9,V*0.1); 散戶動(dòng)向:(散戶1+散戶2+散戶3)/3,COLORYELLOW,LINETHICK0; MV1:EMA(V,9),COLOR0057FF; MV2:EMA(V,34),COLORF1910E; IF(MV1>MV2,MV1,DRAWNULL),COLORYELLOW; IF(MV1<MV2,MV2,DRAWNULL),COLORFF9900; DRAWBAND(MV1,RGB(155,0,0),MV2,RGB(0,100,0)); DRAWBAND(主力動(dòng)向,RGB(255,0,0),散戶動(dòng)向,RGB(0,150,0)); 副圖3 X_1:=EMA(CLOSE,6)-EMA(CLOSE,13); X_2:=EMA(X_1,4); X_4:=CROSS(X_1,X_2); X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; X_6:=SMA(X_5,3,1); X_7:=SMA(X_6,3,1); X_9:=CROSS(X_6,X_7); X_10:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4; X_11:=CROSS(CLOSE,X_10); X_12:=6; X_13:=REF(CLOSE,1); X_14:=ABS(HIGH-X_13); X_15:=ABS(LOW-X_13); X_16:=ABS(HIGH-REF(LOW,1)); X_17:=ABS(X_13-REF(OPEN,1)); X_18:=IF(X_14>X_15 AND X_14>X_16,X_14+X_15/2+X_17/4,IF(X_15>X_16 AND X_15>X_14,X_15+X_14/2+X_17/4,X_16+X_17/4)); X_19:=CLOSE-X_13+(CLOSE-OPEN)/2+X_13-REF(OPEN,1); X_20:=16*X_19/X_18*MAX(X_14,X_15); X_21:=SUM(X_20,0); X_22:=X_12; X_23:=交叉(X_21,X_22); X_24:=CLOSE-REF(CLOSE,12); X_25:=交叉(X_24,0); X_26:=X_4+X_9+X_11+X_23+X_25=3; X_27:=X_4+X_9+X_11+X_23+X_25=4; X_28:=X_4+X_9+X_11+X_23+X_25=5; X_29:=C>MA(C,20) AND MA(C,20)>REF(MA(C,20),1); X_26 或 X_27 或 X_28 和 X_29,; |
|