N:=20;
bollBB:=15;
P:=2;
MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N);
LOWER: MID - P*STD(CLOSE,N);
xg:=(UPPER-LOWER)/MID *100
STICKLINE(C/REF(C,1)>1.0989,O,C,5,0),colormagenta;
N:=20;
bollBB:=15;
P:=2;
MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N);
LOWER: MID - P*STD(CLOSE,N);
xg:=(UPPER-LOWER)/MID *100
STICKLINE(C/REF(C,1)>1.0989,O,C,5,0),colormagenta;