通达信金盾乖离指标公式
2020/6/14 18:48:59
CHL:=(H+L+3*C)/5;
BARNO:=BARSCOUNT(C);
M1:=IF(BARNO<5,BARNO,5);
M2:=IF(BARNO<8,BARNO,8);
M3:=IF(BARNO<13,BARNO,13);
M5:=IF(BARNO<34,BARNO,34);
M6:=IF(BARNO<55,BARNO,55);
MA5:=(CHL+M1*EMA(CHL,M1))/(M1+1);
MA8:=(CHL+M2*EMA(CHL,M2))/(M2+1);
MA13:=(CHL+M3*EMA(CHL,M3))/(M3+1);
HIGHK:=HIGH-LOW;
HHC:=HIGH-REF(CLOSE,1);
LLC:=REF(CLOSE,1)-LOW;
HIGHKK:=MAX(MAX(HIGHK,HHC),LLC);
KHIGH1:=SUM(HIGHKK,M6)/M6;
KHIGH:=MA(KHIGH1,M5);
QSMA5:=MA13*0.2+MA8*0.3+MA5*0.5;
BIAS1:=((CHL-QSMA5)/KHIGH)*10;
BIAS:EMA(BIAS1,3);
MABIAS:EMA(BIAS,5);
看股吧公 式 www.kanguba.co m
其它股票公式列表