原公式的源码,有130行左右,整理一下,删除部分无用语句,整理如下:
{公式名称: 短线五色爆发}
VAR1:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));
VAR2:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);
VAR3:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.025 AND CLOSE/REF(CLOSE,1)<1.098;
VAR4:=HIGH-MAX(CLOSE,OPEN)>0.03 AND HIGH-MAX(CLOSE,OPEN)<1;
VAR6:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7;
VAR7:=COUNT(EVERY(CLOSE<REF(CLOSE,1),3),3)=1 OR COUNT(EVERY(CLOSE<REF(CLOSE,1),2),2)=1;
VAR8:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3));
VAR9:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,4)>REF(OPEN,4));
VAR10:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;
VAR11:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(LOW,MA(CLOSE,10)) AND CROSS(LOW,MA(CLOSE,60)) AND CLOSE>MA(CLOSE,20);
VAR12:=CLOSE>MA(CLOSE,5) OR CROSS(CLOSE,MA(CLOSE,5)) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20);
VAR13:=REF(CLOSE,1)/REF(CLOSE,7)<1.05;
VAR14:=OPEN/REF(CLOSE,1)<1.03;
VAR15:=VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR6;
VAR16:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,60)) AND OPEN>=MA(CLOSE,10) AND OPEN>=MA(CLOSE,20) AND VAR6 AND VAR3 AND VAR4;
VAR17:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR CROSS(CLOSE,MA(CLOSE,5));
VAR18:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND OPEN>MA(CLOSE,20);
VAR19:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.095) AND OPEN>MA(CLOSE,60);
VAR20:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.01) AND OPEN>MA(CLOSE,20);
VAR21:=CLOSE/REF(CLOSE,1)>1.04;
VAR22:=VAR17 AND VAR18 AND VAR7 AND VAR19 AND VAR6 AND VAR20 AND VAR21 AND CLOSE>OPEN;
VAR23:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) AND OPEN>MA(CLOSE,60);
VAR24:=REF(CLOSE/REF(CLOSE,1)<1 AND CLOSE/REF(CLOSE,1)>0.93,1);
VAR25:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.04) AND OPEN>MA(CLOSE,20);
VAR26:=CLOSE/REF(CLOSE,1)>=1.097 AND VAR7 AND VAR23 AND VAR24;
VAR27:=REF(CLOSE,1)/REF(CLOSE,2)<=0.9 AND CLOSE/REF(CLOSE,1)>=1.097 AND VAR25;
VAR28:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR29:=CLOSE/REF(CLOSE,1)>1.097;
VAR30:=VAR28 AND VAR29;
VAR31:=VAR26 AND VAR14 OR (VAR27 AND VAR14) OR (VAR30 AND VAR14);
VAR32:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR33:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>0.1 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.07 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.04;
VAR34:=REF(CLOSE,1)<MA(CLOSE,60) AND REF(CLOSE,2)<MA(CLOSE,60) AND REF(CLOSE,3)<MA(CLOSE,60);
VAR35:=VAR32 AND VAR33 AND VAR34 AND CLOSE/REF(CLOSE,1)<1.097;
VAR36:=VAR11 OR VAR12;
VAR37:=HIGH-MAX(CLOSE,OPEN)>0.1 AND HIGH-MAX(CLOSE,OPEN)<3;
VAR39:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.1);
VAR40:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.03);
VAR41:=REF(CLOSE,1)/REF(CLOSE,2)<1.04;
VAR42:=NOT(LOW>REF(HIGH,1));
VAR43:=CLOSE/REF(CLOSE,1)>1.03;
VAR44:=VAR36 AND VAR37 AND VAR39 AND VAR40 AND VAR41 AND VAR42 AND VAR43 AND VAR9 AND VAR10 AND VAR13 AND VAR14;
VAR45:=BETWEEN(LOW,MA(CLOSE,60)*1,MA(CLOSE,60)*1.1) AND OPEN>MA(CLOSE,60);
VAR46:=LOW>REF(HIGH,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.024 AND VAR45 AND VAR8 AND VAR14;
VAR47:=LOW>REF(HIGH,1) AND CROSS(CLOSE,MA(CLOSE,60)) AND CLOSE/REF(CLOSE,1)>1.024 AND CLOSE>OPEN AND VAR8 AND VAR14;
VAR48:=VAR46 OR VAR47;
VAR49:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
VAR50:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>=0.01 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15;
VAR52:=COUNT(CLOSE<OPEN,5)>=3;
VAR53:=CLOSE/REF(CLOSE,1)>=1.027;
VAR54:=VAR49 AND VAR50 AND VAR52 AND VAR53 AND VAR2;
VAR55:=COUNT(CLOSE<OPEN,7)>=4 OR EVERY(CLOSE<REF(CLOSE,1),3);
VAR56:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;
VAR57:=CLOSE/REF(CLOSE,1)>1.03;
VAR58:=CLOSE>MA(CLOSE,60);
VAR59:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) OR CROSS(CLOSE,MA(CLOSE,60));
VAR60:=VAR55 AND VAR56 AND VAR57 AND VAR58 AND VAR59;
VAR61:=CLOSE<MA(CLOSE,60);
VAR62:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));
VAR63:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.1 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;
VAR64:=CLOSE/REF(CLOSE,1)>1.05;
分析家公式网:=VAR61 AND VAR62 AND VAR63 AND VAR64;
VAR65:=VAR61 AND VAR62 AND VAR63 AND VAR64;
VAR66:=(REF(CLOSE,7)-REF(CLOSE,1))/REF(CLOSE,1)>=0.05;
VAR67:=COUNT(CLOSE<OPEN,7)>=3;
VAR68:=CLOSE/REF(CLOSE,1)>1.05;
VAR69:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;
VAR70:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
VAR71:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR72:=CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) AND CLOSE<MA(CLOSE,60);
VAR73:=CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,60);
VAR74:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CLOSE>MA(CLOSE,60);
VAR75:=VAR70 OR VAR71 OR VAR72 OR VAR73 OR VAR74;
VAR76:=OPEN=CLOSE AND CLOSE=HIGH AND LOW<CLOSE;
VAR77:=REF(CLOSE,1);
VAR78:=IF(NAMELIKE(1) OR NAMELIKE(2),CLOSE>=VAR77*1.049,CLOSE>=VAR77*1.094) AND LOW=HIGH;
VAR79:=VAR66 AND VAR67 AND VAR68 AND VAR69 AND VAR75 AND NOT(VAR76) AND NOT(VAR78) AND VAR14;
短线爆发:VAR15 OR VAR16 OR VAR22 OR VAR31 OR VAR35 OR VAR44 OR VAR48 OR VAR54 OR VAR60 OR VAR65 OR VAR79,COLORRED,LINETHICK2;
VAR123:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND COUNT(CLOSE>MA(CLOSE,10),4)>=3 AND COUNT(CLOSE/REF(CLOSE,1)>1.05,5)>0 AND VOL>REF(VOL,1)*1 AND HIGH>REF(HIGH,1)*1;
VAR124:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60);
VAR125:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND CROSS(CLOSE,MA(CLOSE,60)) AND CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10));
VAR126:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);
VAR127:=VAR123 AND VAR124 AND VAR126;
VAR128:=VAR123 AND VAR125;
突破:VAR127 OR VAR128,COLORYELLOW;
DRAWTEXT_FIX(CLOSE>OPEN,0.05,0.05,0,'分析家公式网整理WWW.fxjgsw.com'),COLOR666666;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!