通达信金马甲(穿山甲日线+金马互动,当日出现信号)选股预警公式源码
当日出现日线级别的穿山甲信号!当日预警不买进,待次日选股后,昨日信号依然在时买进!
金马甲=T穿山甲R+金马互动,组合选股,成功率极高,配合趋势量王,效果更好!!
M5:=MA(C,5);
M10:=MA(C,10);
M30:=MA(C,30);
MM:=MIN(M5,M30);
MM2:=MIN(M10,M30);
HM:=MAX(M5,M30);
HM2:=MAX(M10,M30);
TC1:=DRAWBAND(MM,RGB(255,0,0),MM2,0);
MA5A:=MA(C,5),COLORWHITE;
MA10:=MA(C,10),COLORYELLOW;
MA30:=MA(C,30),COLORGREEN;
MA120:=MA(C,120);
三角:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND CROSS(MA(C,10),MA(C,30));
N1:=3;N2:=5;N3:=8;N4:=13;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
A1:=LWR1>LWR2;
Z1:=LWR1<LWR2;
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
D:=SMA(K,N1,1);
A2:=K>D;
Z2:=K<D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
A3:=RSI1>RSI2;
Z3:=RSI1<RSI2;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEAL:=EMA(DIFF,N2);
A4:=DIFF>DEAL;
Z4:=DIFF<DEAL;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
A5:=C>BBI;
Z5:=C<BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
A6:=MMS>MMM;
Z6:=MMS<MMM;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘:=(V9+V8);
卖盘:=(V6+V7);
买卖差:=买盘-卖盘;
DDX:=买卖差;
DX:=MA(买卖差,5)*20;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
A7:=DDX1>DDX2;
Z7:=DDX1<DDX2;
量:=V;
换手:=V/CAPITAL*100;
VAR1A:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘1:=IF(CLOSE>OPEN,VAR1A*(HIGH-LOW),IF(CLOSE<OPEN,VAR1A*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘1:=IF(CLOSE>OPEN,0-VAR1A*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1A*(HIGH-LOW),0-VOL/2));
DLX:=(买盘1-(-卖盘1))/量*换手;
DLX1:=SUM(DLX,6);
DLX2:=MA(DLX1,5);
A8:=DLX1>DLX2;
Z8:=DLX1<DLX2;
VARR1:=(2*CLOSE+HIGH+LOW)/4;
VARR2:=EMA(EMA(EMA(VARR1,4),4),4);
J:=(VARR2-REF(VARR2,1))/REF(VARR2,1)*100;
DD:=MA(J,3);
KK:=MA(J,1);
A9:=KK>DD;
Z9:=KK<DD;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0&&HD>LD,HD,0),14);
DMM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR;
A10:=PDI>MDI;
Z10:=PDI<MDI;
T:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10);
T1:=T AND REF(T,1)=0;
TT:=Z1 AND Z2 AND Z3 AND Z4 AND Z5 AND Z6 AND Z7 AND Z8 AND Z9 AND Z10;
TT1:=TT AND REF(TT,1)=0;
十指红柱:=IF(T1,10.4,DRAWNULL);
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
买量:=SUM(DT,1);
卖量:=SUM(KT,1);
DDXX:=EMA(买量-卖量,5)*VOL/CAPITAL*100;
DDXX1:=SMA(DDXX,3,1);
DDXX2:=SMA(DDXX1,3,1);
DDXX3:=EMA(DDXX2,5);
大单净量:=DDXX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDXX1,DDXX2);
DIFFX:=( EMA(CLOSE,12) – EMA(CLOSE,26))*100;
DEAX:=EMA(DIFFX,9);
MACDL:=2*(DIFFX-DEAX);
绿柱消失买入:=STICKLINE(DIFFX<0,0,DIFFX,2,0);
红柱消失卖出:=STICKLINE(DIFFX>=0,0,DIFFX,2,0);
顺势红柱:=IF(DIFFX>DEAX,DIFFX,DRAWNULL);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
KM:=OBV>MAOBV;
TTA1:=顺势红柱 AND 十指红柱 AND KM;
TTA2:=顺势红柱 AND 大单净量 AND 十指红柱 AND KM;
SL1:=TTA1 OR TTA2;
TIR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
AA:=(HHV(HIGH,20) – (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
起爆狙击点:=B1 =1 AND KDJ.J<90;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10K:=CROSS(控盘,0);
做多:=IF(A10K,5,0);
X_1:=MA(CLOSE,10);
X_2:=MA(CLOSE,20);
X_3:=MA(CLOSE,30);
X_4:=MA(CLOSE,54);
X_5:=MA(CLOSE,60);
X_6:=MA(CLOSE,120);
X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_8:=FILTER(X_7,10);
X_9:=BARSLAST(X_8);
X_10:=REF(HIGH,X_9+2);
X_11:=REF(HIGH,X_9+1);
X_12:=REF(HIGH,X_9);
X_13:=MAX(X_10,X_11);
X_14:=MAX(X_13,X_12);
X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_16:=X_9<150;
X_17:=(OPEN-X_14)/X_14*100<30;
X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;
X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_20:=VOL/MA(VOL,5)<3.5;
X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;
X_23:=FILTER(X_22,15);
X_24:=(CLOSE-X_4)/X_4<0.1;
X_25:=(CLOSE-X_1)/X_1<0.3;
X_26:=(X_24=1 AND X_25=1)*0.2;
X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);
X_28:=X_27=(-0.1);
X_29:=X_23 OR X_28;
X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05{ AND DYNAINFO(7)/OPEN>1.05};
X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股:=X_29 AND CLOSE/REF(CLOSE,1)>1.05 AND X_32 AND X_31;
LCZ:=REF(CLOSE,1);
RSIZ:=((SMA(MAX((CLOSE – LCZ),0),3,1) / SMA(ABS((CLOSE – LCZ)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VAR91:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR92:=REF(LOW,1)*VAR91;
VAR93:=SMA(ABS(LOW-VAR92),3,1)/SMA(MAX(LOW-VAR92,0),3,1)*100*VAR91;
VAR94:=EMA(IF(CLOSE*1.3,VAR93*10,VAR93/10),3)*VAR91;
VAR95:=LLV(LOW,30)*VAR91;
VAR96:=HHV(VAR94,30)*VAR91;
VAR97:=IF(MA(CLOSE,58),1,0)*VAR91;
VAR98:=EMA(IF(LOW<=VAR95,(VAR94+VAR96*2)/2,0),3)/618*VAR97*VAR91;
吸筹:=IF(VAR98>100,100,VAR98)*VAR91,COLORFFC0CB;
庄家吸筹:=STICKLINE(吸筹>-150,0,吸筹*0.05,5,0),COLORRED;
VARR1M:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
VAR10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR12:=VAR10<REF(VAR11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
资金进场:=VAR12 AND COUNT(VAR12,30)=1;
MA5:=MA(CLOSE,5);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA34:=MA(CLOSE,34);
MA55:=MA(CLOSE,55);
MA144:=MA(CLOSE,144);
MA233:=MA(CLOSE,233);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
V144:=MA(V,144);
TJ1:=CROSS(V,V144);
TJ2:=C>MA233 AND C/MA233<1.15;
TJ3:=做多=5 AND MA233>REF(MA233,1);
TJ4:=妖股=1;
金山红牛:=C<60 AND TJ2 AND TJ3 AND TJ4;
主趋势线:=EMA(EMA(C,10),10);
AAAZ:=(3*C+H+L+O)/6;
VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;
VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;
VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;
VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;
VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;
VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;
短线:=VAR101;
NOTEXT1:=IF(C>=短线,短线,DRAWNULL);
NOTEXT2:=IF(C<短线,短线,DRAWNULL);
中线:=VAR601;
M1:=VAR101>VAR601;
M2:=VAR101<=VAR601;
红飘带:=M1 AND LAST(M2,N日,1) AND C>中线 AND C>REF(C,1) AND C>MA(CLOSE,144)
AND O<MA(CLOSE,144) AND C>MA233 AND C>MA(CLOSE,60) AND O<MA(CLOSE,60);
S1:=IF(CODELIKE(‘688’),0,1);
S2:=IF(NAMELIKE(‘S’),0,1);
S3:=IF(NAMELIKE(‘*’),0,1);
TJ5:=S1 AND S2 AND S3;
红牛:=C<60 AND TJ2 AND TJ4 AND TJ5;
SL2:=红牛 OR 金山红牛 OR 红飘带;
SL2M:=红牛 OR 金山红牛;{更强}
SL2N:=红飘带;
X_1P:=POW(10,6)+241230-DATE;
X_2P:=IF(X_1P>0,1,0);
X_3P:=HHV(CLOSE,10);
X_4P:=EMA(X_3P,30);
X_5P:=EMA(X_3P,120);
X_6P:=MA(CLOSE*VOL,20);
X_7P:=MA(CLOSE*VOL,60);
X_8P:=1000*(X_6P-REF(X_6P,1))/REF(X_6P,1)*2;
X_9P:=1000*(X_7P-REF(X_7P,1))/REF(X_7P,1)*2;
X_10P:=(X_8P-X_9P)*VOL*CLOSE/MA(REF(VOL*CLOSE,1),5);
X_11P:=LLV(LOW,200);
ZJX:=EMA((CLOSE-X_11P)/X_11P,30)*100+200;
X_12P:=FILTER(CLOSE>=REF(CLOSE,1)*1.05 AND X_10P>=ZJX/2 AND (CROSS(CLOSE,X_4P) OR (CLOSE>X_4P AND REF(LOW,1)<X_4P)),20);
{扫单}
X_1W:=POW(10,6)+241230-DATE;
X_2W:=IF(X_1W>0,1,0);
X_3W:=IF(X_1W>0,1,0);
X_4W:=HHV(CLOSE,10);
YY:=EMA(X_4W,30);
X_5W:=EMA(X_4W,120);
X_6W:=MA(CLOSE*VOL,20);
X_7W:=MA(CLOSE*VOL,60);
X_8W:=1000*(X_6W-REF(X_6W,1))/REF(X_6W,1)*2;
X_9W:=1000*(X_7W-REF(X_7W,1))/REF(X_7W,1)*2;
X_10W:=(X_8W-X_9W)*VOL*CLOSE/MA(REF(VOL*CLOSE,1),5);
X_11W:=LLV(LOW,200);
X_12W:=EMA((CLOSE-X_11W)/X_11W,30)*100+200;
X_13W:=FILTER(CLOSE>=REF(CLOSE,1)*1.05 AND X_10W>=X_12W/2 AND CLOSE>=OPEN AND (CROSS(CLOSE,YY) OR (CLOSE>YY AND REF(LOW,1)<YY)),20);
{突破}
SL3:=X_12P AND X_13W;
T1T:=TIME>=0926 AND TIME<=0935;{时间9:30~9:35出现黄金甲信号}
T2T:=TIME>0935 AND TIME<=1457;{时间9:35~14:57出现拉升信号}
流通市值:=FINANCE(40)/100000000;
AK:=流通市值<=150 AND FINANCE(42)>30 AND C<=65;
{流通市值小于150亿,上市天数大于30天,股价低于65元}
S4:=IF(CODELIKE(’60’),0,1);
SS:=S1 AND S2 AND S3 AND S4 AND AK AND IF(CODELIKE(‘8’),0,1) AND IF(CODELIKE(‘4’),0,1);
竞量比:=DYNAINFO(15)/OPEN/(REF(SUM(VOL,5),1)/12);
竞额W:=DYNAINFO(15)/10000;
{指标123网 WWW.ZHIBIAO123.CN}
选股A:=SL1 AND SL2M AND SL3 AND 起爆狙击点 AND SS AND 竞量比>1.5 AND 竞额W>80;
选股B:=SL2M AND SL3 AND IF((SL1 AND SL2 AND SL3 AND 起爆狙击点 AND T1T),0,1) AND SS AND 竞量比>1.5 AND 竞额W>80;
穿山甲:=选股A OR 选股B;
X_1U:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
X_2U:=EMA(X_1U,9/4);
X_3U:=EMA(CLOSE,6)-EMA(CLOSE,80);
X_4U:=EMA(X_3U,40);
X_5U:=MACD.DIF#WEEK;
X_6U:=MACD.DEA#WEEK;
X_7U:=MACD.DIF#MONTH;
X_8U:=MACD.DEA#MONTH;
X_9U:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
X_10U:=SMA(X_9U,3,1);
X_11U:=SMA(X_10U,3,1);
X_12U:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
X_13U:=SMA(X_12U,3,1);
X_14U:=SMA(X_13U,3,1);
X_15U:=3*X_13U-2*X_14U;
X_16U:=KDJ.K#WEEK;
X_17U:=KDJ.D#WEEK;
X_18U:=KDJ.K#MONTH;
X_19U:=KDJ.D#MONTH;
X_20U:=REF(HIGH,1)=HHV(HIGH,10);
X_21U:=CROSS(X_20U,0.9);
X_22U:=REF(LOW,1)=LLV(LOW,10);
X_23U:=CROSS(X_22U,0.9);
X_24U:=REF(HIGH,BARSLAST(X_21U));
X_25U:=REF(LOW,BARSLAST(X_23U));
X_26U:=(CLOSE+HIGH+LOW)/3;
X_27U:=EMA(X_26U,10);
X_28U:=REF(X_27U,1);
X_29U:=MA(CLOSE,5);
X_30U:=MA(CLOSE,10);
X_31U:=MA(CLOSE,20);
X_32U:=MA(CLOSE,60);
X_33U:=MA(CLOSE,120);
X_34U:=MA(CLOSE,250);
X_35U:=EMA(CLOSE,500);
X_37U:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_38U:=HIGH-REF(HIGH,1);
X_39U:=REF(LOW,1)-LOW;
X_40U:=SUM(IF(X_38U>0 AND X_38U>X_39U,X_38U,0),20);
X_41U:=SUM(IF(X_39U>0 AND X_39U>X_38U,X_39U,0),20);
X_42U:=LLV(LOW,240);
X_43U:=HHV(HIGH,240);
{20;}
X_44U:=X_40U/X_37U/2*100;
大户:=(CLOSE-X_42U)/X_42U*100;
X_45U:=X_41U/X_37U/2*100;
X_46U:=(X_43U-CLOSE)/CLOSE*100;
X_47U:=(-(0.05-WINNER(CLOSE/1.12)))*300;
走强:=IF(大户>15 AND 大户>X_45U AND 大户>X_46U,大户,DRAWNULL);
强势:=IF(大户>30 AND 大户>X_45U AND 大户>X_46U,大户,DRAWNULL);
超强:=IF(X_47U>大户,大户,DRAWNULL);
{指标123网 WWW.ZHIBIAO123.CN}
金马互动:=FILTER(X_47U>大户 AND X_36U AND CLOSE>X_27U AND CLOSE>X_24U AND OPEN/X_32U<1.2 AND OPEN/X_33U<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10) AND AK;
金马甲选股:金马互动 AND 穿山甲;
通达信金马甲(穿山甲日线+金马互动,当日出现信号)选股预警公式源码
下载前请仔细阅读说明及配图介绍适合自己再下载指标公式是特殊商品一经下载概不退换
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/7205.html,转载请注明出处。