通达信零漂移指标公式
2020/5/13 18:27:30
N:=5;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
{股头比}
ZGT:=SUM(ADVANCE,N);
FGT:=SUM(DECLINE,N);
股头比:(ZGT-FGT)/(ZGT+FGT);
ML:=SUM(DT,N);
MEL:=SUM(KT,N);
MJ:=SUM(DT*C,N);
MEJ:=SUM(KT*C,N);
能量比:(ML-MEL)/(ML+MEL);
资金比:(MJ-MEJ)/(MJ+MEJ);
涨跌比:(ADVANCE-DECLINE)/(ADVANCE+DECLINE),COLOR619A9A;
临界线:00,LINETHICK1;
投股 票网 www.tou1 8.cn
股市公式下载推荐