N1:=30;N2:=60;N3:=90;N4:=120;N5:=150;M:=12;Q:=9;DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:=EMA(DIFF,9);2:=2*(DIFF-DEA);DIFF_1:=(EMA(CLOSE,M)-EMA(CLOSE,N1));DEA_1:=EMA(DIFF_1,Q);MACD_1:=2*(DIFF_1-DEA_1);DIFF_2:=(EMA(CLOSE,M)-EMA(CLOSE,N2));DEA_2:=EMA(DIFF_2,Q);MACD_2:=2*(DIFF_2-DEA_2);DIFF_3:=(EMA(CLOSE,M)-EMA(CLOSE,N3));DEA_3:=EMA(DIFF_3,Q);MACD_3:=2*(DIFF_3-DEA_3);DIFF_4:=(EMA(CLOSE,M)-EMA(CLOSE,N4));DEA_4:=EMA(DIFF_4,Q);MACD_4:=2*(DIFF_4-DEA_4);DIFF_5:=(EMA(CLOSE,M)-EMA(CLOSE,N5));DEA_5:=EMA(DIF