股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 财务排序成交买卖比机构资金资金总量大单笔数比率,是收费指标特别版==主副图原码缺图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:16:31
财务排序成交买卖比机构资金资金总量大单笔数比率,是收费指标特别版==主副图原码缺图介绍

财务排序成交买卖比机构资金资金总量大单笔数比率,是收费指标特别版==主副图原码缺图

财务排序

AA:=IF(DATE+19000000<20190803,1,0);
GZ:=FINANCE(21)/FINANCE(1)*18.83*AA;
主营估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW;
估值比率:(主营估值-C)/C*100 NODRAW;

成交买卖比

AA:=IF(DATE+19000000<20190803,1,0);
买入:TRADEINNUM* AA;
卖出:TRADEOUTNUM *AA;
DRAWBAND(卖出,RGB(0,224,224),买入,RGB(255,96,96));

机构资金

AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比‰:机构净买量*1000/CAPITAL;
机构买入换手:LARGEINTRDVOL/CAPITAL*100*AA, NODRAW;
机构换手:(LARGEINTRDVOL+LARGEOUTTRDVOL)/CAPITAL*100*AA, NODRAW;
机构买量:=LARGEINTRDVOL,COLORRED NODRAW;
机构卖量:=LARGEOUTTRDVOL,COLORGREEN NODRAW;
洗盘周期:BARSLAST(HHV(机构净买量,30)=机构净买量) NODRAW;
STICKLINE(机构净买量>0,0,机构净买量,2,0),COLORRED;
STICKLINE(机构净买量<0,0,机构净买量,2,0),COLORGREEN;

九天.4

AA:=IF(DATE+19000000<20190803 ,1,0);
P7:=EMA(C,7)*AA;
P34:=EMA(C,34)*AA;
DIF:=P7-P34*AA;
DEA:=EMA(DIF,7)*AA;
{DRAWBAND(0,RGB(0,224,224),P7-P34,RGB(255,96,96));}
DRAWBAND(0,RGB(0,224,224),DIF,RGB(255,96,96));


九天.3

AA:=IF(DATE+19000000<20190803,1,0);
A1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4*AA;
当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12)*AA;
中轨:EXPMA(当日成本,34)*AA,POINTDOT;
上轨:中轨+1.7*STDP(当日成本,34)*AA,COLORBLUE;
下轨:中轨-1.7*STDP(当日成本,34)*AA,COLORBLUE;
加速线:A1+3*STD(A1,10)*AA,COLORYELLOW ;
下降线:=A1-3*STD(A1,10)*AA,COLORYELLOW;
通1:=EMA(CLOSE,14)*AA,COLORYELLOW;
通2:=EMA(通1,5)*AA,COLORBLUE;
DRAWKLINE(H,O,L,C);
STICKLINE(通1>通2,通1, 通2,2,0),COLORYELLOW ;
STICKLINE(通1<通2,通1, 通2,2,0),COLORGREEN;


资金总量

AA:=IF(DATE+19000000<20190803,1,0);
净买:=ACTINVOL-ACTOUTVOL*AA ;
占比:净买/CAPITAL*1000 NODRAW;
卖出:=ACTOUTVOL*AA,NODRAW;
{DRAWBAND(卖出,RGB(0,224,224),买入,RGB(255,96,96));};
STICKLINE(净买>0,0,净买,2,0),COLORRED;
STICKLINE(净买<0,0,净买,2,0),COLORGREEN;


大单笔数比率

AA:=IF(DATE+19000000<20190803,1,0);
大单笔数比率:IF(LARGETRDINNUM>LARGETRDOUTNUM,
(LARGETRDINNUM-LARGETRDOUTNUM)/LARGETRDINNUM*100*AA,
(LARGETRDOUTNUM-LARGETRDINNUM)/LARGETRDOUTNUM*-100*AA) NODRAW ;
STICKLINE(大单笔数比率>0,0,大单笔数比率,2,0) COLORRED;

STICKLINE(大单笔数比率<0,0,大单笔数比率,2,0) COLORGREEN;

九天.1

