通达信布林通道源码 BOLL:MA(CLOSE,20); UPPER:BOLL+2*STD(CLOSE,20); LOWER:BOLL-2*STD(CLOSE,20); 要求:1 UPPER,LOWER两个指标同时收窄 收窄后走平 2 BOLL同时走平 3 走平3天后选出该股 如图里画红圈的那样
爱约股解答:
BOLL:=MA(CLOSE,20);
UPPER:=BOLL+2*STD(CLOSE,20);
LOWER:=BOLL-2*STD(CLOSE,20);
UPPER<=REF(UPPER,1) AND LOWER>=REF(LOWER,1) AND BOLL>=REF(BOLL,1);