以下是自用成功率99指标源码和使用说明
自用选股成功率99短线指标源码:
2.5,COLORBLACK;
X_1:=CLOSE/REF(CLOSE,1) =1.0982ANDCLOSE/REF(CLOSE,1) =1.102ORCLOSE/REF(CLOSE,1) =1.1998;
X_2:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100 100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);
X_3:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
X_4:=X_2=100ANDX_3=0;
X_5:=IF(HIGH CLOSEANDCLOSE OPENOR(HIGH OPENANDOPEN =CLOSE),CLOSE,HIGH)+IF(LOW CLOSEANDCLOSE OPENOR(LOW OPENANDOPEN =CLOSE),CLOSE,LOW)/3;
X_6:=EMA((X_5-MA(X_5,84.027))/(0.015*AVEDEV(X_5,84.027)),2.0332);
X_7:=X_6;
X_8:=HHV(MA(X_6,5),21);
X_9:=X_7
X_10:=CLOSE*VOL;
X_11:=EMA((EMA(X_10,3)/EMA(VOL,3)+EMA(X_10,6)/EMA(VOL,6)+EMA(X_10,12)/EMA(VOL,12)+EMA(X_10,24)/EMA(VOL,24))/4,13);
X_12:=1.13*X_11;
X_13:=REF(CLOSE,1)*1.1-CLOSE 0.01ANDHIGH=CLOSE;
X_14:=X_9ANDCROSS(CLOSE,X_12)ANDX_4;
X_15:=WINNER(CLOSE/1.35)*100;
X_16:=CROSS(X_15,30)ANDX_1ANDX_4;
X_17:=3;
X_18:=MA(CLOSE,X_17);
X_19:=MA(CLOSE,2*X_17);
X_20:=MA(CLOSE,3*X_17);
X_21:=MA(CLOSE,4*X_17);
X_22:=MA((X_18+X_19+X_20+X_21)/4,5);
X_23:=X_22*1.08;
X_24:=X_22*1.05;
X_25:=CROSS(CLOSE,X_24)ANDX_1;
X_26:=CROSS(CLOSE,X_23)ANDX_1;
X_27:=X_26;
X_28:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_29:=EMA(X_28,9);
X_30:=(X_28-X_29)*2;
X_31:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_32:=SMA(X_31,3,1);
X_33:=SMA(X_32,3,1);
X_34:=3*X_32-2*X_33;
X_35:=VOL/700000000;
X_36:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_37:=2.5*MAX(X_35,X_36);
X_38:=DMA(CLOSE,X_37);
X_39:=SMA(20*(X_38/REF(X_38,1)-1),2,1);
X_40:=EMA(X_39,2);
X_41:=0.24;
X_42:=CLOSE =REF(CLOSE,1);
X_43:=IF(X_39 X_41ANDX_40 =0.005ANDX_42,1,0);
X_44:=CROSS(X_43,0.5)ANDCOUNT(X_43 0.5,10)=1;
X_45:=X_34-REF(X_34,1) 30ANDCLOSE/REF(CLOSE,1) 1.043ANDX_30 0ANDX_29
X_46:=CLOSE/REF(CLOSE,1) 1.03ANDCLOSE=HIGHANDBETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_47:=FILTER(X_46,28)*100ANDLOW REF(CLOSE,1)*0.93;
X_48:=X_45ORX_47ANDX_44;
X_49:=9;
X_50:=10;
X_51:=CLOSE/REF(CLOSE,1) 1+0.01*X_49;
X_52:=EXIST(CLOSE/REF(CLOSE,1) 1+0.01*X_49,X_50);
X_53:=CLOSE/REF(CLOSE,1) 1+0.01*X_49;
X_54:=IF(X_51+X_52+X_53=3,1,0);
X_55:=(HIGH-CLOSE)/(CLOSE-OPEN) 0.33;
X_56:=CLOSE/REF(CLOSE,1)-1 =0.0502ANDCLOSE REF(CLOSE,1)AND(OPEN-LOW)/(CLOSE-OPEN) =1.48ANDLOW REF(LOW,1)ANDLOW REF(LOW,2);
X_57:=CLOSE/REF(CLOSE,1)-1 =0.08;
X_58:=VOL REF(VOL,1)*1.9ANDCLOSE REF(CLOSE,1)ANDCLOSE/REF(CLOSE,1)-1 =0.049ANDX_55;
X_59:=CLOSE/REF(CLOSE,1)-1 =0.0502ANDCLOSE REF(CLOSE,1)ANDVOL REF(VOL,1)ANDVOL REF(VOL,1)*2.5ANDX_55;
X_60:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_61:=IF(FILTER(X_58ORX_59ORX_56ORX_57ANDX_60 CLOSE,34),1,0)ANDX_54;
X_62:=X_48ORX_61;
X_63:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100
X_64:=FILTER(X_63,10);
X_65:=BARSLAST(X_64);
X_66:=REF(HIGH,X_65+2);
X_67:=REF(HIGH,X_65+1);
X_68:=REF(HIGH,X_65);
X_69:=MAX(X_66,X_67);
X_70:=MAX(X_69,X_68);
X_71:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100
X_72:=X_65
X_73:=(OPEN-X_70)/X_70*100
X_74:=(CLOSE-LLV(LOW,X_65))/LLV(LOW,X_65)*100
X_75:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100
X_76:=VOL/MA(VOL,5)
X_77:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100
X_78:=X_71ANDX_72ANDX_73ANDX_74ANDX_75ANDX_76ANDX_77;
X_79:=FILTER(X_78,15);
X_80:=(CLOSE-MA(CLOSE,54))/MA(CLOSE,54)
X_81:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)
X_82:=(X_80=1ANDX_81=1)*0.2;
X_83:=(X_82=0ANDREF(X_82,1)=0.2ANDREF(COUNT(X_82=0.2,10)=10,1)=1)*(-0.1);
X_84:=X_83=(-0.1);
X_85:=X_79ORX_84;
X_86:=VOL/REF(VOL,1) 1.2ANDCOUNT(CLOSE OPEN,1)OR(LOW REF(HIGH,1)ANDCOUNT(OPEN CLOSE,1)ANDVOL/REF(VOL,1) 1.2);
X_87:=X_85ANDCLOSE/REF(CLOSE,1) 1.03ANDX_86;
X_88:=VOL;
X_89:=X_88 MA(VOL,89);
X_90:=EMA(CLOSE,5);
X_91:=EMA(CLOSE,29);
X_92:=X_90 X_91;
X_93:=REF(CLOSE,1);
X_94:=SMA(MAX(CLOSE-X_93,0),12,1)/SMA(ABS(CLOSE-X_93),12,1)*100;
X_95:=SMA(MAX(CLOSE-X_93,0),56,1)/SMA(ABS(CLOSE-X_93),56,1)*100;
X_96:=X_94 X_95ANDX_92ANDX_89;
X_97:=HHV(HIGH,30);
X_98:=LLV(LOW,30);
X_99:=REF((X_97/X_98-1)*100 =30,1);
X_100:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_101:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_100);
X_102:=EMA(X_101,200)*1.1;
X_103:=CROSS(CLOSE,X_102)ANDREF(CLOSE*1.097,1) CLOSEANDX_96ANDX_99;
X_104:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_105:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_106:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_107:=CROSS(X_104,5)ANDCROSS(CLOSE,X_105)ANDCROSS(CLOSE,X_106);
X_108:=120;
X_109:=MA(CLOSE,X_108);
X_110:=POW(CLOSE-X_109,2);
X_111:=MA(X_110,X_108);
X_112:=SQRT(X_111);
X_113:=X_109+2*X_112;
X_114:=X_113;
X_115:=MA(CLOSE,25);
X_116:=CROSS(CLOSE,X_114)ORCOUNT(CLOSE REF(CLOSE,1),3)=3ANDCLOSE X_114ANDCLOSE X_115ANDX_1;
X_117:=X_27AND(X_62ANDX_87)AND(X_103ORX_107)ANDX_4ANDX_116;
X_118:=REF(HHV(HIGH,21),1);
X_119:=REF(HHV(VOL,21),1);
X_120:=EMA(CLOSE,18);
X_121:=EMA(X_120*1.1,5);
X_122:=CLOSE =X_121ANDCLOSE/REF(CLOSE,1) =1.075ANDREF(CLOSE,1)/REF(CLOSE,2) =1.098ANDREF(CLOSE,2)/REF(CLOSE,3) 1.098ANDCLOSE/X_121 1.35ANDCLOSE X_118ANDCLOSE/X_121 =1.04ANDLOW/X_121 =1.03ANDOPEN/LOW =1.047ANDVOL/REF(X_119,1) =5ANDLOW/REF(CLOSE,1) =0.97ANDREF(VOL,1)/REF(X_119,1) =5.73ANDLOW/REF(LOW,1) =1.0618ANDX_1;
X_123:=X_9ANDCROSS(CLOSE,X_12)ANDX_13;
X_124:=2;
X_125:=COUNT(X_1,X_124)=1ANDX_1;
X_126:=CROSS(X_62,1)ANDX_125;
X_127:=X_62ANDX_87ANDX_123ANDX_126;
X_128:=HIGH=CLOSE;
X_129:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 =0.93ANDX_128;
X_130:=BARSLAST(X_127);
X_131:=X_130ANDX_129ANDX_130
X_132:=CROSS(X_15,30)ANDX_1;
X_133:=(-(HHV(EMA(CLOSE,5),14)-CLOSE))/CLOSE*5000;
X_134:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_135:=(20*X_134+19*REF(X_134,1)+18*REF(X_134,2)+17*REF(X_134,3)+16*REF(X_134,4)+15*REF(X_134,5)+14*REF(X_134,6)+13*REF(X_134,7)+12*REF(X_134,8)+11*REF(X_134,9)+10*REF(X_134,10)+9*REF(X_134,11)+8*REF(X_134,12)+7*REF(X_134,13)+6*REF(X_134,14)+5*REF(X_134,15)+4*REF(X_134,16)+3*REF(X_134,17)+2*REF(X_134,18)+REF(X_134,20))/210;
X_136:=MA(X_135,6);
X_137:=(X_135-X_136)*1.2;
X_138:=(CLOSE*2+HIGH+LOW)/4*10;
X_139:=EMA(X_138,6)-EMA(X_138,55);
X_140:=EMA(X_139,6);
X_141:=(X_139-X_140)*0.06;
X_142:=X_137+X_141;
X_143:=X_142
X_144:=MA(CLOSE,3);
X_145:=MA(CLOSE,13);
X_146:=MA(CLOSE,34);
X_147:=X_144 =X_145ANDX_146 =REF(X_146,1);
X_148:=EMA(CLOSE,12);
X_149:=EMA(CLOSE,50);
X_150:=X_148-X_149
X_151:=CLOSE/REF(CLOSE,1)-1;
X_152:=IF(X_147,2,0)+IF(X_143,2,0)+IF(X_150,2,0)+X_151;
X_153:=X_152/10+X_133/1000;
X_154:=X_153 REF(X_153,1)ANDCROSS(X_153,0.8);
STICKLINE(X_153 =0.8ANDCLOSE REF(CLOSE,1),0.8,X_153,2,0),COLORMAGENTA;
STICKLINE(X_153 =0.8ANDCLOSE =REF(CLOSE,1),0.8,X_153,2,0),COLORYELLOW;
STICKLINE(X_153 0.8ANDCLOSE REF(CLOSE,1),0.8,0.5,2,0),COLORWHITE;
STICKLINE(X_153 0.8ANDCLOSE =REF(CLOSE,1),0.8,0.5,2,0),COLORCYAN;
X_155:=WINNER(CLOSE)*100;
X_156:=X_2=100ANDX_3=0;
X_157:=X_27ANDX_62ANDX_87AND(X_103ORX_107)ANDX_4ANDX_116;
X_158:=REF(X_157,1)ANDX_14;
强度:IF(X_153 =0.5,X_153,0.5),NODRAW;
预备:IF(X_157,1.5,0.8),COLORYELLOW,LINETHICK2;
点火:IF(X_158,2,0.8),COLORRED,LINETHICK3;
牛一:IF(X_16,1.2,0.8),COLORYELLOW,LINETHICK2;
牛二:IF(X_122,1.4,0.8),COLORWHITE,LINETHICK2;
牛三:IF(X_131,1.6,0.8),COLORMAGENTA,LINETHICK2;
牛四:IF(X_132,1.8,0.8),COLORCYAN,LINETHICK2;
DRAWICON(X_158,0.85,34);
饱和度:IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100 100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100),NODRAW,COLORYELLOW;
主筹集中度:WINNER(CLOSE)*100,NODRAW,COLORMAGENTA;
:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),NODRAW,COLORGREEN;
N:=9;
M1:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,5,1);
D:SMA(K,M1,1);
J:3*K-2*D;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
:=EMA(AMOUNT,13);
过滤:=((资金/量)/100);
提纯:=(((CLOSE-过滤)/过滤)*100);
黄金:=((提纯 (0))ANDZXNH),COLORRED;
低买:IF(黄金ANDRSV VARB2-2,50,0),COLORRED,LINETHICK2;
高卖:IF(黄金ANDRSV VARB2,80,120),COLORGREEN,LINETHICK2;
上涨分界:25;
STICKLINE(低买,0,25,2,0),COLORYELLOW;{0,25指高度};
成功率99:10,COLORYELLOW,LINETHICK2;
短线指标:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);
K:=SMA(短线指标,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
无未来:=CROSS(J,REF(J+0.01,1))ANDXANDJ
STICKLINE(无未来,0,1,3,0),COLORYELLOW;
eess1:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
HH:=CROSS(20,EMA(eess1,3));
CE:=REF(HH,1);
AA:=REF(CLOSE,1);
eess2:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
eess3:=eess2-LLV(eess2,10);
SS:=(MA(eess3,2)*3+eess3*13)/16;
eess4:=IF(SS 13,MA(SS,2),SS)/6;
eess5:=IF(CROSS(eess4,1)AND(eess4 30),30,1);
II:=eess5=30;
eess6:=IF((H CANDC O)OR(H OANDO =C),C,H)+IF((L CANDC O)OR(L OANDO =C),CLOSE,LOW)/3;
CCI:EMA((eess6-MA(eess6,36.0270012))/(0.015*AVEDEV(eess6,36.0270012)),2.0332),COLORGREEN;
STICKLINE(CCI 100,CCI,100,4,0),COLORMAGENTA;
STICKLINE(CCI -150,CCI,-150,4,0),COLORYELLOW;
STICKLINE(C 0,100,101,10,0),COLORRED;
STICKLINE(C 0,-150,-151,6,0),COLORGREEN;
ccvvv1:=HHV(HIGH,9)-LLV(LOW,9);
ccvvv2:=HHV(HIGH,9)-CLOSE;
ccvvv3:=CLOSE-LLV(LOW,9);
ccvvv4:=((ccvvv2)/(ccvvv1))*(100)-70;
ccvvv5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
ccvvv6:=((2)*(CLOSE)+HIGH+LOW)/(4);
ccvvv7:=SMA(((ccvvv3)/(ccvvv1))*(100),3,1);
ccvvv8:=LLV(LOW,34);
ccvvv9:=SMA(ccvvv7,3,1)-SMA(ccvvv4,9,1);
ccvvv10:=IF((ccvvv9 100),ccvvv9-100,0);
ccvvv11:=HHV(HIGH,34);
B1:=EMA(((ccvvv6-ccvvv8)/(ccvvv11-ccvvv8))*(100),8);
ccvvva:EMA(B1,20),POINTDOT,COLORRED;
STICKLINE(B1-ccvvva 0,B1,ccvvva,10,0),COLOR0000FF;
STICKLINE(B1-ccvvva 0,B1,ccvvva,10,0),COLOR00FF00;
自用选股成功率99短线指标截图