主:=WINNER(CLOSE/1.1);
var1:=主-ref(主,1);
散:=1-WINNER(CLOSE*1.1);
var2:=ref(散,1)-散;
var3:=sum((var1+var2),2);
STICKLINE(var3<0 and 散>0.009,0,var3,6,0 ),ColorFFFF00;
STICKLINE(var3<0 and 散<0.009,0,-var3,6,1 ),COLORRED;
STICKLINE(var3>0 and 散<0.23,0,var3,8,1 ),COLORRED;
STICKLINE(var3>0 and 散>0.23 and 散<0.6999,0,var3,6,1 );
STICKLINE(var3>0 and 散>0.7,0,-var3,6,0),ColorFFFF00;