公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

乾坤至尊策略Q 通达信主图指标 源码 贴图

2012-10-9 18:34| 发布者: admin| 查看: 28| 评论: 0

乾坤至尊策略Q 通达信主图指标 源码 贴图

乾坤至尊策略Q 通达信主图指标 源码 贴图


X_1:=REF(EVERY(MA(CLOSE,5)>REF(MA(CLOSE,5),1),3) AND EVERY(MA(CLOSE,10)>REF(MA(CLOSE,10),1),3) AND EVERY(MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20),3),1);
X_2:=REF(HIGH,2)/REF(CLOSE,3)>1.04 AND REF(OPEN,2)/REF(CLOSE,3)>1.02 AND NOT(REF(EVERY(CLOSE/REF(CLOSE,1)>1.098 AND OPEN>REF(CLOSE,1),3),2)) AND REF(OPEN,1)<=REF(CLOSE,2) AND OPEN/REF(OPEN,1)<1.02 AND OPEN1.005 AND REF(CLOSE,1)/REF(LOW,1)>1.025) AND REF(CLOSE,2)>REF(OPEN,2);
X_3:=X_2 OR (REF(HIGH,2)/REF(CLOSE,3)>1.045 AND NOT(REF(REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)1.003 AND REF(CLOSE,1)1.033 AND REF(CLOSE,2)>REF(OPEN,2) AND REF(OPEN,1)/REF(CLOSE,1)<1.05 AND REF(OPEN,2)/REF(LOW,2)<1.018 AND REF(OPEN,2)/REF(LOW,2)<1.02 AND REF(OPEN,2)/REF(CLOSE,3)>0.99);
X_4:=X_3 AND REF(CLOSE,1)/REF(OPEN,1)<0.995 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,7)>0,1) AND NOT(REF(COUNT(CLOSE>OPEN,10)>8,2)) AND REF(CLOSE,1)/REF(CLOSE,2)<0.995 AND REF(CLOSE,2)/REF(CLOSE,20)<2 AND REF(HIGH,1)/REF(OPEN,1)<1.05 AND CLOSE/REF(CLOSE,1)>1.022;
X_5:=REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>0,1) AND OPEN/LOW<1.06 AND NOT(REF(COUNT(CLOSE>OPEN,10)>8 AND COUNT(CLOSE3,3)) AND OPEN/REF(CLOSE,1)<1.02 AND REF(CLOSE,1)/REF(OPEN,3)>0.975 AND REF(HIGH,2)/REF(LOW,1)>1.07 AND REF(CLOSE,1)/REF(CLOSE,2)<0.99 AND REF(CLOSE,1)/REF(OPEN,3)>0.95 AND REF(CLOSE,2)/REF(CLOSE,3)<0.98 AND REF(CLOSE,2)1.01 AND REF(CLOSE,2)>REF(OPEN,3) AND CLOSE/REF(CLOSE,1)>1.02;
X_6:=REF(HHV(HIGH,3),1)/REF(CLOSE,10)<1.3 AND REF(HHV(HIGH,2),1)/REF(LOW,1)>1.06 AND NOT(REF(HIGH,3)/REF(CLOSE,3)>1.05 AND REF(OPEN,2)/REF(LOW,2)>1.026) AND REF(OPEN,1)/REF(CLOSE,2)<1.005 AND REF(CLOSE,1)/REF(CLOSE,2)>0.925 AND REF(CLOSE,1)/REF(CLOSE,2)<0.995 AND REF(CLOSE,1)/REF(OPEN,1)<0.995 AND REF(CLOSE,2)/REF(OPEN,2)<1.025 AND REF(HIGH,2)/REF(CLOSE,2)>1.035 AND REF(CLOSE,1)/REF(CLOSE,2)<0.968 AND REF(CLOSE,2)>REF(OPEN,2) AND REF(OPEN,1)/REF(CLOSE,2)<0.988 AND CAPITAL<10000000 AND OPEN/REF(CLOSE,1)<1.04 AND CLOSE/REF(CLOSE,1)>1.03;
X_7:=X_4 OR X_5 OR X_6 AND X_1;
X_8:=NOT(REF(CLOSE,3)=REF(OPEN,3)) AND REF(CLOSE,1)/REF(OPEN,3)>0.96 AND REF(HHV(HIGH,3),1)/REF(LOW,1)>1.13 AND REF(HIGH,2)/REF(LOW,1)>1.11 AND REF(CLOSE,1)/REF(CLOSE,2)<0.995 AND REF(CLOSE,1)/REF(OPEN,1)<0.995 AND OPEN/REF(CLOSE,1)<1.0135 AND REF(CLOSE,1)/REF(OPEN,1)>0.93 AND OPEN/LOW<1.035 AND REF(CLOSE,1)/REF(CLOSE,2)>0.92 AND CLOSE/REF(CLOSE,1)>1.025;
X_9:=X_8 AND REF(MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1),1) AND NOT(REF(CLOSE,2)/REF(OPEN,2)<0.93 AND REF(CLOSE,2)/REF(HIGH,2)<0.9) AND REF(CLOSE,1)/REF(MAX(CLOSE,OPEN),3)<0.93 AND REF(CLOSE,2)/REF(CLOSE,3)>0.93 AND REF(CLOSE,2)/REF(CLOSE,12)<2 AND NOT(REF(OPEN,2)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)X_10:=REF(CLOSE,2)/REF(CLOSE,3)>1.05 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND OPEN/LOW<1.06 AND REF(CLOSE,1)/REF(OPEN,1)<0.98 AND REF(CLOSE,1)/REF(CLOSE,2)<0.94 AND REF(HIGH,2)/REF(CLOSE,2)>1.025 AND REF(CLOSE,2)/REF(OPEN,2)>1.03 AND OPEN/REF(CLOSE,1)<1.01 AND REF(EVERY(MA(CLOSE,5)>MA(CLOSE,25),7) AND EVERY(MA(CLOSE,10)>MA(CLOSE,25),7),1) AND CLOSE/REF(CLOSE,1)>1.02;
X_11:=X_7 OR X_9 OR X_10;
X_12:=BARSCOUNT(CLOSE)>80 AND REF(CLOSE,2)/REF(CLOSE,3)>0.96 AND NOT(REF(HIGH,2)>REF(MA(CLOSE,20)+2*STD(CLOSE,20),2) AND REF(CLOSE,2)REF(MA(CLOSE,20)+2*STD(CLOSE,20),3) AND REF(CLOSE,3)0.905 AND NOT(REF(COUNT(HIGH>MA(CLOSE,250) AND HIGH/MA(CLOSE,250)<1.04,3)>0,1)) AND CLOSE/REF(CLOSE,1)>1.03;
X_13:=NOT(REF(EVERY(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,7),4)) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND NOT(REF(OPEN,2)/REF(CLOSE,2)>1.09 AND REF(VOL,2)>REF(HHV(VOL,100),3)) AND REF(MA(CLOSE,5),2)>REF(MA(CLOSE,5),3) AND REF(HHV(HIGH,3),2)/REF(LOW,1)>1.09 AND REF(CLOSE,1)/REF(CLOSE,2)<0.98 AND REF(MA(CLOSE,5),3)>REF(MA(CLOSE,5),4);
X_14:=REF(COUNT(CLOSE/REF(CLOSE,1)>1.098 AND CLOSE/OPEN>1.05,10)<4,1) AND REF(HIGH,2)/REF(MAX(CLOSE,OPEN),2)<1.095 AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)>1.03 AND REF(CLOSE,1)/REF(CLOSE,5)>1.15 AND HIGH/OPEN<1.03 AND CLOSE/OPEN<0.93,10)<1,1) AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND REF(OPEN,1)/REF(CLOSE,2)>1.005 AND OPEN=HIGH AND CLOSE/OPEN<0.96,10)<1,1);
X_15:=CLOSE>OPEN AND NOT(REF(OPEN,1)/REF(CLOSE,1)<1.005 AND OPEN>REF(OPEN,1)) AND NOT(REF(CLOSE,1)/REF(LOW,1)>1.02 AND OPEN/REF(CLOSE,1)>1.012) AND REF(CLOSE,1)1.0005 AND REF(CLOSE,1)/REF(CLOSE,4)<1.07 AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1) AND REF(CLOSE,1)/REF(OPEN,1)>0.97 AND REF(CLOSE,1)/REF(CLOSE,2)<0.979 AND OPEN/REF(CLOSE,1)<1.06;
X_16:=X_12 AND X_14 AND X_13 AND X_15;
X_17:=NOT(REF(EVERY(CLOSE/REF(CLOSE,1)>1.01 AND CLOSE>OPEN,4),3)) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(OPEN,1)1.08 AND REF(CLOSE,1)/REF(LOW,1)>1.003 AND REF(CLOSE,1)/REF(CLOSE,2)>0.92;
X_18:=REF(HIGH,2)/REF(CLOSE,2)>1.015 AND (REF(HIGH,2)-REF(CLOSE,2))/(REF(CLOSE,2)-REF(OPEN,2))>1.3 AND REF(OPEN,1)=REF(HIGH,1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND CLOSE/REF(CLOSE,1)>1.03;
X_19:=X_17 AND X_18;
X_20:=REF(HIGH,2)/REF(LOW,1)>1.07 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.07 AND (REF(HIGH,2)/REF(CLOSE,2)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,2)>REF(CLOSE,3) OR REF(CLOSE,2)1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BARSLAST(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND CLOSE/REF(CLOSE,1)>1.03;
X_21:=X_16 OR X_19 OR X_20;
X_22:=NOT(NAMELIKE(1) OR NAMELIKE(2));
X_23:=X_21 AND X_22 AND REF(COUNT(CLOSE/REF(CLOSE,2)>1.145 AND REF(EVERY(MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,20),2),2),3)=0,2);
X_24:=REF(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,250)/REF(MA(CLOSE,250),1)>0.9995 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(HHV(HIGH,2),1)/LOW>1.1,1) AND OPEN/REF(CLOSE,1)<1.02 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND REF(CLOSE,1)/REF(OPEN,1)>0.92 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>0.98 AND REF(COUNT(REF(OPEN,1)=REF(CLOSE,1) AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)>1.015 AND OPEN/CLOSE>1.12 AND CLOSE/REF(CLOSE,1)<0.94,4)<1,1);
X_25:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(CLOSE,1)1.02 AND REF(COUNT(OPEN=HIGH AND CLOSE/OPEN<0.97 AND OPEN/REF(CLOSE,1)>0.993,4)<1,1) AND REF(COUNT(OPEN/REF(CLOSE,1)<0.915 AND CLOSE/REF(CLOSE,1)<0.902,3)<1,1) AND REF(COUNT(OPEN=CLOSE AND CLOSE=LOW AND CLOSE/REF(CLOSE,1)<0.902,4)<1,1);
X_26:=X_24 AND X_25;
X_27:=CAPITAL<10000000 AND REF(COUNT(HHV(HIGH,10)/REF(LLV(LOW,10),1)>1.6 AND COUNT(CLOSE/REF(CLOSE,1)>1.098,10)>4,20)=0,1) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.18 AND NOT(REF(OPEN,2)/REF(CLOSE,3)>1.05 AND REF(CLOSE,2)REF(CLOSE,3) AND REF(VOL,2)>REF(HHV(VOL,30),3)) AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.05 AND OPEN>REF(CLOSE,1) AND OPEN=HIGH AND CLOSE/OPEN<0.98,3)<1,1);
X_28:=FILTER(X_26 AND X_27,7);
X_29:=REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND REF(CLOSE,1)/REF(MA(CLOSE,60),1)<1.1 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(HIGH,1)>REF(MAX(CLOSE,OPEN),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,60),1) AND (REF(MIN(CLOSE,OPEN),1)-REF(LOW,1))/(REF(HIGH,1)-REF(MAX(CLOSE,OPEN),1))>1.7 AND REF(HIGH,2)/REF(LOW,1)>1.05 AND REF(CLOSE,1)1.01;
X_30:=REF(CLOSE,2)>REF(CLOSE,3) AND REF(MIN(CLOSE,OPEN),2)/REF(LOW,2)>1.025 AND (REF(MIN(CLOSE,OPEN),2)-REF(LOW,2))/(REF(HIGH,2)-REF(MAX(CLOSE,OPEN),2))>1.7 AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,5),2) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND CLOSE/REF(CLOSE,1)>1.02;
X_31:=X_29 AND X_30;{WWW.GPXIAZAI.COM}
X_32:=REF(CLOSE,2)/REF(LOW,1)>1.07 OR REF(HIGH,1)/REF(LOW,1)>1.07 AND REF(CLOSE,2)/REF(CLOSE,13)<1.4 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)>0.9 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.185 AND (REF(CLOSE,1)/REF(CLOSE,2)<0.96 OR REF(CLOSE,1)/REF(OPEN,1)<0.94) AND REF(CLOSE,1)/REF(CLOSE,2)>0.906 AND REF(CLOSE,2)/REF(CLOSE,3)>1.098;
X_33:=REF(COUNT(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BARSLAST(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND CLOSE/REF(CLOSE,1)>1.03;
X_34:=X_32 AND X_33;
X_35:=X_28 OR X_31 OR X_34;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
STICKLINE(CLOSE/REF(CLOSE,1)>1.0965 AND CLOSE/OPEN>1.05,CLOSE,OPEN,2,0),COLORYELLOW;
X_36:=CLOSE0 AND BARSLAST(X_11)<15 OR (BARSLAST(X_11)>0 AND BARSLAST(X_11)<5 AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)<0.98 AND CLOSE0 AND BARSLAST(X_11)<15 AND REF(HIGH,1)/REF(MAX(CLOSE,OPEN),1)>1.04 AND CLOSE/REF(CLOSE,1)<0.96) OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_11)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_11)>0 AND BARSLAST(X_11)<15);
X_37:=BARSLAST(X_11)>0 AND BARSLAST(X_11)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_11)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_11)>0 AND BARSLAST(X_11)<15) OR (CLOSE/REF(CLOSE,BARSLAST(X_11))<0.95 AND HIGH0) AND BARSLAST(X_11)<15 OR (BARSLAST(X_11)>8 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)<0.975 AND BARSLAST(X_11)<15);
X_38:=X_36 OR X_37;
X_39:=CLOSE0 AND BARSLAST(X_23)<15 OR (BARSLAST(X_23)>0 AND BARSLAST(X_23)<5 AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)<0.98 AND CLOSE0 AND BARSLAST(X_23)<15 AND REF(HIGH,1)/REF(MAX(CLOSE,OPEN),1)>1.04 AND CLOSE/REF(CLOSE,1)<0.96) OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_23)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_23)>0 AND BARSLAST(X_23)<15);
X_40:=BARSLAST(X_23)>0 AND BARSLAST(X_23)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_23)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_23)>0 AND BARSLAST(X_23)<15) OR (CLOSE/REF(CLOSE,BARSLAST(X_23))<0.95 AND HIGH0) AND BARSLAST(X_23)<15 OR (BARSLAST(X_23)>8 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)<0.975 AND BARSLAST(X_23)<15);
X_41:=X_39 OR X_40;
X_42:=CLOSE0 AND BARSLAST(X_35)<15 OR (BARSLAST(X_35)>0 AND BARSLAST(X_35)<5 AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)<0.98 AND CLOSE0 AND BARSLAST(X_35)<15 AND REF(HIGH,1)/REF(MAX(CLOSE,OPEN),1)>1.04 AND CLOSE/REF(CLOSE,1)<0.96) OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_35)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_35)>0 AND BARSLAST(X_35)<15);
X_43:=BARSLAST(X_35)>0 AND BARSLAST(X_35)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(X_35)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(X_35)>0 AND BARSLAST(X_35)<15) OR (CLOSE/REF(CLOSE,BARSLAST(X_35))<0.95 AND HIGH0) AND BARSLAST(X_35)<15 OR (BARSLAST(X_35)>8 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)<0.975 AND BARSLAST(X_35)<15);
X_44:=X_42 OR X_43;
开仓:DRAWICON(X_11 OR X_23 OR X_35,LOW*0.995,1);
止盈11:DRAWICON(FILTER(MAX(CLOSE,OPEN)/REF(CLOSE,BARSLAST(X_11 OR X_23)+1)*1.03>1.25 AND BARSLAST(X_11 OR X_23)<15 AND CLOSE/REF(CLOSE,1)<1.05,15),HIGH*1.005,2);
止盈12:DRAWICON(FILTER(MAX(CLOSE,OPEN)/REF(CLOSE,BARSLAST(X_35)+1)*1.03>1.145 AND BARSLAST(X_35)<15 AND CLOSE/REF(CLOSE,1)<1.05,15),HIGH*1.005,2);
回撤止盈11:DRAWICON(FILTER(X_38,15),HIGH*1.005,8);
回撤止盈12:DRAWICON(FILTER(BARSLAST(X_11)>0 AND BARSLAST(X_11)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(CLOSE,BARSLAST(X_11))<0.95 AND HIGH0) AND BARSLAST(X_11)回撤止盈13:DRAWICON(FILTER(X_41,15),HIGH*1.005,8);
回撤止盈14:DRAWICON(FILTER(BARSLAST(X_23)>0 AND BARSLAST(X_23)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(CLOSE,BARSLAST(X_23))<0.95 AND HIGH0) AND BARSLAST(X_23)回撤止盈15:DRAWICON(FILTER(X_44,15),HIGH*1.005,8);
回撤止盈16:DRAWICON(FILTER(BARSLAST(X_35)>0 AND BARSLAST(X_35)<15 AND CLOSE/REF(CLOSE,1)<0.93 OR (CLOSE/REF(CLOSE,BARSLAST(X_35))<0.95 AND HIGH0) AND BARSLAST(X_35)

鲜花

握手

雷人

路过

鸡蛋
返回顶部