SHORT:=7;
MID:=22;
LONG:=44;
转换线:=(HHV(H,SHORT)+LLV(L,SHORT))/2,COLORRED,LINETHICK2;
基准线:(HHV(H,MID)+LLV(L,MID))/2,COLORFF8040,LINETHICK2;
迟行带:=REFX(C,MID),COLORGRAY,LINETHICK2;
A:=REF((转换线+基准线)/2,MID);
B:=REF((HHV(H,LONG)+LLV(L,LONG))/2,MID);
STICKLINE(A<B,A,B,2,1.5),COLOR339933;
STICKLINE(A>=B,A,B,2,0.1),COLOR0033CC;
先行带A:PLOYLINE(1,A),COLORBROWN,;
先行带B:PLOYLINE(1,B),COLORLIGREEN;