通达信仿系统宝塔线(主、副)
HC1:=C;
HC2:=REF(C,1);
HC3:=REF(C,2);
STICKLINE(HC1>=HC2 AND HC2>=HC3,HC1,HC2,2,0),COLORRED;
STICKLINE(HC1<HC2 AND HC2<HC3,HC2,HC1,2,0),COLOR03803C ;
STICKLINE(HC1>HC3 AND HC1>HC2 AND HC2<HC3,HC3,HC1,2,0),COLORRED;
STICKLINE(HC1>HC3 AND HC1>HC2 AND HC2<HC3,HC3,HC2,2,0),COLOR03803C;
STICKLINE(HC1<HC3 AND HC1<HC2 AND HC2>HC3,HC3,HC2,2,0),COLORRED;
STICKLINE(HC1<HC3 AND HC1<HC2 AND HC2>HC3,HC3,HC1,2,0),COLOR03803C;
STICKLINE(HC1>HC3 AND HC1<HC2 AND HC2>HC3,HC2,HC1,2,0),COLORRED;
STICKLINE(HC1<HC3 AND HC1>HC2 AND HC2<HC3,HC1,HC2,2,0),COLOR03803C;
STICKLINE(HC1<HC3 AND HC1<HC2 AND HC2=HC3,HC1,HC2,2,0),COLOR03803C;
STICKLINE(HC1=HC3 AND HC1<HC2 AND HC2>HC3,HC2,HC1,2,0),COLORRED;
STICKLINE(HC1=HC3 AND HC1>HC2 AND HC2<HC3,HC1,HC2,2,0),COLOR03803C;
STICKLINE(HC1>HC3 AND HC1=HC2 AND HC2>HC3,HC2,HC1,2,1),COLORRED;
STICKLINE(HC1<HC3 AND HC1<HC2 AND HC2=HC3,HC2,HC2,2,1),COLORRED;
STICKLINE(HC1>HC3 AND HC1>HC2 AND HC2=HC3,HC2,HC1,2,0),COLORRED;
STICKLINE(HC1<HC3 AND HC1=HC2 AND HC2<HC3,HC1,HC2,2,1),COLOR03803C;