龙听期货论坛's Archiver

龙听 发表于 2020-4-21 14:19

同花顺KDJ躺底指标公式

[code]  N:=5;

  M1:=3;

  M2:=3;

  RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

  K:SMA(RSV,M1,1),LINETHICK1;

  D:SMA(K,M2,1),LINETHICK1;

  J:3*K-2*D,COLORFF00FF,LINETHICK1;

  IF(J<0,J,DRAWNULL),colorgreen,LINETHICK2;

  IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;

  IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;

  DRAWICON(CROSS(J,1),J,1);

  DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
[/code]

页: [1]