AA:=C;
NOTEXT1:FORCAST(EMA(AA,9),7),COLORGREEN;
NOTEXT2:FORCAST(EMA(AA,17),7),DOTLINE,COLORMAGENTA;
NOTEXT3:FORCAST(EMA(AA,25),7),COLORGREEN,LINETHICK2;
NOTEXT4:IF(NOTEXT1>=NOTEXT2,NOTEXT1,DRAWNULL),COLORRED;
NOTEXT5:IF(NOTEXT1<NOTEXT2,NOTEXT2,DRAWNULL),DOTLINE,COLORGREEN;
NOTEXT6:IF(NOTEXT2>=NOTEXT3,NOTEXT3,DRAWNULL),COLORRED,LINETHICK2;