在线检测未来函数

通达信莺歌蝶舞指标公式

来源:Internet,编辑:股旁网,2024-11-20

本文指标含有选股公式如下:
股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

VAR1:=IF(C>REF(C,1),V,-V);
VAR2:=SUM(IF(C=REF(C,1),0,VAR1),0);
VAR3:=(EMA(C,9)-EMA((REF(C,1)+O)/2,9));
VAR4:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;
VAR5:=REF(CLOSE,1);
VAR6:=SMA(MAX(C-VAR5,0),6,1)/SMA(ABS(C-VAR5),6,1)*100;
VAR7:=EMA(V,18)-EMA(V,36);
VAR8:=EMA(C,18)-EMA(C,36);
VAR9:=VAR7>REF(VAR7,1) AND VAR8<REF(VAR8,1);
VAR10:=STRCAT(HYBLOCK,' ');
VAR11:=STRCAT(VAR10,FGBLOCK);
VAR12:=STRCAT(VAR11,DYBLOCK);
VAR13:=STRCAT(VAR12,' ');
VAR18:=REF(VAR9,2)=1 AND REF(VAR9,1)=1 AND VAR9;
VAR19:=REF(VAR9,3)=1 AND REF(VAR9,2)=1 AND REF(VAR9,1)=1 AND VAR9;
DRAWTEXT_FIX(ISLASTBAR,0.06,0,0,STRCAT(VAR13,GNBLOCK)),COLORCYAN;
0,DOTLINE,LINETHICK1;
AV:VAR3*EMA(VAR2,18)/100,COLORSTICK,LINETHICK1;
AM9:EMA(AV,9),COLORYELLOW,LINETHICK1;
AM18:EMA(AV,18),COLORMAGENTA,LINETHICK1;
AM36:EMA(AV,36),COLORGREEN,LINETHICK1;
DRAWICON(crOSS(82,VAR4),AV,14);
DRAWTEXT(CROSS(84,VAR6),AV,'逃顶'),COLORYELLOW;
DRAWICON(VAR18 AND VAR19,0,30);

通达信莺歌蝶舞指标公式

相关文章