A:=(3*C+H+L+O)/6;
VAR1:(8*A+7*REF(A,1)+6*REF(A,2)+5*REF(A,3)+4*REF(A,4)+3*REF(A,5)+2*REF(A,6)+REF(A,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
STICKLINE(C>VAR4 AND VAR1>REF(VAR4,1),O,C,2,1),COLORRED;
STICKLINE(C
STICKLINE(C
STICKLINE(C