K:SMA(最好用主图,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORYELLOW;
指标公式:IF(SUM(CROSS(K,D)AND D 23,15) =2 AND CROSS(K,D)AND C O,10,0),COLORFFFF00;
通达信:IF(J D,J,DRAWNULL),COLORRED,LINETHICK1;
ffddc1:IF(J D,J,DRAWNULL),COLORGREEN,LINETHICK1;
DRAWBAND(K,RGB(155,50,50),D,RGB(0,100,50));
STICKLINE((J 100 AND K =60),100,J,1,1),COLORYELLOW;
STICKLINE(K 92,100,K,1,1),COLORGREEN;
STICKLINE((J =0 AND K =30),0,J,1,1),COLORYELLOW;
STICKLINE(K =9,0,K,1,1),COLORRED;
ffddc2:=BARSLAST(REF(CROSS(J,K),1));
ffddc3:=BARSLAST(REF(CROSS(K,J),1));
ffddc4:=REF(CLOSE,ffddc3+1) CLOSE AND REF(J,ffddc3+1) J AND CROSS(K,J);
ffddc5:DRAWLINE(ffddc3=0,D,ffddc4,D,0),COLORBLUE,POINTDOT;
DRAWTEXT(ffddc4,D,'ffddc5B'),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=60,60,''),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=55,45,''),COLORRED;
DRAWTEXT(CURRBARSCOUNT=50,30,''),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=45,15,''),COLORBLUE;