以下是大智慧超级资金指标公式源码
大智慧超级资金指标公式源码:
大机构仓位:100*(1-WINNER(CLOSE)),colorred,LINETHICK3;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,120);
VAR6:=HHV(HIGH,120);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,10,1);
VARB:=3*VAR9-2*SMA(VAR9,10,1);
VARC:=100-VARB;
短线主力仓位:(100-VARA),coloryellow,LINETHICK2;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;
准备现金:STICKLINE(EMA(V11,3)<=13,0,20,5,0),colorred;
AA:=(EMA(V11,3)<=13)ANDFILTER((EMA(V11,3)<=13),15);
DRAWTEXT(AA,-10,’准备现金’),colorgray;
买入股票:STICKLINE(EMA(V11,3)<=13ANDV12>13,0,30,5,0),colorlimagenta;
BB:=(EMA(V11,3)<=13ANDV12>13)ANDFILTER((EMA(V11,3)<=13ANDV12>13),10);
DRAWTEXT(BB,35,’主力进’),colorlimagenta;
卖临界:STICKLINE(EMA(V11,3)>60ANDEMA(V11,3)>REF(EMA(V11,3),1),100,95,15,1),colorgreen;
CC:=(EMA(V11,3)>=90ANDV12)ANDFILTER((EMA(V11,3)>=90ANDV12),10);
DD:=(EMA(V11,3)>=120ANDV12)ANDFILTER((EMA(V11,3)>=120ANDV12),10);
STICKLINE(IF(VB>=0,VB,0) ANDEMA(V11,3)<13,0,20,10,0),colorlimagenta;
STICKLINE(IF(VB<=0,VB,0) ANDEMA(V11,3)>90,0,20,10,0),colorgreen;
STICKLINE(IF(V4>=0,V4,1)ANDEMA(V11,3)<13,0,20,10,0),COLORFF00FF;
STICKLINE(IF(V4<=0,V4,1)ANDEMA(V11,3)>90,0,20,10,0),colorliblue;
DRAWTEXT(CC,33,’主力拉升减仓’),colorliblue;
Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
多:EMA((Var1-Var2)/(Var3-Var2)*100,13),colorwhite,LINETHICK1;
空:EMA(多,3),colorgreen,LINETHICK1;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25ANDVAR19<-95ANDVAR1F>20ANDVAR1B<-30ANDVAR1E<30ANDVAR11-CLOSE>=-0.25ANDVAR15<22ANDVAR16<28ANDVAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150ANDVAR22<200ANDVAR23>=150ANDVAR23<200,10,0);
VAR25:=IF(VAR22<=-150ANDVAR22>-200ANDVAR23<=-150ANDVAR23>-200,-10,VAR24);
STICKLINE(VAR20,0,80,5,0),LINETHICK3,colorred;
DRAWTEXT(CROSS(VAR20,0.5)ANDCOUNT(VAR20=1,10)=1,90,’超级主力建仓!’),colorred;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
买:IF((V7ANDCOUNT(V7,3)=1),50,0),colormagenta,LINETHICK1;
V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);
头部:=IF(V12=50,100,0);
卖:IF(头部>REF(头部,1),50,0),colorgreen,LINETHICK3;
DRAWTEXT(卖,60,’主力清仓’),colorgreen;
V9:=TROUGHBARS(3,15,1)<10;V11:=IF(V9=1,50,0);
底部:=IF(V11=50,50,0);
买:IF(底部>REF(底部,1),50,0),colorred,LINETHICK3;
DRAWTEXT(买,60,’主力抄底买!’),colorred;
V7:=TROUGHBARS(3,15,1)<10;V9:=IF(V7=1,50,0);
B:=ZIG(3,50/5)*1;
G:=MA(B,2);
D:=CROSS(B,G)*10;
W:=CROSS(G,B)*10;
DRAWTEXT(W=10,-10,’↓跌势确立’),colorgreen,LINETHICK3;
DRAWTEXT(D=10,-10,’↑涨势确立’),colorred,LINETHICK3;
爆发线:80,colorred;
强弱分界线:50,colorgreen;
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
a1:=HHV(AA,10);
a2:=LLV(AA,30);
a3:=a1-a2;
a4:=EMA((AA-a2)/a3,1)*100;
b1:=HHV(AA,16);
b2:=LLV(AA,90);
b3:=b1-b2;
b4:=EMA((AA-b2)/b3,1)*100;
C1:=HHV(AA,30);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,1)*100;
中线趋势:b4,colormagenta,LINETHICK2;
STICKLINE(a4>90ANDb4>70,86,94,6,0),coloryellow;
STICKLINE(a4<5ANDb4<30,0,8,6,0),colorwhite;
主力资金:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3),colorred,LINETHICK2;
即将爆发线:65,COLOR00FF00;
起爆线:80,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(主力资金,起爆线),主力资金,’★爆发!’),coloryellow;TMD:=C-REF(C,1);
金线:100*EMA(EMA(TMD,5),5)/EMA(EMA(ABS(TMD),5),5),colorwhite,LINETHICK1;
银线:MA(金线,10),COLOR00FF00,LINETHICK1;
STICKLINE(金线>银线,金线,银线,2.5,0),colorred,LINETHICK2;
STICKLINE(银线>金线,金线,银线,2.5,0),colorgreen,LINETHICK2;
爆发线:30,COLORFF00FF,LINETHICK1;
起步线:0,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(起爆线,主力资金),起爆线,’★空仓!’),coloryellow;
抄底线:-25,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(金线,爆发线),金线,’★爆发!’),colorwhite;
DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,’★加仓’),colorwhite;
DRAWTEXT(CROSS(金线,起步线),金线,’★加仓!’),colorwhite;
DRAWTEXT(CROSS(金线,抄底线),金线,’★半仓!’),colorwhite;
LC:=REF(C,1);
F1:=ZIG(3,10);
方向:IF((F1>REF(F1,1)),-40,105),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线,’★逢低进场!’),colorred;
DRAWTEXT(CROSS(方向,抄底线),方向+20,’★逢高出场!’),colorwhite;
DRAWTEXT(CROSS(金线,起爆线),金线,’★爆发!’),colorwhite;
{DRAWGBK(C>0,RGB(00,0,150),RGB(0,00,0),0,”,0);}
{DRAWRECTREL(0,0,999,999.4,IF(120,RGB(10,0,0),0));}
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
总量:=ABS(超B+大B+中B+小B)+(超S+大S+中S+小S);
机构净%:=((超B+大B)-(超S+大S))*100/总量;
散户净%:=((中B+小B)-(中S+小S))*100/总量;
总成交额:=(超B+大B+中B+小B)+(超S+大S+中S+小S);
总净流额:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
机构净流:=(超B+大B)-(超S+大S);
散户净流:=(中B+小B)-(中S+小S);
超大净:=(超B)-(超S);
大单净:=(大B)-(大S);
中单净:=(中B)-(中S);
小单净:=(小B)-(小S);
N:=3;N1:=5;N2:=10;N3:=20;N4:=60;{N5:=144;N6:=233;}
近N净入:=SUM(净流入,N);
近N机构净:=SUM(机构净流,N);
近N超大净:=SUM(超大净,N);
近N大单净:=SUM(大单净,N);
近N中单净:=SUM(中单净,N);
近N小单净:=SUM(小单净,N);
近N散户净:=SUM(散户净流,N);
近N总成交额:=SUM(总成交额,N);
三净%:=近N机构净*100/近N总成交额;
三净额:=SUM(净流入,N);
近N1净入:=SUM(净流入,N1);
近N1机构净:=SUM(机构净流,N1);
近N1超大净:=SUM(超大净,N1);
近N1大单净:=SUM(大单净,N1);
近N1中单净:=SUM(中单净,N1);
近N1小单净:=SUM(小单净,N1);
近N1散户净:=SUM(散户净流,N1);
近N1总成交额:=SUM(总成交额,N1);
五净%:=近N1机构净*100/近N1总成交额;
五净额:=SUM(净流入,N1);
近N2净入:=SUM(净流入,N2);
近N2机构净:=SUM(机构净流,N2);
近N2超大净:=SUM(超大净,N2);
近N2大单净:=SUM(大单净,N2);
近N2中单净:=SUM(中单净,N2);
近N2小单净:=SUM(小单净,N2);
近N2散户净:=SUM(散户净流,N2);
近N2总成交额:=SUM(总成交额,N2);
十三净%:=近N2机构净*100/近N2总成交额;
十三净额:=SUM(净流入,N2);
近N3净入:=SUM(净流入,N3);
近N3机构净:=SUM(机构净流,N3);
近N3超大净:=SUM(超大净,N3);
近N3大单净:=SUM(大单净,N3);
近N3中单净:=SUM(中单净,N3);
近N3小单净:=SUM(小单净,N3);
近N3散户净:=SUM(散户净流,N3);
近N3总成交额:=SUM(总成交额,N3);
二一净%:=近N3机构净*100/近N3总成交额;
二一净额:=SUM(净流入,N3);
近N4净入:=SUM(净流入,N4);
近N4机构净:=SUM(机构净流,N4);
近N4超大净:=SUM(超大净,N4);
近N4大单净:=SUM(大单净,N4);
近N4中单净:=SUM(中单净,N4);
近N4小单净:=SUM(小单净,N4);
近N4散户净:=SUM(散户净流,N4);
近N4总成交额:=SUM(总成交额,N4);
五五净%:=近N4机构净*100/近N4总成交额;
五五净额:=SUM(净流入,N4);
{近N5净入:=SUM(净流入,N5);
近N5机构净:=SUM(机构净流,N5);
近N5散户净:=SUM(散户净流,N5);
近N5总成交额:=SUM(总成交额,N5);
一四四净%:=近N5机构净*100/近N5总成交额;
一四四净额:=SUM(净流入,N5);}
{近N6净入:=SUM(净流入,N6);
近N6机构净:=SUM(机构净流,N6);
近N6散户净:=SUM(散户净流,N6);
近N6总成交额:=SUM(总成交额,N6);
二三三净%:=近N6机构净*100/近N6总成交额;
二三三净额:=SUM(净流入,N6);}
DAZHI:=CONST(MAX(ABS(净流入),MAX(ABS(超大净),MAX(ABS(大单净),MAX(ABS(中单净),ABS(小单净)))))),NODRAW;
{表头}
DRAWRECTREL(40,40,150,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.06,0.076,0,’资金搏弈(万元)’),COLORYELLOW;
DRAWRECTREL(150,40,250,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.17,0.076,0,’超大单(万元)占比’),COLORYELLOW;
DRAWRECTREL(250,40,350,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.27,0.076,0,’大单(万元)占比’),COLORYELLOW;
DRAWRECTREL(350,40,450,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.37,0.076,0,’中单(万元)占比’),COLORYELLOW;
DRAWRECTREL(450,40,550,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.47,0.076,0,’小单(万元)占比’),COLORYELLOW;
DRAWRECTREL(550,40,650,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.56,0.076,0,’机构净流入(万元)占比’),COLORYELLOW;
DRAWRECTREL(650,40,750,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.66,0.076,0,’散户净流(万元)占比’),COLORYELLOW;
DRAWRECTREL(750,40,850,150.4,IF(120,RGB(323,125,175),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.76,0.076,0,’整体净流入(万元)占比’),COLORYELLOW;
{N(0,100,21)}
散户套牢:(100*(1-WINNER(CLOSE))),colorFFFFFF,LINETHICK4;
STICKLINE((CLOSE>1),散户套牢,0,0.5,0),colorFFFFFF;
KDCM:=(100*WINNER(CLOSE));
主力控盘:KDCM,STICK,colorAA0033,linethick4;
STICKLINE((CLOSE>1),KDCM,0,8,1),LINETHICK2,colorAA0033;
STICKLINE((CLOSE>1),KDCM,0,7,0),color330000;
STICKLINE((CLOSE>1),KDCM,0,6,0),color440011;
STICKLINE((CLOSE>1),KDCM,0,5,0),color550022;
STICKLINE((CLOSE>1),KDCM,0,4,0),color660033;
STICKLINE((CLOSE>1),KDCM,0,3,0),color770044;
STICKLINE((CLOSE>1),KDCM,0,2,0),color880055;
STICKLINE((CLOSE>1),KDCM,0,1,0),color990066;
DDCM:=EMA((100*WINNER(CLOSE)),13);
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,8,1),LINETHICK2,colorAA0033;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,7,0),colorFF0000;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,6,0),color11FF00;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,5,0),color22FF00;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,4,0),color33FF00;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,3,0),color44FF00;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,2,0),color55FF00;
STICKLINE(((CLOSE>1)AND(DDCM<KDCM)),KDCM,DDCM,1,0),color66FF00;
DRAWICON((KDCM<2),0,10);
VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1);
底部资金:IF(VAR1<0,VAR2,0),COLOR00FFFF,LINESTICK;
获利平均值:=MA(COST(99),5);
获利99:=MA(COST(80),5);
获利80:=MA(CLOSE,5);
均线5日:=MA(COST(20),5);
获利20:=MA(COST(1),5);
获利1:=(((获利平均值-获利99)/获利99)*100);
A1:=(((获利99-均线5日)/均线5日)*100);
A2:=(((均线5日-获利20)/获利20)*100);
AA3:=IF((A1<10),100,0);
A4:=IF((A1<15),50,0);
A5:=IF((A1<20),25,0);
密集度:A1,color0000FF;
高密集:AA3,color00CCFF;
中密集:A4,color0000CC;
低密集:A5,color00FFFF;
A6:=HHV(KDCM,N);
乖离:EMA(((100+KDCM)-A6),3),colorFF00FF;
成本乖离:(((CLOSE/COST(50))-1)*100),colorFFFF00;
{表栏}
DRAWRECTREL(40,260,150,151.4,IF(120,RGB(323,125,175),0));{第二行第一}
DRAWRECTREL(150,260,250,151.4,IF(120,RGB(0,0,0),0));{第二行第二}
DRAWRECTREL(250,260,350,151.4,IF(120,RGB(0,0,0),0));{第二行第三}
DRAWRECTREL(350,260,450,151.4,IF(120,RGB(0,0,0),0));{第二行第四}
DRAWRECTREL(450,260,550,151.4,IF(120,RGB(0,0,0),0));{第二行第五}
DRAWRECTREL(550,260,650,151.4,IF(120,RGB(0,0,0),0));{第二行第六}
DRAWRECTREL(650,260,750,151.4,IF(120,RGB(0,0,0),0));{第二行第七}
DRAWRECTREL(750,260,850,151.4,IF(120,RGB(0,0,0),0));{第二行第七}
DRAWRECTREL(40,380,150,263.4,IF(120,RGB(323,125,175),0));{第三行第一}
DRAWRECTREL(150,380,250,263.4,IF(120,RGB(0,0,0),0));{第三行第二}
DRAWRECTREL(250,380,350,263.4,IF(120,RGB(0,0,0),0));{第三行第三}
DRAWRECTREL(350,380,450,263.4,IF(120,RGB(0,0,0),0));{第三行第四}
DRAWRECTREL(450,380,550,263.4,IF(120,RGB(0,0,0),0));{第三行第五}
DRAWRECTREL(550,380,650,263.4,IF(120,RGB(0,0,0),0));{第三行第六}
DRAWRECTREL(650,380,750,263.4,IF(120,RGB(0,0,0),0));{第三行第七}
DRAWRECTREL(750,380,850,263.4,IF(120,RGB(0,0,0),0));{第三行第七}
DRAWRECTREL(40,500,150,386,IF(120,RGB(323,125,175),0));{第四行第一}
DRAWRECTREL(150,500,250,386,IF(120,RGB(0,0,0),0));{第四行第二}
DRAWRECTREL(250,500,350,386,IF(120,RGB(0,0,0),0));{第四行第三}
DRAWRECTREL(350,500,450,386,IF(120,RGB(0,0,0),0));{第四行第四}
DRAWRECTREL(450,500,550,386,IF(120,RGB(0,0,0),0));{第四行第五}
DRAWRECTREL(550,500,650,386,IF(120,RGB(0,0,0),0));{第四行第六}
DRAWRECTREL(650,500,750,386,IF(120,RGB(0,0,0),0));{第四行第七}
DRAWRECTREL(750,500,850,386,IF(120,RGB(0,0,0),0));{第四行第七}
DRAWRECTREL(40,620,150,505,IF(120,RGB(323,125,175),0));{第五行第一}
DRAWRECTREL(150,620,250,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(250,620,350,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(350,620,450,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(450,620,550,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(550,620,650,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(650,620,750,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(750,620,850,505,IF(120,RGB(0,0,0),0));{第五行第一}
DRAWRECTREL(40,740,150,625,IF(120,RGB(323,125,175),0));{第六行第一}
DRAWRECTREL(150,740,250,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(250,740,350,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(350,740,450,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(450,740,550,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(550,740,650,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(650,740,750,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(750,740,850,625,IF(120,RGB(0,0,0),0));{第六行第一}
DRAWRECTREL(40,860,150,745,IF(120,RGB(323,125,175),0));{第七行第一}
DRAWRECTREL(150,860,250,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(250,860,350,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(350,860,450,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(450,860,550,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(550,860,650,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(650,860,750,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWRECTREL(750,860,850,745,IF(120,RGB(0,0,0),0));{第七行第一}
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.19,0,’当日’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.31,0,’三日’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.42,0,’五日’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.54,0,’十日’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.66,0,’二十日’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.78,0,’六十日’),COLORYELLOW;
{当日}
CJZJ1:=STRCAT(CON2STR(超大净,2),’万元’);
CJZJ2:=STRCAT(CON2STR((100*超大净)/总成交额,0),’%’);
CJZJ3:=STRCAT(CON2STR(大单净,2),’万元’);
CJZJ4:=STRCAT(CON2STR((100*大单净)/总成交额,0),’%’);
CJZJ5:=STRCAT(CON2STR(中单净,2),’万元’);
CJZJ6:=STRCAT(CON2STR((100*中单净)/总成交额,0),’%’);
CJZJ7:=STRCAT(CON2STR(小单净,2),’万元’);
CJZJ8:=STRCAT(CON2STR((100*小单净)/总成交额,0),’%’);
CJZJ9:=STRCAT(CON2STR(机构净%,2),’万元’);
CJZJ10:=STRCAT(CON2STR((100*机构净%)/总成交额,0),’%’);
CJZJ11:=STRCAT(CON2STR(散户净流,2),’万元’);
CJZJ12:=STRCAT(CON2STR((100*散户净流)/总成交额,0),’%’);
CJZJ13:=STRCAT(CON2STR(净流入,2),’万元’);
CJZJ14:=STRCAT(CON2STR((100*净流入)/总成交额,0),’%’);
第一行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJ1,CJZJ2),CJZJ3),CJZJ4),CJZJ5),CJZJ6),CJZJ7),CJZJ8),CJZJ9),CJZJ10),CJZJ11),CJZJ12),CJZJ13),CJZJ14);
DRAWTEXT_FIX(1AND第一行结果>0,0.17,0.19,0,第一行结果),COLORFFFFFF;
{三日}
CJZJS1:=STRCAT(CON2STR(近N超大净,2),’万元’);
CJZJS2:=STRCAT(CON2STR((100*近N超大净)/近N总成交额,0),’%’);
CJZJS3:=STRCAT(CON2STR(近N大单净,2),’万元’);
CJZJS4:=STRCAT(CON2STR((100*近N大单净)/近N总成交额,0),’%’);
CJZJS5:=STRCAT(CON2STR(近N中单净,2),’万元’);
CJZJS6:=STRCAT(CON2STR((100*近N中单净)/近N总成交额,0),’%’);
CJZJS7:=STRCAT(CON2STR(近N小单净,2),’万元’);
CJZJS8:=STRCAT(CON2STR((100*近N小单净)/近N总成交额,0),’%’);
CJZJS9:=STRCAT(CON2STR(近N机构净,2),’万元’);
CJZJS10:=STRCAT(CON2STR((100*近N机构净)/近N总成交额,0),’%’);
CJZJS11:=STRCAT(CON2STR(近N散户净,2),’万元’);
CJZJS12:=STRCAT(CON2STR((100*近N散户净)/近N总成交额,0),’%’);
CJZJS13:=STRCAT(CON2STR(近N净入,2),’万元’);
CJZJS14:=STRCAT(CON2STR((100*近N净入)/总成交额,0),’%’);
第二行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJS1,CJZJS2),CJZJS3),CJZJS4),CJZJS5),CJZJS6),CJZJS7),CJZJS8),CJZJS9),CJZJS10),CJZJS11),CJZJS12),CJZJS13),CJZJS14);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND第二行结果>0,0.16,0.31,0,第二行结果),COLORFFFFFF;
{五日}
CJZJW1:=STRCAT(CON2STR(近N1超大净,2),’万元’);
CJZJW2:=STRCAT(CON2STR((100*近N1超大净)/近N1总成交额,0),’%’);
CJZJW3:=STRCAT(CON2STR(近N1大单净,2),’万元’);
CJZJW4:=STRCAT(CON2STR((100*近N1大单净)/近N1总成交额,0),’%’);
CJZJW5:=STRCAT(CON2STR(近N1中单净,2),’万元’);
CJZJW6:=STRCAT(CON2STR((100*近N1中单净)/近N1总成交额,0),’%’);
CJZJW7:=STRCAT(CON2STR(近N1小单净,2),’万元’);
CJZJW8:=STRCAT(CON2STR((100*近N1小单净)/近N1总成交额,0),’%’);
CJZJW9:=STRCAT(CON2STR(近N1机构净,2),’万元’);
CJZJW10:=STRCAT(CON2STR((100*近N1机构净)/近N1总成交额,0),’%’);
CJZJW11:=STRCAT(CON2STR(近N1散户净,2),’万元’);
CJZJW12:=STRCAT(CON2STR((100*近N1散户净)/近N1总成交额,0),’%’);
CJZJW13:=STRCAT(CON2STR(近N1净入,2),’万元’);
CJZJW14:=STRCAT(CON2STR((100*近N1净入)/总成交额,0),’%’);
第三行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJW1,CJZJW2),CJZJW3),CJZJW4),CJZJW5),CJZJW6),CJZJW7),CJZJW8),CJZJW9),CJZJW10),CJZJW11),CJZJW12),CJZJW13),CJZJW14);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND第三行结果>0,0.16,0.42,0,第三行结果),COLORFFFFFF;
{十三日}
CJZJSS1:=STRCAT(CON2STR(近N2超大净,2),’万元’);
CJZJSS2:=STRCAT(CON2STR((100*近N2超大净)/近N2总成交额,0),’%’);
CJZJSS3:=STRCAT(CON2STR(近N2大单净,2),’万元’);
CJZJSS4:=STRCAT(CON2STR((100*近N2大单净)/近N2总成交额,0),’%’);
CJZJSS5:=STRCAT(CON2STR(近N2中单净,2),’万元’);
CJZJSS6:=STRCAT(CON2STR((100*近N2中单净)/近N2总成交额,0),’%’);
CJZJSS7:=STRCAT(CON2STR(近N2小单净,2),’万元’);
CJZJSS8:=STRCAT(CON2STR((100*近N2小单净)/近N2总成交额,0),’%’);
CJZJSS9:=STRCAT(CON2STR(近N2机构净,2),’万元’);
CJZJSS10:=STRCAT(CON2STR((100*近N2机构净)/近N2总成交额,0),’%’);
CJZJSS11:=STRCAT(CON2STR(近N2散户净,2),’万元’);
CJZJSS12:=STRCAT(CON2STR((100*近N2散户净)/近N2总成交额,0),’%’);
CJZJSS13:=STRCAT(CON2STR(近N2净入,2),’万元’);
CJZJSS14:=STRCAT(CON2STR((100*近N2净入)/总成交额,0),’%’);
第四行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJSS1,CJZJSS2),CJZJSS3),CJZJSS4),CJZJSS5),CJZJSS6),CJZJSS7),CJZJSS8),CJZJSS9),CJZJSS10),CJZJSS11),CJZJSS12),CJZJSS13),CJZJSS14);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND第四行结果>0,0.16,0.54,0,第四行结果),COLORFFFFFF;
{二十一日}
CJZJESY1:=STRCAT(CON2STR(近N3超大净,2),’万元’);
CJZJESY2:=STRCAT(CON2STR((100*近N3超大净)/近N3总成交额,0),’%’);
CJZJESY3:=STRCAT(CON2STR(近N3大单净,2),’万元’);
CJZJESY4:=STRCAT(CON2STR((100*近N3大单净)/近N3总成交额,0),’%’);
CJZJESY5:=STRCAT(CON2STR(近N3中单净,2),’万元’);
CJZJESY6:=STRCAT(CON2STR((100*近N3中单净)/近N3总成交额,0),’%’);
CJZJESY7:=STRCAT(CON2STR(近N3小单净,2),’万元’);
CJZJESY8:=STRCAT(CON2STR((100*近N3小单净)/近N3总成交额,0),’%’);
CJZJESY9:=STRCAT(CON2STR(近N3机构净,2),’万元’);
CJZJESY10:=STRCAT(CON2STR((100*近N3机构净)/近N3总成交额,0),’%’);
CJZJESY11:=STRCAT(CON2STR(近N3散户净,2),’万元’);
CJZJESY12:=STRCAT(CON2STR((100*近N3散户净)/近N3总成交额,0),’%’);
CJZJESY13:=STRCAT(CON2STR(近N3净入,2),’万元’);
CJZJESY14:=STRCAT(CON2STR((100*近N3净入)/总成交额,0),’%’);
第五行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJESY1,CJZJESY2),CJZJESY3),CJZJESY4),CJZJESY5),CJZJESY6),CJZJESY7),CJZJESY8),CJZJESY9),CJZJESY10),CJZJESY11),CJZJESY12),CJZJESY13),CJZJESY14);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND第五行结果>0,0.16,0.66,0,第五行结果),COLORFFFFFF;
{五十五日}
CJZJWSW1:=STRCAT(CON2STR(近N4超大净,2),’万元’);
CJZJWSW2:=STRCAT(CON2STR((100*近N4超大净)/近N4总成交额,0),’%’);
CJZJWSW3:=STRCAT(CON2STR(近N4大单净,2),’万元’);
CJZJWSW4:=STRCAT(CON2STR((100*近N4大单净)/近N4总成交额,0),’%’);
CJZJWSW5:=STRCAT(CON2STR(近N4中单净,2),’万元’);
CJZJWSW6:=STRCAT(CON2STR((100*近N4中单净)/近N4总成交额,0),’%’);
CJZJWSW7:=STRCAT(CON2STR(近N4小单净,2),’万元’);
CJZJWSW8:=STRCAT(CON2STR((100*近N4小单净)/近N4总成交额,0),’%’);
CJZJWSW9:=STRCAT(CON2STR(近N4机构净,2),’万元’);
CJZJWSW10:=STRCAT(CON2STR((100*近N4机构净)/近N4总成交额,0),’%’);
CJZJWSW11:=STRCAT(CON2STR(近N4散户净,2),’万元’);
CJZJWSW12:=STRCAT(CON2STR((100*近N4散户净)/近N4总成交额,0),’%’);
CJZJWSW13:=STRCAT(CON2STR(近N4净入,2),’万元’);
CJZJWSW14:=STRCAT(CON2STR((100*近N4净入)/总成交额,0),’%’);
第六行结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJWSW1,CJZJWSW2),CJZJWSW3),CJZJWSW4),CJZJWSW5),CJZJWSW6),CJZJWSW7),CJZJWSW8),CJZJWSW9),CJZJWSW10),CJZJWSW11),CJZJWSW12),CJZJWSW13),CJZJWSW14);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND第六行结果>0,0.16,0.78,0,第六行结果),COLORFFFFFF;
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.06,0.076,0,’资金搏弈(万元)’),COLORYELLOW;}
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.145,1,0,’净流’),COLORYELLOW;};
大智慧超级资金指标公式截图
评论(0)