A1:IF(C>20,WMA(C,INTPART(C/5)),WMA(C,INTPART(C/2))); A2:MA(A1,INTPART(A1)); A3:MA(A2,INTPART(A2/2)); A4:MA(A3,INTPART(A3/2)); DRAWKLINE(H,O,L,C);