获利盘:=WINNER(C)*100;
近邻筹码:=WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100;
获利纵横:获利盘-近邻筹码,COLORFFFFFF,LINETHICK1;
AA:=IF(获利纵横>=30,获利纵横,30);
QSSJ:=BARSLAST(COUNT(获利纵横>=30,2)=2);
备钱阻击:IF(QSSJ<=3 AND COUNT(获利纵横
A0:=(L+H+C*2)/4;
A1:EMA(A0,14)COLORBLUE,LINETHICK2;
A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK3;
卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3;
DRAWTEXT((REF(备钱阻击,1)=-10 AND 备钱阻击=30 AND REF(A1X,1)<=0 AND 买入持股),备钱阻击,'^买');
DRAWTEXT(REF(A1X<0 AND A2X<0,1) AND A1X>=0,买入持股,'*买'),COLORLIGRAY;
DRAWTEXT(CROSS(获利纵横,备钱阻击),获利纵横,'主升');