DIFF :=(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED;
DEA :=EMA(DIFF,9),COLORRED,LINETHICK2;
DIF:=IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORGREEN;
ADEA:=IF(DEA<REF(DEA,1),DEA,DRAWNULL),COLORGREEN,LINETHICK2;
MACD:=2*(DIFF-DEA), COLORSTICK,LINETHICK2;
{ 爱约股_通达信股票指标公式}
RSV:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*100;
K:=SMA(RSV,9,1) ;
D:=SMA(K,3,1) ;
J:3*K-2*D,COLORYELLOW;
RSV2:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*110;
短K2:=SMA(RSV2,3,1);
短D2:=SMA(短K2,2,1),COLORWHITE;
短J2:3*短K2-2*短D2,COLORWHITE;
反弹:=(短J2<18 AND ADEA<4)*80,COLORFF33FF;
抢反弹:(CROSS(短J2,反弹))*80,COLORFF33FF,LINETHICK2;
参考MACD卖:(CROSS(102,短J2))*50,COLORFFFF00;
20,POINTDOT,COLORGREEN;
50,POINTDOT,COLORWHITE;
90,POINTDOT,COLORRED;

 

通达信买个好价钱指标公式