N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UB:MID+2*VART3;
LB:MID-2*VART3;
BOLL:REF(MID,1);
上升:IF(BOLL>REF(BOLL,1),BOLL,DRAWNULL),COLORRED,LINETHICK1;
下降:IF(BOLL<REF(BOLL,1),BOLL,DRAWNULL),COLORGREEN,LINETHICK1;
LC:=REF(CLOSE,1);
AA:=ABS(O-C)*100/LC<2 AND (H-MAX(C,O))*100/LC>2;
|