蛟龙出海副图&选股工具

X_1:=AMOUNT/VOL;
X_2:=(OPEN+CLOSE)/2;
X_3:=EMA(CLOSE,6);
X_4:=MA(X_3,1);
X_5:=EMA(CLOSE,18);
X_6:=REF(X_4,1);
X_7:=REF(X_5,1);
X_8:=BARSCOUNT(CLOSE);
X_9:=IF(X_8=1,0,(X_4-X_6)/X_6*100);
X_10:=REF(LOW,1);
X_11:=SMA(ABS(LOW-X_10),13,1)/SMA(MAX(LOW-X_10,0),13,1)*100;
X_12:=IF(PERIOD=4,60,0) AND CLOSE>0 AND VOL>1;
X_13:=EMA(IF(CLOSE*1.2,X_11*13,X_11/13),13);
X_14:=LLV(LOW,34);
X_15:=IF(DATE>=1230626,X_12,1);
X_16:=HHV(X_13,34);
X_17:=IF(LLV(LOW,56),1,0);
X_18:=EMA(IF(LOW<=X_14,(X_13+X_16*2)/2,0),3)/618*X_17;
X_19:=X_18>REF(X_18,1);
X_20:=REF(LLV(LOW,100),3);
X_21:=REFDATE(X_20,DATE);  [secret key="305112"]修改为:X_21:=CONST(REF(LLV(LOW,100),3));[/secret]
X_22:=LOW=X_21;
X_23:=X_19 AND X_22;
X_24:=X_15;
X_25:=X_23>REF(X_23,1);
X_26:=IF(X_15,1,0);
X_27:=X_25>REF(X_25,1);
起飞:X_27,NODRAW,COLORRED,LINETHICK2;
NOTEXTYF_MAXDQB:IF(X_27 AND X_26,100,0),COLORRED,LINETHICK3;
X_28:=IF(X_8=1 AND X_24,0,(X_5-X_7)/X_7*100);
X_29:=REF(CLOSE,1);
X_30:=IF(X_8=1,0,(CLOSE-X_29)/X_29*100);
X_31:=IF(X_8=1,(CLOSE+OPEN)/2,X_6);
X_32:=X_4;
X_33:=X_6;
X_34:=REF(X_4,2);
X_35:=(X_32+X_33+X_34)/3;
X_36:=(ABS(X_32-X_35)+ABS(X_33-X_35)+ABS(X_34-X_35))/3;
X_37:=REF(X_9,1);
X_38:=REF(X_9,2);
X_39:=IF(X_8<3,0,X_36/X_32*100);
NOTEXT步:IF(X_27,58,0),COLORBLACK,LINETHICK3;
X_40:=100-100*(HHV(HIGH,5*34)-CLOSE)/(HHV(HIGH,5*34)-LLV(LOW,5*34));
X_41:=X_40>20 AND X_40>REF(X_40,1);
X_42:=(CLOSE*2+HIGH+LOW)/4;
X_43:=EMA(X_42,13)-EMA(X_42,34);
X_44:=EMA(X_43,5);
X_45:=2*(X_43-X_44)*3.8;
X_46:=X_45>0 AND X_45>REF(X_45,1);
X_47:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
X_48:=X_47>=80/100;
X_49:=MA(CLOSE,6);
X_50:=MA(CLOSE,18);
X_51:=3*X_50-2*X_49;
X_52:=3*X_49-2*X_50;
X_53:=SUM(EMA((CLOSE+LOW)/2,2)/2.98,3);
X_54:=EMA(X_53,21);
X_55:=MA(CLOSE,30);
X_56:=2*MA(LLV((CLOSE+LOW)/2,8)*1.1,13)-EMA((CLOSE+LOW)/2,3)-(CLOSE+LOW)/2*0.1;
X_57:=IF((EMA((CLOSE+LOW)/2,3)-X_56)*5>0,POW((EMA((CLOSE+LOW)/2,3)-X_56)*5,2)/10,(-1)*POW((EMA((CLOSE+LOW)/2,3)-X_56)*5,2)/10);
X_58:=IF(X_57>0,X_57-0,(-1));
X_59:=CROSS(X_58,0) AND (CLOSE+LOW)/2>MA((CLOSE+LOW)/2,8);
X_60:=CROSS(X_58,0) AND (CLOSE+LOW)/2>MA((CLOSE+LOW)/2,8);
X_61:=X_41 AND X_46 AND X_59 AND X_48;
试飞:X_60 AND X_26,NODRAW,COLORMAGENTA;
X_62:=IF(X_8<3,0,IF(X_9<0 AND X_37<0 AND X_38<0,0-1,1));
X_63:=REF(X_9,1);
X_64:=IF(X_8>11 AND X_63<0 AND X_9>0,1,0);
X_65:=BARSLAST(X_64=1);
X_66:=REF(X_65,1);
X_67:=IF(X_8>11 AND X_37<0 AND X_9>0,X_66+1,X_66);
X_68:=IF(X_8>11 AND X_37>0 AND X_9<0,1,0);
X_69:=X_31;
X_70:=X_31;
X_71:=IF(X_8>11 AND X_69<OPEN,OPEN,X_31);
X_72:=IF(X_8>11 AND X_70>OPEN,OPEN,X_31);
X_73:=0;
X_74:=REF(X_31,1);
X_75:=IF(X_9>0.5 AND (X_39>0.215 OR LOW>X_31) AND CLOSE>=OPEN AND (CLOSE>=200 OR (CLOSE<200 AND X_30<11)),1,0);
X_76:=IF(X_9<0-0.3 AND (X_39>0.2 OR HIGH<X_31) AND (OPEN>=CLOSE OR X_30<0-1),1,0);
X_77:=BARSSINCE(X_75);
X_78:=BARSSINCE(X_76);
X_79:=X_76 OR BARSTATUS=2;
X_80:=COUNT(X_75,BARSLAST(X_79))=1 AND X_75;
腾飞:X_61 AND X_24,NODRAW,COLORYELLOW;
NOTEXT爆:IF(X_60 AND X_26,98,0),COLORMAGENTA,LINETHICK3;
NOTEXT起:IF(X_60,88,0),COLORBLACK,LINETHICK3;
NOTEXT回:IF(X_61,78,0),COLORYELLOW,LINETHICK3;
NOTEXT转:IF(X_61,68,0),COLORBLACK,LINETHICK3;
X_81:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_82:=SMA(CLOSE,5,1);
X_83:=MA(CLOSE,5);
X_84:=MA(CLOSE,10);
X_85:=MA(CLOSE,30);
X_86:=BARSLAST(CROSS(X_84,X_83)) AND CROSS(X_83,X_84);
X_87:=X_86 AND X_83>X_85 AND X_84>X_85 AND X_84>REF(X_84,1);
X_88:=EMA(CLOSE,5);
X_89:=EMA(EMA(CLOSE,90)*1.01,10);
X_90:=LLV(LOW,21);
X_91:=HHV(HIGH,21);
X_92:=EMA((CLOSE-X_90)/(X_91-X_90)*100,5);
X_93:=EMA((CLOSE-X_90)/(X_91-X_90)*50,13);
X_94:=CROSS(X_92,X_93);
X_95:=AMOUNT/VOL;
X_96:=LOW<X_95*0.9;
X_97:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
X_98:=LOW<MA(CLOSE,5)*0.921;
X_99:=VOL<MA(VOL,5)*1.5;
X_100:=IF(CLOSE>REF(CLOSE,1),88,0);
X_101:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_100>0,91,0);
X_102:=COUNT(X_79,BARSLAST(X_75))=1 AND X_79;
X_103:=BARSLAST(X_102);
X_104:=BARSLAST(X_80);
X_105:=(SUM(X_102,X_104)=0)*X_104;
X_106:=REF(X_71,X_105);
X_107:=FILTER(X_101>90,45);
捉妖:X_107,NODRAW,COLORCYAN;
X_108:=FILTER(X_101>90,35);
大妖:X_108,NODRAW,COLORFF6633;
NOTEXT捉:IF(X_107,58,0),COLORCYAN,LINETHICK3;
NOTEXT妖:IF(X_107,48,0),COLORBLACK,LINETHICK3;
NOTEXT大:IF(X_108,38,0),COLORFF6633,LINETHICK3;
NOTEXTYF:IF(X_108,28,0),COLORBLACK,LINETHICK3;
DRAWICON(X_27,5,1);
DRAWICON(X_27,15,1);
DRAWICON(X_27,25,1);
DRAWICON(X_27,35,1);
DRAWICON(X_27,45,1);
DRAWICON(X_27,55,1);
DRAWICON(X_27,65,1);
DRAWICON(X_27,75,1);
NOTEXT00:0,DOTLINE,COLORFF6633;
NOTEXT0:0,POINTDOT,COLORFF6633,LINETHICK4;
X_109:=REF(X_106,1);
X_110:=IF(X_80=1,(CLOSE-X_71)/X_71*100,(X_72-X_109)/X_109*100);
X_111:=IF(X_105=0 AND X_80=0 AND X_102=0,0,X_110);
X_112:=X_80;
X_113:=X_102;
X_114:=X_105;
X_115:=X_111;
X_116:=IF(X_112=1,X_106,IF(X_114!=0 OR X_113=1,X_109,0));
X_117:=IF(X_113=1,X_72,0);
X_118:=IF(X_112=1,1,IF(X_114>0,2,IF(X_113=1,9,0)));
X_119:=EMA(CLOSE,6);
X_120:=BARSCOUNT(CLOSE);
X_121:=X_80;
X_122:=X_102;
X_123:=X_105;
X_124:=X_111;
X_125:=IF(X_121=1,X_106,IF(X_123!=0 OR X_122=1,X_109,0));
X_126:=IF(X_122=1,X_72,0);
X_127:=COUNT(X_79=1 AND X_111!=0,0);
X_128:=IF(X_79=1,X_111,0);
X_129:=SUM(X_128,0)-X_127;
X_130:=X_127;
X_131:=IF(X_8<240,X_8,240);
X_132:=SUM(X_128,0)-X_127-REF(SUM(X_128,0)-X_127,X_131);
X_133:=COUNT(X_79=1 AND X_111!=0,0)-REF(COUNT(X_79=1 AND X_111!=0,0),X_131);
X_134:=IF(X_121>=1,1,IF(X_123>0,2,IF(X_122>=1,9,0)));
X_135:=EMA(CLOSE,6);

