VAR1:EMA(C,5),DOTLINE,COLORYELLOW;
VAR2:EMA(C,9)DOTLINE,COLORYELLOW;
VAR3:EMA(C,13)DOTLINE,COLORYELLOW;
VAR6:EMA(C,43),LINETHICK1,COLORYELLOW;
VAR8:EMA(VAR3,13);
VAR9:EMA(VAR6,13),LINETHICK1,COLOR00FF00;
VAR18:EMA(VAR2,13);
VAR10:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
VAR11:IF(VAR1< REF(VAR1,1),VAR1,DRAWNULL),COLORGREEN;
VAR12:IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),COLORRED;
VAR13:IF(VAR2< REF(VAR2,1),VAR2,DRAWNULL),COLORGREEN;
VAR14:IF(VAR3>REF(VAR3,1),VAR3,DRAWNULL),COLORRED;
VAR15:IF(VAR3< REF(VAR3,1),VAR3,DRAWNULL),COLORGREEN;
VAR16:IF(VAR8>VAR9,VAR8,DRAWNULL),COLORFFFF00;
VAR17:IF(VAR9>REF(VAR9,1),VAR9,DRAWNULL),COLORRED;
DRAWICON(CROSS(VAR6,VAR9),L,25);
STICKLINE(CROSS(VAR3,VAR8) ,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWICON(CROSS(VAR3,VAR8) ,L,9);