VAR1:=EMA(CLOSE,13)-EMA(CLOSE,55),COLORRED,LINETHICK2; VAR2:=EMA(VAR1,3),COLORGREEN,LINETHICK1; AA:=VAR1>=VAR2 ; BB:=VAR2>VAR1 ;
STICKLINE(AA,HIGH,LOW,0,0) ,COLORRED; STICKLINE(AA,CLOSE,OPEN,4,0) ,COLORFF00FF; STICKLINE(AA,CLOSE,OPEN,3,0) ,COLORFF22FF; STICKLINE(AA,CLOSE,OPEN,2,0) ,COLORFF44FF; STICKLINE(AA,CLOSE,OPEN,1,0) ,COLORFF66FF;
STICKLINE(BB ,HIGH ,LOW,0,0 ),COLORGREEN; STICKLINE(BB ,CLOSE ,OPEN,4,0 ),COLOR00CC00; STICKLINE(BB ,CLOSE ,OPEN,3,0 ),COLOR00DD00; STICKLINE(BB ,CLOSE ,OPEN,2,0 ),COLOR00EE00; STICKLINE(BB ,CLOSE ,OPEN,1,0 ),COLOR00FF00; STICKLINE (CROSS(AA,BB),OPEN,(CLOSE-OPEN)/2+OPEN,4,0),COLOR000044; STICKLINE(CROSS(AA,BB),OPEN,(CLOSE-OPEN)/2+OPEN,3,0),COLOR000066; STICKLINE(CROSS(AA,BB),OPEN,(CLOSE-OPEN)/2+OPEN,2,0),COLOR0000BB; STICKLINE(CROSS(AA,BB),OPEN,(CLOSE-OPEN)/2+OPEN,1,0),COLOR0000EE; STICKLINE(CROSS(AA,BB),OPEN,(CLOSE-OPEN)/2+OPEN,0,0),COLOR0000FF; STICKLINE(CROSS(BB,AA),OPEN,(CLOSE-OPEN)/2+OPEN,4,0),COLOR550055; STICKLINE(CROSS(BB,AA),OPEN,(CLOSE-OPEN)/2+OPEN,3,0),COLOR880088; STICKLINE(CROSS(BB,AA),OPEN,(CLOSE-OPEN)/2+OPEN,2,0),COLORAA00AA; STICKLINE(CROSS(BB,AA),OPEN,(CLOSE-OPEN)/2+OPEN,1,0),COLORCC00CC; STICKLINE(CROSS(BB,AA),OPEN,(CLOSE-OPEN)/2+OPEN,0,0),COLOREE00EE;
工作線:EMA(C,M),COLORF00FF0,LINETHICK2; 二號線:EMA(C,X),COLOR00FF00,LINETHICK1;
|