CJL1:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
{DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF; }
DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL1),COLOR0099FF;
{STICKLINE((CJL1),L,L*1111111,100,1),COLOR0099FF,LINETHICK9;}
工作线:=EMA(CLOSE,14),COLORFFFFFF;
生命线:=EMA(CLOSE,47);
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.030 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
STICKLINE(VAR327>90,L*0.99,L*0.95,4,0),COLORGREEN;
STICKLINE(VAR327>90 AND CJL1,L*9,L*0.999,2,0),COLORMAGENTA;
DRAWTEXT(VAR327>90,LOW*66,'追涨'),COLORGREEN;
日:=120; 昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
HIGH1:=REFDATE(高1,DATE),COLORRED,LINETHICK3;
HIGH2:=REFDATE(H1,DATE),COLORYELLOW,LINETHICK3;
LOW2:REFDATE(H5,DATE),COLORYELLOW,LINETHICK9;
LOW1:=REFDATE(低1,DATE),COLORGREEN,LINETHICK3;
DRAWBAND(C,RGB(55,0,0),LOW2,RGB(0,91,0));
STICKLINE(CLOSE>LOW2,OPEN,CLOSE,3,0), COLORRED;
STICKLINE(CLOSE=LOW2,OPEN,CLOSE,3,0), COLORRED;
STICKLINE(CLOSE>LOW2,LOW,OPEN,0.0,0), COLORRED;
STICKLINE(CLOSE=LOW2,LOW,OPEN,0.0,0), COLORRED;
STICKLINE(CLOSE>LOW2,CLOSE,HIGH,0.0,0),COLORRED;
STICKLINE(CLOSE=LOW2,CLOSE,HIGH,0.0,0),COLORRED;
STICKLINE(CLOSE<LOW2,CLOSE,OPEN,2,0), COLORGREEN;
STICKLINE(CLOSE=LOW2,CLOSE,OPEN,2,0), COLORGREEN;
STICKLINE(CLOSE<LOW2,OPEN,LOW,0.0,0), COLORGREEN;
STICKLINE(CLOSE=LOW2,OPEN,LOW,0.0,0), COLORGREEN;
STICKLINE(CLOSE<LOW2,HIGH,CLOSE,0.0,0),COLORGREEN;
STICKLINE(CLOSE=LOW2,HIGH,CLOSE,0.0,0),COLORGREEN;
DRAWICON(CROSS(C,LOW2) AND TIME<=0932 AND L,L,23);