指标一共五个信号点,共振出现的越多,股票走上升趋势的概率越大,也可以结合其他副图指标进行判断,注意REFDATE是未来函数,信号会漂移,可以根据需要自己修改!

对应选股器

X_1:=AMOUNT/VOL;
X_2:=(OPEN+CLOSE)/2;
X_3:=EMA(CLOSE,6);
X_4:=MA(X_3,1);
X_5:=EMA(CLOSE,18);
X_6:=REF(X_4,1);
X_7:=REF(X_5,1);
X_8:=BARSCOUNT(CLOSE);
X_9:=IF(X_8=1,0,(X_4-X_6)/X_6*100);
X_10:=REF(LOW,1);
X_11:=SMA(ABS(LOW-X_10),13,1)/SMA(MAX(LOW-X_10,0),13,1)*100;
X_12:=IF(PERIOD=4,60,0) AND CLOSE>0 AND VOL>1;
X_13:=EMA(IF(CLOSE*1.2,X_11*13,X_11/13),13);
X_14:=LLV(LOW,34);
X_15:=IF(DATE>=1230626,X_12,1);
X_16:=HHV(X_13,34);
X_17:=IF(LLV(LOW,56),1,0);
X_18:=EMA(IF(LOW<=X_14,(X_13+X_16*2)/2,0),3)/618*X_17;
X_19:=X_18>REF(X_18,1);
X_20:=REF(LLV(LOW,100),3);
X_21:=REFDATE(X_20,DATE);
X_22:=LOW=X_21;
X_23:=X_19 AND X_22;
X_24:=X_15;
X_25:=X_23>REF(X_23,1);
X_26:=IF(X_15,1,0);
XG:X_25>REF(X_25,1);

相关推荐

筹码力度副图及选股公式

副图指标 DRAWGBK(CLOSE>OPEN,RGB(40,40,40),RGB(40,40,40),1,2,1); NOTEXT箱底:LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),88),COLORGREEN,LINETHICK2; X_1:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIG ...

通达信主力控盘主图指标源码

主力控盘主图指标 {阻力支撑线} V1:=ABS((2*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=EMA((LOW+HIGH+CLOSE)/3,5); 支撑:REFDATE(V ...

牛气冲天&拐点雷达副图指标

牛气冲天副图公式指标 VAR1:=LLV(LOW,10); VAR2:=HHV(HIGH,15); 动力线:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4); 趋势:MA(动力线,2); STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),3.5,0),COLOR000033; STIC ...

暂无评论

发表评论