VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14))/4,COLORFF8000;
IF(A1 =REF(A1,1),A1,DRAWNULL),COLORRED,LINETHICK1;
IF(A1 REF(A1,1),A1,DRAWNULL),COLORFA6400,LINETHICK1;
A2: EMA(A1,3);
IF(A2 =REF(A2,1),A2,DRAWNULL),COLOR4614FF,LINETHICK1;
IF(A2 REF(A2,1),A2,DRAWNULL),COLORFA6400,LINETHICK1;
A3: EMA(A2,4);
IF(A3 =REF(A3,1),A3,DRAWNULL),COLOR285AFF,LINETHICK1;
IF(A3 REF(A3,1),A3,DRAWNULL),COLORFA6400,LINETHICK1;
MA1:EMA(CLOSE,4),COLORC0C0C0,LINETHICK1;
IF(MA1 =REF(MA1,1),MA1,DRAWNULL),COLORRED,LINETHICK1;
IF(MA1 REF(MA1,1),MA1,DRAWNULL),COLOR14D214,LINETHICK1;
MA2:EMA(CLOSE,5),COLORC0C0C0;
IF(MA2 =REF(MA2,1),MA2,DRAWNULL),COLORRED,LINETHICK1;
IF(MA2 REF(MA2,1),MA2,DRAWNULL),COLOR14D214,LINETHICK1;
MA3:EMA(CLOSE,6),COLORC0C0C0;
IF(MA3 =REF(MA3,1),MA3,DRAWNULL),COLORRED,LINETHICK1;
IF(MA3 REF(MA3,1),MA3,DRAWNULL),COLOR14D214,LINETHICK1;
A55:EMA(A1,18);
IF(A55 =REF(A55,1),A55,DRAWNULL),COLORRED,LINETHICK1;
IF(A55 REF(A55,1),A55,DRAWNULL),COLOR14D214,LINETHICK1;
A56:EMA(A55,3);
IF(A56 =REF(A56,1),A56,DRAWNULL),COLORRED,LINETHICK1;
IF(A56 REF(A56,1),A56,DRAWNULL),COLOR14D214,LINETHICK1;
A57:EMA(A55,5);
IF(A57 =REF(A57,1),A57,DRAWNULL),COLORRED,LINETHICK1;
IF(A57 REF(A57,1),A57,DRAWNULL),COLOR14D214,LINETHICK1;