均价:=(2*C+(H-L)/2+L+o)/4;
A:MA(HHV(均价,8),8),COLORWHITE,LINETHICK2;
A1:MA(A,2),COLORWHITE;
A2:MA(A1,2),COLORWHITE;
A3:MA(A2,2),COLORWHITE;
PARTLINE(A>REF(A,1),A),COLORRED,LINETHICK2;
PARTLINE(A1>REF(A1,1),A1),COLORRED;
PARTLINE(A2>REF(A2,1),A2),COLORRED;
PARTLINE(A3>REF(A3,1),A3),COLORRED;
B:MA(LLV(均价,8),8),COLORAAAA00,LINETHICK2;
B1:MA(B,2),COLORGREEN;
B2:MA(B1,2),COLORGREEN;
B3:MA(B2,2),COLORGREEN;
PARTLINE(B>REF(B,1),B),COLORYELLOW,LINETHICK2;
PARTLINE(B1>REF(B1,1),B1),COLORYELLOW;
PARTLINE(B2>REF(B2,1),B2),COLORYELLOW;
PARTLINE(B3>REF(B3,1),B3),COLORYELLOW;