W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:=W4 AND COUNT(W4,5)=1;
DRAWICON(突破盘整,L-0.10,1);
DRAWTEXT(突破盘整,H*0.997,'←过左峰'),COLORGREEN;
突破盘整2:=W4 AND COUNT(W4,5)=1 AND V>REF(V,1)*1.9;
DRAWICON(突破盘整2,L-0.10,1);
DRAWTEXT(突破盘整2,H*1.008,'←倍量过左峰'),COLORYELLOW; |