三金叉:IF((cross(MA1,MA2) and cross(MA3,MA4) and cross(DIFF,DEA)),5,0);
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
DRAWTEXT(三金叉,5,'均线量均线MACD三金叉'),colorYellow;
{KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KDJ:IF(CROSS(J,K) ,5,0),COLORRED;
DRAWTEXT(KDJ,6,'KDJ金叉'),LINETHICK1,COLORRED;