N1:=9;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
DD:=CROSS(N3,RSI1);
KK:=CROSS(RSI1,N2);
STICKLINE(DD,C,O,4,0),COLORYELLOW;
STICKLINE(DD,H,L,0,0),COLORYELLOW;
STICKLINE(KK,C,O,4,0),COLORBLUE;
STICKLINE(KK,H,L,0,0),COLORBLUE;
{黃色是下穿9天线80
藍色是9天上穿20型成的K线};
|