P1:=5;P2:=13;P3:=34;EXP1:=(SUM(CLOSE,9)/9,9);EXP2:=EXPMA(SUM(CLOSE,34)/34,34);PP:= IF(COUNT(EXP1>EXP2,13) <= 4,1,0);VAR1:=EXPMEMA(LOW,34),LINETHICK2,COLORRED;VAR2:IF(VAR1>REF(VAR1,2) OR (EXP1 >= EXP2),VAR1,DRAWNULL),LINETHICK2,COLORRED;VAR3:IF(VAR1=REF(VAR1,2),VAR1,DRAWNULL),LINETHICK2,COLORRED;VAR4:IF(VAR1<REF(VAR1,2) OR (EXP1 < EXP2) OR PP,VAR1,DRAWNULL),LINETHICK2,COLORGREEN;