精 彩 內(nèi) 容 呈 現(xiàn) 個股漲幅:(C-REF(C,1))/REF(C,1)*100,COLORRED,NODRAW; 行業(yè)漲幅:(HY_INDEXC-REF(HY_INDEXC,1))/REF(HY_INDEXC,1)*100,COLORYELLOW,NODRAW; 大盤漲幅:(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100,COLORCYAN,NODRAW; A1:=MA(LLV(C,N)*1.1,P); A2:=MA(HHV(C,M)*0.9,P); DPC:=INDEXC; A3:=MA(LLV(DPC,N)*1.1,P); A4:=MA(HHV(DPC,M)*0.9,P); HYC:=HY_INDEXC; A31:=MA(LLV(HYC,N)*1.1,P); A41:=MA(HHV(HYC,M)*0.9,P); A5:=(A1+A2)/2; A6:=(A3+A4)/2; A61:=(A31+A41)/2; A71:=C-A5-A5*(A61-EXPMEMA(HYC,3))/A61;{強于行業(yè)} A7:=C-A5-A5*(A6-EXPMEMA(DPC,3))/A6;{強于大盤} 能量釋放強大盤:=(A7>=0)*A7,COLORRED,NODRAW; 能量釋放強行業(yè):=(A71>=0)*A71,COLORYELLOW,NODRAW; LTP:=C*CAPITAL/100,;{萬股} ER:=VOL/LTP; A8:=ER<2 AND C>O AND C>MA(C,7) AND MA(C,7)>MA(C,37) AND A7>-0.9 AND VOL>MA(VOL,5); {脈沖拉升:A8,COLORLIMAGENTA,NODRAW; STICKLINE(A8,(A7>=0)*A7*1.7,0,0.8,-1)COLORLIMAGENTA;} STICKLINE((A71>=0)*A71,(A7>=0)*A7*1.4,0,2,-1)COLORYELLOW; STICKLINE((A71<0)*A71,(A7<0)*A7*1.4,0,2,-1)COLORCYAN; STICKLINE((A7<0)*A7,0,(A7<0)*A7*1.2,3,0),COLOR779900; STICKLINE((A7<0)*A7,0,(A7<0)*A7*1.2,2.2,0),COLOR77BB00; STICKLINE((A7<0)*A7,0,(A7<0)*A7*1.2,1.5,0),COLOR77DD00; STICKLINE((A7<0)*A7,0,(A7<0)*A7*1.2,0.5,0),COLOR77FF00; STICKLINE((A7>=0)*A7,0,(A7>=0)*A7*1.2,3,0)COLOR000099; STICKLINE((A7>=0)*A7,0,(A7>=0)*A7*1.2,2.2,0),COLOR0000BB; STICKLINE((A7>=0)*A7,0,(A7>=0)*A7*1.2,1.5,0),COLOR0000DD; STICKLINE((A7>=0)*A7,0,(A7>=0)*A7*1.2,0.5,0),COLOR0000FF; DRAWRECTREL(487,5,999,999,0); DRAWRECTREL(1,5,487,999,RGB(0,0,51)); DRAWTEXT_FIX(ISLASTBAR,0.01,0.85,0,STRCAT(STRCAT('【情緒共振】 ',CON2STR(DRAWNULL,0)),' ')),COLORWHITE; DRAWTEXT_FIX(ISLASTBAR AND 個股漲幅>=行業(yè)漲幅,0.25,0.85,1,STRCAT(STRCAT(' 個股強 ',CON2STR(DRAWNULL,0)),' ')),COLORRED; DRAWTEXT_FIX(ISLASTBAR AND 個股漲幅<行業(yè)漲幅,0.25,0.85,1,STRCAT(STRCAT(' 個股弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN; DRAWTEXT_FIX(ISLASTBAR AND 大盤漲幅<=行業(yè)漲幅,0.35,0.85,1,STRCAT(STRCAT(' 行業(yè)強 ',CON2STR(DRAWNULL,0)),' ')),COLORRED; DRAWTEXT_FIX(ISLASTBAR AND 大盤漲幅>行業(yè)漲幅,0.35,0.85,1,STRCAT(STRCAT(' 行業(yè)弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN; DRAWTEXT_FIX(ISLASTBAR AND REF(大盤漲幅,1)<=大盤漲幅,0.45,0.85,1,STRCAT(STRCAT(' 大盤強 ',CON2STR(DRAWNULL,0)),' ')),COLORRED; DRAWTEXT_FIX(ISLASTBAR AND REF(大盤漲幅,1)>大盤漲幅,0.45,0.85,1,STRCAT(STRCAT(' 大盤弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN; DRAWTEXT_FIX(ISLASTBAR,0.01,0.75,0,STRCAT(STRCAT('【量能基因】今日量',CON2STR(V/10000,2)),'萬')),COLORWHITE; G今量比昨量:=V/REF(V,1); D今量比昨量:=INDEXV/REF(INDEXV,1); H今量比昨量:=HY_INDEXV/REF(HY_INDEXV,1); JLZL1:=STRCAT('個股比昨: ',CON2STR(G今量比昨量,2)); JLZL2:=STRCAT(' 行業(yè)比昨: ',CON2STR(H今量比昨量,2)); JLZL3:=STRCAT(' 大盤比昨: ',CON2STR(D今量比昨量,2)); ZTTJ0:=STRCAT(JLZL1,JLZL2); ZTTJ1:=STRCAT(ZTTJ0,JLZL3); DRAWTEXT_FIX(CURRBARSCOUNT=1,0.19,0.75,0,ZTTJ1),COLORYELLOW; DRAWTEXT_FIX(C>O,0.01,0.01,0,'更多精彩指標公式,,請關注微信公眾號:通達信指標公式'),COLORYELLOW; 換手率%:=VOL/((FINANCE(7)-FINVALUE(244))/100)*100,NODRAW; 溫和活躍:=IF(CAPITAL<500000,換手率%<7,IF(CAPITAL>=500000 AND CAPITAL<1000000,換手率%<5, IF(CAPITAL>=1000000 AND CAPITAL<10000000,換手率%<3, IF(CAPITAL>=10000000 AND CAPITAL<50000000,換手率%<1,IF(CAPITAL>=50000000,換手率%<0.5,DRAWNULL))))); 異動活躍:=IF(CAPITAL<500000,換手率%>7 AND 換手率%<=10,IF(CAPITAL>=500000 AND CAPITAL<1000000,換手率%>5 AND 換手率%<=7, IF(CAPITAL>=1000000 AND CAPITAL<10000000,換手率%>3 AND 換手率%<=5, IF(CAPITAL>=10000000 AND CAPITAL<50000000,換手率%>1 AND 換手率%<=3,IF(CAPITAL>=50000000,換手率%>0.5 AND 換手率%<=1,DRAWNULL))))); 非?;钴S:=IF(CAPITAL<500000,換手率%>10 AND 換手率%<=14,IF(CAPITAL>=500000 AND CAPITAL<1000000,換手率%>7 AND 換手率%<=10, IF(CAPITAL>=1000000 AND CAPITAL<10000000,換手率%>5 AND 換手率%<=7, IF(CAPITAL>=10000000 AND CAPITAL<50000000,換手率%>3 AND 換手率%<=5,IF(CAPITAL>=50000000,換手率%>1 AND 換手率%<=3,DRAWNULL))))); 高度活躍:=IF(CAPITAL<500000,換手率%>14 AND 換手率%<=20,IF(CAPITAL>=500000 AND CAPITAL<1000000,換手率%>10 AND 換手率%<=14, IF(CAPITAL>=1000000 AND CAPITAL<10000000,換手率%>7 AND 換手率%<=10, IF(CAPITAL>=10000000 AND CAPITAL<50000000,換手率%>5 AND 換手率%<=7,IF(CAPITAL>=50000000,換手率%>3 AND 換手率%<=5,DRAWNULL))))); 極度活躍:=IF(CAPITAL<500000,換手率%>20,IF(CAPITAL>=500000 AND CAPITAL<1000000,換手率%>14, IF(CAPITAL>=1000000 AND CAPITAL<10000000,換手率%>10, IF(CAPITAL>=10000000 AND CAPITAL<50000000,換手率%>7,IF(CAPITAL>=50000000,換手率%>5,DRAWNULL))))); DRAWTEXT_FIX(ISLASTBAR,0.01,0.65,0,STRCAT(STRCAT('【股性活躍】真實換手',CON2STR(換手率%,2)),'%')),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 溫和活躍,0.20,0.65,0,'溫和活躍'),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 異動活躍,0.20,0.65,0,'異動活躍'),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 非?;钴S,0.20,0.65,0,'非常活躍'),COLORLIRED; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 高度活躍,0.20,0.65,0,'高度活躍'),COLORLIMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 極度活躍,0.20,0.65,0,'極度活躍'),COLORRED; 漲停:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),(C+0.01)>ZTPRICE(REF(C,1),0.05),IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),(C+0.01)>ZTPRICE(REF(C,1),0.2), (C+0.01)>ZTPRICE(REF(C,1),0.1))) AND C=H; ZTCS:=COUNT(漲停,BARSSINCE(漲停)+1); DRAWTEXT_FIX(ISLASTBAR,0.01,0.55,0,STRCAT(STRCAT('【漲停狀態(tài)】',CON2STR(DRAWNULL,0)),'')),COLORWHITE; 封單金額:=IF(FINANCE(3)==0,DRAWNULL,IF(GPJYVALUE(15,1,0)==2,GPJYVALUE(15,2,0),IF(GPJYVALUE(15,2,0)=0 AND 漲停,DYNAINFO(58)*DYNAINFO(20)*100/10000,0))),COLORYELLOW; 漲停溢價:=封單金額/(DYNAINFO(7)*CAPITAL*100/10000)*100; 漲停溢價高:=漲停 AND 漲停溢價>20; 漲停溢價中:=漲停 AND 漲停溢價>5 AND 漲停溢價<20; 漲停溢價低:=漲停 AND 漲停溢價<5; 失控板1:=漲停 AND VOL>HHV(REF(VOL,1),2)*2.1; 失控板2:=漲停 AND (C-REF(C,2))/REF(C,2)*100>=20 ; 失控板:=失控板1 AND 失控板2; 加速板:=漲停 AND NOT(失控板) AND (VOL<=REF(VOL,1)*0.7 OR VOL<=REF(VOL,2)*0.5); 分歧板:=漲停 AND NOT(失控板) AND NOT(加速板) ; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 失控板,0.20,0.55,0,'失控板'),COLORLIRED; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 分歧板,0.20,0.55,0,'分歧板'),COLORLIMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 加速板,0.20,0.55,0,'加速板'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 漲停溢價低,0.35,0.55,0,'漲停溢價低'),COLORLIRED; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 漲停溢價中,0.35,0.55,0,'漲停溢價中'),COLORLIMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 漲停溢價高,0.35,0.55,0,'漲停溢價高'),COLORRED; B11:=BARSLASTCOUNT(漲停); 連續(xù)板:=(B11>1 AND REFX(NOT(漲停),1)) OR (REF(漲停,1) AND 漲停 AND ISLASTBAR); {DRAWTEXT(連續(xù)板,H*0.95,VARCAT(VAR2STR(B11,0),'天連板'))COLORYELLOW;} DRAWTEXT_FIX(1 AND 連續(xù)板,0.30,0.55,1,STRCAT(STRCAT('【',CON2STR(B11,0)),'天連板】')),COLORRED; DRAWTEXT_FIX(1,0.980,20,1,'Q微同號★章魚哥2280279789'),COLOR666666; DRAWTEXT_FIX(C!=0,0.14,0.05,0,'★ ===================★'),COLORRED; DRAWTEXT_FIX(C!=0,0.14,0.1,0,'龍 | 中 '),COLORRED; DRAWTEXT_FIX(C!=0,0.14,0.15,0,'頭 | 廣 '),COLORRED; DRAWTEXT_FIX(C!=0,0.14,0.2,0,'駕 | 資 '),COLORRED; DRAWTEXT_FIX(C!=0,0.14,0.25,0,'到 | 本 '),COLORRED; DRAWTEXT_FIX(C!=0,0.14,0.3,0,'★ ===================★'),COLORRED; DRAWTEXT_FIX(C!=0,0.18,0.1,0,'拒做鳳尾,,只做龍頭'),COLORYELLOW; DRAWTEXT_FIX(C!=0,0.18,0.15,0,'買入分歧,,賣出一致'),COLORYELLOW; DRAWTEXT_FIX(C!=0,0.18,0.2,0,'強于預期,積極出擊'),COLORYELLOW; DRAWTEXT_FIX(C!=0,0.18,0.25,0,'弱于預期,,謹慎防守'),COLORYELLOW; 參數(shù)設置 使用說明: 無 |
|