a:=max(ref(c,1),ref(o,1));
a1:=min(ref(c,1),ref(o,1));
ok:=if(o<a1 and c>a,1,0);
STICKLINE(ok=1,o,c,8,0),colorred;
ok1:=if(ref(c,1)<ref(c,2)and o>ref(c,1)and l>ref(l,1)and c>ref(c,1)
or ref(c,1)<ref(o,1)and o>ref(c,1)and l>ref(l,1)and c>ref(c,1),1,0);
STICKLINE(ok1=1,o,c,8,0),colorff00ff;
sj1:=BARSLAST(ok=1 or
zs:if(ok=1 or ok1=1,l,ref(l,sj1)),colorred;