ABC1D1:=EMA(CLOSE,2);
ABC1D2:=EMA(CLOSE,89);
ABC1D:=ABC1D1-ABC1D2;
ABC1E:=EMA(ABC1D,30);
ABC1F:=(ABC1D-ABC1E)*20;
ABC20:=POW(ABC1F,3)*0.1+POW(ABC1F,2);
ABC25:=IF(ABC1F>0.015,ABC20,0)/45;
主升线:=ABC25;
ABC261:=EMA(CLOSE,2);
ABC262:=EMA(CLOSE,150);
ABC26:=ABC261-ABC262;
ABC27:=EMA(ABC26,100);
ABC28:=2*(ABC26-ABC27);
ABC29:=POW(ABC28,3)*0.1+POW(ABC28,1);
黑马线:=IF(ABC28>0.1,ABC29,0)*5,LINETHICK2;
量价线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,LINETHICK2;
量价排列:=主升线>黑马线 AND 量价线;
黑马:=BARSLASTCOUNT(量价排列 )=1;
钱袋子:黑马;