以下是通达信五里1号源码副图(无源码的请下载附件导入)
DRAWGBK(C>0, RGB(0,108,108),RGB(88,0,0),0,'11',0);生命线:=MA(C,60);
牛熊线:=MA(C,120);
DRAWBAND(生命线,RGB(200,50,55),牛熊线,RGB(0,100,50));
DRAWKLINE(H,O,L,C);
压力:MA(REF(HHV(C,30),1),2),COLOR00FF00;
支撑:MA(REF(LLV(C,30),1),2),COLOR0000FF;
中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF0000,LINETHICK2;
IF(中>=REF(中,1), 中 ,DRAWNULL),LINETHICK2,COLOR00FFFF,;
上: BBI+3*STD(BBI,10),COLOR00FF00,CIRCLEDOT;
下: BBI-3*STD(BBI,10),COLOR0000FF,CIRCLEDOT;
安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;
TJ1:=下*1.05>中 AND 中*1.05>上 AND 中>=REF(中,1) AND REF(中,1)>=REF(中,2);
TJ2:=LLV(REF(VOL,1),60);
VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
VAR92:=VAR91/5;
LB:=V/VAR92;
TJ8:=C>LLV(LOW,120)*1.38;
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
GG:=(VAR6 >= VAR7) AND (VAR6 >= VAR8) AND (CLOSE > OPEN);
TJ3:=LB>2 OR VOL/REF(VOL,1)>2 AND GG;
WLT1:EMA(C,3);
WLT2:EMA(C,5);
WLT3:=EMA(WLT2,5);
QQ:= C<上;
MM:=WLT1<REF(WLT1,1);
DD:=QQ AND MM;
TJ6:=COUNT(DD,7)=1;
TJ7:=C<LLV(LOW,250)*2.1;
XG:=FILTER(TJ1 AND TJ7 AND TJ3,5) AND C<支撑*1.13;
DRAWICON(XG,L,23);
DRAWICON(TJ6 AND MM AND TJ8 AND 上>中*1.1,HIGH*1.01,19);
TJ81:=中>=REF(中,1) AND LAST( 中<=REF(中,1),8,1) AND CROSS(C,中) AND C<支撑*1.13;
TJ82:=中>=REF(中,1) AND LAST( 中<=REF(中,1),5,1) AND CROSS(C,中) AND C<HHV(H,55)*0.72 AND C<支撑*1.13;
DRAWICON(TJ81,LOW*0.97,26);
DRAWICON(TJ82,LOW*0.99,25);
DRAWTEXT(TJ82 OR TJ81,L*0.98,'布林牛'),COLOR00FFFF;
DRAWBAND(WLT1,RGB(200,50,55),WLT2,RGB(0,100,50));
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000099;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLOR0000FF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999900;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFF00;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFFFF;
STICKLINE(TJ82 OR TJ81 ,O,(C+O)/2,5,0 ),COLOR00FFFF;
遵:IF(WLT1>=WLT2,WLT1,DRAWNULL),COLORRED;
守:IF(WLT2>=WLT1,WLT2,DRAWNULL),COLORFF9900;
纪:IF(WLT1>=WLT2,WLT2,DRAWNULL),COLOR00FFFF;
律:IF(WLT2>=WLT1,WLT1,DRAWNULL),COLOR00FF00;
IF(生命线>=牛熊线,生命线,DRAWNULL),COLORRED;
IF(牛熊线>=生命线,牛熊线,DRAWNULL),COLORFF9900;
IF(生命线>=牛熊线,牛熊线,DRAWNULL),COLOR00FFFF;
IF(牛熊线>=生命线,生命线,DRAWNULL),COLOR00FF00;
DRAWTEXT_FIX(1,0.0,0.06,0,DYBLOCK),COLOR0079FF;
DRAWTEXT_FIX(1,0.06,0.06,0,HYBLOCK),COLORFFFFFF;
DRAWTEXT_FIX(1,0.12,0.06,0,EXTERNSTR(0,10)),COLOR0077FF;
DRAWTEXT_FIX(1,0,0.12,0,STRCAT('千股千评:',EXTERNSTR(0,1)));
DRAWTEXT_FIX(1,0,0.18,0,STRCAT('年报业绩:',EXTERNSTR(0,8))),COLORFF00FF;
DRAWTEXT_FIX(1,0,0.24,0,STRCAT('智能诊断:',EXTERNSTR(0,12))),COLOR0000FF;
DRAWTEXT_FIX(1,0.0,0.00,0,'★五里理念★: ★趋势为先,看长做短, 5线分仓, 波段操作★
★★严守纪律, 坚决止损★★ ★★★永远不要让个股的亏损超过5-7℅!★★★'),COLORFF66FF;
62066829.png
|