AA:=IF(DATE+19000000<20190803 AND "601398$TRADENUM">0,1,0) ;
HHV36:=(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))*100*AA;
LLV9:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100*AA;
W1:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100*AA;
W2:=EMA(W1,3);
W3:=EMA(W2,4);
W4:=3*W2-2*W3;
W5:=EMA(W4,5);
走势线:=EMA(W5,1);
空:=SMA(HHV36,2,1);
多:=100-空*AA;
STICKLINE(多<=20,0,多,4,0) COLORGREEN;
STICKLINE(多>20,0,20,4,0) COLORGREEN;
STICKLINE(多>20 AND 多<80,20,多,4,0) COLORYELLOW;
STICKLINE(多>=80,80,多,4,0) COLORRED;
STICKLINE(多>=80,20,80,4,0) COLORYELLOW;

资金排序

AA:=IF(DATE+19000000<20190803,1,0);
周涨幅:(C-REF(C,5))/REF(C,5)*100;
月涨幅:(C-REF(C,30))/REF(C,30)*100;
机构当日:(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA NODRAW ;
机构5日:SUM(机构当日,5);
机构8日:SUM(机构当日,8);
机构13日:SUM(机构当日,13);
机构21日:SUM(机构当日,21);
机构34日:SUM(机构当日,34);
资金当日:(ACTINVOL-ACTOUTVOL)*1000/CAPITAL*AA NODRAW;
资金5日:SUM(资金当日,5);
资金8日:SUM(资金当日,8);
资金13日:SUM(资金当日,13);
资金21日:SUM(资金当日,21);
资金34日:SUM(资金当日,34);


资金趋势

AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA ;
中期资金:EMA(机构净买量,8) COLORRED;

长期资金:EMA(机构净买量,21) COLORYELLOW;

机构换手

AA:=IF(DATE+19000000<20110803,1,0);
买入换手比率:LARGEINTRDVOL/V*100*AA,COLORYELLOW;
换手比率:(LARGEINTRDVOL+LARGEOUTTRDVOL)/V*100*AA,COLORMAGENTA;


共振度排序

AA:=IF(DATE+19000000<20190803,1,0);
RSV0:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100*AA;
T1:=SMA(RSV0,3,1);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100*AA;
T2:=SMA(RSV,3,1);
RSV2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100*AA;
T3:=SMA(RSV2,3,1);
RSV3:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100*AA;
T4:=SMA(RSV3,3,1);
RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100*AA;
T5:=SMA(RSV4,3,1);
RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100*AA;
T6:=SMA(RSV5,3,1);
RSV6:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100*AA;
T7:=SMA(RSV6,3,1);
RSV7:=(CLOSE-LLV(LOW,233))/(HHV(HIGH,233)-LLV(LOW,233))*100*AA;
T8:=SMA(RSV7,3,1);
T0:=(T2+T3+T4+T5+T6+T7+T8)/7*AA;
GZ1:=(T1-T8)/T8;
GZ2:=(T2-T8)/T8;
GZ3:=(T3-T8)/T8;
GZ4:=(T4-T8)/T8;
GZ5:=(T5-T8)/T8;
GZ6:=(T6-T8)/T8;
GZ7:=(T7-T8)/T8;

GZ:=IF( TOTALBARSCOUNT>120,100-(MAX(MAX(T3,T5),T8)-MIN(MIN(T3,T5),T8)),0)COLORWHITE;
共振度:IF(T8>50,GZ,GZ*-1);


涨跌动能

AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比:=机构净买量*1000/CAPITAL;
涨跌动能:占盘比*ABS((C-REF(C,1))/REF(C,1)*100) NODRAW;
STICKLINE(涨跌动能>0,0,涨跌动能,2,0),COLORRED;
STICKLINE(涨跌动能<0,0,涨跌动能,2,0),COLORGREEN;

波动率排序

AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比:=机构净买量*1000/CAPITAL;
波动率:(EMA(C,5)-EMA(C,34))/C*100*AA NODRAW;
换手比率:(LARGEINTRDVOL+LARGEOUTTRDVOL)/V*100*AA NODRAW;
净买比率:机构净买量*100/V*AA NODRAW;
涨跌动能:占盘比*ABS((C-REF(C,1))/REF(C,1)*100) NODRAW;


北斗主图

AA:=IF(DATE+19000000<20190803,1,0);
M1:MA(C,13);
M2:MA(C,21);
M3:MA(C,34);
M4:MA(C,55);
M5:MA(C,89);
M6:MA(C,144);
GZ:=FINANCE(21)/FINANCE(1)*18.83*AA;
主营估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW;
估值比率:(主营估值-C)/C*100 NODRAW;

心理预期

AA:=IF(DATE+19000000<20190331,1,0);
RSV0:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100*AA;
T1:=SMA(RSV0,3,1);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100*AA;
T2:=SMA(RSV,3,1);
RSV2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100*AA;
T3:SMA(RSV2,3,1) COLORWHITE;
RSV3:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100*AA;
T4:=SMA(RSV3,3,1);
RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100*AA;
T5:SMA(RSV4,3,1) COLORYELLOW;
RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100*AA;
T6:=SMA(RSV5,3,1);
RSV6:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100*AA;
T7:=SMA(RSV6,3,1);
RSV7:=(CLOSE-LLV(LOW,233))/(HHV(HIGH,233)-LLV(LOW,233))*100*AA;
T8:SMA(RSV7,3,1) COLORMAGENTA;
RSV8:=(CLOSE-LLV(LOW,377))/(HHV(HIGH,377)-LLV(LOW,377))*100*AA;
T9:SMA(RSV8,3,1) COLORRED;
T0:(T2+T3+T4+T5+T6+T7+T8)/7*AA COLORGREEN;
GZ1:=(T1-T8)/T8;
GZ2:=(T2-T8)/T8;
GZ3:=(T3-T8)/T8;
GZ4:=(T4-T8)/T8;
GZ5:=(T5-T8)/T8;
GZ6:=(T6-T8)/T8;
GZ7:=(T7-T8)/T8;

GZ:=IF( TOTALBARSCOUNT>30,100-(MAX(MAX(T3,T5),T8)-MIN(MIN(T3,T5),T8)),0)COLORWHITE;
共振度:IF(T8>80,GZ,IF(T8<25,GZ*-1,IF(T8<45,(GZ-20)*-1,GZ-20))) NODRAW;


九天.2

AA:=IF(DATE+19000000<20190331,1,0);
P7:=EMA(C,7)*AA;
P34:=EMA(C,34)*AA;
DIF:=(P7-P34)*AA;
DEA:=EMA(DIF,7)*AA;
TC:=IF(DIF>DEA,DIF*0.998,DEA*0.998)*AA;
波动率:DIF/C*100,NODRAW;
上升周期:IF(DIF<DEA,0,BARSLAST(CROSS(DIF,DEA))+1 )NODRAW;
下跌周期:IF(DIF>DEA,0,BARSLAST(CROSS(DEA,DIF))+1 )NODRAW;
当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);
操盘线:=MA(C,7) COLORYELLOW ;
支撑线:=MA(C,21)COLORMAGENTA LINETHICK2;
生命线:=EXPMA(当日成本,89) COLORRED LINETHICK2;
线4:=EMA(C,89)COLORLIBLUE LINETHICK3;
牛熊线:=EXPMA(当日成本,248)COLORWHITE LINETHICK3 ;
PCYS:=(CLOSE-牛熊线)/牛熊线*100;
STICKLINE(PCYS>10,TC,0,2,0)COLORRED;
STICKLINE(PCYS<0 AND PCYS>-15,TC,0,2,0)COLORLIGRAY;
STICKLINE(PCYS>0 AND PCYS<10,TC,0,2,0)COLORMAGENTA;
STICKLINE(PCYS<-15,TC,0,2,0)COLORLICYAN;
STICKLINE(DIF>DEA,DIF,DEA,2,0)COLORYELLOW;
STICKLINE(DIF<DEA,DIF,DEA,2,0)COLORGREEN;
 



gd14206

回复

举报

QQ|

GMT+8, 2024-12-27 16:17

快速回复 返回顶部 返回列表