来源:Internet,编辑:股旁网,2012-12-20
N:=10;P:=3; bbi:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE; UPR:BBI+P*STD(BBI,N),COLORYELLOW; DWN:BBI-P*STD(BBI,N),COLORFF00FF; P1:=Abs(BBI-UPR)+ABS(UPR-DWN); P1/C<N/100 AND BBI> REF(BBI,1) AND UPR> REF(UPR,1);