日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.diff"(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;
DRAWTEXTABS,linethick1,COLOR00EEff;
价金花: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 量金花,stick3d;