以下是通达信顺水扬帆指标公式

VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
 VAR2:=SMA(VAR1,3,1);
 VAR3:=SMA(VAR2,3,1);
 VAR4:=SMA(VAR3,3,1);
 BBBB:= VAR3;
 DDD:= VAR4;
 VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;

VAR9:=CROSS(VAR4,VAR3) AND VAR3>80;

VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;

AA:=LLV(LOW,36);
 BB:=HHV(HIGH,30);

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
 SSS:=DD,COLOR0000FF,LINETHICK2,COLORGREEN;
 GGG:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

N:=9;
 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 E:=(K+D)/2;

HHH:=(K+D)/2;

AAA:HHH>REF(HHH,1) AND SSS<REF(SSS,1) AND HHH<40,COLORRED;

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