以下是三周期同图一目了然源码和截图
kdj三周期同图共振一目了然源码:
A1:=(2*CLOSE+HIGH+LOW)/4;
A2:=Ema(EMA(EMA(A1,6),6),6);
AA:=(A2-REF(A2,1))/REF(A2,1)*100;
K:EMA(AA,1),LINETHICK2,COLORFF33FF;
D:EMA(AA,3),LINETHICK2,COLOR00FFFF;
J:AA,COLORstICK;
0,DOTLINE;
VAR1:=(H+L+O+C*2)/5;
VAR2:=EMA(VAR1,21);
VAR3:=STD(VAR1,23);
VAR4:=EMA(VAR1,2);
VARA:=(VAR1-VAR2)*100/VAR3;
K:(EMA(VARA,23)+100)/2-3,COLOR00FFFF,LINETHICK2;
D:SMA(K,5,1),COLORFFFF00,LINETHICK2;
J:4*K-3*D,COLORFF00FF,LINETHICK2;
IF(J REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J REF(J,1),J,DRAWNULL)COLOR00BB00,LINETHICK2;
DRAWICON(FILTER(J REF(J,1)ANDJ REF(J,3)
ANDJ KANDVAR4 REF(VAR4,1)
ANDK =REF(K,1)ANDJ 40
ORCROSS(J,K)ANDCROSS(J,D)
ANDJ 40ORJ REF(J,1)ANDJ -20,7),J*0.8,1);
DRAWICON(FILTER(J =REF(J,1)ANDJ 80,8),J*1.2,2);
kdj三周期同图共振一目了然截图