通达信指标王指标公式

VAR1:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8))*100-70;

VAR2:=SMA(VAR1,8,1)+100;

VAR3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

VAR4:=SMA(VAR3,3,1);

VAR5:=SMA(VAR4,3,1)+100;

VAR6:=VAR5-VAR2;

Q:IF(VAR6>100,VAR6-100,0),COLORFFFFFF;

R:IF(REF(Q,1)<Q,Q,REF(Q,1)),COLORRED;

S:IF(REF(Q,1)>Q,Q,REF(Q,1)),COLORFF3399;

{QQ:IF(VAR6<100,VAR6-100,0);

RR:IF(REF(Q,1)>QQ,QQ,REF(QQ,1));

SS:IF(REF(Q,1)<QQ,QQ,REF(QQ,1));}

image.png

通达信趋势为王指标公式

          

N:=9;M:=3;P:=2;

RAV:=(CLOSE-LLV(LOW,N));

RAV1:=(HHV(HIGH,N)-LLV(LOW,N));

RAV2:=RAV/RAV1;

RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5;

RAV4:=RAV2*100;

RAV5:=SMA(RAV4,M,1);

RAV6:=SMA(RAV5,M,1);

RAV7:=SUM(IF(RAV3>REF(RAV3,1),RAV3*VOL,0),N)/SUM(IF(RAV3<REF(RAV3,1),RAV3*

VOL,0),N);

资金趋势:100-(100/(1+RAV7)),COLORFFF000;

价格趋势:(M*RAV5-P*RAV6)*1.1;80;20;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。