N:=20;
BOLL:=MA(CLOSE,N);
UB:=BOLL+2*STD(CLOSE,N);
LB:=BOLL-2*STD(CLOSE,N);
DD:=CLOSE>BOLL AND O>BOLL AND CLOSE<UB;
KK:=COUNT(DD,20)>=3;
KDR:=CLOSE>UB;
XG:FILTER(KK AND KDR,20);
九毛八公式解读
N赋值:20 BOLL赋值:收盘价的N日简单移动平均 UB赋值:BOLL+2*收盘价的N日估算标准差 LB赋值:BOLL-2*收盘价的N日估算标准差 DD赋值:收盘价>BOLL AND 开盘价>BOLL AND 收盘价=3 KDR赋值:收盘价>UB 输出XG:KKANDKDR的20日过滤