SHORT:=6;LONG:=9;MID:=6;D1:=EMA(C,3)-EMA(C,8);D2:=EMA(O,3)-EMA(O,8);D3:=EMA(H,3)-EMA(H,8);D4:=EMA(L,3)-EMA(L,8);STICKLINE(D1>=D2,D1,D2,3,0),COLOR0055AA;STICKLINE(D1<=D2,D1,D2,3,0),COLOR006600;STICKLINE(D1>=D2,D1,D2,2,0),COLOR0077CC;STICKLINE(D1>=D2,D1,D2,1,0),COLOR0099DD;STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;STICKLINE(D1<=D2,D1,D2,2,0),COLOR009900;STICKLINE(D1<=D2,D1,D2,1,0),COLOR00BB00;STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORCYAN,LINETHICK