{公式名称: 调用指标A
公式描述: 负责黄金坑与伏妖的主图调用不用做副图
无参数
公式类型: 技术指标公式-特SE型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
VAR1:=LLV(HIGH,240);
VAR2:=100*(CLOSE-VAR1)/VAR1;
VAR3:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR4:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR7:=BARSCOUNT(CLOSE);
VAR8:=VAR5<20 AND VAR6<23 AND VAR7>35;
VAR9:=VAR8 AND COUNT(VAR8,1)=1;
VAR10:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAR11:=EMA(VAR10,5);{www.fxjgsw.com}
VAR12:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR10,VAR11);
VAR13:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR14:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR15:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR16:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR17:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR18:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR19:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR20:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR21:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR22:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR23:=EMA(VAR22,100);
VAR24:=2*(VAR22-VAR23);
VAR25:=POW(VAR24,3)*0.1+POW(VAR24,1);
VAR26:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR27:=EMA(VAR26*0.97,3);
VAR28:=(HIGH+LOW+CLOSE)/3;
VAR29:=(VAR28-MA(VAR28,14))/(0.015*AVEDEV(VAR28,14));
VAR30:=CROSS(VAR27,LOW);
VAR31:=VAR13;
VAR32:=VAR14+VAR16+VAR18+VAR20;
VAR33:=VAR15+VAR17+VAR19+VAR21;
VAR34:=IF(VAR24>0.1,VAR25,0)*1;
VAR35:=EMA(WINNER(CLOSE)*100,5);
VAR36:=EMA(VAR35,2);
VAR37:=EMA(VAR36,2);
VAR38:=EMA(VAR37,2);
VAR39:=EMA(VAR38,2);
VAR40:=EMA(VAR39,2);
VAR41:=EMA(VAR40,2);
VAR42:=EMA(VAR41,2);
VAR43:=EMA(VAR42,2);
VAR44:=EMA(VAR43,2);
VAR45:=EMA(VAR44,2);
VAR46:=EMA(VAR45,2);
VAR47:=EMA(VAR46,2);
VAR48:=EMA(VAR47,2);
VAR49:=5;
VAR50:=VAR35;
VAR51:=DRAWLINE(VAR50>=HHV(VAR50,VAR49)=1,VAR50,VAR50<=LLV(VAR50,VAR49)=1,VAR50,1);
VAR52:=REF(VAR50,1)=REF(VAR51,1) AND VAR50>REF(VAR50,1);
VAR53:=VAR52>0;
VAR54:=VAR32 AND VAR53;
黄金坑:VAR32 AND REF(VAR31,1) AND VAR54;
VAR55:=BARSLAST(黄金坑);
VAR56:=REF(OPEN,VAR55);
VAR57:=REF(CLOSE,VAR55);
黄金开盘价:IF(VAR56=REF(VAR56,1),VAR56,DRAWNULL),DOTLINE,COLORFF8000;
黄金收盘价:IF(VAR57=REF(VAR57,1),VAR57,DRAWNULL),DOTLINE,COLORFF8000;
VAR58:=IF(CLOSE/REF(CLOSE,1)>1.095,1,0);
VAR59:=COUNT(VAR58,13)>=1;
VAR60:=COUNT(VAR58,21)>=1;
STICKLINE(VAR58,OPEN,CLOSE,3.3,0),COLORRED;
STICKLINE(VAR58,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(VAR58,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(VAR58,HIGH,LOW,0.5,0),COLORRED;
STICKLINE(VAR58,OPEN,CLOSE,5,0),COLOR000055,LINETHICK2;
STICKLINE(VAR58,OPEN,CLOSE,4,0),COLOR000077,LINETHICK2;
STICKLINE(VAR58,OPEN,CLOSE,3,0),COLOR000099,LINETHICK2;
STICKLINE(VAR58,OPEN,CLOSE,2.5,0),COLOR0000BB,LINETHICK2;
STICKLINE(VAR58,OPEN,CLOSE,1.5,0),COLOR0000DD,LINETHICK2;
STICKLINE(VAR58,OPEN,CLOSE,0.5,0),COLORRED,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.03,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,1,0,GNBLOCK),COLORYELLOW;
VAR61:=HHV(HIGH,10);
VAR62:=LLV(LOW,10);
VAR63:=(VAR61+VAR62)/2;
VAR64:=HIGH=HHV(HIGH,10);
VAR65:=LOW=LLV(LOW,10);
VAR66:=BARSLAST(VAR64);
VAR67:=BARSLAST(VAR65);
FFF:DRAWLINE(VAR65,REF(LOW,VAR67),VAR64,REF(HIGH,VAR66),0),DOTLINE,COLORGREEN;
VAR68:=IF(VAR66>REF(VAR66,1),REF(HIGH,VAR66),DRAWNULL);
VAR69:=IF(FFF=DRAWNULL,VAR68,DRAWNULL);
VAR70:=IF(VAR66>REF(VAR66,1),REF(LOW,VAR67),DRAWNULL);
VAR71:=FFF=DRAWNULL AND VAR68=REF(VAR68,1);
VAR72:=VAR71>REF(VAR71,1);
VAR73:=IF(VAR71,REF(VAR70,BARSLAST(VAR72)),VAR70);
VAR74:=IF(VAR73=DRAWNULL,0,VAR73);
VAR75:=IF(VAR74=0,REF(VAR73,BARSLAST(VAR74>0)),VAR73);
VAR76:=IF(FFF=DRAWNULL,0,1);
VAR77:=IF(VAR76=0,REF(VAR75,BARSLAST(VAR76>0)),VAR75);
中:IF(FFF=DRAWNULL,(VAR69+VAR77)/2,DRAWNULL),COLORWHITE;
DRAWNUMBER(REF(中,1)=DRAWNULL AND 中>0,中,中),COLORYELLOW;
黄金坑标:STICKLINE(黄金坑,CLOSE,OPEN,1,0),COLORYELLOW;
DRAWTEXT(黄金坑=1,LOW,9),COLORRED;
VAR78:=IF(CLOSE=OPEN AND CLOSE>=REF(CLOSE,1),1,0) OR CLOSE>OPEN;
VAR79:=SUM(IF(VAR78,AMOUNT,0),10);
VAR80:=SUM(IF(VAR78,0,AMOUNT),10);
VAR81:=VAR79/VAR80>1.2;
VAR82:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND CLOSE/OPEN>=1.002 AND CLOSE<HHV(CLOSE,12) AND OPEN>LLV(LOW,VAR49) AND OPEN>LLV(OPEN,10);
VAR83:=ABS((OPEN-LLV(OPEN,VAR49))/LLV(OPEN,VAR49))<0.04 AND (HHV(CLOSE,12)-CLOSE)/CLOSE<0.05 AND (HHV(CLOSE,12)-LLV(LOW,7))/LLV(LOW,7)<0.1;
VAR84:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR85:=EMA(VAR84,9);
VAR86:=ABS(VAR84-VAR85)<0.1;
VAR87:=VAR82 AND VAR83 AND VAR86 AND VAR81;
VAR88:=MA(CLOSE,5);
VAR89:=MA(CLOSE,10);
VAR90:=IF(VAR88-VAR89>0,VAR88-VAR89,0);
VAR91:=DOWNNDAY(VAR90,3);
VAR92:=IF(VAR89-VAR88>0,VAR89-VAR88,0);
VAR93:=DOWNNDAY(VAR92,2);
VAR94:=VAR88-REF(VAR88,1);
VAR95:=VAR89-REF(VAR89,1);
VAR96:=VAR94<VAR95;
VAR97:=VAR94>VAR95;
VAR98:=VAR91 AND VAR96;
VAR99:=VAR93 AND VAR97;
VAR100:=VAR98 OR VAR99;
VAR101:=COUNT(VAR100,3) AND VAR87;
ZH:VAR101,NODRAW;
|
- 软件大小:6.00 KB
- 推荐星级:
- 更新时间:2019-05-03 02:18:29
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!