AA:=(3*C+H+L+O)/6;
VAR1:=(8*AA+7*REF(AA,1)+6*REF(AA,2)+5*REF(AA,3)+4*REF(AA,4)+3*REF(AA,5)+2*REF(AA,6)+REF(AA,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;
MA5:=MA(CLOSE,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
BB1:=AMOUNT/V;
CC1:=L
EE1:=L