N:=
25; D:=
2;
MB:MA(C,N);
R:=POW((C-MB),2);
X1:=MA(R,N);
X:=SQRT(X1);
UPPER:MB+D*X;
LOWER:MB-D*X;
STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,5,1),COLORRED;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,5,0
),COLORGREEN;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0.5 ,1
),COLORRED;
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.5 ,1
),COLORRED;
STICKLINE(OPEN>CLOSE,CLOSE,LOW,0.5 ,0
),COLORGREEN;
STICKLINE(OPEN>CLOSE,OPEN,HIGH,0.5 ,0 ),COLORGREEN;
|