{BOLL}
BOLL:=MA(CLOSE,20);
UB:=BOLL+2*STD(CLOSE,20);
LB:=BOLL-2*STD(CLOSE,20);
UB1:=UB-(UB-LB)/3;
LB1:=LB+(UB-LB)/3;
区间值:(C-LLV(C,25))/(HHV(C,25)-LLV(C,25))*100,COLORRED;
{波段价值:IF((UB-LB)/LB*100 >80,100,(UB-LB)/LB*100);}
波段价值:(UB-LB)/LB*100,COLORWHITE;
窄幅震荡:IF(波段价值 < REF(波段价值,1),波段价值,DRAWNULL),COLORGREEN,LINETHICK1;
{
拉升区间:IF(波段价值 >= REF(波段价值,1) AND BOLL >= REF(BOLL,1),波段价值,DRAWNULL),COLORRED;
修复区间:IF(波段价值 < REF(波段价值,1) AND BOLL < REF(BOLL,1),波段价值,DRAWNULL),COLORYELLOW;
};