通达信征战涨停源码副图
征战涨停
DRAWGBK(C>0,RGB(28,28,28),RGB(28,28,28),0,"",0);
峰谷周期:=5;峰谷虚实:=1;高量周期:=10;M周期内:=1;
XA_3:=REF(CLOSE,1);
XA_4:=ISLASTBAR AND CLOSE<500;
XA_5:=VOL;
XA_6:=MA(VOL,5);
XA_7:=XA_5<=LLV(XA_5,100)*1;
XA_8:=COUNT(XA_7,5)>=3 OR XA_6<=LLV(XA_6,100) AND XA_5>0 AND BARSCOUNT(XA_5)>=100;
XA_9:=FILTER(XA_8,5);
XA_10:=VOL>=REF(VOL,1)*1.9 AND CLOSE>XA_3;
XA_11:=HIGH<0.382*HHV(HIGH,240) OR LOW<1.382*LLV(LOW,240);
XA_12:=VOL<0.382*HHV(VOL,240) AND MA(VOL,5)<=MA(VOL,40);
XA_13:=XA_12 AND XA_11;
XA_14:=VOL/REF(VOL,1)>=1.1;
XA_15:=CLOSE>OPEN AND BETWEEN(VOL/REF(VOL,1),1.1,2.5);
XA_16:=CLOSE>REF(CLOSE,1) AND REFX(LLV(MIN(CLOSE,OPEN),3),3)>=LOW;
XA_17:=XA_14 AND XA_16;
XA_18:=XA_17 AND XA_13;
XA_19:=CLOSE>OPEN AND CLOSE<REFX(OPEN,1) AND REFX(XA_16,1);
XA_20:=LLV(MIN(OPEN,CLOSE),3);
XA_21:=0.97*MA(VOL,3)<=REF(VOL,3);
XA_22:=REF(CLOSE>XA_3 AND VOL>1.1*REF(VOL,1),3) AND CLOSE>=REF(CLOSE,3) AND REF(CLOSE>=OPEN,3) AND XA_20>=REF(OPEN,3) AND XA_21;
XA_23:=BARSLAST(XA_22);
XA_24:=REF(XA_20,XA_23);
XA_25:=REF(CLOSE,XA_23+3);
XA_26:=REF(OPEN,XA_23+3);
XA_27:=峰谷周期;
XA_28:=IF(峰谷虚实=0,HIGH,MAX(CLOSE,OPEN));
XA_29:=5;
XA_30:=XA_29*1;
XA_31:=BARSLAST(FILTER(BACKSET(FILTER(REF(XA_28,XA_30)=HHV(XA_28,2*XA_30+1),XA_30),XA_30+1),XA_30));
XA_32:=REF(XA_28,XA_31);
XA_33:=XA_29*2;
XA_34:=BARSLAST(FILTER(BACKSET(FILTER(REF(XA_28,XA_33)=HHV(XA_28,2*XA_33+1),XA_33),XA_33+1),XA_33));
XA_35:=REF(XA_28,XA_34);
XA_36:=XA_29*4;
XA_37:=BARSLAST(FILTER(BACKSET(FILTER(REF(XA_28,XA_36)=HHV(XA_28,2*XA_36+1),XA_36),XA_36+1),XA_36));
XA_38:=REF(XA_28,XA_37);
XA_39:=XA_29*8;
XA_40:=BARSLAST(FILTER(BACKSET(FILTER(REF(XA_28,XA_39)=HHV(XA_28,2*XA_39+1),XA_39),XA_39+1),XA_39));
XA_41:=REF(XA_28,XA_40);
XA_42:=1+0/100;
XA_43:=CROSS(CLOSE,XA_42*XA_32);
XA_44:=XA_43 AND REF(HHV(XA_28,XA_31),1)<=XA_32;
XA_45:=CROSS(CLOSE,XA_42*XA_35);
XA_46:=XA_45 AND REF(HHV(XA_28,XA_34),1)<=XA_35;
XA_47:=CROSS(CLOSE,XA_42*XA_38);
XA_48:=XA_47 AND REF(HHV(XA_28,XA_37),1)<=XA_38;
XA_49:=CROSS(CLOSE,XA_42*XA_41);
XA_50:=XA_49 AND REF(HHV(XA_28,XA_40),1)<=XA_41;
XA_51:=XA_44 OR XA_48 OR XA_48 OR XA_50;
XA_52:=IF(XA_44,XA_31,IF(XA_46,XA_34,IF(XA_48,XA_37,XA_40)));
XA_53:=REF(XA_28,XA_52);
XA_54:=IF(峰谷虚实=0,LOW,MIN(CLOSE,OPEN));
XA_55:=FILTER(BACKSET(FILTER(REF(XA_54,XA_27)=LLV(XA_54,2*XA_27+1),XA_27),XA_27+1),XA_27);
XA_56:=BARSLAST(XA_55);
XA_57:=REF(XA_54,XA_56);
XA_58:=0.002*LOW+0.005;
XA_59:=XA_55 AND ABS(XA_57-REF(XA_57,1))<=XA_58 AND REF(XA_56,1)>=5;
XA_60:=XA_55 AND ABS(XA_57-REF(XA_53,XA_52+1))<=XA_58;
XA_61:=BETWEEN(XA_28,XA_53*0.995,XA_53*1.001);
XA_62:=COUNT(XA_61,10)>=3 AND HHV(HIGH,XA_52)<=XA_53*1.001;
XA_63:=XA_5/HHV(XA_5,20)<=0.618;
XA_64:=HIGH>LOW AND (CLOSE/REF(CLOSE,1)<=0.96 OR CLOSE/OPEN<=0.96) AND XA_63;
XA_65:=HIGH>LOW AND (CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/OPEN>=1.04) AND XA_63;
XA_66:=3;
XA_67:=3;
XA_68:=HHV(HIGH,240)-LLV(LOW,240);
XA_69:=IF(XA_68<=1,0,IF(XA_68<=5,0.02,2.5/1000*XA_68)+0.005);
XA_70:=VOL>=REF(VOL,1)*1.1 OR CLOSE>OPEN*IF(CLOSE<500,1.03,1.01);
XA_71:=REFX(LLV(LOW,XA_67),XA_67);
XA_72:=XA_70 AND LOW<=XA_71;
XA_73:=REF(HHV(HIGH,XA_66),1);
XA_74:=REF(HHV(MAX(CLOSE,OPEN),XA_66),1);
XA_75:=XA_72 AND ABS(XA_73-XA_71)<=XA_69;
XA_76:=XA_72 AND ABS(XA_74-XA_71)<=XA_69;
XA_77:=REFX(LLV(MIN(CLOSE,OPEN),XA_67),XA_67);
XA_78:=XA_70 AND LOW<=XA_77;
XA_79:=XA_78 AND ABS(XA_73-XA_77)<=XA_69;
XA_80:=XA_78 AND ABS(XA_74-XA_77)<=XA_69;
XA_81:=XA_75 OR XA_76 OR XA_79 OR XA_80;
XA_82:=50/IF(CLOSE>=1,10000,100000);
XA_83:=1.1*XA_3-XA_82;
XA_84:=1.05*XA_3-XA_82;
XA_85:=0.9*XA_3+XA_82;
XA_86:=0.95*XA_3+XA_82;
XA_87:=NAMELIKE(4) OR NAMELIKE(5);
XA_88:=IF(XA_87,CLOSE>=XA_84,CLOSE>=XA_83);
XA_89:=CLOSE<OPEN AND (CLOSE<=XA_86 OR CLOSE<0.95*OPEN+XA_82) OR (CLOSE>1000 AND CLOSE<=XA_3*0.975);
XA_90:=XA_89;
XA_91:=BARSLAST(FILTER(XA_90,3));
XA_92:=REF(OPEN,XA_91);
XA_93:=LOW<OPEN*0.96 AND XA_11 AND MA(CLOSE,60)<=REF(MA(CLOSE,60),1);
XA_94:=BARSLAST(XA_93);
XA_95:=REF(OPEN,XA_94)>=HHV(MAX(CLOSE,OPEN),XA_94) AND REF(LOW,XA_94)<=1.01*LLV(MIN(CLOSE,OPEN),XA_94);
XA_96:=XA_95 AND XA_94>=5 AND MA(VOL,5)<MA(VOL,60);
XA_97:=FILTER(XA_96,5);
XA_98:=LOW*0.005;
XA_99:=LOW<=LLV(LOW,3);
XA_100:=ABS(LOW-REF(XA_24,1))<=XA_98 OR ABS(LOW-REF(XA_24,XA_23+1))<=XA_98 AND LOW<=LLV(MIN(OPEN,CLOSE),XA_23);
XA_101:=ABS(LOW-REF(XA_25,1))<=XA_98 OR ABS(LOW-REF(XA_25,XA_23+1+3))<=XA_98;
- 上一篇公式:通达信快速出招源码副图
- 下一篇公式:通达信抄底,macd,极品抄底指标MACD