{上轨}ub:=boll+2*std(close,20);{中轨}boll:=ma(close,20);{下轨}lb:=boll-2*std(close,20);boll高:=ub-lb;boll大口:=hhv(boll高,72);xg:boll高/boll大口>0.01 and boll高/boll大口;
请看,下面的全是未来函数,公式里还有,我都懒得去找了,建议勿用!c6a:=backset(b6a,6+1);i6a:=backset(g6a,2);x7a:=ref(barslast(l7a),1)+1;f7a:=backset(l7a and count(h7a,x7a)>0,hhvbars(if(h7a,high,0),x7a));i7a:=backset(g7a,2);