Var1:="sh000001$CLOSE";
Var2:="sh000001$OPEN";
Var3:="sh000001$HIGH";
Var4:="sh000001$LOW";
STICKLINE(Var1>Var2,Var1,Var2,7,1),color0000ff;
STICKLINE(Var1>Var2 OR Var1=Var2,Var3,MAX(Var1,Var2),0,1), color0000ff;
STICKLINE(Var1>Var2 OR Var1=Var2,MIN(Var1,Var2),Var4,0,1), color0000ff;
STICKLINE(Var1<Var2,Var1,Var2,7,0), color00ff00;
STICKLINE(Var1<Var2,Var3,MAX(Var1,Var2),0,1), color00ff00;
STICKLINE(Var1<Var2,MIN(Var1,Var2),Var4,0,1), color00ff00;
STICKLINE(Var1=Var2,Var1,Var2,7,0), colorffffff;