ABC1:MA(C,5);
ABC2:MA(C,10);
ABC3:MA(C,20);
volUME:=VOL;
VAR18:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
ACB18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR18),0);
ACB28:=EMA(ACB18,3)-MA(ACB18,9);
ACB38:=EMA(IF(ACB28>0,ACB28,0),3);
MAC38:=MA(C,3);
升势动能:=ACB38>REF(ACB38,1) AND MAC38>REF(MAC38,1);
STICKLINE(升势动能,CLOSE,OPEN,1,0),COLORYELLOW;
钱:=BARSLASTCOUNT(升势动能)=1;
钱1:=BARSLASTCOUNT(升势动能)=2;
钱2:=BARSLASTCOUNT(升势动能)=3;
钱3:=BARSLASTCOUNT(升势动能)=4;
钱4:=BARSLASTCOUNT(升势动能)=5;
钱5:=BARSLASTCOUNT(升势动能)=6;
钱6:=BARSLASTCOUNT(升势动能)=7;
钱7:=BARSLASTCOUNT(升势动能)=8;
钱8:=BARSLASTCOUNT(升势动能)=9;
钱9:=BARSLASTCOUNT(升势动能)=10;
DRAWICON(钱,L*0.98,1);
DRAWICON(钱1,L,25);
DRAWICON(钱2,L,25);
DRAWICON(钱3,L,25);
DRAWICON(钱4,L,25);
DRAWICON(钱5,L,25);
DRAWICON(钱6,L,25);
DRAWICON(钱7,L,25);
DRAWICON(钱8,L,25);
DRAWICON(钱9,L,25);
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
macd1:=2*(DIF1-DEA1),STICK;
MACD:=MACD1,NODRAW,COLORMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWICON(MACD>REF(MACD,1)ANDcrOSS(J,K),L,9);
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
ACB1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR1),0);
ACB2:=EMA(ACB1,3)-MA(ACB1,9);
ACB3:=EMA(IF(ACB2>0,ACB2,0),3);
MAC3:=MA(C,3);
量能潮:=ACB3,NODRAW,COLORBROWN;
STICKLINE(ACB3>REF(ACB3,1) AND MAC3>REF(MAC3,1),CLOSE,OPEN,1,0),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND CROSS(J,K),CLOSE,OPEN,1,0),COLORRED;