牛股起源副图/选股预警 源码 通达信 贴图
M:=20;
N:=20;
N1:=25;
M1:=6;
M2:=6;
BOLL:=MA(CLOSE,M);
UB:=BOLL+2*STD(CLOSE,M);
LB:=BOLL-2*STD(CLOSE,M);
MID := MA(CLOSE,N);
X1:=CROSS(CLOSE,UB);
UPPER:=(1+M1/100)*MA(CLOSE,N1);
LOWER:=(1-M2/100)*MA(CLOSE,N1);
ENE:=(UPPER+LOWER)/2;
X2:=CROSS(CLOSE,UPPER);
GG:X1 AND X2;