{V型突破主圖} HGW1:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億'); HGW2:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億'); HGW3:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2)); HGW4:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億'); HGW5:=STRCAT(' 上市日期: ',CON2STR(FINANCE(42),0)); HGW6:=STRCAT('股本市值:公眾號(hào) 龍鳳相聚 ',STRCAT(STRCAT(STRCAT(STRCAT(HGW1,HGW2),HGW3),HGW4),HGW5)); HGW7:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2)); HGW8:=STRCAT(' 市銷率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2)); HGW9:=STRCAT(' 市凈率: ',CON2STR(C/FINANCE(34),2)); HGW10:=STRCAT(' 凈資收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2)); HGW11:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)); HGW12:=STRCAT(' 凈利潤(rùn)率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2)); HGW13:=STRCAT(' 主營(yíng)利潤(rùn)率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2)); HGW14:=STRCAT('當(dāng)前業(yè)績(jī): ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(HGW7,HGW8),HGW9),HGW10),HGW11),HGW12),HGW13)); HGW15:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2; HGW16:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4; HGW17:=FINANCE(23)/FINANCE(10)*3.3; HGW18:=FINANCE(19)/FINANCE(15)*0.6; HGW19:=FINANCE(20)/FINANCE(15)*0.999; HGW20:=HGW15+HGW16+HGW17+HGW18+HGW19; HGW21:=IF(HGW20<1.2,'重警',IF(HGW20>=1.2 AND HGW20<2.6,'輕警','無警')); HGW22:=STRCAT('財(cái)務(wù)預(yù)警: ',STRCAT(HGW21,STRCAT('-Z值: ',CON2STR(HGW20,3)))); HGW23:=STRCAT(' 優(yōu)質(zhì)資產(chǎn)率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2)); HGW24:=STRCAT(' 現(xiàn)金負(fù)債比: ',CON2STR(FINANCE(25)/FINANCE(15),3)); HGW25:=STRCAT('風(fēng)險(xiǎn)系數(shù): ',STRCAT(STRCAT(HGW22,HGW23),HGW24)); DRAWTEXT_FIX(ISLASTBAR,0.005,0.01,0,HGW25),COLOR888888; DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,HGW14),COLOR888888; DRAWTEXT_FIX(ISLASTBAR,0.005,0.115,0,HGW6),COLOR888888; HGW26:=LLVBARS(L,60); HGW27:=BARSLAST(CURRBARSCOUNT=CONST(HGW26)+1); HGW28:=FINDHIGHBARS(H,HGW26+1,60,1); 突破線:DRAWLINE(CURRBARSCOUNT=CONST(HGW28)+1,H,ISLASTBAR,REF(H,HGW28),0),COLORFFFFFF,LINETHICK2; HGW29:=BARSLAST(CURRBARSCOUNT=CONST(HGW28)+1); DRAWLINE(HGW29=0,H,HGW27=0,L,0),COLORFF8000,LINETHICK2; HGW30:=IF(C>O OR (C=O AND C>=REF(C,1)),VOL,0); HGW31:=IF(C<O OR (C=O AND C<REF(C,1)),VOL,0); HGW32:=SUM(HGW30,HGW27)/SUM(HGW31,HGW27); HGW33:=COUNT(CROSS(C>=突破線,0.5),HGW27+1)=1 AND CROSS(C>=突破線,0.5) AND HGW32>1.5; DRAWICON(HGW33,L,9); DRAWTEXT(HGW33,L*0.98,'←突破'),COLORYELLOW; STICKLINE(HGW33,C,O,2,0),COLORYELLOW; STICKLINE(HGW33,H,L,0,0),COLORYELLOW; DRAWTEXT(HGW27=0,L*0.98,'←V型底'),COLORYELLOW; HGW34:=BARSLAST(CROSS(C,REF(H,HGW29))); HGW35:=C/REF(H,HGW29); HGW36:=BARSLAST(HGW35=HHV(HGW35,HGW34+1)); HGW37:=(C-REF(C,HGW36+1))/REF(C,HGW36+1)*100; HGW38:=L/REF(H,HGW29); HGW39:=HGW37<-8 AND HGW38<1.075 AND MIN(C,O)*1.005>=REF(H,HGW29); HGW40:=BARSLAST(COUNT(HGW39,HGW34+1)=1 AND HGW39); 指標(biāo)論壇:=BACKSET(HGW40=0,HGW36+1); 指標(biāo)策略:=BARSLAST(CROSS(指標(biāo)論壇=1,0.5)); HGW66:=REFX(HGW37,BARSNEXT(HGW40=0)); DRAWICON(CROSS(HGW40=0,0.5),L*0.99,1); DRAWTEXT(CROSS(HGW40=0,0.5),L*0.980,'←回踩'),COLORYELLOW; DRAWLINE(HGW34=0,REF(H,HGW29),指標(biāo)策略=0,REF(H,指標(biāo)策略),0),DOTLINE,COLORYELLOW; DRAWLINE(指標(biāo)策略=0,REF(H,指標(biāo)策略),HGW40=0,REF(H,HGW29),0),DOTLINE,COLORYELLOW; DRAWTEXT(HGW29=0,REF(H,HGW29)*1.05,VARCAT(VARCAT('壓力價(jià):',VAR2STR(REF(H,HGW29),2)),'元'))COLORYELLOW; DRAWLINE(指標(biāo)策略=0,REF(H,指標(biāo)策略)*1.05,指標(biāo)策略=10,REF(H,指標(biāo)策略)*1.05,0),COLORWHITE,LINETHICK3; DRAWTEXT(指標(biāo)策略=0,REF(H,指標(biāo)策略)*1.01,VARCAT(VARCAT('信號(hào)處跌幅:',VAR2STR(HGW66,2)),'%'))COLORYELLOW; {V型突破選股} HGW12:=LLVBARS(L,60); HGW13:=BARSLAST(CURRBARSCOUNT=CONST(HGW12)+1); HGW14:=FINDHIGHBARS(H,HGW12+1,60,1); HGW15:=DRAWLINE(CURRBARSCOUNT=CONST(HGW14)+1,H,ISLASTBAR,REF(H,HGW14),0); HGW17:=IF(C>O OR (C=O AND C>=REF(C,1)),VOL,0); 指標(biāo)策略:=IF(C<O OR (C=O AND C<REF(C,1)),VOL,0); HGW66:=SUM(HGW17,HGW13)/SUM(指標(biāo)策略,HGW13); XG:COUNT(CROSS(C>=HGW15,0.5),HGW13+1)=1 AND CROSS(C>=HGW15,0.5) AND HGW66>1.5;
|
|