DIF:"MACD.DIF",NODRAW;
DEA:"MACD.DEA",NODRAW;
MACD死叉:=CROSS(DEA,DIF);
STICKLINE(CLOSE,REF(HIGH,BARSLAST(MACD死叉)),REF(HIGH,BARSLAST(MACD死叉)),1,0),COLORYELLOW;
STICKLINE(CLOSE,REF(LOW,BARSLAST(MACD死叉)),REF(LOW,BARSLAST(MACD死叉)),1,0),COLORCYAN;
756555477.png
|