网友求助:

PARTLINE(DIFF,DIFF>=REF(DIFF,1),RGB(255,0,0),DIFF<REF(DIFF,1),RGB(0,255,0)),LINETHICK1;

 

解答如下:

DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORGREEN;
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK1;