CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<5,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.10,0.35.0,0,CJL),COLORMAGENTA;
VAR1:=MA(COST(80),20);
VAR2:=100*(VAR1-REF(VAR1,13))/VAR1;
VAR3:=10*(VAR1/MA(CLOSE,30)-1);
VAR4:=COUNT(VAR2<1,20)>10 AND COUNT(VAR3<2.382,10)>5;
信号未精选:FILTER(CROSS(CLOSE,VAR1),5) AND COUNT(CROSS(MA(CLOSE,3),VAR1),60)<2 AND VAR4 AND (VAR1-REF(VAR1,20))/VAR1<0.02,COLORGRAY,LINETHICK3;
DRAWTEXT(信号未精选,L*333,'●主力主升浪'),COLORRED;
AA:=FILTER(CROSS(CLOSE,VAR1),5) AND COUNT(CROSS(MA(CLOSE,3),VAR1),60)<2 AND VAR4 AND (VAR1-REF(VAR1,20))/VAR1<0.02,COLORGRAY,LINETHICK3;
LT:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
EXT1:=DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORRED,LINETHICK2;
TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
{DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED,LINETHICK2;}
EXT2:=DRAWLINE(LTT=0,(EXT1-L)*0.618+L,ISLASTBAR,REF((EXT1-L)*0.618+L,LTT),0)DOTLINE,COLORLIMAGENTA;
V1:=IF(C>O OR (C=O AND C>=REF(C,1)),VOL,0);
V2:=IF(C<O OR (C=O AND C<REF(C,1)),VOL,0);
LJ:=SUM(V1,LTT)/SUM(V2,LTT);
XGG:=COUNT(CROSS(C>=EXT1,0.5),LTT+1)=1 AND CROSS(C>=EXT1,0.5) AND LJ>1.5;
DRAWICON(XGG,L,23);
STICKLINE(XGG,C,O,2,0),COLORYELLOW;
STICKLINE(XGG,H,L,0,0),COLORYELLOW;
DRAWTEXT(LTT=0,L*444,'●锅底'),COLORRED;
VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.00 AND CLOSE,88,0);{VAR38>VAR39;}
VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.050 AND VAR326>0, 91, 0);
STICKLINE(VAR327>90,L,H*2,2,0),COLORGREEN;
DRAWTEXT(VAR327>90,L*222,'●追涨'),COLORRED;