通达信多空布林带收粘选股源码附图

通达信公式多空布林带收粘选股

N:=11;
M:=6;
M2:=5;
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+M*STD(BBIBOLL,N);
DWN:=BBIBOLL-M*STD(BBIBOLL,N);
XG:((UPR-DWN)/DWN)*100<=M2 AND C>BBIBOLL;