CC:=FORCAST(C,3);
OO:=FORCAST(O,3);
HH:=FORCAST(H,3);
LL:=FORCAST(L,3);
SHORT:=21;
LONG:=34;
M:=13;
{1.MACD}
DIFFFF:=EMA(CC,SHORT) – EMA(CC,LONG);
DEAAA:=EMA(DIFFFF,M);
MKCD:=WMA((DIFFFF-DEAAA),3)*400,COLOR00FF00,LINETHICK2;
{IF(MKCD>REF(MKCD,1),MKCD,DRAWNULL),COLOR0000FF,LINETHICK2;}
{2.MACD的BTX}
{差可能是正,是负—–相当与DIFF}
DC:=WMA(CC,SHORT/2)-WMA(CC,LONG/2); {收盘价的DIFF}
DK:=WMA(OO,SHORT/2)-WMA(OO,LONG/2); {开盘价的DIFF}
DH:=(WMA(HH,SHORT/2)-WMA(HH,LONG/2))*1.8; {最高价的DIFF}
DL:=(WMA(LL,SHORT/2)-WMA(LL,LONG/2))*1.8; {最低价的DIFF}
VARVA1:=DC>REF(DC,1) AND DC>REF(DC,2);
VARVA2:=REF(VARVA1,1) AND DC=REF(DC,2);
VARVA3:=REF(VARVA2,1) AND DC>=REF(DC,1) AND DC=REF(DC,1) AND DC=REF(DC,1) AND DC=REF(DC,1) AND DC=REF(DC,1) AND DCRF,J_DF_L,RF,1.0,0),COLORRED;
STICKLINE(J_DF_LRF,J_DF_L,RF,1.0,0),COLORMAGENTA;
STICKLINE( J_DF_L0 AND J_DF_L
【股票知识干货】【通达信】叠伏系统指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。