电子现货网

打印 上一主题 下一主题

猎庄飞狐指标

2016-1-15 14:55:28 844 0

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2016-1-15 14:55:28 回帖奖励 |倒序浏览 |阅读模式

admin 楼主

2016-1-15 14:55:28

指标源代码:

{猎庄线 n1:1  100  12}
Var2:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var3:=SMA(Var2,20,1);
Var4:=SMA(Var3,15,1);
猎庄线: Var3-Var4,linethick2;
Var5:=MA(猎庄线,20);
实力: 猎庄线-Var5,colorwhite, COLORSTICK;
Var6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var7:=SMA(Var6,3,1);
Var8:=SMA(Var7,3,1);
趋势: Var7-Var8,color0099ff;
警惕: IF(CROSS(猎庄线,0),20,0),coloryellow,STICK,linethick2;
买入: IF(CROSS(趋势,9) AND 猎庄线>REF(猎庄线,6),20,0),colorred,STICK,linethick2;
追买: IF(CROSS(实力,0) AND 趋势>0,20,0),colorFF00FF,STICK,linethick2;
卖出: IF(CROSS(10,猎庄线),-20,0),colorFFFF00,STICK,linethick2;
追卖: IF(CROSS(0,猎庄线),-20,0),color00ff00,STICK,linethick2;
多空分界: 0,colorgreen;
IF(猎庄线<多空分界,多空分界,猎庄线),COLORFF00FF,LINETHICK2;
MID:=FORCAST(c,10);
CAI1:IF(ABS(REF(趋势,1))+趋势>=N1 AND REF(趋势,1)<0 AND 趋势>0 AND 100*(C-EMA(MID*0.95,5))/(EMA(MID*1.05,3)-EMA(MID*0.95,5))<100,20,0),colorwhite,stick,linethick2;
CAI2:IF(ABS(REF(趋势,1))+趋势>=10 AND REF(趋势,1)<0 AND 趋势>0 AND 3*(SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1)-50)*2-2*SMA((SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1)-50)*2,3,1)>0 AND 100*(C-EMA(MID*0.95,5))/(EMA(MID*1.05,3)-EMA(MID*0.95,5))<100,20,0),colorblue,stick,linethick2;
Var81:=EMA(HHV(HIGH,500),21);
Var82:=EMA(HHV(HIGH,250),21);
Var83:=EMA(HHV(HIGH,90),21);
Var84:=EMA(LLV(LOW,500),21);
Var85:=EMA(LLV(LOW,250),21);
Var86:=EMA(LLV(LOW,90),21);
Var87:=EMA((Var84*0.96+Var85*0.96+Var86*0.96+Var81*0.558+Var82*0.558+Var83*0.558)/6,21);
Var88:=EMA((Var84*1.25+Var85*1.23+Var86*1.2+Var81*0.55+Var82*0.55+Var83*0.65)/6,21);
Var89:=EMA((Var84*1.3+Var85*1.3+Var86*1.3+Var81*0.68+Var82*0.68+Var83*0.68)/6,21);
Var8A:=EMA((Var87*3+Var88*2+Var89)/6*1.738,21);
Var8B:=REF(LOW,1);
Var8C:=SMA(ABS(LOW-Var8B),3,1)/SMA(MAX(LOW-Var8B,0),3,1)*100;
Var8D:=EMA(IF(CLOSE*1.35<=Var8A,Var8C*10,Var8C/10),3);
Var8E:=LLV(LOW,30);
Var8F:=HHV(Var8D,30);
Var810:=IF(MA(CLOSE,58),1,0);
ck:= EMA(IF(LOW<=Var8E,(Var8D+Var8F*2)/2,0),3)/618*Var810/10;
底部:=if(ck>5.0,5.0,ck);
底部吸筹: STICKLINE(底部>0,0,底部,4,1),COLORff00ff;
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册 |

返回列表 本版积分规则

用户组 : 管理员
邮   箱 :848571800@qq.com
手   机 :未填写
Q   Q : 未填写
性别 : 就不告诉你
主页 :未填写
个人介绍 :未填写

主题

帖子

积分144716

 
 
网站咨询
软件咨询
点击这里给我发消息
工作时间
9:00-21:00