MA5:MA(C,5);
MA10:MA(C,10);
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.45,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,GNBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.4,0.03,0,FGBLOCK),COLORMAGENTA;
STICKLINE(C/REF(C,1)>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIMAGENTA ;
STICKLINE(REF(C,1)/C>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIBLUE;
STICKLINE(H/REF(C,1)>=1.097 AND H>C AND H=C,H,C,0,0),COLORMAGENTA;
STICKLINE(REF(C,1)/L>=1.097 AND H>L AND H=C,C,L,0,0),COLORLIBLUE;
AAV:=vol/((H-L)*2-Abs(C-O));
ABC1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C< OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2));
ABC2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C< OPEN,0-AAV*(HIGH-LOW),0-VOL/2));
JLR:=(ABC1+ABC2)/99;
ABC3:=(C/REF(C,1)-1)*100;
LTP:=CAPITAL;
LTSZY:=FINANCE(40)/100000000>=100;
LTSZY1:=FINANCE(40)/100000000<=350;
QXSB:=NOT(CODELIKE('4'));
QKCB:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
YYDS:=QXSB AND QST AND QKCB AND QXX AND QBJ;
XG1:=LTSZY AND LTSZY1 AND YYDS AND C< 50;
HS:=DYNAINFO(39);
LB:=DYNAINFO(20);
XG:=HS>4 AND LB>0.5;
尾盘掘金:=BARSLASTCOUNT(JLR>=200 AND ABC3>=3)=1 AND O/REF(C,1)<=1.05 AND XG AND XG1;
STICKLINE(尾盘掘金,C,O,2,0),COLORYELLOW;
DRAWICON(尾盘掘金 ,L,9);