0,LINETHICK2;CS:=IF(CODELIKE('60') OR CODELIKE('00') OR CODELIKE('30'),COST(50),MA(C,50)),LINETHICK0;CB:=IF(CODELIKE('30') OR CODELIKE('6') OR CODELIKE('0') ,COST(50),MA(C,50)),LINETHICK0;S:=IF(PERIOD>5,5,12),LINETHICK0;LL:=IF(PERIOD>5,12,26);DI := 100*(EMA(CLOSE,S) - EMA(CLOSE,LL))/CB,LINETHICK0;DE := EMA(DI,IF(PERIOD>5,5,9));MAC : 2*(DI-DE), COLORSTICK,LINETHICK0;STICKLINE((MAC < REF> 0)),0,MAC,1,0),LINETHICK0,COLORA000A0;STICKLINE((MAC > REF(MAC,1) AND (MAC < 0)),0,MAC,1,0),LINETHICK2,COL