编写要求:
www.gszx.com.cn网解答:
网友求助:
请老师帮忙大智慧把KDJ神马版 0轴上三线金叉做个选股
有图
轴:0,DOTLINE,COLORGREEN;
K:EMA(CLOSE,2)-EMA(CLOSE,13),COLORWHITE;
D:EMA(K,13),COLOR00FFFF;
J:2*(K-D),COLORFF00FF;
PARTLINE(J,J>K AND K>D,RGB(250,0,0));
PARTLINE(0,K>=D,RGB(250,0,0)),LINETHICK2;
PARTLINE(J,J<D AND J<=0,RGB(0,250,0));
PARTLINE(K,K>D,RGB(230,230,230));
PARTLINE(D,K>D,RGB(235,235,0));
解答如下:
K:=EMA(CLOSE,2)-EMA(CLOSE,13);
D:=EMA(K,13);
CROSS(K,D) AND K>0;