欧欧 欧欧量化 2024年08月20日 08:00 广西 主图K线上直观的显示资金进出流量,黄色均线为持股线,蓝色虚线为空仓观望期。红色牛头为进场信号。所属板块:=STRCAT('【所属板块】:',STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [概念]—',GNBLOCK)));风格板块:=STRCAT('【风格板块】:',STRCAT(STRCAT(' [地域]—',DYBLOCK),STRCAT(' [风格]—',FGBLOCK)));总股本:=STRCAT(STRCAT(' 总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');流通盘:=STRCAT(STRCAT(' 流通盘:',CON2STR(CAPITAL/1000000,2)),'亿');全流通:=STRCAT(STRCAT(' 流通比:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');市值:=STRCAT(STRCAT(' 流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');股本市值:=STRCAT('【股本市值】:',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));净资收益率:=STRCAT(' 净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));当前业绩:=STRCAT('【当前业绩】:',STRCAT(STRCAT(市盈率,净资收益率),主营利润率));DRAWTEXT_FIX(ISLASTBAR,0.005,0.02,0,所属板块),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR ,0.005,0.07,0,风格板块),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0.005,0.17,0,当前业绩),COLORMAGENTA;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;STICKLINE(C/REF(C,1)>=1.097 AND H>L AND H=C,C,O,3,0),COLORMAGENTA;STICKLINE(REF(C,1)/C>=1.097 AND H>L AND H=C,C,O,3,0),COLORLIBLUE;STICKLINE(H/REF(C,1)>=1.097 AND H>C AND H=C,H,C,0,0),COLORMAGENTA;STICKLINE(REF(C,1)/L>=1.097 AND H>L AND H=C,C,L,0,0),COLORLIBLUE; AAV:=VOL/((H-L)*2-ABS(C-O));牛股1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C<OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2)),NODRAW;牛股2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AAV*(HIGH-LOW),0-VOL/2)),NODRAW;净流入:=(牛股1+牛股2)/99,NODRAW;DRAWTEXT(净流入>=200 AND 牛股3>=3,L*0.995,VARCAT(VARCAT('净买:',VAR2STR(净流入,0)),'万')),COLORYELLOW;DRAWTEXT(净流入<-200 AND 牛股3<=-2,H*1.01,VARCAT(VARCAT('流出:',VAR2STR(净流入,0)),'万')),COLORGREEN;DRAWTEXT(净流入>=200 AND 牛股3>=3 AND 占比>=15 ,L*0.965,VARCAT(VARCAT('占比:',VAR2STR(占比,0)),'%')),COLORMAGENTA;A:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L,NODRAW;B1:=REF(BARSLAST(A),1),NODRAW;XX2:=CROSS(C,AO) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 NODRAW;XX2B:=CROSS(C,KMJNHB1) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 AND H=C;KMJNHB2:=FILTER(XX2B,30),COLORMAGENTA;A3A:=A3P+(AO-A3P)*0.7,NODRAW;XX2C:=CROSS(C,A3A) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 ;KMJNHBP:=FILTER(XX2C,30),COLORMAGENTA;牛头:XX2A OR KMJNHB2 OR KMJNHBP,NODRAW;强势牛头:FILTER(XX2C AND UUJ,30),NODRAW;STICKLINE(XX2A OR KMJNHB2 OR KMJNHBP, O,C, 3,0),COLORYELLOW;STICKLINE(XX2A OR KMJNHB2 OR KMJNHBP, C,H, 0,0),COLORYELLOW;STICKLINE(XX2A OR KMJNHB2 OR KMJNHBP, O,L, 0,0),COLORYELLOW;DRAWTEXT(XX2A OR KMJNHB2 OR KMJNHBP ,L*0.98,'强势牛头'),COLOR0000FF;动能1:=MA(C,5),COLORYELLOW;抛点:=(H-动能1)/动能1*100>=20 AND H>C;DRAWTEXT(抛点,H*1.02,'抛'),COLORGREEN;减点:=AB>=15 AND AB<20 AND H>C;DRAWTEXT(A1,H*1.02,'减'),COLORGREEN;动能1A:=MA(C,3),COLORYELLOW;动能2:EMA(动能1A,2),COLORBLUE,DOTLINE;动能3:EMA(动能2,2),COLORBLUE,DOTLINE;动能4:EMA(动能3,2),COLORBLUE,DOTLINE;动能5:=EMA(动能4,2),COLORBLUE,DOTLINE;动能6:=EMA(动能5,2),COLORBLUE,DOTLINE;动能7:=EMA(动能6,2),COLORBLUE,DOTLINE;动能8:=EMA(动能7,2),COLORBLUE,DOTLINE;动能9:=EMA(动能8,2),COLORBLUE,DOTLINE;Q1:IF(动能1A>动能2,动能2,DRAWNULL),COLORYELLOW,LINETHICK2;CRFDES5:=DYNAINFO(88)/10000,NODRAW;CRFDES6:=DYNAINFO(7),NODRAW;STICKLINE(C/REF(C,1)>=1.097 AND H=C AND CRFDES6=C,C,O,3,0), COLORMAGENTA;KK:=(C/REF(C,1)-1)*100>9.8 AND H=C AND H<>L,COLORMAGENTA;DRAWTEXT(CRFDES6=C AND KK ,L*1.035,VARCAT(VAR2STR(CRFDES5,0),'万★封单资金')),COLORWHITE;CRFDES8:=DYNAINFO(88)/DYNAINFO(10)*100,NODRAW;DRAWTEXT(CRFDES6=C AND KK ,L*1.01,VARCAT(VAR2STR(CRFDES8+5,0),'★系数')),COLORGREEN; A:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L;XX2:=CROSS(C,AO) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10;XX2B:=CROSS(C,KMJNHB3) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 AND H=C;KMJNHB2:=FILTER(XX2B,30);XX2C:=CROSS(C,A3A) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10;KMJNHBP:=FILTER(XX2C,30);XG:XX2A OR KMJNHB2 OR KMJNHBP;
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
|