通达信零漂移指标公式

2023-06-02 00:00发布

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:=*K1/(K1+K2);KT:=-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;
 解锁全文需 1  财富值,免费注册即送20财富值!