编写要求:
.cn网解答:
网友求助:
K:EMA(CLOSE,2)-EMA(CLOSE,13),COLORWHITE;
D:EMA(K,13),COLOR00FFFF;
J:2*(K-D),COLORFF00FF;
IF(J>K AND K>D,J,DRAWNULL),LINETHICK1,COLORRED;
IF(K>=D,0,DRAWNULL),LINETHICK2,COLORRED;
IF(J
IF(K>D,D,DRAWNULL),LINETHICK1,COLOR00FFFF;
解答如下:
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
PARTLINE(D,K>D,RGB(235,235,0));