SHORT:=13;
LONG:=77;
M:=13;
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA/2);
Zero : 0;
STICKLINE(MACD>0,MACD,0,1,1),COLOR0000AA;
STICKLINE(MACD<0,MACD,0,1,1),COLOR00880000;
PARTLINE(DIFF,DIFF>REF(DIFF,1),RGB(255,0,0),DIFF<REF(DIFF,1),RGB(0,255,0,)),LINETHICK2;
PARTLINE(DEA,DEA>REF(DEA,1),RGB(255,0,0),DEA<REF(DEA,1),RGB(255,255,255)),LINETHICK2;
202108202158.jpg
|