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);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG:=MACD>0;
黑马线:=IF(ABC28>0.1,ABC29,0)*5,LINETHICK2;
量价线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,LINETHICK2;
黄钻:crOSS(量价线,黑马线) AND XG;