主图
{题材数据}
DRAWTEXT_FIX(1,0.16,0.02,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.251,0.02,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,1.2,0.66,6,'')COLORYELLOW,LINETHICK9;
DRAWTEXT_FIX(1,0.40,0.02,0,GNBLOCK);
DRAWTEXT_FIX(1,0.22,0.08,0,FGBLOCK);
DRAWTEXT_FIX(1,0.9,0.9,0,''),COLOR00FFFF;
{主图右上角涌现年月日}
NA:=STRCAT(CON2STR(YEAR,0),' 年 ');
YA:=STRCAT(CON2STR(MONTH,0),' 月 ');
RA:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(NA,YA), RA);
DRAWTEXT_FIX(C>0,0.80,0.08,0,SJ);
{主图左下角涌现沪深总高潮及着落派别}
涨停价:REF(CLOSE,1)*1.1,COLORMAGENTA,NODRAW;{涌现当日涨停的价钱}
AAA1:=STRCAT('沪深总高潮派别:',CON2STR(DYNAINFO(60),0));
AAA2:=STRCAT('沪深总着落派别:',CON2STR(DYNAINFO(61),0));
DRAWTEXT_FIX(ISLASTBAR,0,1.05,0,AAA2),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0.90,0,AAA1),COLORRED;
{板块排行}
LHHY:=HORCALC(HYBLOCK,105,1,DRAWNULL),NODRAW ;
LHHZ:=HORCALC(HYBLOCK,105,0,0),NODRAW ;
PPZH:=STRCAT(HYBLOCK,' 排行 :');
DRAWTEXT_FIX(ISLASTBAR,0.75,0.016,0,STRCAT(PPZH,CON2STR(LHHY,0))),COLORYELLOW;
DRAWTEXT_FIX(1,0.90,0.016,0,STRCAT('板块涨幅: ',CON2STR(LHHZ,3))),COLORLIRED;
{主图}
M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
M250:=MA(C,250),COLORYELLOW,DOTLINE;
MM:=MIN(M5,M20);
MM2:=MIN(M10,M20);
HM:=MAX(M5,M20);
HM2:=MAX(M10,M20);
TC1:DRAWBAND(MM,RGB(255,0,0),MM2,0);
{TC2:DRAWBAND(HM2,RGB(0,255,255),HM,0);}
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORGREEN;
MA20:MA(C,20),COLORMAGENTA;
{涨停代码}
STICKLINE(CLOSE/REF(C,1)>=1.09,O,C,2.7,0),COLORMAGENTA;
封单占流畅盘比:(DYNAINFO(58)/CAPITAL*100),COLORMAGENTA;
{秀美}
A1:=EXIST(CROSS(MA(C,5),MA(C,10)),3);
A2:=EXIST(CROSS(MA(C,5),MA(C,20)),3);
A3:=CROSS(MA(C,10),MA(C,20));
A4:=MA(C,20)>=REF((MA(C,20)),1);
全军会师:=A1 AND A2 AND A3 AND A4;
市集:=CODELIKE('60') OR CODELIKE('30') OR CODELIKE('00');
相对低位:=C<1.5*LLV(L,240);
条目:全军会师 AND 市集 AND 相对低位;
STICKLINE(条目,C,O,2.7,0),COLOR0000FF;
DRAWTEXT(条目,L,'会师'),COLORFF00FF;
成交量:=VOL>REF(MA(VOL,5),1)*2;
DRAWTEXT(成交量,L*0.98,'进'),COLORFFFFFF;
量过前五付图
VOLUME:V,VOLSTICK;
MA120:MA(V,120),COLORMAGENTA,LINETHICK1;
过五:=V>REF(V,1) AND V>REF(V,2) AND V>REF(V,3) AND V>REF(V,4) AND V>REF(V,5);
STICKLINE( 过五,0,V,1,0),COLORYELLOW;
{缩倍量变色}
{A1:=V<REF(V,1)*0.5;
V,VOLSTICK;
STICKLINE(A1,0,VOL,3,0),COLORMAGENTA;}
{高度控盘}
VAR1:=MA(C,37);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;
初始控盘:=IF(A10,5,0),LINETHICK1,COLORBROWN;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;
量过前五选股
成交量:VOL>REF(MA(VOL,5),1)*2;
全军会师选股
{全军5.10.20会师选股}
A1:=EXIST(CROSS(MA(C,5),MA(C,10)),3);
A2:=EXIST(CROSS(MA(C,5),MA(C,20)),3);
A3:=CROSS(MA(C,10),MA(C,20));
A4:=MA(C,20)>=REF((MA(C,20)),1);
全军会师:=A1 AND A2 AND A3 AND A4;
市集:=CODELIKE('60') OR CODELIKE('30') OR CODELIKE('00');
相对低位:=C<1.5*LLV(L,240);
选股:全军会师 AND 市集 AND 相对低位;
本站仅提供存储行状,所有这个词执行均由用户发布,如发现存害或侵权执行,请点击举报。