通达信火柴KD指标公式
2020/2/7 19:04:29
N:=9;M1:=9;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLOR008000,LINETHICK1;
D:=SMA(K,M2,1),COLORWHITE;
{投股票网-股票公式网站 www.tou18.cn}
IF( K>REF(K,1),K,DRAWNULL),LINETHICK1,COLORRED;
STICKLINE(K>REF(K,1) AND K>50,50,K,1,0),COLORRED;
STICKLINE(K>REF(K,1) AND K>50,50,K-4,1,0),COLORLIRED;
STICKLINE(K>REF(K,1) AND K<50,50,K,1,0),COLORRED;
STICKLINE(K>REF(K,1) AND K<50,50,K+4,1,0),COLORLIRED;
STICKLINE(K<REF(K,1) AND K>50,K,K-5,1,-1),COLORGREEN;
STICKLINE(K<REF(K,1) AND K<50,K,K+5,1,-1),COLORGREEN;
A:20,COLORGREEN;
B:50,POINTDOT,COLORGRAY;
E:80,POINTDOT,COLORYELLOW;
投 股票网 www .tou18.cn
股市公式下载推荐