通达信风云KDJ指标公式

2024-01-10 21:58发布

N:=90;P1:=3;P2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,P1,1);D:SMA(K,P2,1);J:3*K-2*D;{日}周K:="J.K#WEEK"(9,3,3);周D:="KDJ.D#WEEK"(9,3,3);周J:="KDJ.J#WEEK"(9,3,3);周:=OSS(周K,周D);日金叉:=FILTER(CROSS(K,D) AND K<20 COLOR00CCCC;KDB:=BARSLAST(REF(CROSS(K,D),1));KDDB:>CLOSE AND REF(K,KDB+1)0,5),1,0);DRAWTEXT(K底背=1,D*0.98,''),COLORRED;KDD:=BARSLAST(REF(CROSS(D,K),1));K顶背:=REF(CLOSE,KDD+1)K AND CROSS(D,K);DRAWTEXT(FILTER(K顶背>0,5),D+8,''),COLORFF
 解锁全文需 1  财富值,免费注册即送20财富值!