X_1:=(HIGH+LOW+CLOSE)/3;
X_2:=(X_1-MA(X_1,84))/(0.015*AVEDEV(X_1,84));
X_3:=MA(X_2,3)/100;
X_4:=X_3+REF(X_3,1);
S1:STICKLINE(X_4>1,1,X_4,2,0),COLORRED;
S3:STICKLINE(X_4<1,1,X_4,2,0),COLORCYAN;
S4:STICKLINE(X_4>1 AND X_4<REF(X_4,1),1,X_4,2,1),COLORRED;
S2:STICKLINE(X_4<1 AND X_4>REF(X_4,1),1,X_4,2,1),COLORCYAN;