上海易学堂讲师匡洺颉适当修改的KDJ指标,金叉死叉颜色标记。
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3),colorwhite;
D:MA(K,3),colorwhite;
DRAWICON(CROSS(K,D)AND K<30,K,1);
DRAWICON(CROSS(D,K)AND K>70,K,2);
20,coloryellow;
50,coloryellow;
80,coloryellow;