N1:=10;
K1:=BARSLAST(L=LLV(L,N1));
IF(L=LLV(L,N1),L,REF(L,K1)),COLORCYAN,LINETHICK1;
AA:=IF(L=LLV(L,N1),L,REF(L,K1));
N2:=10;
K2:=BARSLAST(H=HHV(H,N2));
IF(H=HHV(H,N2),H,REF(H,K2)),COLORGREEN,LINETHICK1;
BB:=IF(H=HHV(H,N2),H,REF(H,K2));
主升浪:(AA + BB)/2,COLORYELLOW,LINETHICK2;