通达信机构动向公式源码_通达信公式源码全集

hacker|
116

文章目录:

求通达信用的机构资金公式源码?

我有个机构持仓量的 给你吧 希望对你有帮助

机构持仓量

换手:=V*100/CAPITAL;

主力:=MA(换手,4);

大户:=MA(换手,9);

中户:=MA(换手,17);

散户:=MA(换手,34);

均量:=(主力+大户+中户+散户)/4;

主力能量:=(主力-均量);

操盘:STICKLINE(主力能量=0 AND 主力能量=REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;

减仓:STICKLINE(主力能量=0 AND 主力能量 REF(主力能量,1),0,主力能量,3,3),COLORGREEN;

反弹:STICKLINE(主力能量0 AND 主力能量=REF(主力能量,1),0,主力能量,3,3),COLORRED;

寻底:STICKLINE(主力能量0 AND 主力能量 REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;

通达信的主力风向标公式代码

通达信的主力风向标公式代码如下:

DRAWKLINE(H,O,L,C);

MA5:MA(CLOSE,5);

MA10:MA(CLOSE,10);

MA20:MA(CLOSE,20);

MA60:MA(CLOSE,60);

MA120:=MA(CLOSE,120);

AA05:=MA(C,5);

WRGLL:=(C-AA05)/AA05*100;

BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

SD5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);

JSD5:=EMA((SD5-REF(SD5,1)),3);

AA10:=MA(C,10);

AA30:=MA(C,30);

SXRGLL:=(C-AA30)/AA30*100;

JC:=CROSS(0,WRGLL)ANDSXRGLL

REF(AA10,1);

MR:=COUNT(CROSS(WRGLL,0),3)=1ANDSXRGLLREF(SXRGLL,1)AND

AA05REF(AA05,1)AND(C/REF(C,1)-1)*1005ANDREF(C,1)

=1ANDAA05REF(AA05,1)ANDSXRGLLREF(SXRGLL,1)

ANDAA10REF(AA10,1)ANDJSD5REF(JSD5,1)ANDSD5REF(SD5,1),10);

CT1:=FILTER(JC,10);

MT3:=CROSS(LOW,MA60);

QCUF:=NOT(MT3);

DRAWTEXT((MT1ORMT2)ANDQCUF,LOW*0.99,'←买'),COLORYELLOW;

DRAWTEXT((MT1ORMT2)ANDMT3,LOW*0.99,'←买'),COLORRED;

DRAWTEXT(CT1,HIGH*1.012,'←卖'),COLORCYAN;

ZT:=IF((C+0.005-REF(C,1))/REF(C,1)*100=10ANDC=H,1,0);

MAN:=SUM(AMOUNT,1)/SUM(V,1)/100;

AA:=V/CAPITAL*100;A1:=REF(AA,1);A2:=REF(AA,2);A3:=REF(AA,3);

DJZ:=IF((C/REF(C,1)*100-100=-4),1,0)ANDIF((C/REF(C,1)*100-100=-9.96),1,0)ANDIF(MAN/REF(C,1)-1.02,1,0);

STICKLINE(DJZ,OPEN,CLOSE,-1,0),,COLORGREEN;

STICKLINE(ZT,OPEN,CLOSE,-1,0),,COLORMAGENTA;

STICKLINE(ZT,H,L,0,0),COLORMAGENTA;

高:H,COLORWHITE,NODRAW;

低:L,COLORWHITE,NODRAW;

开:O,COLORWHITE,NODRAW;

收:C,COLORWHITE,NODRAW;

所属地域:DRAWTEXT_FIX(ISLASTBAR,0.93,0,1,DYBLOCK),COLORWHITE;

所属行业:DRAWTEXT_FIX(ISLASTBAR,0.88,0,1,HYBLOCK),COLORWHITE;

所属概念:DRAWTEXT_FIX(ISLASTBAR,0.83,0,1,GNBLOCK),COLORWHITE;

SSTS:=STRCAT(CON2STR(FINANCE(42)/1,0),'天');

LTSZ:=STRCAT(CON2STR(FINANCE(40)/100000000,0),'亿');

YSTB:=STRCAT(CON2STR(FINANCE(44)/1,2),'%');

LRTB:=STRCAT(CON2STR(FINANCE(43)/1,2),'%');

DRAWTEXT_FIX(1,0.02,0,0,'上市:'),COLORWHITE;

DRAWTEXT_FIX(1,0.04,0,0,SSTS),COLORWHITE;

DRAWTEXT_FIX(1,0.08,0,0,'流通市值:'),COLORWHITE;

DRAWTEXT_FIX(1,0.115,0,0,LTSZ),COLORWHITE;

DRAWTEXT_FIX(1,0.15,0,0,'营收同比:'),COLORWHITE;

DRAWTEXT_FIX(1,0.185,0,0,YSTB),COLORWHITE;

DRAWTEXT_FIX(1,0.22,0,0,'利润同比:'),COLORWHITE;

DRAWTEXT_FIX(1,0.255,0,0,LRTB),COLORWHITE;

净资收益率:=(FINANCE(33)/FINANCE(34)*100);

主营利润率:=(FINANCE(23)/FINANCE(20)*100);

主营业增长率:=FINANCE(44);

每股净资产:=CONST(FINANCE(34));

每股收益:=CONST(FINANCE(38));

净利润增长率:=FINANCE(43);

市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));

现金负债比:=(FINANCE(25)/FINANCE(15));

每股未分配:=CONST(FINANCE(32));

每股公积金:=CONST(FINANCE(18));

SY01:=净资收益率3;

SY02:=净资收益率0.01AND净资收益率=3;

SY03:=主营利润率2;

