以下是通达信kdj主图操盘指公式(无源码的请下载附件导入)
{KDJ主图操盘}
N:=5;
EMA13:MA(C,5),COLORF00FF0;
EMA34:MA(C,20),COLOR00FFFF;
EMA55:MA(C,60),COLORGREEN;
T4:=100*(C-LLV(L,N))/(HHV(H,N)-LLV(L,N));
K:= SMA( T4,5,1),COLORFF00FF,LINETHICK1;
D:= SMA(K,3,1),COLORYELLOW;
J:=1*(3*D-2*K),COLORGREEN;{70822.COM}
STICKLINE(K<J,O,C,5,0),COLOREEDD11;
STICKLINE(K<J,L,H,2,0),COLOREEDD11;
STICKLINE(K>=J,H,L,2,0),COLOR0000FF;
STICKLINE(K>=J,O,C,5,0),COLOR0000FF;
80 ,POINTDOT,COLOREEDD00,LINETHICK2;
50,COLORRED,POINTDOT,LINETHICK2;
20,COLORGREEN,POINTDOT,LINETHICK2;
624299549.png
|