炒股指标公式:=12;
LONG:=26;
高度吓人:=9;
RMACD:="MACD.MACD";
eess1:=REF(RMACD,3);
eess2:=REF(RMACD,2);
H1:=REF(RMACD,1);
H0:=RMACD;
eess3:eess2<0 AND eess1>eess2 AND eess2>H1 AND H0>H1;
DIF:EMA(CLOSE,炒股指标公式)-EMA(CLOSE,LONG);
DEA:EMA(DIF,高度吓人);
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN;
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED;
IF(DEA<REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORGREEN;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORRED;
A:STICKLINE(MACD<REF(MACD,1),0,MACD,1,0),COLORGREEN;
B:STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2),0,MACD,1,0),COLORYELLOW;
eess4:10*IF (MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),LINETHICK0,COLOR00FF00,NODRAW;
eess6:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),LINETHICK0,COLORRED,NODRAW;