ma20:=ma(c,20);
stickline(ma20>=ref(ma20,1) and c>=o,c,o,8,0),colorred;
stickline(ma20>=ref(ma20,1) and c<o,c,o,8,0),colorgreen;
stickline(c<ma20 or ma20<ref(ma20,1),l,h,8,0),colorblack;
stickline(c>ma20 and ma20>ref(ma20,1) ,l,h,2,0),colorwhite;
partline(ma20,ma20>=ref(ma20,1),RGB(255,0,0),ma20<ref(ma20,1),RGB(0,255,0)),linethick2;