CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,''),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(01,0.20,0.10.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.20.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.30.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.50.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.60.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.70.0,0,CJL),COLOR0099FF;
DRAWTEXT_FIX(01,0.20,0.80.0,0,CJL),COLOR0099FF;
上趋势:MA(LOW,20)*1.2,COLOR0080FF,LINETHICK1,NODRAW;
次上趋势:MA(LOW,20)*1.1 ,COLORYELLOW;
次下趋势:MA(HIGH,20)*0.9,COLORWHITE,NODRAW;
下趋势:MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1)));
STICKLINE(趋势强度=0,H,L,2,1),COLORBLUE;
STICKLINE(趋势强度=1,H,L,2,1),COLORGREEN;
STICKLINE(趋势强度=2,H,L,2,1),COLORGRAY;
STICKLINE(趋势强度=3,H,L,2,1),COLORYELLOW;
STICKLINE(趋势强度=4 AND TIME<=0945,H,L,3,0),COLORMAGENTA;
STICKLINE(趋势强度=0,C,O,2,0),COLORBLUE;
STICKLINE(趋势强度=1,C,O,2,0),COLORGREEN;
STICKLINE(趋势强度=2,C,O,2,0),COLORGRAY;
STICKLINE(趋势强度=3 ,C,O,2,0),COLORYELLOW;
STICKLINE(趋势强度=4,C,O,2,0),COLORMAGENTA;
DRAWTEXT(REF(趋势强度,1)=2 AND 趋势强度=1,H,'←主力出货'),COLORGREEN;
DRAWTEXT(REF(趋势强度,1)=3 AND 趋势强度=4,L,'←主力入场'),COLORMAGENTA;
DRAWTEXT(REF(趋势强度,1)=3 AND 趋势强度=2,H,'←主力洗盘'),COLORWHITE;
DRAWTEXT(REF(趋势强度,1)=1 AND 趋势强度=0,L,'←主力建仓'),COLORRED;
DRAWTEXT(REF(趋势强度,1)=2 AND 趋势强度=4,L,'←主力入场'),COLORMAGENTA;