通达信看主力副图 主力在我就在 很好的主力资金流入监控指标 源码附图

{看主力}
{副图}
MA5:=MA(CLOSE,5);
涨幅:=(C/REF(C,1)-1)*100;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3)/2;
主力拉高:IF(VAR51<REF(VAR51,1),-VAR51,0),COLORYELLOW,NODRAW;
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;{//变异KD风险系数}
TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}
TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}
TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}
DRAWTEXT(TGLXS>0 AND 80+TGLXS<TYCFX AND MA(CLOSE,34)>REF(MA(CLOSE,34),1) AND 80+REF(TGLXS,1)>=REF(TYCFX,1),25,'主力流入'),COLORYELLOW;
JH:=VOL*CLOSE;
JHO:=SUM(JH,2)/SUM(VOL,2);
JH0:=EMA(JHO,10);
主力资金动向:IF((JHO-JH0)*20/JHO>1,(JHO-JH0)*200/JHO,0),COLORWHITE,LINETHICK2;
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORYELLOW;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORWHITE;
红柱持股:=20*SMA(短线,3,1),LINETHICK0,COLORRED;
红柱:IF(红柱持股>0,IF(红柱持股>120,120,红柱持股),0),COLORRED,LINETHICK2;
蓝柱持币:=20*IF(SMA(中线,3,1)>0,SMA(中线,3,1),0),COLORSTICK,COLORFFFF00;
TT:=红柱;
{红柱}
STICKLINE(主力资金动向>0 AND 红柱持股<REF(红柱持股,1)AND 红柱持股>20,0,TT,1.2,1),COLORRED;
STICKLINE(主力资金动向>0 AND 红柱持股<REF(红柱持股,1)AND 红柱持股>20,0,TT,0.6,0),COLOR00FF00;
STICKLINE(主力资金动向>0 AND 红柱持股>REF(红柱持股,1)AND 红柱持股>20,0,TT,1.2,0),COLORRED;
HJ_1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_2:=IF(DATETODAY(DATE)<999999999,1,DRAWNULL);
HJ_3:=EMA(CLOSE,5);
HJ_4:=EMA(CLOSE,10);
HJ_5:=EMA(CLOSE,14);
HJ_6:=EMA(CLOSE,18);
HJ_7:=EMA(CLOSE,40);
HJ_8:=EMA(CLOSE,60);
HJ_9:=IF(DATE<999999999,1,DRAWNULL);
HJ_10:=MAX(HJ_7,HJ_8);
HJ_11:=CLOSE>HJ_10 AND HJ_1 AND (CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
HJ_12:=VOL;
HJ_13:=MA(HJ_12,5);
HJ_14:=HJ_13+HJ_13>HJ_12;
HJ_15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*HJ_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*HJ_9;
HJ_16:=(CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*HJ_2 AND HJ_15 AND HJ_14;
HJ_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*HJ_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_18:=(CLOSE-REF(CLOSE,1)*HJ_2)/REF(CLOSE,1)*100>7;
HJ_19:=HJ_17 AND HJ_18;
HJ_20:=DATETODAY(DATE);
HJ_21:=HJ_20>9344 AND HJ_20<999999999;
HJ_22:=(HJ_11 AND HJ_19)*HJ_21;
HJ_23:=EMA(CLOSE,5);
HJ_24:=EMA(CLOSE,10);
HJ_25:=EMA(CLOSE,14);
HJ_26:=EMA(CLOSE,18);
HJ_27:=EMA(CLOSE,40);
HJ_28:=EMA(CLOSE,60);
HJ_29:=MAX(MAX(MAX(MAX(MAX(HJ_23,HJ_4),HJ_25),HJ_26),HJ_27),HJ_28)*HJ_9;
HJ_30:=MIN(MIN(MIN(MIN(MIN(HJ_23,HJ_4),HJ_25),HJ_26),HJ_27),HJ_28)*HJ_9;
HJ_31:=CLOSE>HJ_29 AND LOW<HJ_30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*HJ_2)/REF(CLOSE,1)>0.09);
HJ_32:=FILTER(HJ_31>0,0)=1;
HJ_33:=DATETODAY(DATE);
HJ_34:=HJ_33>9350 AND HJ_33<999999999;
HJ_35:=HJ_32*HJ_34;
HJ_36:=MA(REF(HHV(CLOSE,26),1),2);
HJ_37:=MA(CLOSE,26);
HJ_38:=POW(CLOSE-HJ_37,2);
HJ_39:=MA(HJ_38,13);
HJ_40:=SQRT(HJ_39);
HJ_41:=HJ_37+2*HJ_40;
HJ_42:=REF(HJ_41,1);
HJ_43:=CROSS(CLOSE,HJ_36) AND HIGH>REF(HJ_41,1) OR (CLOSE>HJ_36 AND CROSS(CLOSE,REF(HJ_41,1))) AND CLOSE/OPEN>0.998;
HJ_44:=MACD.MACD;
HJ_45:=KD.K;
HJ_46:=KD.D;
HJ_47:=RSI.RSI1;
HJ_48:=RSI.RSI3;
HJ_49:=CLOSE-REF(CLOSE,1);
HJ_50:=IF(HJ_49>=0,HJ_49,0)*HJ_9;
HJ_51:=IF(HJ_49<0,-HJ_49,0)*HJ_9;
HJ_52:=MEMA(HJ_50,10);
HJ_53:=MEMA(HJ_51,10);
HJ_54:=MEMA(HJ_50,6);
HJ_55:=MEMA(HJ_51,6);
HJ_56:=MA(100*HJ_52/(HJ_52+HJ_53),10)*HJ_9;
HJ_57:=MA(100*HJ_54/(HJ_54+HJ_55),6)*HJ_9;
HJ_58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
HJ_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
HJ_60:=COUNT(HJ_59<35,100)>=95;
HJ_61:=HJ_43 AND HJ_58>0 AND NOT(DYNAINFO(4)=0) AND HJ_60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(HJ_57,HJ_56) OR CROSS(HJ_44,0) OR REF(COUNT(CROSS(HJ_44,0),3)=1 AND HJ_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(HJ_45,HJ_46) OR CROSS(HJ_47,HJ_48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;
HJ_62:=HJ_11+HJ_16+HJ_19+HJ_32+HJ_61>=2;
HJ_63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
HJ_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
HJ_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*HJ_2>=20;
HJ_66:=VOL/REF(VOL,1)*HJ_2>1.9;
HJ_67:=HJ_63 AND HJ_64 AND HJ_65 AND HJ_66;
HJ_68:=MA(CLOSE,5);
HJ_69:=MA(CLOSE,10);
HJ_70:=MA(CLOSE,20);
HJ_71:=MA(CLOSE,30);
HJ_72:=MA(CLOSE,60);
HJ_73:=CLOSE>HJ_68 AND HJ_68>HJ_69 AND HJ_69>HJ_70 AND CLOSE>HJ_72;
HJ_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
HJ_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
HJ_76:=CAPITAL<10000000;
HJ_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
HJ_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
HJ_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
HJ_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
HJ_81:=HJ_77 AND HJ_78 AND HJ_79 AND HJ_80;
HJ_82:=KDJ.K>REF(KDJ.K,1)*HJ_2;
HJ_83:=KDJ.D>REF(KDJ.D,1)*HJ_2 AND KDJ.D<70;
HJ_84:=KDJ.J>REF(KDJ.J,1)*HJ_2;
HJ_85:=HJ_82 AND HJ_83 AND HJ_84;
HJ_86:=HJ_7 AND HJ_74 AND HJ_75 AND HJ_76 AND HJ_81 AND HJ_85;
HJ_87:=FILTER(HJ_86,15)*HJ_2;
HJ_88:=HJ_67 OR HJ_87;
龙头:90*(((HJ_88 AND HJ_62)*HJ_2 OR HJ_35 OR HJ_22) AND 主力资金动向>1);
{强势狙击}
AAZ5:=MA(C,5),COLOR0099CC;
BB05:=ATAN((AAZ5/REF(AAZ5,1)-1)*100)*180/3.1416;
AA10:=MA(C,10);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AAZ30:=MA(C,30);
BB30:=ATAN((AAZ30/REF(AAZ30,1)-1)*100)*180/3.1416;
强势狙击:90*(涨幅>2 AND FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10) AND 主力资金动向>1.50);
主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
{周月季年}
MNC:=C#YEAR;MNO:=O#YEAR;MNH:=H#YEAR;MNL:=L#YEAR;MJC:=C#SEASON;MJO:=O#SEASON;MJH:=H#SEASON;MJL:=L#SEASON;MYO:=O#MONTH;MYH:=H#MONTH;MYL:=L#MONTH;MYC:=C#MONTH;周开:=O#WEEK;周高:=H#WEEK;周低:=L#WEEK;周收:=C#WEEK;
周期共振:=MNC>=MNO AND MJC>=MJO AND MYC>=MYO AND 周收>=周开;
N:=MNC>=MNO;
J:=MJC>=MJO;
Y:=MYC>=MYO;
Z:=周收>=周开;
共振:=N+J+Y+Z>=3;
{-----------趋势与股性-----------}
CS:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
M20:=MA(C,20);
M30:=MA(C,30);
M2:=M20>REF(M20,1);
M3:=M30>REF(M30,1);
MCS:=CS>REF(CS,1);
TRD:=M2+M3+MCS>1;{趋势}
ACT:=SMA(MAX(ABS(C-O),ABS(C-REF(C,1)))/REF(C,1)*100,10,1);
YD:=ACT>LLV(ACT,13)*1.2;{异动}
A12:=ACT<=1.95 AND YD;
活跃度:=ACT>=1.95 AND TRD;{强};
龙腾四海:=100-100*(HHV(HIGH,5*100)-CLOSE)/(HHV(HIGH,5*100)-LLV(LOW,5*100));
VARR1:=EMA(EMA(CLOSE,3),1);
控:=(VARR1-REF(VARR1,1))/REF(VARR1,1)*1000;
VARR2:=100*WINNER(CLOSE*0.95);
高度控盘:=VARR2>50 AND COST(85)<CLOSE AND 控>0;
选:=(龙腾四海>REF(龙腾四海,1) OR 龙腾四海=100) AND 控>40;
X_1:=EMA(CLOSE,9);
X_2:=(CLOSE+OPEN)/2;
X_3:=MA(CLOSE,3);
X_4:=MA(CLOSE,2*3);
X_5:=MA(CLOSE,3*3);
X_6:=MA(CLOSE,4*3);
X_7:=MA((X_3+X_4+X_5+X_6)/4,5);
主升浪1:=EMA(X_1*1.14,5);
主升浪2:=(EMA(X_2,3)+EMA(X_2,6)+EMA(X_2,12)+EMA(X_2,24))/4;
X_8:=EMA(EMA(EMA(CLOSE,2),2),2);
主升浪3:=MA(X_8,13)*0.999;
主升浪4:=EMA(CLOSE,3);
主升浪X:=选 OR 高度控盘 OR (主升浪4>主升浪2 AND 主升浪2>主升浪3);
全仓:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.03);
最牛妖股:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
VAR2:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,3)-LLV(LOW,3))*100;
做多线:=SMA(VAR2,5,1)-8;
妖股:100*((红柱持股>1 OR 蓝柱持币>1) AND 主力资金动向>1 AND 周期共振 AND (涨幅>5 OR (主力持仓>60 AND 做多线>60 AND 涨幅>1)) AND (活跃度+主升浪X+全仓>1) AND (CROSS(最牛妖股,12) OR CROSS(最牛妖股,0) OR CROSS(最牛妖股,2) OR CROSS(最牛妖股,4) OR CROSS(最牛妖股,6))),LINETHICK2,COLORYELLOW;
妖股12:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
大妖股:105*(CROSS(妖股12,15) AND (红柱持股>20 OR 蓝柱持币>20) AND 主力资金动向>1.5),COLORFF00FF;
控盘:=IF(控>20,控,0);
VARX1:=(2*CLOSE+HIGH+LOW)/4.0168;
VARX2:=LLV(LOW,34);
VARX3:=HHV(HIGH,34);
趋势:=EMA((VARX1-VARX2)/(VARX3-VARX2)*100,13);
VARX4:=EMA(0.667*REF(趋势,1)+0.333*趋势,2);


未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK
该公式包含未来函数:#YEAR
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图