|
网上无意搜到十分受用,望对大家有用。- X_1:=CLOSE;
- X_2:=SUM(CLOSE*VOL,240)/SUM(VOL,240);
- X_3:=BARSCOUNT(CLOSE);
- X_4:=REF(HHV(HIGH,X_3),1);
- X_5:=CROSS(CLOSE,REF(HHV(HIGH,X_3),1)) AND CLOSE/X_2<1.09 AND X_3>1 AND X_3<240;
- X_6:=COUNT(X_5,13)>=3 AND CROSS(CLOSE,REF(HHV(HIGH,X_3),1));
- X_7:=BARSLAST(X_6)<13;
- X_8:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)<1.25 AND REF(CLOSE,1)<LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85;
- X_9:=EMA(CLOSE,2);
- X_10:=EMA(CLOSE,3);
- X_11:=MAX(X_9,X_10);
- X_12:=CLOSE>X_11 AND X_8 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015) AND VOL/CAPITAL<=0.2 AND CLOSE/REF(CLOSE,1)<1.07;
- X_13:=MA(SLOPE(CLOSE,20)*5+CLOSE,10);
- X_14:=HOUR=9 AND MINUTE=45;
- X_15:=LLV(LOW,15);
- X_16:=BARSLAST(X_14);
- X_17:=REF(X_15,X_16);
- X_18:=CONST(X_17);
- X_19:=HOUR=9 AND MINUTE=45;
- X_20:=HHV(HIGH,15);
- X_21:=BARSLAST(X_19);
- X_22:=REF(X_20,X_21);
- X_23:=CONST(X_22);
- X_24:=EMA(CLOSE,12)-EMA(CLOSE,26);
- X_25:=EMA(X_24,9);
- X_26:=(X_24-X_25)*2;
- X_27:=X_26>0 AND X_24>0 AND X_25>0;
- X_28:=HOUR=10 AND MINUTE=0;
- X_29:=HHV(HIGH,30);
- X_30:=BARSLAST(X_28);
- X_31:=REF(X_29,X_30);
- X_32:=CONST(X_31);
- X_33:=CLOSE>X_32 AND REF(CLOSE<=X_32,1) AND CLOSE>X_13;
- X_34:=FILTER(X_33,100);
- X_35:=DYNAINFO(3);
- X_36:=CLOSE<=X_35*1.04 AND CLOSE>X_35;
- X_37:=VOL/REF(MA(VOL,5),1);
- X_38:=X_27 AND X_34 AND X_36 AND X_31>X_35 AND X_37>=1;
- X_39:=CLOSE;
- X_40:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
- X_41:=STICKLINE(X_40>0,DYNAINFO(3),DYNAINFO(3)*(1+X_40),0.1,0);
- X_42:=STICKLINE(X_40<0,DYNAINFO(3),DYNAINFO(3)*(1+X_40),0.1,0);
- X_43:=CLOSE/DYNAINFO(3);
- X_44:=FILTER(X_40>0.015 AND X_40>REF(X_40,1)*2 AND VOL>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1) OR X_40>0.025,240);
- X_45:=MAX(DYNAINFO(3),DYNAINFO(5));
- X_46:=MIN(DYNAINFO(3),DYNAINFO(6));
- X_47:=X_45-X_46;
- X_48:=X_46+X_47*8/9;
- X_49:=X_46+X_47*0.5/9;
- X_50:=VOL*CLOSE/100;
- X_51:=SUM(IF(X_50/8>20 AND CLOSE>REF(CLOSE,1),X_50,0),0);
- X_52:=SUM(IF(X_50/8>20 AND CLOSE<REF(CLOSE,1),X_50,0),0);
- X_53:=SUM(IF(X_50/8<20 AND CLOSE>REF(CLOSE,1),X_50,0),0);
- X_54:=SUM(IF(X_50/8<20 AND CLOSE<REF(CLOSE,1),X_50,0),0);
- X_55:=X_51;
- X_56:=X_52;
- X_57:=X_53;
- X_58:=X_54;
- X_59:=BARSLAST(CLOSE=HHV(CLOSE,60));
- X_60:=BARSLAST(CLOSE=LLV(CLOSE,60));
- X_61:=X_60;
- X_62:=X_59;
- X_63:=X_60;
- X_64:=X_59;
- X_65:=X_61>X_62 AND X_63>X_64;
- X_66:=X_61>X_62 AND X_63<X_64;
- X_67:=X_62>X_61 AND X_64>X_63;
- X_68:=X_62>X_61 AND X_64<X_63;
- DRAWICON(FILTER(CROSS(X_61,X_62),60),OPEN*1,5);
- DRAWTEXT(FILTER(CROSS(X_61,X_62),60),OPEN*0.985,1),COLORBLUE;
- X_69:=BARSCOUNT(CLOSE);
- X_70:=SUM(CLOSE*VOL,X_69)/SUM(VOL,X_69);
- X_71:=MA(VOL,5)>REF(MA(VOL,5),1) AND REF(MA(VOL,5),1)>REF(MA(VOL,5),2);
- X_72:=CLOSE>=REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2);
- X_73:=CLOSE>X_70 AND VOL>MA(VOL,5);
- X_74:=VOL>=REF(VOL,1)*1;
- X_75:=CLOSE>=HHV(CLOSE,0);
- X_76:=VOL>=HHV(VOL,0);
- X_77:=(CLOSE/DYNAINFO(3)-1)*100<=2.5;
- X_78:=X_71 AND X_72 AND X_73 AND X_74 AND X_75 AND X_76 AND X_77;
- X_79:=BARSSINCE(X_78)+1;
- X_80:=REF(CLOSE,X_79-1);
- 起爆收益:(DYNAINFO(7)-X_80)/X_80*100,NODRAW;
- X_81:=CAPITAL*100/100000000;
- X_82:=REF(TIME/10000,X_79);
- X_83:=X_79-1;
- DRAWICON(X_78,CLOSE,25);
- DRAWTEXT(X_78,LOW-0.01,2),COLORRED;
- DRAWNUMBER_FIX(ISLASTBAR AND CLOSE>1,0.8,0.5,0,起爆收益),COLORBLUE;
- DRAWTEXT_FIX(ISLASTBAR AND CLOSE>1,0.8,0.45,0,3),COLORRED;
- DRAWTEXT_FIX(ISLASTBAR AND CLOSE>1,0.85,0.5,0,4),COLORRED;
- X_84:=FILTER(CROSS(X_61,X_62),60);
- X_85:=BARSSINCE(X_84)+1;
- X_86:=REF(CLOSE,X_85-1);
- 抓板收益:(DYNAINFO(7)-X_86)/X_86*100,NODRAW;
- DRAWNUMBER_FIX(ISLASTBAR AND CLOSE>1,0.8,0.35,0,抓板收益),COLORBLUE;
- DRAWTEXT_FIX(ISLASTBAR AND CLOSE>1,0.8,0.3,0,5),COLORRED;
- DRAWTEXT_FIX(ISLASTBAR AND CLOSE>1,0.85,0.35,0,4),COLORRED;
-
复制代码 |
|