LOCK:=IF(CURRENTDATE<1120101,1,0); VAR1:MD(CLOSE,20); PARTLINE(VAR1>REF(VAR1,2),VAR1),LINETHICK2,colorFF; PARTLINE(VAR1=REF(VAR1,2),VAR1),LINETHICK2,colorFF0000; PARTLINE(VAR1