DIF中:=EMA(CLOSE,26)-EMA(CLOSE,48),color888888,LINETHICK1;
DEA中:=EMA(DIF中,35),coloryellow,LINETHICK1;
DIF中2:=(dif中/((EMA(HHV(HIGH,48)-LLV(LOW,48),24)+dif中)*2))*100,color888888,LINETHICK1;
DEA中2:=(dea中/((EMA(HHV(HIGH,48)-LLV(LOW,48),24)+dea中)*2))*100,coloryellow,LINETHICK1;
中2:=(DIF中2-DEA中2)*2,COLORSTICK;
MACD2:=IF(MACD中2 50,50,IF(MACD中2 -30,-30,MACD中2)),COLORSTICK;
STICKLINE(MACD2 0, MACD2,0,3,0),colorred;
STICKLINE(MACD2 0, MACD2,0,3,0),colorligreen;