日K:="KD.K"(9,3,3);
日D:="KD.D"(9,3,3);
日J:="KDJ.J"(9,3,3);
KD金花:COUNT(CROSS(日K,日D) AND CROSS(日J,日D),2)>=1,LINETHICK0;
{MACD买入条件}
XDIFF:="MACD.DIF"(26,12,9);XDEA:="MACD.DEA"(26,12,9);XMACD:="MACD.MACD"(26,12,9);
MACD金花:COUNT(CROSS(XDIFF,XDEA) AND XDIFF>XDEA,2)>=1,LINETHICK0;
价金花:COUNT(CROSS(MA(C,5),MA(C,10)) OR CROSS(MA(C,10),MA(C,20)),2)>=1,LINETHICK0 ;
量金花:COUNT(CROSS(MA(VOL,5),MA(VOL,10)),2)>=1,LINETHICK0;
四朵金花: KD金花 AND MACD金花 AND 价金花 AND 量金花,COLORRED;