ABC1:=(2*CLOSE+HIGH+LOW)/4;
ABC2:=LLV(LOW,5);
ABC3:=HHV(HIGH,5);
ABC4:=EMA((ABC1-ABC2)/(ABC3-ABC2)*100,5);
ABC5:=MA(ABC4,2);
ABC6:=REF(CLOSE,1)/REF(CLOSE,2)< 0.95;
ABC7:=ABC5< 20 AND ABC6 AND CLOSE>LOW AND OPEN>LOW;
ABC8:=CLOSE/REF(CLOSE,3)< 0.95;
ABC9:=REF(ABC8,1)=1 AND CLOSE/REF(CLOSE,1)>1.025;
ABC10:=VOL>REF(HHV(VOL,10),1) AND NOT(OPEN=CLOSE) AND HIGH/CLOSE< 1.0007;
ABC11:=REF(EVERY(MA(CLOSE,5)< MA(CLOSE,10),5),1) AND VOL/MA(VOL,10)>1.8;
ABC12:=COUNT(ABC7=1,3)>0 AND REF(CLOSE,1)< REF(CLOSE,2);
ABC13:=VOL/REF(VOL,1)>1.7 AND REF(OPEN,1)< 100;
底部掘金:=ABC9 AND ABC10 AND ABC11 AND ABC12 AND ABC13;
DRAWTEXT(底部掘金,16.6,' ★底部掘金'),COLORLIMAGENTA;
STICKLINE(底部掘金,20,12,1.6,0),COLORMAGENTA;
STICKLINE(底部掘金,12,6,0.1,0),COLORRED;
DRAWICON(底部掘金,19.8,9);
DRAWICON(底部掘金,17.8,9);
DRAWICON(底部掘金,15.8,9);