大智慧四朵金花副图指标
源码
{四朵金花}
{日}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;
价金花: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;