DIFF1 := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1 : =EMA(DIFF1,9);
DIFF4 := EMA(CLOSE,36) - EMA(CLOSE,78);
DEA4 : =EMA(DIFF4,27);
DIFF2 := EMA(CLOSE,60) - EMA(CLOSE,130);
DEA2 : =EMA(DIFF2,45);
DIFF3 := EMA(CLOSE,264) - EMA(CLOSE,572);
DEA3 : =EMA(DIFF3,198);
日: 2*(DIFF1-DEA1)-REF(2*(DIFF1-DEA1),1);
日3: 2*(DIFF4-DEA4)-REF(2*(DIFF4-DEA4),1);
周: 2*(DIFF2-DEA2)-REF(2*(DIFF2-DEA2),1),COLORSTICK;
月: 2*(DIFF3-DEA3)-REF(2*(DIFF3-DEA3),1);