当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:集合竞价选股(通达信公式 选股 源码 测试图)
软件名称:[B]集合竞价选股(通达信公式 选股 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:15.0 KB
官方主页:Home Page
更新时间:2022-02-14 00:15:02
软件简介:
{公式名称: 集合竞价选股
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
X_1:=6;
X_2:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
X_3:=SMA(X_2,3,1);
X_4:=SMA(X_3,3,1);
X_5:=3*X_3-2*X_4;
X_6:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
X_7:=SMA(X_6,3,1);
X_8:=SMA(X_7,3,1);
X_9:=3*X_7-2*X_8;
X_10:=IF(CROSS(X_9,X_5),HIGH,REF(HIGH,BARSLAST(CROSS(X_9,X_5))));
X_11:=LLV(HIGH,30);
X_12:=REF(HIGH,X_1)=HHV(HIGH,2*X_1+1);
X_13:=REF(LOW,X_1)=LLV(LOW,2*X_1+1);
X_14:=BACKSET(X_12,X_1+1);
X_15:=BACKSET(X_13,X_1+1);
X_16:=FILTER(X_14,X_1) AND HIGH=HHV(HIGH,X_1+1);
X_17:=FILTER(X_15,X_1) AND LOW=LLV(LOW,X_1+1);
X_18:=BARSLAST(X_16);
X_19:=BARSLAST(X_17);
X_20:=IF(X_16,CURRBARSCOUNT,0);
X_21:=IF(X_17,CURRBARSCOUNT,0);
X_22:=IF(X_18,REF(X_20,X_18),X_20);
X_23:=IF(X_19,REF(X_21,X_19),X_21);
X_24:=CONST(X_22);
X_25:=CONST(X_23);
X_26:=CONST(REF(HIGH,X_24-1));
X_27:=CONST(REF(LOW,X_25-1));
X_28:=REF(X_22,X_18+1);
X_29:=REF(X_23,X_19+1);
X_30:=CONST(X_28);
X_31:=CONST(X_29);
X_32:=CONST(REF(HIGH,X_28-1));
X_33:=CONST(REF(LOW,X_29-1));
X_34:=BACKSET(ISLASTBAR,X_24);
X_35:=BACKSET(ISLASTBAR,X_25);
X_36:=BACKSET(ISLASTBAR,X_28);
X_37:=BACKSET(ISLASTBAR,X_29);
X_38:=IF(X_27<=X_33,X_35,X_37);
X_39:=INTPART(3*X_1/5);
X_40:=REF(HIGH,X_39)=HHV(HIGH,2*X_39+1);
X_41:=BACKSET(X_40,X_39+1);
X_42:=FILTER(X_41,X_39) AND HIGH=HHV(HIGH,X_39+1);
X_43:=BARSLAST(X_42);
X_44:=IF(X_42,CURRBARSCOUNT,0);
X_45:=IF(X_43,REF(X_44,X_43),X_44);
X_46:=CONST(X_45);
X_47:=REF(X_45,X_43+1);
X_48:=CONST(X_47);
X_49:=REF(LOW,X_39)=LLV(LOW,2*X_39+1);
X_50:=BACKSET(X_49,X_39+1);
X_51:=FILTER(X_50,X_39) AND LOW=LLV(LOW,X_39+1);
X_52:=BARSLAST(X_51);
X_53:=IF(X_51,CURRBARSCOUNT,0);
X_54:=IF(X_52,REF(X_53,X_52),X_53);
X_55:=CONST(X_54);
X_56:=REF(X_54,X_52+1);
X_57:=CONST(X_56);
X_58:=REF(HIGH,X_24-1);
X_59:=REF(HIGH,X_30-1);
X_60:=REF(HIGH,X_46-1);
X_61:=REF(HIGH,X_48-1);
X_62:=MAX(MAX(REF(HIGH,X_24-1),REF(HIGH,X_30-1)),MAX(REF(HIGH,X_46-1),REF(HIGH,X_48-1)));
X_63:=MIN(MIN(REF(LOW,X_25-1),REF(LOW,X_31-1)),MIN(REF(LOW,X_55-1),REF(LOW,X_57-1)));
X_64:=MAX(X_62,HHV(HIGH,10));
X_65:=MIN(X_63,LLV(LOW,10));
X_66:=(REF(HIGH,X_24-1)-REF(HIGH,X_30-1))/(X_30-X_24);
X_67:=(REF(HIGH,X_46-1)-REF(HIGH,X_48-1))/(X_48-X_46);
X_68:=X_66>0 AND REF(HIGH,X_24-1)+X_66*X_24>X_64*1.05;
X_69:=X_66<0 AND REF(HIGH,X_24-1)+X_66*X_24<X_65*0.95;
X_70:=IF(X_68 OR X_69,0,1);
X_71:=X_67>0 AND REF(HIGH,X_46-1)+X_67*X_46>X_64*1.05;
X_72:=X_67<0 AND REF(HIGH,X_46-1)+X_67*X_46<X_65*0.95;
X_73:=IF(X_71 OR X_72,0,1);
X_74:=(REF(LOW,X_25-1)-REF(LOW,X_31-1))/(X_31-X_25);
X_75:=(REF(LOW,X_55-1)-REF(LOW,X_57-1))/(X_57-X_55);
X_76:=X_74<0 AND REF(LOW,X_25-1)+X_74*X_25<X_65*0.95;
X_77:=X_74>0 AND REF(LOW,X_25-1)+X_74*X_25>X_64*1.05;
X_78:=IF(X_76 OR X_77,0,1);
X_79:=X_75<0 AND REF(LOW,X_55-1)+X_75*X_55<X_65*0.95;
X_80:=X_75>0 AND REF(LOW,X_55-1)+X_75*X_55>X_64*1.05;
X_81:=IF(X_79 OR X_80,0,1);
X_82:=DRAWLINE(CURRBARSCOUNT=X_30,HIGH,CURRBARSCOUNT=X_24,HIGH,X_70);
X_83:=DRAWLINE(CURRBARSCOUNT=X_31,LOW,CURRBARSCOUNT=X_25,LOW,X_78);
X_84:=DRAWLINE(CURRBARSCOUNT=X_48,HIGH,CURRBARSCOUNT=X_46,HIGH,X_73);
X_85:=100*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30));
X_86:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
X_87:=SMA(X_86,5,1);
X_88:=SMA(X_87,3,1);
X_89:=3*X_87-2*X_88;
X_90:=EMA(X_89,6);
CROSS(CLOSE,X_84) OR CROSS(CLOSE,X_82) AND X_85<X_90;
[url=http://www.70822.com/soft/sort013/sort05/down-160756.html]集合竞价选股(通达信公式 选股 源码 测试图)[/url]