var: sotto,sopra,cond1,cond2,cond3,cond4;
sotto = (O-L);
sopra = (H-C);
cond1 = R*20/100;
cond2 = R*30/100;
cond3 = (O-C) < cond1 and B;
cond4 = (C-O) < cond1 and W;
if sotto <= cond1 and sopra >= cond2 and R > MOV(R,10,s) then
colorbar(blue); endif;
if cond3 = true then colorbar(black); endif;
if cond4 = true then colorbar(black); endif;