BAR编写:
k:=c>o or c=o and c>ref(c,1);
STICKLINE(k,c,c,9,0)COLORred;
STICKLINE(k,o,o,9,0)COLORred;
STICKLINE(c<o,o,o,9,0)COLORcyan;
STICKLINE(c<o,c,c,9,0)COLORcyan;
DRAWSL(c>o or c<o,c,0,1,1)COLORBLACK;
DRAWSL(c>o or c<o,o,0,1,0)COLORBLACK;
STICKLINE( k,h ,l ,0, 0),COLORRED;
STICKLINE(c<o,h ,l ,0, 0),COLORCYAN;