短线小波段
配合均线买入,送给喜欢小波段的同学
X1:=REF(CLOSE,1);
X2:=SMA(MAX(CLOSE-X1,0),6,1)/SMA(ABS(CLOSE-X1),6,1)*100;
ENTERLONG:=CROSS(X2,20);
X3:=CROSS(X2,20);
STICKLINE(CROSS(X2,20),30,40,2,0),COLORLIMAGENTA;
{选股指标}
X1:=REF(CLOSE,1);
X2:=SMA(MAX(CLOSE-X1,0),6,1)/SMA(ABS(CLOSE-X1),6,1)*100;
ENTERLONG:=CROSS(X2,20);
X3:=CROSS(X2,20);
XG:CROSS(X2,20);