龙听期货论坛's Archiver

龙听 发表于 2018-10-15 17:00

[转载]会变色的kdj

[p=21, 2, left]会变色的kdj:[/p][p=21, 2, left]公式:[/p]
[p=21, 2, left][code]
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORGREEN;
D:SMA(K,M2,1),COLORYELLOW;
J:=3*K-2*D;
PARTLINE(J,J>ref(J,1),RGB(255,50,0),J<ref(J,1),RGB(180,180,180));
[/code]
[/p]
[p=21, 2, left]飞狐公式:[/p]
[p=21, 2, left][code]
REFLINE: 0, 20, 50, 80, 100;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
PARTLINE(j>REF(j,1),j),COLORRED;
PARTLINE(j<REF(j,1),j),COLORgreen;
[/code]
[/p]

页: [1]