CLOSE10:=(CLOSE+LLV(CLOSE,5));HIGH10:=(HIGH+LLV(HIGH,5));LOW10:=(LOW+LLV(LOW,5));JJ:=(CLOSE10+HIGH10+LOW10)/3;BB:=(CLOSE10+HIGH10)/2;TT:=(CLOSE10+LOW10)/2;SS:=(HIGH10+LOW10)/2;Var1:=(JJ+SS)/2;VAR2:=(TT+BB)/2;VAR3:=EMA(0.667*REF(VAR2,3)+0.333*VAR1,3);VAR4:=EMA(0.667*REF(VAR2,3)+0.333*VAR2,3);STICKLINE(Var1-Var2>0,Var1,Var2,10,0),colorred;STICKLINE(Var2-Var3<0>0,VAR2,Var4,10,0),colorred;