通达信趋势追随者指标公式
2021/4/11 18:23:04
M1:EMA(CLOSE,13),COLORBLUE;
M2:EMA(M1,3),COLORBLUE;
M3:EMA(M2,3),COLORBLUE;
M4:EMA(M3,3),COLORBLUE;
M5:=EMA(M4,3),COLORBLUE;
{支撑}
HLC:=REF(MA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
LV:=EMA(LLV(LOW,10),3);
支撑:EMA(HLC*2-HV,3),COLORE99A2C;
VC:=IF(CLOSE>=M1,10,-10)+IF(CLOSE>=M2,10,-10)+IF(CLOSE>=M3,10,-10)+
IF(M1>=M2,10,-10)+ IF(M2>=M3,10,-10);
SN:=IF(M5>REF(M5,1), 1, 0)*IF(M4>REF(M4,1), 1, 0); A:=VC-(1-SN)*10;
QRG:=IF(A<-50,-50,A),COLORAADDCC;
M1S:IF(M1>REF(M1,1),M1,DRAWNULL),COLORFF00FF ;
M2S:IF(M2>REF(M2,1),M2,DRAWNULL),COLORFF00FF;
M3S:IF(M3>REF(M3,1),M3,DRAWNULL),COLORFF00FF ;
M4S:IF(M4>REF(M4,1),M4,DRAWNULL),COLORFF00FF ;
M5S:IF(M5>REF(M5,1),M5,DRAWNULL),COLORFF00FF ;
STICKLINE(C<=O,O,C,2,1), COLORFFCCCC;
破浪:IF( CROSS(QRG,-10) ,L,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK2;
空仓:IF( QRG=-50 AND REF(QRG,1)>=-30,H,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHICK2;
投股 票网 www.tou 18.cn
股市公式下载推荐