SY04:=主营利润率0;

SY05:=主营业增长率1;

SY06:=主营业增长率0;

SY07:=净利润增长率2;

SY08:=净利润增长率0.2;

SY09:=每股收益0.01;

SY10:=每股收益0.001;

SY11:=每股净资产2;

SY12:=每股净资产0.01;

SY13:=每股未分配0.5;

SY14:=每股未分配0.001;

SY15:=每股公积金0.5;

SY16:=每股公积金0.002;

SY17:=每股未分配=2AND每股公积金=2;

SY18:=每股未分配2OR每股公积金2;

优秀:=SY01ANDSY03ANDSY05ANDSY07ANDSY09ANDSY11

ANDSY13ANDSY15;

较好:=SY02ANDSY04ANDSY06ANDSY08ANDSY10ANDSY12

ANDSY14ANDSY16;

一般:=NOT(优秀)ANDNOT(较好);

DRAWTEXT_FIX(优秀AND较好=0,0.45,0,0,'综合评估基本面:优秀!'),COLORMAGENTA;

DRAWTEXT_FIX(较好,0.45,0,0,'综合评估基本面:较好!'),COLORRED;

DRAWTEXT_FIX(一般,0.45,0,0,'综合评估基本面:一般!'),COLORGREEN;

DRAWTEXT_FIX(SY17,0.55,0,0,'是否具备高送转潜力:是!'),COLORMAGENTA;

DRAWTEXT_FIX(SY18,0.55,0,0,'是否具备高送转潜力:否!'),COLORGREEN;

请教大师:能否把如下公式改成通达信“机构动向”公式?谢谢!

要这些没有用。在通达信分时图界面,同时按下Ctrl键和W键就能看到即时的龙虎榜。在日K线主图界面,屏幕显示的起止日期内,同时按下上述两个键,就显示这个日期段的龙虎榜了。

通达信选股公式源码

你好,通达信选股公式源码如下。

次日涨停

W1:=C=HHV(C,20);

W2:=BARSLAST(W1);

W3:=IF(W20,REF(C,W2),REF(C,W2));

W4:=交叉(C,REF(W3,1));

W4和计数(W4,5)=1;

黄转紫选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

紫柱:MACDREF(MACD,1)和REF(MACD,1)低位金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

低位金叉:交叉(差异,DEA)和差异二次金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

JCCOUNT:=计数(交叉(差异,数据包络分析),BARSLAST(数据包络分析=0));

二次金叉:交叉(差异,DEA)和DEA绝地反弹

(1)

VAR1:=参考值(低,1);

VAR2:=SMA(ABS(低VAR1),13,1)/SMA(最大值(低VAR1,0),13,1)*100;

VAR3:=EMA(如果(关闭*1.2,VAR2*13,VAR2/13),13);

VAR4:=LLV(低,34);

VAR5:=HHV(VAR3,34);

VAR6:=如果(LLV(低,55),1,0);

VAR7:=EMA(如果(低)XL1:=MA(低,2)*0.96;

XL2:=MA(低,26)*0.85;

XL3:=REF(XL1,1)启动:=如果(XL3,0,VAR7*3),则为红色;

XG:启动25;

(2)

倒退((参考(关闭,1)关闭打开和ABS(关闭参考(关闭,1))/关闭A2:=过滤器(A1ND资本REF(V,1)=LLV(V,4)和V=REF(V,1)

HHV(V,3)=参考(V,1)和HHV(V,5)=参考(V,1)和HHV(V,21)=参考(V,1)

和V=REF(V,1)

010,T020;

1.三线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1,A2和A3,CO和VREF(V,1),资本2.三条线粘合

N1:=5;N2:=10;N3:=20;M:=1;

MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);

A3:=VREF(V,1)*1.5和VMA(V,5);

最大值(MA1,最大值(MA2,MA3))/MIN(MA1,最小值(MA2,MA3))CO和VREF(V,1)和财务(7)A3及资本3.均线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1以及A2和A3;

3.金叉选股指标

快线:=均线(均线)(均线(收盘,2,2,2),;

慢线:=EMA(参考(快线,1),2);

A3:=VREF(V,1)*1.5和VMA(V,5);

交叉(快线,慢线) 和CO和

五 =MA(V,21)和VREF(V,1),资本

4条大神的评论

  • avatar
    访客 2022-07-16 下午 06:32:30

    23)/FINANCE(20)*100);主营业增长率:=FINANCE(44);每股净资产:=CONST(FINANCE(34));每股收益:=CONST(FINANCE(38));净利润增长率:=FINANCE(43);市销率:=CONST(FINANCE(

  • avatar
    访客 2022-07-16 下午 06:35:48

    A1:=REF(AA,1);A2:=REF(AA,2);A3:=REF(AA,3);DJZ:=IF((C/REF(C,1)*100-100=-4),1,0)ANDIF((C/REF(C,1)*100-100=-9.96),1,0)ANDIF(MAN/REF(C,1)-1.02,

  • avatar
    访客 2022-07-16 下午 02:19:06

    =净利润增长率2;SY08:=净利润增长率0.2;SY09:=每股收益0.01;SY10:=每股收益0.001;SY11:=每股净资产2;SY12:=每股净资产0.01;SY13:=每股未分配0.5;SY14:=每股未分配0.001;SY15:=每股公积金0.5;SY16:=每股公积金0.002;

  • avatar
    访客 2022-07-16 上午 11:46:27

    =SUM(AMOUNT,1)/SUM(V,1)/100;AA:=V/CAPITAL*100;A1:=REF(AA,1);A2:=REF(AA,2);A3:=REF(AA,3);DJZ:=IF(

发表评论