飞狐歪虎好日子指标公式

2019-08-29    作者:    来源:

input:n(30,1,150);
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=max(min(llv(var1,n)+1,20),8);
VAR3:=MIN(MAX(HHV(VAR1,N)-1,80),92);
var4:=var3-var2;
bx:(var1-var2)/var4*100;
ma120:=ma(c,120);
ma60:=ma(c,60);
tj1:=ma120-ref(ma120,1)>(ma120-ref(ma120,150))/150;
选股:cross(VAR2,VAR1) and c>ma120 and tj1 ,linethick;
买入:ref(选股,1),linethick;
DRAWTEXT(选股,8,'选!'),COLOR0099FF;
追:ref(var1,1)<35 and var1-ref(var1,1)>19.5 and ma(c,20)>ma(c,55) and tj1,linethick;
DRAWTEXT(追,50,'追!'),COLOR0099FF;
tt:ref(选股,2),linethick;
0;100;50;

阅读:171    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】