KDJ (933)MACD(12269)...

KDJ (933)MACD(12269) 同时金叉技术指标源码:
J:='KDJ.J'(9,3,3);
K:='KDJ.K'(9,3,3);
S1:=CROSS(K,J);
J1:=CROSS(J,K);
M:='MACD.MACD'(12,26,9);
S2:=CROSS(0,M);
J2:=CROSS(M,0);
E1:=S1 AND S2;
E2:=J1 AND J2;
EE:REF(E1,1)=1 AND E2=1,NODRAW;
DRAWICON(E2,L,9);
DJ:REF(O,BARSLAST(E2)),COLORRED,LINETHICK3;
DRAWICON(CROSS(C,DJ),L,1);

横图
横图
(0)

相关推荐