ABCF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
ABC19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
ABC20:=ABCF<REF(ABC19,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
ABC1:=(CLOSE*2+HIGH+LOW)/4*10;
ABC2:=EMA(ABC1,13)-EMA(ABC1,34);
ABC3:=EMA(ABC2,5);
ABC4:=2*(ABC2-ABC3)*5.5;
AA:=C>MA(C,5);
主力撤:IF(ABC4<=0,ABC4,0),COLORGREEN;
主力进:IF(ABC4>=0,ABC4,0),COLORRED;
STICKLINE(主力进 AND AA,0,15,3,0),COLORRED;
资金进:=BARSLASTCOUNT(ABC4>=0)=1;
ABC5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
ABC6:=EMA(3*ABC5-2*SMA(ABC5,18,1),5);
ABC7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
ABC8:=(INDEXC*2+INDEXH+INDEXL)/4;
ABC9:=EMA(ABC8,13)-EMA(ABC8,34);
ABCA:=EMA(ABC9,3);
ABCB:=(ABC9-ABCA)/2;
大资金入:IF(ABCB>=0 AND AA,ABCB,0);
STICKLINE(ABCB>=0 AND AA,0,15,2,0),COLORMAGENTA;
大资金:=BARSLASTCOUNT(ABCB>=0)=1 AND AA;
DRAWICON(大资金,16,9);
STICKLINE(资金进 AND AA,0,15,2,0),COLORYELLOW;
DRAWICON(资金进 AND AA,15,27);