AA5A:=(3*C+H+L+O)/6;
VAR51:=(8*AA5A+7*REF(AA5A,1)+6*REF(AA5A,2)+5*REF(AA5A,3)+
4*REF(AA5A,4)+3*REF(AA5A,5)+2*REF(AA5A,6)+REF(AA5A,8))/36;
VAR52:=(HHV(VAR51,5)+HHV(VAR51,10)+HHV(VAR51,20))/3;
VAR53:=(LLV(VAR51,5)+LLV(VAR51,10)+LLV(VAR51,20))/3;
VAR54:=(HHV(VAR52,5)+HHV(VAR52,10)+HHV(VAR52,20))/3;
VAR55:=(LLV(VAR53,5)+LLV(VAR53,10)+LLV(VAR53,20))/3;
VAR56:=(LLV(VAR51,2)+LLV(VAR51,4)+LLV(VAR51,6))/3;
短线:=VAR51,COLORCYAN,LINETHICK2;
中线:=VAR56,COLORYELLOW,LINETHICK2;
A:=REF(短线,1)<=REF(中线,1)AND 短线>中线;
起涨:A;