=============== 有朋友说,这个公式没信号,所以我就公布这个源码,给大家研究研究吧。谢谢。
当天下午选股择低介入, 赚一 三 五点即出, 不贪; 跌破买入价1个点坚决止损出局 ,保住本金. 本指标成功高. 注意事项,一只股只做第一次出的信号. {公式名称: 赚点 公式描述: 无参数 公式类型: 技术指标公式-其他类型 画线方法: 副图 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} VAR1:=MACD.DIF#WEEK; VAR2:=MACD.DEA#WEEK; VAR3:=MACD.MACD#WEEK; VAR4:=COUNT(VAR3<REF(VAR3,1),5)>=1 AND VAR3>0; VAR5:=VAR3-REF(VAR3,5)>0.05; VAR6:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VAR9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VAR19:=REF(VAR18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR20:=REF(VAR19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR21:=REF(VAR20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR22:=REF(VAR21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR23:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR24:=REF(VAR23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR25:=REF(VAR24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR26:=REF(VAR25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR27:=REF(VAR26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR28:=REF(VAR27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR29:=REF(VAR28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR30:=REF(VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29,1) AND VAR6; VAR31:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9; VAR32:=(OPEN-LOW)/HIGH*100>7 AND CLOSE<=OPEN; VAR33:=(HIGH+LOW)/2*0.382+(CLOSE+OPEN)/2*0.618; VAR34:=COUNT(CLOSE<REF(VAR33,1),4)>=4; VAR35:=HHV(MAX(OPEN,CLOSE),5); VAR36:=LLV(MIN(OPEN,CLOSE),5); VAR37:=(VAR35/VAR36-1)*100; VAR38:=20*(REF(RANGE(VAR37,(-3),3),1) OR RANGE(VAR37,(-3),3) AND (CROSS(EMA(CLOSE,4),EMA(CLOSE,8)) OR CROSS(EMA(CLOSE,2),EMA(CLOSE,4))) AND COUNT(VAR31 OR VAR32,30)>=1 AND COUNT(VAR34>0,30)>=1); VAR39:=HHV(HIGH,100); VAR40:=LLV(LOW,100); VAR41:=VAR40>=0.6*VAR39; VAR42:=BARSLAST(HIGH=VAR39)>BARSLAST(LOW=VAR40); VAR43:=HHV(HIGH,BARSLAST(LOW=VAR40)-1); VAR44:=LLV(LOW,BARSLAST(HIGH=VAR43)-1); VAR45:=REF(VAR44,1)>=0.8*REF(VAR43,1); VAR46:=REF(VAR44,1)>=0.5*REF(VAR43+VAR40,1); VAR47:=BARSLAST(LOW=VAR44)>=2; VAR48:=REF(SUM(VOL,3),REF(BARSLAST(HIGH=VAR43),1)); VAR49:=REF(SUM(VOL,3),REF(BARSLAST(LOW=VAR44),1)); VAR50:=VAR48>=2*VAR49; VAR51:=CROSS(CLOSE,REF(VAR43,1)) AND VOL>=2*REF(VOL,1); CUP:18*(VAR38 AND COUNT(VAR31 OR VAR32,30)>=1 AND COUNT(VAR34>0,30)>=1 AND VAR41 AND VAR42 AND VAR45 AND VAR46 AND VAR30 AND CLOSE>MA(CLOSE,20) AND REF(LOW<EMA(CLOSE,4),1) AND VAR5 AND REF(VAR3<0,6) AND VAR3>0); {公式名称: 赚点 公式描述: 无参数 公式类型: 条件选股公式-其他类型 公式版本: 0 参数精灵:无 用法注释:无 公式源码:} VAR1:=MACD.DIF#WEEK; VAR2:=MACD.DEA#WEEK; VAR3:=MACD.MACD#WEEK; VAR4:=COUNT(VAR3<REF(VAR3,1),5)>=1 AND VAR3>0; VAR5:=VAR3-REF(VAR3,5)>0.05; VAR6:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VAR9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VAR19:=REF(VAR18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR20:=REF(VAR19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR21:=REF(VAR20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR22:=REF(VAR21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR23:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR24:=REF(VAR23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR25:=REF(VAR24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR26:=REF(VAR25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR27:=REF(VAR26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR28:=REF(VAR27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR29:=REF(VAR28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR30:=REF(VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29,1) AND VAR6; VAR31:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9; VAR32:=(OPEN-LOW)/HIGH*100>7 AND CLOSE<=OPEN; VAR33:=(HIGH+LOW)/2*0.382+(CLOSE+OPEN)/2*0.618; VAR34:=COUNT(CLOSE<REF(VAR33,1),4)>=4; VAR35:=HHV(MAX(LOW,HIGH),5); VAR36:=LLV(MIN(LOW,HIGH),5); VAR37:=(VAR35/VAR36-1)*100; VAR38:=REF(RANGE(VAR37,(-3),3),1) OR RANGE(VAR37,(-3),3) AND (CROSS(EMA(CLOSE,4),EMA(CLOSE,8)) OR CROSS(EMA(CLOSE,2),EMA(CLOSE,4))) AND COUNT(VAR31 OR VAR32,30)>=1 AND COUNT(VAR34>0,30)>=1; VAR39:=HHV(HIGH,100); VAR40:=LLV(LOW,100); VAR41:=VAR40>=0.6*VAR39; VAR42:=BARSLAST(HIGH=VAR39)>BARSLAST(LOW=VAR40); VAR43:=HHV(HIGH,BARSLAST(LOW=VAR40)-1); VAR44:=LLV(LOW,BARSLAST(HIGH=VAR43)-1); VAR45:=REF(VAR44,1)>=0.8*REF(VAR43,1); VAR46:=REF(VAR44,1)>=0.5*REF(VAR43+VAR40,1); VAR47:=BARSLAST(LOW=VAR44)>=2; VAR48:=REF(SUM(VOL,3),REF(BARSLAST(HIGH=VAR43),1)); VAR49:=REF(SUM(VOL,3),REF(BARSLAST(LOW=VAR44),1)); VAR50:=VAR48>=2*VAR49; VAR51:=CROSS(CLOSE,REF(VAR43,1)) AND VOL&g |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!