通达信值得拥有值得收藏的分时指标公式

2024-01-31 11:58发布

VAR1:=SMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SMA(IF((VAR2>0) AND (VAR2>VAR3),VAR2,0),12,1);VAR5:=SMA(IF((VAR3>0) AND (VAR3>VAR2),VAR3,0),12,1);VAR6:=((VAR4)*(100))/(VAR1);VAR7:=((VAR5)*(100))/(VAR1);VAR8:=SMA(((ABS(VAR7-VAR6))/(VAR7+VAR6))*(100),12,1);VAR9:=(VAR8+REF(VAR8,5))/(2);VARA:=((SUM(HIGH-OPEN,12))/(SUM(OPEN-LOW,12)))*(100);VARB:=((SUM(MAX(0,HIGH-REF(CLOSE,1)),12))/(SUM(MAX(0,REF(CLOSE,1)-LOW),12)))*(100);
 解锁全文需 1  财富值,免费注册即送20财富值!