设为首页收藏本站

指标编写学习论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2643|回复: 0
打印 上一主题 下一主题

闪电之王指标源码公式

[复制链接]

4970

主题

5087

帖子

27万

积分

管理员

微信号zuozhanba,QQ712997893

Rank: 9Rank: 9Rank: 9

积分
275567
跳转到指定楼层
楼主
发表于 2016-5-8 16:04:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
{公式名称: 闪电之王
公式描述: 分析器
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:无
用法注释:无
公式源码:}
X_1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_3:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
X_4:=(X_1+X_2+X_3)/3;
X_5:=EMA(X_4,5);
X_6:=EMA(EMA(X_1,5),5)*3;
X_7:=IF(X_4<=(-20),10,0);
X_8:=HHV(X_7,10);
STICKLINE(X_7=10,20,10,5,0),COLOR6666FF;
X_9:=IF(X_8 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:EMA(X_5,5)*2,COLORMAGENTA;
D:EMA(K,5),COLORWHITE;
J:K*3-D*2,COLORYELLOW;
X_10:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
X_11:=VOL/CAPITAL*100;
X_12:=VOL/10000;
DRAWTEXT(X_7=10 AND FILTER(X_7=10,5),(-10),1),COLORYELLOW;
STICKLINE(X_7=10 AND FILTER(X_7=10,5),(-1.6),(-10),5,0),COLORYELLOW;
DRAWTEXT(X_9=20,15,2),COLORWHITE;
STICKLINE(X_9=20,0,10,5,0),COLORWHITE;
X_13:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
X_14:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
STICKLINE(X_13=1,(-14),0,4,0),COLORRED;
DRAWTEXT(X_13=1,(-14),3),COLORRED;
STICKLINE(X_14=1,14,0,4,0),COLORGREEN;
DRAWTEXT(X_14=1,18,4),COLORGREEN;
X_15:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
X_16:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_17:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_18:=X_16<REF(X_17,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X_18 AND COUNT(X_18,30)=1,15,5),COLORMAGENTA;
STICKLINE(X_18 AND COUNT(X_18,30)=1,1,10,5,0),COLORMAGENTA;
X_19:=(HIGH+LOW+CLOSE)/3;
X_20:=(X_19-MA(X_19,14))/(0.015*AVEDEV(X_19,14));
X_21:=(X_19-MA(X_19,70))/(0.015*AVEDEV(X_19,70));
X_22:=IF(X_20>=150 AND X_20<200 AND X_21>=150 AND X_21<200,10,0);
X_23:=IF(X_20<=(-150) AND X_20>(-200) AND X_21<=(-150) AND X_21>(-200),(-10),X_22);
X_24:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
X_25:=100-ABS(X_24);
X_26:=IF(X_25<90,X_25,100);
X_27:=IF(X_15>0,X_15,0);
X_28:=IF(X_21>=200 AND X_20>=150,15,IF(X_21<=(-200) AND X_20<=(-150),(-15),X_23))+60;
X_29:=X_27>48 AND X_28>60 AND X_26<100;
DRAWTEXT(X_29 AND COUNT(X_29,30)=1,15,6),COLORFFCC66;
STICKLINE(X_29 AND COUNT(X_29,30)=1,0,10,5,0),COLORFFCC66;


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
购买股票池请咨询微信号zuozhanba,QQ712997893!股票池体验QQ群342994005
回复

使用道具 举报

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

本版积分规则

 
 
在线客服
指标交流群:
理想论坛金钻指标股票
指标团购群:
做站吧指标团购群
微信扫一扫加好友

QQ|Archiver|手机版|小黑屋|指标编写学习论坛 ( 粤ICP备14021653号-5   

GMT+8, 2024-12-27 12:00 , Processed in 0.184118 second(s), 32 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表