相關標簽:
自用好主圖指標公式源碼MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA21:MA(CLOSE,21),COLORMAGENTA;MA48:MA(CLOSE,48),COLORRED;MA89:MA(CLOSE,89),COLORGREEN;MA144:MA(CLOSE,144),COLORBLUE;年線:MA(CLOSE,288),COLORWHITE;神線:MA(CLOSE,576),COLORYELLOW;MA60:=MA(C,60);最大值:=MAX(MAX(MAX(MA5,MA10),MAX(MA21,MA48)),MAX(MAX(MA89,MA144),年線));最小值:=MIN(MIN(MIN(MA5,MA10),MIN(MA21,MA48)),MIN(MIN(MA89,MA144),年線));乖離:(最大值/最小值-1)*100,NODRAW;IF(MA5>=MA10,MA5,DRAWNULL),LINETHICK2,COLORWHITE;IF(MA10>=MA21,MA10,DRAWNULL),LINETHICK2,COLORYELLOW;IF(MA21>=MA48,MA21,DRAWNULL),LINETHICK2,COLORMAGENTA;IF(MA48>=MA89,MA48,DRAWNULL),LINETHICK2,COLORRED;IF(MA89>=MA144,MA89,DRAWNULL),LINETHICK2,COLORGREEN;IF(MA144>=年線,MA144,DRAWNULL),LINETHICK2,COLORBLUE;IF(年線>=神線,年線,DRAWNULL),LINETHICK2,COLORWHITE;IF(神線>=REF(神線,1),神線,DRAWNULL),LINETHICK2,COLORYELLOW;多頭:=((MA5>REF(MA5,1))+(MA10>REF(MA10,1))+(MA21>REF(MA21,1))+(MA48>REF(MA48,1))+(MA89>REF(MA89,1)) +(MA144>REF(MA144,1))+(年線>REF(年線,1))+(神線>REF(神線,1)))>=5;倍量:=V>REF(V,1)*1.9 AND C>O ;量比:=V/REF(MA(V,5),1)>2 AND C>O ;千里馬:=乖離<8 AND C>=最大值 AND 倍量 AND 量比;DRAWICON(千里馬,L,1);DRAWTEXT(千里馬,最小值*0.98,'低調買');獲利盤:100*WINNER(C),NODRAW;套牢盤:100*(1-WINNER(C)),NODRAW;五六零乖離:IF(MA60>MA5,(MA60/MA5-1)*100,(MA5/MA60-1)*100),NODRAW;季報:FINANCE(37),NODRAW,COLORRED;每股凈營運比:C/(FINANCE(11)-FINANCE(15))*FINANCE(1),NODRAW,COLORGREEN;{市值比(流動資產-流動負債)}應收占比:FINANCE(22)/FINANCE(20)*100,NODRAW,COLORGREEN;{應收占營收}存貨占比:FINANCE(27)/FINANCE(10)*100,NODRAW,COLORGREEN;{存貨比總資產}固比:FINANCE(12)/FINANCE(10)*100,NODRAW,COLORGREEN;{固定資產比總資產}總周轉率:FINANCE(20)/FINANCE(10),NODRAW,COLORGREEN;毛利率:(FINANCE(20)-FINANCE(21))/FINANCE(20)*100,NODRAW,COLORYELLOW;凈利率:FINANCE(30)/FINANCE(20)*100,NODRAW,COLORYELLOW;ROE:FINANCE(30)/FINANCE(19)*100,NODRAW,COLORYELLOW;流率:FINANCE(11)/FINANCE(15),NODRAW,COLORRED;速率:(FINANCE(11)-FINANCE(27))/FINANCE(15),NODRAW,COLORRED;權益比:FINANCE(19)/FINANCE(10)*100,NODRAW,COLORRED;PS:FINANCE(41)/FINANCE(20),NODRAW,COLORRED;PB:C/FINANCE(34),NODRAW,COLORRED;PCF:C/FINANCE(25)*FINANCE(1),NODRAW,COLORRED;營收同比:FINANCE(44),NODRAW,COLORYELLOW;凈利同比:FINANCE(43),NODRAW,COLORYELLOW;PEG:C/FINANCE(33)/FINANCE(44),NODRAW,COLORGREEN;{PEG=PE/企業營收增長率}PEG2:C/FINANCE(33)/FINANCE(43),NODRAW,COLORGREEN;{PEG=PE/企業凈利增長率}EM:FINANCE(33)/FINANCE(25)*FINANCE(1),NODRAW,COLORGREEN;{每股收益比每股現金流};抄底:=CROSS(C,MA5) AND EXIST(獲利盤<1,3) AND 五六零乖離>24;DRAWTEXT(抄底,L,'抄底');{WWW.88GS.COM}Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLOR0000FF;DRAWTEXT_FIX(1,0.00,0.00,0,'主題投資:')COLOR0000FF;DRAWTEXT_FIX(1,0.07,0.00,0,EXTERNSTR(0,1))COLOR0000FF;DRAWTEXT_FIX(1,0.00,0.08,0,'主營業務:')COLORFF00FF;DRAWTEXT_FIX(1,0.07,0.08,0,EXTERNSTR(0,2))COLORFF00FF;