【股票指标公式下载】-【大智慧】庄家区域(获利线、庄筹线、散筹线)
大智慧各户资金分时指标公式-大智慧公式-股旁网
大智慧各户资金分时指标公式-大智慧公式-股旁网N:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:SUM(ZLLR-ZLLC,0),COLOR00FFFF,LINETHICK0,PRECIS2;主现:=SUM(ZLLR-ZLLC,N);{N分钟}TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:SUM(TDLR-TDLC,0),COLORFF00FF,LINETHICK0,PRECIS2;超现:=SUM(TDLR-TDLC,N);{N分钟}DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:SUM(DDLR-DDLC,0),COLOR00FF00,LINETHICK0,PRECIS2;大现:=SUM(DDLR-DDLC,N);{N分钟}ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:SUM(ZDLR-ZDLC,0),COLORB8B8B8,LINETHICK0,PRECIS2;中现:=SUM(ZDLR-ZDLC,N);{N分钟}XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10 000;XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10 000;散净:SUM(XDLR-XDLC,0),COLORFF9911,LINETHICK0;散现:=SUM(XDLR-XDLC,N);{N分钟}主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100;中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力: 主力净买,COLOR3D;主力,COLOR00FFFF,LINETHICK2;STR1:=''+'(主力)'+NUMTOSTRN(主净,2)+' (主现)' + NUMTOSTRN(主现,2)+'\n';DRAWTEXT(BARSTATUS,主力,STR1),COLOR00FFFF;超大: 超大净买,COLORFF00FF,LINETHICK2;STR1:=''+'(超大)'+NUMTOSTRN(超净,2)+' (超现)' + NUMTOSTRN(超现,2)+'\n';DRAWTEXT(BARSTATUS,超大,STR1),COLORFF00FF;大户: 大户净买,COLOR00FF00,LINETHICK2;STR1:=''+'(大户)'+NUMTOSTRN(大净,2)+' (大现)' + NUMTOSTRN(大现,2)+'\n';DRAWTEXT(BARSTATUS,大户,STR1),COLOR00FF00;中户:中户净买,COLORB5B5B5,LINETHICK2;STR1:=''+'(中户)'+NUMTOSTRN(中净,2)+' (中现)' + NUMTOSTRN(中现,2)+'\n';DRAWTEXT(BARSTATUS,中户,STR1),COLORB5B5B5;散户: 散户净买,COLORFF9911,LINETHICK2;STR1:=''+'(散户)'+NUMTOSTRN(散净,2)+' (散现)' + NUMTOSTRN(散现,2)+'\n';。
【股票指标公式下载】-【大智慧】筹码主图(成本、筹码分布)
【大智慧】筹码主图(成本、筹码分布)-指标公式源码input:N(130,1,10000),M(50,0,100);Var1:="[email=XWUS@COSTL]XWUS@COSTL"(N,M[/email]);成本: Var1,colorgreen ;Var6:="[email=XWUS@CMBL]XWUS@CMBL"(n,5[/email]);Var7:="[email=XWUS@CMBL]XWUS@CMBL"(n,6[/email]);Var8:="[email=XWUS@CMBL]XWUS@CMBL"(n,7[/email]);Var9:="[email=XWUS@CMBL]XWUS@CMBL"(n,8[/email]);VarA:="[email=XWUS@CMBL]XWUS@CMBL"(n,9[/email]);VarB:="[email=XWUS@CMBL]XWUS@CMBL"(n,10[/email]);VarC:="[email=XWUS@CMBL]XWUS@CMBL"(n,11[/email]);VarD:="[email=XWUS@CMBL]XWUS@CMBL"(n,12[/email]);VarE:="[email=XWUS@CMBL]XWUS@CMBL"(n,13[/email]);VarF:="[email=XWUS@CMBL]XWUS@CMBL"(n,14[/email]);Var10:="[email=XWUS@CMBL]XWUS@CMBL"(n,15[/email]);Var11:="[email=XWUS@CMBL]XWUS@CMBL"(n,16[/email]);Var12:="[email=XWUS@CMBL]XWUS@CMBL"(n,17[/email]);Var13:="[email=XWUS@CMBL]XWUS@CMBL"(n,18[/email]);Var14:="[email=XWUS@CMBL]XWUS@CMBL"(n,19[/email]);Var15:="[email=XWUS@CMBL]XWUS@CMBL"(n,20[/email]);Var16:="[email=XWUS@CMBL]XWUS@CMBL"(n,21[/email]);Var17:="[email=XWUS@CMBL]XWUS@CMBL"(n,22[/email]);Var18:="[email=XWUS@CMBL]XWUS@CMBL"(n,23[/email]);Var19:="[email=XWUS@CMBL]XWUS@CMBL"(n,24[/email]);Var1A:="[email=XWUS@CMBL]XWUS@CMBL"(n,25[/email]);Var1B:="[email=XWUS@CMBL]XWUS@CMBL"(n,26[/email]);Var1C:="[email=XWUS@CMBL]XWUS@CMBL"(n,27[/email]);Var1D:="[email=XWUS@CMBL]XWUS@CMBL"(n,28[/email]);Var1E:="[email=XWUS@CMBL]XWUS@CMBL"(n,29[/email]);Var1F:="[email=XWUS@CMBL]XWUS@CMBL"(n,30[/email]);Var20:="[email=XWUS@CMBL]XWUS@CMBL"(n,31[/email]);Var21:="[email=XWUS@CMBL]XWUS@CMBL"(n,32[/email]);Var22:="[email=XWUS@CMBL]XWUS@CMBL"(n,33[/email]);Var23:="[email=XWUS@CMBL]XWUS@CMBL"(n,34[/email]);Var24:="[email=XWUS@CMBL]XWUS@CMBL"(n,35[/email]);Var25:="[email=XWUS@CMBL]XWUS@CMBL"(n,36[/email]);Var26:="[email=XWUS@CMBL]XWUS@CMBL"(n,37[/email]);Var27:="[email=XWUS@CMBL]XWUS@CMBL"(n,38[/email]);Var28:="[email=XWUS@CMBL]XWUS@CMBL"(n,39[/email]);Var29:="[email=XWUS@CMBL]XWUS@CMBL"(n,40[/email]);Var2A:="[email=XWUS@CMBL]XWUS@CMBL"(n,41[/email]); POLYLINE(Var6>0,Var6),Color008364,LAYER7;POLYLINE(Var7>0,Var7),Color008364,LAYER7;POLYLINE(Var8>0,Var8),Color008364,LAYER7;POLYLINE(Var9>0,Var9),Color008364,LAYER7{,color808080}; POLYLINE(VarA>0,VarA),Color008364,LAYER7;POLYLINE(VarB>0,VarB),Color008364,LAYER7;POLYLINE(VarC>0,VarC),Color008364,LAYER7;POLYLINE(VarD>0,VarD),Color008364,LAYER7{,color808080}; POLYLINE(VarE>0,VarE),Color008364,LAYER7;POLYLINE(VarF>0,VarF),Color008364,LAYER7;POLYLINE(Var10>0,Var10),Color008364,LAYER7;POLYLINE(Var11>0,Var11),Color008364,LAYER7{,color808080}; POLYLINE(Var12>0,Var12),Color008364,LAYER7;POLYLINE(Var13>0,Var13),Color008364,LAYER7;POLYLINE(Var14>0,Var14),Color008364,LAYER7;POLYLINE(Var15>0,Var15),Color008364,LAYER7{,color808080}; POLYLINE(Var16>0,Var16),Color008364,LAYER7;POLYLINE(Var17>0,Var17),Color008364,LAYER7;POLYLINE(Var18>0,Var18),Color008364,LAYER7;POLYLINE(Var19>0,Var19),Color008364,LAYER7{,color808080}; POLYLINE(Var1A>0,Var1A),Color008364,LAYER7;POLYLINE(Var1B>0,Var1B),Color008364,LAYER7;POLYLINE(Var1C>0,Var1C),Color008364,LAYER7;POLYLINE(Var1D>0,Var1D),Color008364,LAYER7{,color808080}; POLYLINE(Var1E>0,Var1E),Color008364,LAYER7;POLYLINE(Var1F>0,Var1F),Color008364,LAYER7;POLYLINE(Var20>0,Var20),Color008364,LAYER7;POLYLINE(Var21>0,Var21),Color008364,LAYER7{,color808080}; POLYLINE(Var22>0,Var22),Color008364,LAYER7;POLYLINE(Var23>0,Var23),Color008364,LAYER7;POLYLINE(Var24>0,Var24),Color008364,LAYER7;POLYLINE(Var25>0,Var25),Color008364,LAYER7{,color808080}; POLYLINE(Var26>0,Var26),Color008364,LAYER7;POLYLINE(Var27>0,Var27),Color008364,LAYER7;POLYLINE(Var28>0,Var28),Color008364,LAYER7;POLYLINE(Var29>0,Var29),Color008364,LAYER7{,color808080};{}空:=EMA(C,5);均衡:EMA(空,5),COLORWHITE;趋势:LLV(MA(H,13),1),COLORred;{}现价: if (DYNAINFO(4)=0,C,DYNAINFO(7)),colorwhite,POINTDOT;k1:=l>ref(h,1);k2:=barslast(k1);k4:=h<REF(L,1);k5:=barslast(k4);k7:=k2<K5;k3:=backset(BARSTATUS=2 and k7,k2+1);k6:=backset(BARSTATUS=2 and not(k7),k5+1);k8:=filter(backset(BARSTATUS=2 ,if(k7,k2+1,k5+1)),1000);STICKLINE((k3 and (llv(l,k2)>ref(h,k2+1) or k1)) or (BARSTATUS=2 and k1),ref(h,k2+1),ref(l,k2),28,0),ColorC0C0C0,ALIGN1,LAYER7; STICKLINE((k6 and (hhv(h,k5)<REF(L,K5+1) ork4)),ref(l,k5+1),ref(h,k5),28,0),ColorC0C0C0,ALIGN1,LAYER7; DRAWTEXT(k1,ref(h,1),''+ref(h,1)),Color0000FF,VALIGN0,ALIGN2,LINETHIC K2;DRAWTEXT(k1,ref(h,1),'-'+l),Color0000FF,VALIGN0,LINETHICK2; DRAWTEXT(k4,ref(l,1),'-'+h),Color00FF00,VALIGN2,LINETHICK2; DRAWTEXT(k4,ref(l,1),''+ref(l,1)),Color00FF00,VALIGN2,ALIGN2,LINETHIC K2;DRAWTEXTABS(0,40,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(0,55,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(0,69,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;【大智慧】筹码主图(成本、筹码分布)-指标公式效果图(文档来源:若水财经社区)。
大智慧组合主图指标公式
大智慧组合主图指标公式K线美化,无未来,可单独删除STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;{红买绿卖点显示,无未来,可单独删除}DRAWGBK(c>=0),Color2B5516;平衡:EMA(C,20),CIRCLEDOT,COLORwhite;STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff;STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600;{画线显示,带未来,正常,可单独删除}Var1:=DATE>900101 AND DATE<2098108;Var2:=DATE>2098106;Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4*Var1; Var4:=IF(DATE<2098231,IF(Var3>23.16,Var3,0),0);Var5:=Var3<10;Var6:=Var3<2;Var7:=Var5 OR Var6;长期趋势: ZIG(3,19)*Var1,COLORBLUE;短期趋势: ZIG(3,6.5)*Var1,COLORYELLOW;{压力支撑显示,带未来,正常,可单独删除}TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); vB1:=FILTER(A1,10); C1:=BACKSET(vB1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); vB2:=FILTER(A2,10); C2:=BACKSET(vB2,10+1); LD:=FILTER(C2,10); A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);压力线:IF(t1,A,A),ColorFF00FF,POINTDOT;STICKLINE(t1,A,A,9,0),ColorFF00FF;支撑线:IF(t2,B,B),Color80FF00,POINTDOT;STICKLINE(t2,B,B,9,0),Color80FF00;{BS买卖点显示,无未来,可单独删除}a:="LTFunc5@FORLT2"; {计算BS点}s1:="LTFunc5@LT_S1"; {s1=0,向下; s1=1,向上}hs:="LTFunc5@LT_HS"; {短线买入机会}ls:="LTFunc5@LT_LS"; {短线卖出机会}p1:="LTFunc5@LT_P1"; {p1=1,显示BS,p1上穿0线,B点 ; p1下穿1线,S点}upp:="LTFunc5@LT_UPP";{明日B点预测}udd:="LTFunc5@LT_UDD";{明日S点预测}drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{筹码成本显示,带未来,正常,可单独删除}Zyz:=cost(99.9);Zyx:=cost(0.1);Zy:=(Zyz-Zyx)/50;Zy1:=Zyz-Zy;Zy2:=Zyz-2*Zy;Zy3:=Zyz-3*Zy;Zy4:=Zyz-4*Zy;Zy5:=Zyz-5*Zy;Zy6:=Zyz-6*Zy;Zy7:=Zyz-7*Zy;Zy8:=Zyz-8*Zy;Zy9:=Zyz-9*Zy;Zy10:=Zyz-10*Zy;Zy11:=Zyz-11*Zy;Zy12:=Zyz-12*Zy;Zy13:=Zyz-13*Zy; Zy14:=Zyz-14*Zy; Zy15:=Zyz-15*Zy; Zy16:=Zyz-16*Zy; Zy17:=Zyz-17*Zy; Zy18:=Zyz-18*Zy; Zy19:=Zyz-19*Zy; Zy20:=Zyz-20*Zy; Zy21:=Zyz-21*Zy; Zy22:=Zyz-22*Zy; Zy23:=Zyz-23*Zy; Zy24:=Zyz-24*Zy; Zy25:=Zyz-25*Zy; Zy26:=Zyz-26*Zy; Zy27:=Zyz-27*Zy; Zy28:=Zyz-28*Zy; Zy29:=Zyz-29*Zy; Zy30:=Zyz-30*Zy; Zy31:=Zyz-31*Zy; Zy32:=Zyz-32*Zy; Zy33:=Zyz-33*Zy; Zy34:=Zyz-34*Zy; Zy35:=Zyz-35*Zy; Zy36:=Zyz-36*Zy; Zy37:=Zyz-37*Zy; Zy38:=Zyz-38*Zy; Zy39:=Zyz-39*Zy; Zy40:=Zyz-40*Zy; Zy41:=Zyz-41*Zy; Zy42:=Zyz-42*Zy; Zy43:=Zyz-43*Zy; Zy44:=Zyz-44*Zy; Zy45:=Zyz-45*Zy; Zy46:=Zyz-46*Zy; Zy47:=Zyz-47*Zy; Zy48:=Zyz-48*Zy; Zy49:=Zyz-49*Zy;Z1:=winner(Zyz)*100-winner(Zy4)*100;Z2:=winner(Zy4)*100-winner(Zy7)*100;Z3:=winner(Zy7)*100-winner(Zy10)*100;Z4:=winner(Zy10)*100-winner(Zy13)*100;Z5:=winner(Zy13)*100-winner(Zy16)*100;Z6:=winner(Zy16)*100-winner(Zy19)*100;Z7:=winner(Zy19)*100-winner(Zy22)*100;Z8:=winner(Zy22)*100-winner(Zy25)*100;Z9:=winner(Zy25)*100-winner(Zy28)*100;Z10:=winner(Zy28)*100-winner(Zy31)*100;Z11:=winner(Zy31)*100-winner(Zy34)*100;Z12:=winner(Zy34)*100-winner(Zy37)*100;Z13:=winner(Zy37)*100-winner(Zy40)*100;Z14:=winner(Zy40)*100-winner(Zy43)*100;Z15:=winner(Zy43)*100-winner(Zy46)*100;Z16:=winner(Zy46)*100-winner(Zy49)*100;STICKLINE( DISPSTATUS=2,Zy1 ,Zy4 ,Z1*50 ,1 ),LAYER7,coloryellow; STICKLINE( DISPSTATUS=2,Zy5 ,Zy7 ,Z2*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy8 ,Zy10 ,Z3*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy11 ,Zy13 ,Z4*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy14 ,Zy16 ,Z5*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy17 ,Zy19 ,Z6*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy20 ,Zy23 ,Z7*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy24 ,Zy26 ,Z8*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy27 ,Zy29 ,Z9*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy30 ,Zy31 ,Z10*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy32 ,Zy34 ,Z11*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy35 ,Zy37 ,Z12*50 ,1),LAYER7,DOTLINE;; STICKLINE( DISPSTATUS=2,Zy47 ,Zy49 ,Z16*50 ,1),LAYER7,coloryellow; DRAWTEXTABS(5,5,'股旁网 '),linethick1,COLOR00EEff; {文字显示,带未来,正常,可单独删除}DRAWTEXTABS(10,10,'所属板块:'+BKNAME),COLOR00FF00,linethick1;市值:=C*CAPITAL*VOLUNIT/100000000;股本:=FINANCE2(35)/10000;流通:=FINANCE2(37)/10000;人均持股:=CEILING(CAPITAL*100/selfdata('shx'));市盈率:=DYNAINFO(39);市净率:=c/FINANCE2(4);F:=COST(5 );J:=COST(95 );M:=COST(15 );N:=COST(85 );F1:=(J-F)/(F+J)*100;M1:=(N-M)/(N+M)*100;成本集中度:=F1;莸利比例:=WINNER(c )*100;日换手率:=vol/CAPITAL*100;净资产:=FINANCE2(4);净资收益率:=FINANCE2(5);最新收益:=FINANCE2(3);每股未分配:=FINANCE2(8);毛利润率:=FINANCE2(12);净利润率:=FINANCE2(33)/FINANCE2(27)*100;股东权益比:=FINANCE2(9);每股公积金:=FINANCE2(7);DRAWTEXTABS(10,30,'市值:'+市值+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,30,'股本:'+股本+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,30,'流通:'+流通+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,50,'市盈率:'+市盈率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,50,'市净率:'+市净率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,50,'成本集中度:'+成本集中度+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,70,'莸利比例:'+莸利比例+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,70,'日换手率:'+日换手率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,70,'净资产:'+净资产+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,90,'净资收益率:'+净资收益率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,90,'最新收益:'+最新收益+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,90,'每股未分配:'+每股未分配+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,110,'毛利润率:'+毛利润率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,110,'净利润率:'+净利润率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,110,'股东权益比:'+股东权益比+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,130,'每股公积金:'+每股公积金+'元 '),LINETHICK1,Color00FF00;{文字显示,无未来,可单独删除}mc:=REF(c,1);阻力位:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));阻力位1:=IF((CLOSE < 10),(CLOSE * 1.05),阻力位);止损位:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));止损位2:=IF((mc < 10),(mc * 0.95),止损位b);DRAWTEXTABS(10,150,'[昨/今日止损位 :'+NUMTOSTRn(止损位b,2)+'/'+NUMTOSTRn(止损位1,2)+']'),LINETHICK1,COLORYELLOW;DRAWTEXTABS(10,170,'[昨/今日阻力位 :'+NUMTOSTRn(阻力位2,2)+'/'+NUMTOSTRn(阻力位1,2)+']'),LINETHICK1,COLORYELLOW;。
大智慧主力建仓和出货指标公式
AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);
BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);
VAR7:=(EMA(VAR6,3) - 10);
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(C,13)<REF(MA(C,13),1);
D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));
锁定筹码:=100-B1;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
大智慧主力建仓和出货指标公式
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
低位金叉跟进:=IF((VAR1 > 20),VAR2,0);
VAR5:=EMA(VAR4,8);
VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
锁定区:STICKLINE(锁定筹码>70 AND C1,0,锁定筹码-65,8,0),COLOR0000FF;
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)第一篇:【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【SUPERVIEW大资金流向】} DRAWTEXTABS(0,2,'《若水》'),COLOR0000FF;DRAWTEXTABS(85,2,'《若水》'),COLORYELLOW;DRAWTEXTREL(350,10,'【SUPERVIEW大资金流向】'),LINETHICK4,Color00b5ff;DRAWTEXTABS(0,38,'大盘指数:'+INDEXC+''),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,52,'大盘涨跌:'+INDEXC-REF(INDEXC,1)),LINETHICK0,PRECIS2,COLORFFFF00;DRAWTEXTA BS(100,52,''+((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100)+'%'),LINETHICK0,PRECIS2,C OLORFFFF00;DRAWTEXTABS(0,140,'股票代码:'+STKLABEL+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,155 ,'股票名称:'+STKNAME+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,17 0,'最新价格:'+DYNAINFO(7)+'元'),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,185,'今日涨幅:'+DYNAINFO(14)*100+'%'),LINETHICK0,COLOR00FFFF,PRECIS2; DRAWTEXTABS(0,200,'今日涨跌:'+C-REF(C,1)),LINETHICK0,COLORFFFF00,PRECIS2;DRAWTEXTABS(0,2 14,'历史最高价:'+HHV(HIGH,0)),Colorred,LINETHICK0;DRAWTEXTABS(0,229,'历史最低价:'+LLV(LOW,0)),COLOR00FF00,LINETHICK0;TODAY:=DYNAINFO(7 )=CLOSE and DYNAINFO(10)=AMOUNT;{判断是否当天} {叠加大盘线} TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:=“SH00000 1$CLOSE”/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);DPSZ:=“399001$CLOSE”/HHV(STKINDI('399001','分超引用.昨收#DAY'),0);DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);POLYLINE(C>0,DPC),CO LORFF00FF,LINETHICK2,LAYER0;{DRAWTEXTABS(90,5,TC);} DRAWTEXTABS(0,66,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(0,80,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(0,94,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;{分时超赢} HS:=vol/capital;主单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2),BIGORDER(1,2[/email]));主单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2),BIGORDER(2,2[/email]));特单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,3),bigorder(1,3[/email]));特单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,3),bigorder(2,3[/email]));大单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2)-“DDEDATA@BIGORDER”(1,3),bigorder(1,2)-bigorder(1,3[/email]));大单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2)-“DDEDATA@BIGORDER”(2,3),bigorder(2,2)-bigorder(2,3[/email]));中单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,1)-“DDEDATA@BIGORDER”(1,2),bigord er(1,1)-bigorder(1,2[/email]));中单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,1)-“DDEDATA@BIGORDER”(2,2),bigorder(2,1)-bigorder(2,2[/email]));小单买:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(1,1),1 -bigorder(1,1[/email]));小单卖:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(2,1),1 -bigorder(2,1[/email]));外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=IF(DYNAINFO(92)/DYNAINFO(91),DYNAINFO(92)/DYNAINF O(91),0);TCL1:=IF(TODAY ,(大单买+特单买),(DYNAINFO(95)+DYNAINFO(94)));TCL2:=IF(TODAY,(特单卖+大单卖),(DYNAINFO(98)+DYNAINFO(97)));{通吃率:=(TCL1-TCL2)*VOL/VOL*100;} DRAWTEXTABS(0,108,'主动率:'+ NUMTOSTRN(主动率,2)),COLOR00FFFF;DRAWTEXTABS(0,122,'单数比:'+ NUMTOSTRN(单数比,2)),COLOR00FFFF;{DRAWTEXTABS(0,136,'通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;} TDLR:=特单买*AMOUNT/10000;TDLC:=特单卖*AMOUNT/10000;超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;超增:SUM(特单买,1)-SUM(特单卖,1)%,COLORFF00FF,LINETHICK0,PRECIS2;CD:=特单买-特单卖;超大:=HS*CD*100;超大持仓:= 25+Sum(超大,0);DDLR:=大单买*AMOUNT/10000;DDLC:=大单卖*AMOUNT/10000;大净:(DDLR-DDLC),COLOR00FF00,LINETHICK0,PRECIS2;大增:SUM(大单买,1)-SUM(大单卖,1)%,COLOR00FF00,LINETHICK0,PRECIS2;DD:=大单买-大单卖;大户:=HS*DD*100;大户持仓:=25+Sum(大户,0);ZDLR:=中单买*AMOUNT/10000;ZDLC:=中单卖*AMOUNT/10000;中净:(ZDLR-ZDLC),COLORB5B5B5,LINETHICK0,PRECIS2;中增:SUM(中单买,1)-SUM(中单卖,1)%,COLORB5B5B5,LINETHICK0,PRECIS2;ZD:=中单买-中单卖;中户:=HS*ZD*100;中户持仓:= 25+Sum(中户,0);XDLR:=小单买*AMOUNT/10000;XDLC:=小单卖*AMOUNT/10000;散净:(XDLR-XDLC),COLORFF9911,LINETHICK0,PRECIS2;散增:SUM(小单买,1)-SUM(小单卖,1)%,COLORFF9911,LINETHICK0,PRECIS2;XD:=小单买-小单卖;散户:=HS*XD*100;散户持仓:= 25+Sum(散户,0);ZLLR:=主单买*AMOUNT/10000;ZLLC:=主单卖*AMOUNT/10000;主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;主增:SUM(主单买,1)-SUM(主单卖,1)%,COLOR00FFFF,LINETHICK0,PRECIS2;主力:=(超大+大户);主力持仓:=(超大持仓+大户持仓);{五分钟资金趋势} 主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(105,25,'五分钟各单净买(万):'),COLORFFFF00;DRAWTEXTABS(225,25,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF;DRAWTEXTABS(325,25,'机构:'+ NUMTOSTRN(超5,2)),COLORFF00FF;DRAWTEXTABS(425,25,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00;DRAWTEXTABS(525,25,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5;DRAWTEXTABS(625,25,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XD LR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);主力净买:=500-(ABS(主净)*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);超大净买:=500-(ABS(超净)*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);大户净买:=500-(ABS(大净)*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);中户净买:=500-(ABS(中净)*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=500-(ABS(散净)*最大值);DRAWRECTREL(280,主力买,300,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 300,主力卖,320,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 320,主力净买,340,610,(IF((主净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(410,超大买,430,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 430,超大卖,450,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 450,超大净买,470,610,(IF((超净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(540,大户买,560,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 560,大户卖,580,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 580,大户净买,600,610,(IF((大净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(670,中户买,690,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 690,中户卖,710,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 710,中户净买,730,610,(IF((中净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(800,散户买,820,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 820,散户卖,840,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(840,散户净买,860,610,(IF((散净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;{横彩条} DRAWRECTREL(280,620,340,650,RGB(255,255,0));DRAWRECTREL (410,620,470,650,RGB(255,0,255));DRAWRECTREL(540,620,600,6 50,RGB(0,200,0));DRAWRECTREL(670,620,730,650,RGB(200,200,2 00));DRAWRECTREL(800,620,860,650,RGB(0,0,200));{显示文字} DRAWTEXTREL(260,450,'主'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(260,580,'力'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,450,'机'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,580,'构'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,450,'大'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,450,'中'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,450,'散'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(230,680,'买入:'),colorred;DRAWTEXTREL(230,750,'卖出:'),Color00FF00;DRAWTEXTREL(230,820,'净买:'),COLOR1199FF;DRAWTEXTREL(230,890,'持仓:'),COLOR00FFFF;DRAWTEXTREL(230,960,'增减:'),COLORFFFF00;{显示数据} DRAWTEXTREL(280,680,NUMTOSTRN(ZLLR,2)),colorred;DRAWT EXTREL(280,750,NUMTOSTRN(ZLLC,2)),COLOR00FF00;DRAWTEX TREL(280,820,NUMTOSTRN(主净,2)),COLOR1199FF;DRAWTEXTREL(280,890,NUMTOSTRN(主力持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(280,960,NUMTOSTRN(主增,2)+'%'),COLORFFFF00;DRAWTEXTREL(410,680,NUMTOSTRN(T DLR,2)),colorred;DRAWTEXTREL(410,750,NUMTOSTRN(TDLC,2)), COLOR00FF00;DRAWTEXTREL(410,820,NUMTOSTRN(超净,2)),COLOR1199FF;DRAWTEXTREL(410,890,NUMTOSTRN(超大持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(410,960,NUMTOSTRN(超增,2)+'%'),COLORFFFF00;DRAWTEXTREL(540,680,NUMTOSTRN( DDLR,2)),colorred;DRAWTEXTREL(540,750,NUMTOSTRN(DDLC,2 )),COLOR00FF00;DRAWTEXTREL(540,820,NUMTOSTRN(大净,2)),COLOR1199FF;DRAWTEXTREL(540,890,NUMTOSTRN(大户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(540,960,NUMTOSTRN(大增,2)+'%'),COLORFFFF00;DRAWTEXTREL(670,680,NUMTOSTRN( ZDLR,2)),colorred;DRAWTEXTREL(670,750,NUMTOSTRN(ZDLC,2) ),COLOR00FF00;DRAWTEXTREL(670,820,NUMTOSTRN(中净,2)),COLOR1199FF;DRAWTEXTREL(670,890,NUMTOSTRN(中户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(670,960,NUMTOSTRN(中增,2)+'%'),COLORFFFF00;DRAWTEXTREL(800,680,NUMTOSTRN( XDLR,2)),colorred;DRAWTEXTREL(800,750,NUMTOSTRN(XDLC,2) ),COLOR00FF00;DRAWTEXTREL(800,820,NUMTOSTRN(散净,2)),COLOR1199FF;DRAWTEXTREL(800,890,NUMTOSTRN(散户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(800,960,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式效果图(文档来源:若水财经社区)第二篇:【股票指标公式下载】-【大智慧】后复权(后复权折合价) 【大智慧】后复权(后复权折合价)-指标公式源码VARIABLE:总除权比例=1;{请在不复权状态下使用} 每股派息:=IF(DIVIDBARS(0)=0,DIVIDEND(0),0);派息总量:=SUM(IF(BARPOS=1,0,每股派息),0);当天除权:=IF(SPLITBARS(0)=0,1,0);除权次数:=SUM(IF(BARPOS=1,0,当天除权),0);除权比例:=SPLIT(0);IF 除权次数<>REF(除权次数,1)THEN 总除权比例:=总除权比例*除权比例;后复权折合价:=(C+派息总量)/总除权比例;后复权折合价;DRAWTEXT(DIVIDBARS(0)=0,后复权折合价,'息'),COLORYELLOW;DRAWTEXT(SPLITBARS(0)=0,后复权折合价,'权'),COLORRED,VALIGN2;【大智慧】后复权(后复权折合价)-指标公式效果图(文档来源:若水财经社区)第三篇:大盘10日线操作股票法2010年5月20日重点谈大盘10日均线法大盘指数翻上10日均线,站稳之后再持股,翻下10日线就持币。
大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)
大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)INPUT:AM(1,0,1),AJ(1,0,1),AC(1,0,1),AR(1,0,1),AD(1,0,1),DM(1,0,1),ZL(1,0,1); DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(0,0,120),0));{1.K线}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),color0000FF;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),color006600;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),color008800;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),color00AA00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),color00BB00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),color00CC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),color00DD00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),color00EE00;STICKLINE((OPEN > CLOSE),HIGH,LOW,1,0),color00FF00;LC:=REF(C,1);卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0; DRAWTEXT(CROSS(80,卖黄金) ,high*1.04,'顶'),COLOR00ffFF,ALIGN1,LINETHICK1; STICKLINE(CROSS(80,卖黄金) AND C<O,H,L,2,0),COLOR00ffff,LAYER0;STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,12,0 ),COLOR007777,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,8,0 ),COLOR009999,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,6,0 ),COLOR00BBBB,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,4,0 ),COLOR00DDDD,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,2 ,0 ),COLOR00ffff,LAYER0; DRAWTEXTABS(5,5,'基本指标:MA5波段'),Color00FFff,LINETHICK3;BC:=(3*C+H+L)/5;MA5:EMA(MA(BC,5),5);PARTLINE(MA5,(MA5>REF(MA5,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYE R0;XL:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(L,XL))*0.95;IF AM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:MACD'),Color0000ff,LINETHICK4;DIFF:=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3);DEA:=EMA(DIFF,9);MACD:2*(DIFF-DEA),Color0598FF,LINETHICK0;;STICKLINE(MACD>0,E+MACD*2,E,12,0),Color0598FF;STICKLINE(MACD<0,E+MACD*2,E,12,0),ColorFF5500;END;IF AJ=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:KDJ'),Colorff00ff,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:(3*K-2*D),Color05FFFF,LINETHICK0;if(CROSS(K,D) AND BARSLAST(CROSS(D,K))<3,E*1.09,E),ColorFF9910 ; STICKLINE(K>D,E+(K-D)/50,E,12,0),Color0000FF;STICKLINE(K<D,E+(K-D)/50,E,12,0),Color00FF00;END;IF AC=1 THEN BEGINDRAWTEXTABS(200,5,'指标:CCI'),Color00ffff,LINETHICK4;TYP := (HIGH + LOW + CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Color05FF00,LINETHICK0;; STICKLINE(CCI>0,E+CCI/350,E,12,0),Color0077FF;STICKLINE(CCI<0,E+CCI/350,E,12,0),ColorFF9900;END;IF AR=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:RSI'),Color00ff00,LINETHICK4;LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,ColorFF05FF,LINE THICK0;CRSI:="RSI.RSI3#WEEK";金叉RSI:STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E,E*1.1,0.6,0),ColorFF 00FF;DRAWTEXT(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E*1.1,'金叉'),COLOR0000FF;STICKLINE(RSI>CRSI,E+(RSI-CRSI)/50,E,12,0),Color0000FF;STICKLINE(RSI<CRSI,E+(RSI-CRSI)/50,E,12,0),Color00FF00;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR1,13)-EMA(VAR1,73);SD:=EMA(SK,2);XG:=((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金叉RSI);STICKLINE(XG,E,E*1.15,0.6,0),COLOR00FFFF;DRAWTEXT(XG,E*1.15,'突破'),COLOR00FFBB;END;IF AD=1 THEN BEGIN{DMI新编}DRAWTEXTABS(250,5,'技术指标:DMI'),Color0598ff,LINETHICK4;N:=21;M:=6;M1:=20;TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LO W)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);PDI:= DMP*100/TR1;MDI:DMM*100/TR1,Color05FFFF,LINETHICK0;ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;ADXR:=EMA(ADX,M);ADMA:=EMA(ADX,M1);OMD:=(ADX-2*ADMA+ADXR)/2;STICKLINE( OMD>0,E,E+OMD/100,12,0),COLORRED;STICKLINE(OMD<0,E,E+OMD/100,12,0),COLORGREEN;END;IF DM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:DMA'),ColorFF55ff,LINETHICK4;DDD:=(MA(CLOSE,10)-MA(CLOSE,50));AMA:=MA(DDD,10);STICKLINE( DDD>AMA,E,E+(DDD-AMA),12,0),COLORFF22FF;STICKLINE(DDD<AMA,E,E+(DDD-AMA),12,0),COLOR99FF99;END;IF ZL=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:主力进出'),ColorFF55ff,LINETHICK4;jcs:=ZLSHORT;jcm:=ma(zlshort ,12);STICKLINE(jcs>jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLOR222299; STICKLINE(jcs<jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLORFFee00; END;。
【股票指标公式下载】-【大智慧】资金流(主力、大户、散户、占比)
【大智慧】资金流(主力、大户、散户、占比)-指标公式源码主力bbd:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/10000;超大bbd:=(BIGORDER(1,3)-BIGORDER(2,3))*AMOUNT/10000;大户bbd:=主力bbd-超大bbd;中户bbd:=(BIGORDER(1,1)-BIGORDER(2,1))*AMOUNT/10000-主力bbd;散户bbd:=((1-BIGORDER(1,1))-(1-BIGORDER(2,1)))*AMOUNT/10000;占比1:=(BIGORDER(1)-BIGORDER(2));占比2:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/(CAPITAL*c); DRAWTEXTREL(15,710,'总股本:'+NUMTOSTRn(FINANCE2(35),0)+'万股' +' 流通A股:'+NUMTOSTRn(FINANCE2(37),0)+'万股'+' 每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+' 主营收入同比增长:'+NUMTOSTRN(FINANCE2(11),2)+'%'+' 净利润同比增长:'+NUMTOSTRN(FINANCE2(10),2)+'%'),Color0088FF; DRAWTEXTREL(80,25,' Superviiew资金流向'),ColorFFFF00,LINETHICK3; DRAWTEXTREL(410,25,' '+STKLABEL),ColorWHITE,LINETHICK3; DRAWTEXTREL(310,25,' '+STKNAME),ColorRED,LINETHICK3; DRAWTEXTREL(550,30,' 所属版块: '+BKNAME),Color555FFF; DRAWTEXTREL(115,99,' 日期'),ColorRED;DRAWTEXTREL(144,139,'月'+DAY),ColorEEFF00;DRAWTEXTREL(125,139,'年'+MONTH),ColorEEFF00;DRAWTEXTREL(95,139,' '+YEAR),ColorEEFF00;DRAWTEXTREL(170,139,'日'),ColorEEFF00;DRAWTEXTREL(115,189,'前一交易日 '),Color55FF55;DRAWTEXTREL(115,239,'前二交易日'),Color55EE00;DRAWTEXTREL(115,289,'前三交易日'),Color55FF00;DRAWTEXTREL(115,339,'前四交易日'),Color55FF00;DRAWTEXTREL(115,389,'SV 5日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(115,439,'SV10日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(115,489,'SV20日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(245,99,'散户净流入(万元)'),Color555FFF;DRAWTEXTREL(365,99,'中户净流入(万元)'),Color555FFF;DRAWTEXTREL(485,99,'大户净流入(万元)'),Color555FFF;DRAWTEXTREL(605,99,'超大户净流入(万元)'),Color555FFF; DRAWTEXTREL(735,99,'主力净流入(万元)'),Color555FFF;DRAWTEXTREL(875,99,'占总成交额比(%)'),Color555FFF;DRAWTEXTREL(1000,99,'占流通市值比(%)'),Color555FFF;DRAWTEXTREL(85,69,'────────────────────────────────────────────────────────────────────────────────────'),ColorRED; DRAWTEXTREL(245,139,' '+散户bbd),Color208FFF;DRAWTEXTREL(365,139,' '+中户bbd),Color208FFF;DRAWTEXTREL(485,139,' '+大户bbd),Color208FFF;DRAWTEXTREL(605,139,' '+超大bbd),Color208FFF;DRAWTEXTREL(735,139,' '+主力bbd),Color208FFF;DRAWTEXTREL(875,139,' '+占比1),Color208FFF;DRAWTEXTREL(1000,139,' '+占比2),Color208FFF;DRAWTEXTREL(245,189,' '+REF(散户bbd,1)),Color208FFF; DRAWTEXTREL(365,189,' '+REF(中户bbd,1)),Color208FFF; DRAWTEXTREL(485,189,' '+REF(大户bbd,1)),Color208FFF; DRAWTEXTREL(605,189,' '+REF(超大bbd,1)),Color208FFF; DRAWTEXTREL(735,189,' '+REF(主力bbd,1)),Color208FFF; DRAWTEXTREL(875,189,' '+REF(占比1,1)),Color208FFF; DRAWTEXTREL(1000,189,' '+REF(占比2,1)),Color208FFF; DRAWTEXTREL(245,239,' '+REF(散户bbd,2)),Color208FFF; DRAWTEXTREL(365,239,' '+REF(中户bbd,2)),Color208FFF; DRAWTEXTREL(485,239,' '+REF(大户bbd,2)),Color208FFF; DRAWTEXTREL(605,239,' '+REF(超大bbd,2)),Color208FFF; DRAWTEXTREL(735,239,' '+REF(主力bbd,2)),Color208FFF; DRAWTEXTREL(875,239,' '+REF(占比1,2)),Color208FFF; DRAWTEXTREL(1000,239,' '+REF(占比2,2)),Color208FFF; DRAWTEXTREL(245,289,' '+REF(散户bbd,3)),Color208FFF; DRAWTEXTREL(365,289,' '+REF(中户bbd,3)),Color208FFF; DRAWTEXTREL(485,289,' '+REF(大户bbd,3)),Color208FFF; DRAWTEXTREL(605,289,' '+REF(超大bbd,3)),Color208FFF; DRAWTEXTREL(735,289,' '+REF(主力bbd,3)),Color208FFF; DRAWTEXTREL(875,289,' '+REF(占比1,3)),Color208FFF; DRAWTEXTREL(1000,289,' '+REF(占比2,3)),Color208FFF;DRAWTEXTREL(245,339,' '+REF(散户bbd,4)),Color208FFF; DRAWTEXTREL(365,339,' '+REF(中户bbd,4)),Color208FFF; DRAWTEXTREL(485,339,' '+REF(大户bbd,4)),Color208FFF; DRAWTEXTREL(605,339,' '+REF(超大bbd,4)),Color208FFF; DRAWTEXTREL(735,339,' '+REF(主力bbd,4)),Color208FFF; DRAWTEXTREL(875,339,' '+REF(占比1,4)),Color208FFF; DRAWTEXTREL(1000,339,' '+REF(占比2,4)),Color208FFF; DRAWTEXTREL(245,389,' '+SUM(散户bbd,5)),Color208FFF; DRAWTEXTREL(365,389,' '+SUM(中户bbd,5)),Color208FFF; DRAWTEXTREL(485,389,' '+SUM(大户bbd,5)),Color208FFF; DRAWTEXTREL(605,389,' '+SUM(超大bbd,5)),Color208FFF; DRAWTEXTREL(735,389,' '+SUM(主力bbd,5)),Color208FFF; DRAWTEXTREL(875,389,' '+SUM(占比1,5)),Color208FFF; DRAWTEXTREL(1000,389,' '+SUM(占比2,5)),Color208FFF; DRAWTEXTREL(245,439,' '+SUM(散户bbd,10)),Color208FFF; DRAWTEXTREL(365,439,' '+SUM(中户bbd,10)),Color208FFF; DRAWTEXTREL(485,439,' '+SUM(大户bbd,10)),Color208FFF; DRAWTEXTREL(605,439,' '+SUM(超大bbd,10)),Color208FFF; DRAWTEXTREL(735,439,' '+SUM(主力bbd,10)),Color208FFF; DRAWTEXTREL(875,439,' '+SUM(占比1,10)),Color208FFF; DRAWTEXTREL(1000,439,' '+SUM(占比2,10)),Color208FFF; DRAWTEXTREL(245,489,' '+SUM(散户bbd,20)),Color208FFF; DRAWTEXTREL(365,489,' '+SUM(中户bbd,20)),Color208FFF; DRAWTEXTREL(485,489,' '+SUM(大户bbd,20)),Color208FFF; DRAWTEXTREL(605,489,' '+SUM(超大bbd,20)),Color208FFF; DRAWTEXTREL(735,489,' '+SUM(主力bbd,20)),Color208FFF; DRAWTEXTREL(875,489,' '+SUM(占比1,20)),Color208FFF; DRAWTEXTREL(1000,489,' '+SUM(占比2,20)),Color208FFF;【大智慧】资金流(主力、大户、散户、占比)-指标公式效果图(文档来源:若水财经社区)。
大智慧指标《1》
公式名:庄家行踪。
是副图。
Var1:=EMA(EMA(CLOSE,13),13);控盘:= (Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc,pointdot; STICKLINE(控盘<0,控盘,0,4,0),colorwhite;无庄控盘:0,colorwhite;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;有庄控盘: 0,colorred;Var2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),color00ff00; 主力出货: 0,color00ff00;STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),colorff00ff;高度控盘: 0,colorff00ff;a10:=CROSS(控盘,0);开始控盘:if(a10,3,0),coloryellow;使用说明:X轴线有向上锐角尖时,为短线介入信号。
公式名:分水岭主图A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;PM:Ma(C,5),COLORred,linethick2;IF (PM>分水岭,PM,pm),Color0000FF,linethick2;IF (PM>分水岭,分水岭,a),ColoR00ff00,POINTDOT,linethick4;IF (C<PM,PM,PM),ColorFF9900,linethick2;IF (PM<分水岭,分水岭,pm),Color0000FF,linethick2;DRAWICON(CROSS(分水岭,操作线),分水岭-0.02,1);{顶底背离}A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1)); B1:=ref(c,A1+1)>c andref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) andcross("macd.diff"(12,26,9),"macd.dea"(12,26,9));DRAWTEXT(FILTER(B1>0,5),L-0.12,'M底'),COLORRED;A2:=BARSLAST(ref(cross("kdj.k"(9,9,3),"kdj.d"(9,9,3)),1));B2:=ref(c,A2+1)>c and ref("kdj.k"(9,9,3),A2+1)<"kdj.k"(9,9,3) and cross("kdj.k"(9,9,3),"kdj.d"(9,9,3));DRAWTEXT(FILTER(B2>0,5),L-0.08,'K底'),COLORFF00FF;A3:=BARSLAST(ref(cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));DRAWTEXT(FILTER(B3>0,5),L-0.02,'R底'),COLORffcc66;C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1)); D1:=ref(c,C1+1)<c andref("macd.diff"(12,26,9),C1+1)>"macd.diff"(12,26,9) andcross("macd.dea"(12,26,9),"macd.diff"(12,26,9));DRAWTEXT(FILTER(D1>0,5),H+0.24,'M顶'),COLOR0066FF;C2:=BARSLAST(ref(cross("kdj.d"(9,9,3),"kdj.k"(9,9,3)),1));D2:=ref(c,C2+1)<c and ref("kdj.k"(9,9,3),C2+1)>"kdj.k"(9,9,3) and cross("kdj.d"(9,9,3),"kdj.k"(9,9,3));DRAWTEXT(FILTER(D2>0,5),H+0.16,'K顶'),COLOR00FF00;C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=ref(c,C3+1)<c and ref("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));DRAWTEXT(FILTER(D3>0,5),H+0.08,'R顶'),COLORffffCC;公式名:准确无误买卖点主图MA3:MA(CLOSE,4),ColorFFFfff,linethick1;MA8:MA(CLOSE,8),Color208fff,linethicK1;MA49:=MA(CLOSE,49),Color00ff00,linethick1;angel:=EMA(C,2),colorf00ff0;devil:EMA(SLOPE(C,21)*20+C,42),pointdot,colorf00ff0,linethick3; BUY:=cross(angel,devil);SEL:=cross(devil,angel);stickline(cross(angel,devil) or cross(devil,angel),open,close,5,0),colorf00ff0;drawtext(buy,LOW*0.99,'↑买'),coloryellow,linethick3;drawtext(sel,HIGH*1.03,'↓卖'),color00ff00,linethick3;z:zig(3,5),color00ffff,linethick2;var3:=PEAKBARS(3,5,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶A:if(顶>ref(顶,1),50,0),color00ff00,linethick2;DRAWTEXT(顶A=50,45,'↓快走'),COLORccff66;公式名:多空电波副图Var2:=(3*CLOSE+LOW+OPEN+HIGH)/6;Var3:=(20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Va r2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+12*REF(Var2,8)+11* REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2, 13)+6*REF(Var2,14)+5*REF(Var2,15)+4*REF(Var2,16)+3*REF(Var2,17)+2*REF (Var2,18)+REF(Var2,20))/210;Var4:=MA(Var3,13);Var5:=EMA(MA(CLOSE,3),34);Var6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;Var7:=MA(Var6,5);Var8:=MA(Var6,10);〖空头市场〗:STICKLINE(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4),Var3,Var4,1 0,1),COLOR006600;〖多头市场〗: STICKLINE(Var3>1.005*Var4,Var3,Var4,10,1),COLOR003366; 『脑电波上升』:DRAWTEXT(FILTER(MA(Var6,10)<Var7,1),Var8,'↑'),COLORRED;『脑电波下跌』:DRAWTEXT(FILTER(MA(Var6,10)>=Var6,1),Var8,'↓'),COLORGREEN;『多空安全线』: Var5,COLORWHITE;〖关注点〗: STICKLINE(COUNT(Var3>1.005*Var4 AND Var3<=REF(Var3,1),2)=2 OR COUNT(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4) ANDVar3>=REF(Var3,1),2)=2,Var3,Var4,10,0), COLORYELLOW;★买入点: DRAWTEXT(REF(CROSS(Var3,Var4),2) ANDVar3>1.005*Var4,Var4,'★买入点'),COLOR999966 ;『多空争夺点』: DRAWTEXT(CROSS(Var6,Var7) ANDVar7<Var8,Var3*0.99,'▲'),COLORBLUE;DRAWTEXT(CROSS(Var7,Var6) AND Var7>Var8,Var3*1.01,'▼'),COLORBLUE;Var9:=1/WINNER(CLOSE);VarA:=MA(CLOSE,13);VarB:=100-ABS((CLOSE-VarA)/VarA*100);VarC:=LLV(LOW,75);VarD:=HHV(HIGH,75);VarE:=(VarD-VarC)/100;VarF:=SMA((CLOSE-VarC)/VarE,20,1);Var10:=SMA((OPEN-VarC)/VarE,20,1);Var11:=3*VarF-2*SMA(VarF,15,1);Var12:=3*Var10-2*SMA(Var10,15,1);Var13:=100-Var12;Var14:=100-Var11;Var15:=MA(WINNER(CLOSE*0.95)*100,3);Var16:=100-IF(Var9>5,IF(Var9<100,Var9,VarB-10),0);Var17:=Var15>VarB;Var18:=REF(LOW,1)*0.9;Var19:=LOW*0.9;Var1A:=(Var19*VOL+Var18*(CAPITAL-VOL))/CAPITAL;Var1B:=EMA(Var1A,30);Var1C:=CLOSE-REF(CLOSE,1);Var1D:=MAX(Var1C,0);Var1E:=ABS(Var1C);Var1F:=SMA(Var1D,7,1)/SMA(Var1E,7,1)*100;Var20:=SMA(Var1D,13,1)/SMA(Var1E,13,1)*100;Var21:=BARSCOUNT(CLOSE);Var22:=SMA(MAX(Var1C,0),6,1)/SMA(ABS(Var1C),6,1)*100;Var23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var25:=SMA((SMA(Var24,4,1)-50)*2,3,1);Var26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var27:=SMA(Var26,4,1);Var28:=SMA(Var27,3,1);Var29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var2A:=Var22<=25 AND Var23<-95 AND Var29>20 AND Var25<-30 AND Var28<30 AND Var1B-CLOSE>=-0.25 AND Var1F<22 AND Var20<28 AND Var21>50; DRAWTEXT(CROSS(Var2A,0.5) AND COUNT(Var2A=1,10)=1,Var4,'发射资金♂(超短线操作)'),COLORRED;DRAWTEXT(CROSS(Var17,0.5) AND COUNT(Var17=1,10)=1,Var3,'激烈交锋'),COLORWHITE;大智慧指标公式5公式名:绝对趋势主图主线:=(ma(close,6)+ma(close,12)+ma(close,24)+ma(close,36))/4;股价重心:=dma(amount/vol/100,vol/capital);ma14:=ema(close,14);ma34:=ema(close,26);ma54:=ema(close,54);ma90:=ema(close,90);ma120:ema(close,120),pointdot,linethick2,colorwhite;年线:ema(c,250),coloryellow;{中短波}hz:=ema(close,13);短波:ema(hz,1),color00dd00,linethick1;中波:ema(hz,26),colorred,linethick1;均线:=ema(c,148);成本:=sum(amount,0)/sum(vol,0)/100 ;hz2:ema(hz,8),colorgreen,linethick2;hz4:ema(hz,39),colorff00ff,linethick2;a1:stickline(hz2<hz4,短波,hz4,1.5,0),colorblue ;a2:stickline(短波>hz2,短波,hz2,3,0),colorgreen;a3:stickline(中波>hz4,中波,hz4,2,0),colorff00ff;{慢速kdj}rsv:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;fastk:=sma(rsv,12,1);k:=sma(fastk,9,1);d:=sma(k,3,1);j:=3*k-2*d;{中波}var11:=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);var22:=100-var11;中势线:=(-1)*(ema(var22,1)-50)+42;tz:=(close-llv(low,331))/(hhv(high,331)-llv(low,331))*100;强势线:=sma(tz,5,1);大盘线:=70*(hhv(high,39)-close)/(hhv(high,39)-llv(low,39));{量选}aa:=vol/sum(vol,13);bb:=dma(c,aa);cc:=vol/sum(vol,34);dd:=dma(c,cc);{背离}var00:=winner(close);var1:=forcast(var00,10);var2:=ma(var1,3);var3:=ma(var2,12);var4:=ma(var3,16);var5:=ma(var4,31);var6:=ma(var5,55);var7:=var5;var8:=var4>var2*1.11 and var3>var2*1.095;a:=var4/var2;b:=var3/var2;var9:=var2>var1*0.95;td:=var2/var1;var1h:=indexc;var2h:=ma(var1h,6);var3h:=ma(var1h,24);var4h:=ma(var1h,32);var5h:=ma(var1h,62);var6h:=ma(var1h,105);var7h:=var5h;var8h:=var4h>var2h*1.11 and var3h>var2h*1.095;var9h:=var2h>var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) andref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;g:=(var7h and var8h and var9h and close/cost(8)<=0.7985and (count(c=l,4)<3 or c>ref(c,1)))and pt orvar7 and var8 and var9 and close/cost(5)<=0.8 and((var1>open or var1>ref(open,1) orref(var1,1)));背离:=var2<ref(var2,1) and a>ref(a,1);买入:=var1>a and var2>b;信号:=b>a and 1>b and a<1 and h=hhv(h,21);drawicon(cross(短波,hz2),中波,1);drawtext(FILTER(cross(主线,ma90) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(主线,ma120) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(ma120,均线) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028orcross(中势线,33) and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 大盘线<36 and 强势线>36 and 主线>ref(主线,1)and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 中势线<70 and c>o and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 andhz4-ref(hz4,1)>0.028 orcross(短波,hz2) and 大盘线<36 and 短波>中波 and 中波>hz4 and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orj>k and 大盘线<36 and 短波>hz2 and cross(强势线,36) or cross(短波,hz2) and cross(强势线,36) or cross(j,k) and cross(强势线,33)or cross(短波,hz2) and cross(强势线,54)or cross(j,k) and 大盘线<36 and j<65 and c>o and 短波-ref(短波,1)>0.088 orcross(j,k) and 短波>hz2 and j<68 and 短波>ref(短波,1) andhz2>ref(hz2,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 or cross(j,k) and 大盘线<36 and j<68 and 短波-ref(短波,1)>0.088 orcross(j,k) and cross(短波,hz2) and 大盘线<36 orcross(短波,hz2) and 大盘线<36 and j>k and j<68 and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 orcross(短波,hz2) and 中波>ma120 and 中波>均线 and hz2>ma120 and ma120>均线 and 短波-ref(短波,1)>0.088 orcross(j,k) and 强势线>54 and 强势线>ref(强势线,1) and j<68or count(背离,20)>1 and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 信号=1 and 主线>ref(主线,1)and 中势线>ref(中势线,1) and 中势线<70 and c>o or cross(bb,dd) and j<74 and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 or大盘线<36 and j>d and j<65 and c>o and 短波>ref(短波,1) and cross(hz2,中波) and 短波-ref(短波,1)>0.088 and o>ref(c,1) orc>o and 短波>ref(短波,1) and j>d and j<65 and 大盘线<36 and cross(中势线,33) and 中势线-ref(中势线,1)>0.23 and 短波-ref(短波,1)>0.088and o>ref(c,1) and 强势线>12 or短波>hz2 and 中波>hz4 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 and j<56 or 短波>hz2 and 中波>hz4 and 大盘线<36 and j>d and j<65 and cross(hz4,年线) and 短波-ref(短波,1)>0.088 or短波>hz2 and hz2>hz4 and 大盘线<36 and j>d and j<65 and j<65 and cross(强势线,46) and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and j>d and j<65 and cross(中势线,36) and 短波-ref(短波,1)>0.088,8),hz2-0.18,'追'),colorwhite;drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>h z4,l*1.09,'●'),coloryellow;drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.12,'做趋势'), coloryellow;公式名:八线系统主图七天线:eMA(CLOSE,7);持股线:eMA(CLOSE,15),colorred,linethick2;生命线:eMA(CLOSE,25);初月线:eMA(CLOSE,34),colorYellow;双月线:eMA(CLOSE,56),Color0099FF;长牛线:eMA(CLOSE,235);牛熊线:eMA(CLOSE,453),colorwhite;副图七根均价线设置完成,如果主图无显示,回车后键入“MA”,确认即可。
大智慧主力吸筹指标公式
大智慧主力吸筹指标公式价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25) ,COLOR55AAFF;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF;{蓝}STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C 0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00A AFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00C CFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00F FFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;。
【股票指标公式下载】-【大智慧】主力资金(起爆线、爆发线、起步线、加仓)
【大智慧】主力资金(起爆线、爆发线、起步线、加仓)-指标公式源码input:n1(9),n2(5);{N1=1--100---9N2=1--100---5}主力资金: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,n1),n1)/ema(ema(abs(tmd),n1),n1),COLORWHITE,LINETH ICK1;银线:MA(金线,N2),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;【大智慧】主力资金(起爆线、爆发线、起步线、加仓)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)
【股票指标公式下载】-【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)预览说明:预览图片所展示的格式为文档的源格式展示,下载源文件没有水印,内容可编辑和复制【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)-指标公式源码A:=(VOL * CLOSE);B:=(SUM(A,1) / SUM(VOL,1));B1:=EMA(B,17);趋势线:(B - B1) * 100 / B,COLORFF00FF;强弱分界线:0,COLORFFFFCC;AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);CC:=(AA - BB);DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN <> LOW));A1:=DYNAINFO(6);A2:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));A3:=(VOL / WINNER(LOW));A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=((100 * (CLOSE - A5)) / (A4 - A5));A7:=((A2 > 0) OR (A2 = 1));A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));A10:=(A8 AND A9);A11:=IF(FILTER(A8,3),5,0);A12:=IF((FILTER(A10,3) OR EE),10,0);进场:STICKLINE(A11,0,5,5,0),COLORFF7700;加仓:STICKLINE(A12,0,15,5,0),COLORFF00FF;STICKLINE(A11,0,5,5,0),COLORFF7700;STICKLINE(A11,0,5,4.5,0),COLORFF8800;STICKLINE(A11,0,5,4,0),COLORFF9900;STICKLINE(A11,0,5,3.5,0),COLORFFAA00;STICKLINE(A11,0,5,3,0),COLORFFBB00;STICKLINE(A11,0,5,2.5,0),COLORFFCC00;STICKLINE(A11,0,5,2,0),COLORFFDD00;STICKLINE(A11,0,5,1,0),COLORFFEE00;STICKLINE(A12,0,15,4.5,0),COLOR102099;STICKLINE(A12,0,15,4,0),COLOR1020AA;STICKLINE(A12,0,15,3.5,0),COLOR1020BB;STICKLINE(A12,0,15,3,0),COLOR1020CC;STICKLINE(A12,0,15,2.5,0),COLOR1020DD;STICKLINE(A12,0,15,2,0),COLOR1020EE;STICKLINE(A12,0,15,1,0),COLOR1020FF;DRAWTEXT(A11,8,'进场'),COLORFFFF00;DRAWTEXT(A12,17,'加仓'),COLORFFFFFF;【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】筹码分布(获利筹码、亏损筹码、主力控筹)
【大智慧】筹码分布(获利筹码、亏损筹码、主力控筹)-指标公式源码DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));获利筹码:EMA(WINNER(C)*70,5),Colorred;亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00; STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00; STICKLINE(亏损筹码>0,0,亏损筹码*0.85,5,0),COLOR66DD00; STICKLINE(亏损筹码>0,0,亏损筹码*0.8,5,0),COLOR66CC00; STICKLINE(亏损筹码>0,0,亏损筹码*0.75,5,0),COLOR66BB00; STICKLINE(亏损筹码>0,0,亏损筹码*0.7,5,0),COLOR66AA00; STICKLINE(亏损筹码>0,0,亏损筹码*0.65,5,0),COLOR669900; STICKLINE(亏损筹码>0,0,亏损筹码*0.6,5,0),COLOR668800; STICKLINE(亏损筹码>0,0,亏损筹码*0.55,5,0),COLOR667700; STICKLINE(亏损筹码>0,0,亏损筹码*0.5,5,0),COLOR666600; STICKLINE(亏损筹码>0,0,亏损筹码*0.45,5,0),COLOR665500; STICKLINE(亏损筹码>0,0,亏损筹码*0.4,5,0),COLOR664400; STICKLINE(亏损筹码>0,0,亏损筹码*0.35,5,0),COLOR663300; STICKLINE(亏损筹码>0,0,亏损筹码*0.3,5,0),COLOR662200; STICKLINE(亏损筹码>0,0,亏损筹码*0.25,5,0),COLOR661100; STICKLINE(亏损筹码>0,0,亏损筹码*0.2,5,0),COLOR660000;主力控筹:If(获利筹码>亏损筹码,获利筹码*2,获利筹码),colorred; STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;STICKLINE(主力控筹>0,0,主力控筹*0.9,5,0),COLOREEEEEE; STICKLINE(主力控筹>0,0,主力控筹*0.85,5,0),COLORDDDDDD; STICKLINE(主力控筹>0,0,主力控筹*0.8,5,0),COLORCCCCCC; STICKLINE(主力控筹>0,0,主力控筹*0.75,5,0),COLORBBBBBB; STICKLINE(主力控筹>0,0,主力控筹*0.7,5,0),COLORAAAAAA; STICKLINE(主力控筹>0,0,主力控筹*0.65,5,0),COLOR999999; STICKLINE(主力控筹>0,0,主力控筹*0.6,5,0),COLOR888888; STICKLINE(主力控筹>0,0,主力控筹*0.55,5,0),COLOR777777; STICKLINE(主力控筹>0,0,主力控筹*0.5,5,0),COLOR666666; STICKLINE(主力控筹>0,0,主力控筹*0.45,5,0),COLOR555555; STICKLINE(主力控筹>0,0,主力控筹*0.4,5,0),COLOR444444;STICKLINE(主力控筹>0,0,主力控筹*0.35,5,0),COLOR333333;STICKLINE(主力控筹>0,0,主力控筹*0.3,5,0),COLOR222222;STICKLINE(主力控筹>0,0,主力控筹*0.25,5,0),COLOR111111;STICKLINE(主力控筹>0,0,主力控筹*0.2,5,0),COLOR000000;STICKLINE(获利筹码>0,0,获利筹码,5,0),COLORFFFFFF;STICKLINE(获利筹码>0,0,获利筹码*0.9,5,0),COLOREEEEFF;STICKLINE(获利筹码>0,0,获利筹码*0.85,5,0),COLORDDDDFF;STICKLINE(获利筹码>0,0,获利筹码*0.8,5,0),COLORCCCCFF;STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF;STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF;STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF;STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF;STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF;STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF;STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF;STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF;STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;STICKLINE(获利筹码>0,0,获利筹码*0.25,5,0),COLOR1111FF;STICKLINE(获利筹码>0,0,获利筹码*0.2,5,0),COLOR0000FF;AI:=AMOUNT/VOL/100;C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;抄底:If((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,100, 0),Color00FF00; stickline(抄底,0,30,4,0),ColorFFFFFF;动态底部:EMA(IF(L<=LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3) *10,STICK,COLORYELLOW,LINETHICK2;SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/ (HHV(AMOUNT,20)/HHV(C,20))*100);STICKLINE(((CLOSE > 0) AND day=2),20,121,40,1),colorFFFFFF; STICKLINE(((SAT <= 5) AND day=2),21,(20 + SAT),35,0),colorFFFFFF; STICKLINE((((SAT > 5) AND (SAT <= 20)) AND day=2),21,(20 +SAT),35,0),colorCCFF88;STICKLINE((((SAT > 20) AND (SAT <= 40)) AND day=2),21,(20 + SAT),35,0),colorFF00FF;STICKLINE(((SAT > 40) AND day=2),21,(20 + SAT),35,0),color0000FF; 主力筹码:EMA(WINNER(CLOSE)*70,10),colorwhite;散户筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),color00ff00; stickline(主力筹码>散户筹码, 主力筹码,散户筹码,5,0),Color0AF5EF; stickline(主力筹码<散户筹码, 主力筹码,散户筹码,5,0),color00ff00; DRAWTEXTREL(10,900,'㊣老兵专用㊣'),linethick1,COLOR00EEff;【大智慧】筹码分布(获利筹码、亏损筹码、主力控筹)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)
【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】绝对经典(能量线、大盘线、行业线)
【大智慧】绝对经典(能量线、大盘线、行业线)-指标公式源码INPUT:N(70,1,999),M(5,1,120);ZSC:=IF(INBLOCK('工程建筑'),"991002$CLOSE",IF(INBLOCK('电力'),"991003$CLOSE",IF(INBLOCK('计算机'),"991004$CLOSE",IF(INBLOCK('电子信息'),"991006$CLOSE",IF(INBLOCK('房地产'),"991007$CLOSE",IF(INBLOCK('纺织服装'),"991008$CLOSE",IF(INBLOCK('钢铁'),"991009$CLOSE",IF(INBLOCK('供水供气'),"991010$CLOSE",IF(INBLOCK('化工化纤'),"991011$CLOSE",IF(INBLOCK('电器'),"991014$CLOSE",IF(INBLOCK('交通设施'),"991016$CLOSE",IF(INBLOCK('银行类'),"991017$CLOSE",IF(INBLOCK('旅游酒店'),"991018$CLOSE",IF(INBLOCK('煤炭石油'),"991019$CLOSE",IF(INBLOCK('酿酒食品'),"991020$CLOSE",IF(INBLOCK('农林牧渔'),"991021$CLOSE",IF(INBLOCK('商业连锁'),"991023$CLOSE",IF(INBLOCK('建材'),"991024$CLOSE",IF(INBLOCK('其他行业'),"991025$CLOSE",IF(INBLOCK('汽车类'),"991026$CLOSE",IF(INBLOCK('机械'),"991027$CLOSE",IF(INBLOCK('医药'),"991028$CLOSE",IF(INBLOCK('外贸'),"991031$CLOSE",IF(INBLOCK('教育传媒'),"991032$CLOSE",IF(INBLOCK('仪电仪表'),"991033$CLOSE",IF(INBLOCK('有色金属'),"991034$CLOSE",IF(INBLOCK('造纸印刷'),"991035$CLOSE",IF(INBLOCK('券商'),"991036$CLOSE",IF(INBLOCK('电力设备'),"991037$CLOSE",IF(INBLOCK('通信'),"991135$CLOSE",IF(INBLOCK('运输物流'),"991136$CLOSE",IF(INBLOCK('保险'),"991255$CLOSE",0))))))))))))))))))))))))))))))));ZSH:=IF(INBLOCK('工程建筑'),"991002$HIGH",IF(INBLOCK('电力'),"991003$HIGH",IF(INBLOCK('计算机'),"991004$HIGH",IF(INBLOCK('电子信息'),"991006$HIGH",IF(INBLOCK('房地产'),"991007$HIGH",IF(INBLOCK('纺织服装'),"991008$HIGH",IF(INBLOCK('钢铁'),"991009$HIGH",IF(INBLOCK('供水供气'),"991010$HIGH",IF(INBLOCK('化工化纤'),"991011$HIGH",IF(INBLOCK('电器'),"991014$HIGH",IF(INBLOCK('交通设施'),"991016$HIGH",IF(INBLOCK('银行类'),"991017$HIGH",IF(INBLOCK('旅游酒店'),"991018$HIGH",IF(INBLOCK('煤炭石油'),"991019$HIGH",IF(INBLOCK('酿酒食品'),"991020$HIGH", IF(INBLOCK('农林牧渔'),"991021$HIGH",IF(INBLOCK('商业连锁'),"991023$HIGH",IF(INBLOCK('建材'),"991024$HIGH",IF(INBLOCK('其他行业'),"991025$HIGH",IF(INBLOCK('汽车类'),"991026$HIGH",IF(INBLOCK('机械'),"991027$HIGH",IF(INBLOCK('医药'),"991028$HIGH",IF(INBLOCK('外贸'),"991031$HIGH",IF(INBLOCK('教育传媒'),"991032$HIGH", IF(INBLOCK('仪电仪表'),"991033$HIGH",IF(INBLOCK('有色金属'),"991034$HIGH",IF(INBLOCK('造纸印刷'),"991035$HIGH", IF(INBLOCK('券商'),"991036$HIGH",IF(INBLOCK('电力设备'),"991037$HIGH",IF(INBLOCK('通信'),"991135$HIGH",IF(INBLOCK('运输物流'),"991136$HIGH",IF(INBLOCK('保险'),"991255$HIGH",0)))))))))))))))))))))))))))))))); ZSL:=IF(INBLOCK('工程建筑'),"991002$LOW",IF(INBLOCK('电力'),"991003$LOW",IF(INBLOCK('计算机'),"991004$LOW",IF(INBLOCK('电子信息'),"991006$LOW",IF(INBLOCK('房地产'),"991007$LOW",IF(INBLOCK('纺织服装'),"991008$LOW",IF(INBLOCK('钢铁'),"991009$LOW",IF(INBLOCK('供水供气'),"991010$LOW",IF(INBLOCK('化工化纤'),"991011$LOW",IF(INBLOCK('电器'),"991014$LOW",IF(INBLOCK('交通设施'),"991016$LOW",IF(INBLOCK('银行类'),"991017$LOW",IF(INBLOCK('旅游酒店'),"991018$LOW",IF(INBLOCK('煤炭石油'),"991019$LOW",IF(INBLOCK('酿酒食品'),"991020$LOW",IF(INBLOCK('农林牧渔'),"991021$LOW",IF(INBLOCK('商业连锁'),"991023$LOW",IF(INBLOCK('建材'),"991024$LOW",IF(INBLOCK('其他行业'),"991025$LOW",IF(INBLOCK('汽车类'),"991026$LOW",IF(INBLOCK('机械'),"991027$LOW",IF(INBLOCK('医药'),"991028$LOW",IF(INBLOCK('外贸'),"991031$LOW",IF(INBLOCK('教育传媒'),"991032$LOW",IF(INBLOCK('仪电仪表'),"991033$LOW",IF(INBLOCK('有色金属'),"991034$LOW",IF(INBLOCK('造纸印刷'),"991035$LOW",IF(INBLOCK('券商'),"991036$LOW",IF(INBLOCK('电力设备'),"991037$LOW",IF(INBLOCK('通信'),"991135$LOW",IF(INBLOCK('运输物流'),"991136$LOW",IF(INBLOCK('保险'),"991255$LOW",0))))))))))))))))))))))))))))))));Var12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;能量线:SMA(Var12,3,1)*(-1)+100,colorRED,linethick2;KNX:=SMA(Var12,3,1);MK:=MA(KNX,M);买点:IF(KNX>N AND CROSS(MK , KNX),50,0),COLORWHITE,LINETHICK1;Var13:=(HHV(ZSH,34)-ZSC)/(HHV(ZSH,34)-LLV(ZSL,34))*100;行业线:SMA(Var13,3,1)*(-1)+100,colorgreen,linethick1;Var11:=(HHV(INDEXH,34)-INDEXC)/(HHV(INDEXH,34)-LLV(INDEXL,34))*100; 大盘线:SMA(Var11,3,1)*(-1)+100,colorYELLOW,linethick1;板块:=IFS(INBLOCK('工程建筑'),'工程建筑',IFS(INBLOCK('电力'),'电力',IFS(INBLOCK('计算机'),'计算机',IFS(INBLOCK('电子信息'),'电子信息', IFS(INBLOCK('房地产'),'房地产',IFS(INBLOCK('纺织服装'),'纺织服装',IFS(INBLOCK('钢铁'),'钢铁',IFS(INBLOCK('供水供气'),'供水供气',IFS(INBLOCK('化工化纤'),'化工化纤',IFS(INBLOCK('电器'),'电器',IFS(INBLOCK('交通设施'),'交通设施',IFS(INBLOCK('银行类'),'银行类', IFS(INBLOCK('旅游酒店'),'旅游酒店',IFS(INBLOCK('煤炭石油'),'煤炭石油',IFS(INBLOCK('酿酒食品'),'酿酒食品',IFS(INBLOCK('农林牧渔'),'农林牧渔',IFS(INBLOCK('商业连锁'),'商业连锁',IFS(INBLOCK('建材'),'建材',IFS(INBLOCK('其他行业'),'其他行业',IFS(INBLOCK('汽车类'),'汽车类', IFS(INBLOCK('机械'),'机械',IFS(INBLOCK('医药'),'医药',IFS(INBLOCK('外贸'),'外贸',IFS(INBLOCK('教育传媒'),'教育传媒',IFS(INBLOCK('仪电仪表'),'仪电仪表',IFS(INBLOCK('有色金属'),'有色金属',IFS(INBLOCK('造纸印刷'),'造纸印刷',IFS(INBLOCK('券商'),'券商',IFS(INBLOCK('电力设备'),'电力设备', IFS(INBLOCK('通信'),'通信',IFS(INBLOCK('运输物流'),'运输物流',IFS(INBLOCK('保险'),'保险','')))))))))))))))))))))))))))))))); DRAWTEXTABS(10,5,'所属: '+板块+'指数'),COLORYELLOW;【大智慧】绝对经典(能量线、大盘线、行业线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】牛牛三线(大盘、个股、板块)
【大智慧】牛牛三线(大盘、个股、板块)-指标公式源码INPUT:N(10,1,100),E(7,1,12), R(2,1,31);TS:=BARSLAST(IF(YEAR=2000+N AND MONTH=E AND DAY=R,C,0)); bk:=IF(INBLOCK('工程建筑'),"991002$CLOSE",IF(INBLOCK('电力'),"991003$CLOSE",IF(INBLOCK('计算机'),"991004$CLOSE",IF(INBLOCK('电子信息'),"991006$CLOSE",IF(INBLOCK('房地产'),"991007$CLOSE",IF(INBLOCK('纺织服装'),"991008$CLOSE", IF(INBLOCK('钢铁'),"991009$CLOSE",IF(INBLOCK('供水供气'),"991010$CLOSE",IF(INBLOCK('化工化纤'),"991011$CLOSE", IF(INBLOCK('电器'),"991014$CLOSE",IF(INBLOCK('交通设施'),"991016$CLOSE",IF(INBLOCK('银行类'),"991017$CLOSE",IF(INBLOCK('旅游酒店'),"991018$CLOSE",IF(INBLOCK('煤炭石油'),"991019$CLOSE",IF(INBLOCK('酿酒食品'),"991020$CLOSE", IF(INBLOCK('农林牧渔'),"991021$CLOSE",IF(INBLOCK('商业连锁'),"991023$CLOSE",IF(INBLOCK('建材'),"991024$CLOSE",IF(INBLOCK('其他行业'),"991025$CLOSE",IF(INBLOCK('汽车类'),"991026$CLOSE",IF(INBLOCK('机械'),"991027$CLOSE",IF(INBLOCK('医药'),"991028$CLOSE",IF(INBLOCK('外贸'),"991031$CLOSE",IF(INBLOCK('教育传媒'),"991032$CLOSE", IF(INBLOCK('仪电仪表'),"991033$CLOSE",IF(INBLOCK('有色金属'),"991034$CLOSE",IF(INBLOCK('造纸印刷'),"991035$CLOSE", IF(INBLOCK('券商'),"991036$CLOSE",IF(INBLOCK('电力设备'),"991037$CLOSE",IF(INBLOCK('通信'),"991135$CLOSE",IF(INBLOCK('运输物流'),"991136$CLOSE",IF(INBLOCK('保险'),"991255$CLOSE",0))))))))))))))))))))))))))))))));大盘:(INDEXC/REF(INDEXC,ts)-1)*100;板块:(bk/REF(bk,ts)-1)*100;个股:(C/REF(C,ts)-1)*100;【大智慧】牛牛三线(大盘、个股、板块)-指标公式效果图(文档来源:若水财经社区)。
大智慧计算庄家成本主图指标公式源码编程思路破译
大智慧计算庄家成本主图指标公式源码编程思路破译编程思路破译N赋值:30M赋值:95输出V1:收盘价的5日指数移动平均,画黄色输出V2:收盘价的29日指数移动平均*1.01的10日指数移动平均,COLORFFCC66当满足条件V1上穿V2时,在V2位置画1号图标输出V3:收盘价的10日指数移动平均,COLORFF00FF输出V4:收盘价的60日指数移动平均*0.99的10日指数移动平均,COLOR0099FF当满足条件V3上穿V4时,在V4位置画1号图标VAR1赋值:成交额(元)/成交量(手)/100输出庄家运作成本: 收盘价的18日简单移动平均,画白色输出庄家平均成本: VAR1的2日指数移动平均的N日指数移动平均,COLOR00FF00输出庄家底仓成本: VAR1的13日指数移动平均的M日指数移动平均,画蓝色输出无穷成本均线: 以成交量(手)/当前流通股本(手)为权重收盘价的动态移动平均,画蓝色当满足条件收盘价>=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为7,0不为0则画空心柱.,画红色当满足条件收盘价>=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR7070FF当满足条件收盘价>=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为2,0不为0则画空心柱.,画黄色当满足条件收盘价>=开盘价时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画黄色当满足条件收盘价<=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为7,0不为0则画空心柱.,COLORFF2020当满足条件收盘价<=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFF6600当满足条件收盘价<=开盘价时,在收盘价和开盘价位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORFFCC66当满足条件收盘价<=开盘价时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFFCC66VAR326赋值:如果收盘价>1日前的收盘价,返回88,否则返回0 VAR327赋值:如果收盘价/1日前的收盘价>1.050ANDHIGH/收盘价<1.010ANDVAR326>0,返回91,否则返回0当满足条件VAR327>90时,在最低价*0.99和最低价*0.95位置之间画柱状线,宽度为4,0不为0则画空心柱.,画黄色当满足条件VAR327>90时,在最低价*0.95位置书写文字,画黄色该公式包含未来函数:CAPITAL。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【大智慧】庄家区域(获利线、庄筹线、散筹线)-指标公式源码
庄筹估算值:EMA(WINNER(C)*70,3),colorffcc66, linethick2;
散筹估算
值:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),color0099ff,linethick2;
获利线:EMA(WINNER(C)*100,3),colorwhite;
庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;
散筹
线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2; 收:=winner(C)*100;
开:=winner(O)*100;
博弈K线长:MAX(ABS(收-开),ABS(收
-REF(收,1))),pointdot,colorwhite{ff00ff};
STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;
stickline(收>=REF(收,1),0,博弈K线长,0,0),colorred;
stickline(收<=REF(收,1),0,博弈K线长,0,0),color00ff00;
{庄筹线:EMA(WINNER(C)*70,5), colorred, linethick2;
散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen,
linethick2;}
5,colorwhite,pointdot;
20,coloryellow,pointdot;
40,colorffcc66,pointdot;
60,colorff00ff,pointdot;
cc:FILTER( (CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorgreen; DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;
aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;
aa1:=cross(庄筹线,散筹线);
DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;
bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,60,'决战诱空'),colorwhite;
IF(bb,30,60 ),colorgreen;
【大智慧】庄家区域(获利线、庄筹线、散筹线)-指标公式效果图
(文档来源:若水财经社区)。