资源描述:
《【股票指标公式下载】-【通达信】机构建仓出货(市盈率、每股收益).doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】机构建仓出货(市盈率.每股收益)•指标公式源码N:二40;Nl:=20;M:=9;Ml:=3;M2:=6;VAR0:二DYNAINF0(5);VARI:=BARSCOUNT(IITGII);VAR2:=(SMA((HIGH/HHV(CLOSE,120)),3,1)*100);最新价:C,NODRAW;市盈率:=IF(FINANCE(33)>0,DYNAINFO(39),0)*0.35;每股收益:=IF(FINANCE(33)>0.01,FINANCE(33)*0.65,0);参考定价:每股收益*市盈率*4,NODRAW;跟进:=IF((VAR1>20),VAR
2、2,0);VARI1:=IF((HIGHVARO),1,(((VARO一HIGH)+0.009)/((LOW-HIGH)+0.009))));AAA:=(DMA(VARI1,(VOL/SUM(VOL,90)))*60);BBB:=(DMA(VARI1,(VOL/CAPITAL))*60);VAR12:=IF(C>1000,AAA,BBB);VAR3:=IF((((VAR12>0)AND(VAR12>REF(VAR12,1)))AND(跟进>二88)),VAR2,0);A:二C*l.1;B:二C*0.9;Bl:=100*(WINNER(A
3、)-WINNER(B));CMSD:二100-Bl;C1:=MA(C,13)[DYNATNFO(7),DYNAINFO(7)-(DYNAINFO(7)-HIGH+O.02)/(HIGH-LOW+O.02),0));ZC_2:二DMA(ZC_1,V0L/CAPITAL)*100;出货:=IF(ZC2>0AXDZC2>REF(ZC2,1),ZC2/20,0);明天买:IF(CROSS(]
4、CMSD,90)AXDCl,3,0),COLORYELLOW;明天卖:TF(DI,VAR3+10,0),COLORFFAAOO,IJNETHTCK2;{私募机构建仓区域N:l:100:9Ml:l:100:3,M2:l:100:3}A01:二DYNAINF0(7);A02:=MA(((AMOUNT/VOL)/100),(VOL/CAPITAL));AOS:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE/HHV(HIGH,120)),3,1)*100);A05:=IF((A03>20),A04,0);A06:=IF((L0W>A01),0,IF((HI
5、GHA01),(100-A07),A07);A09:=IF((((A07>0)AXD(A07>REF(A07,1)))AXD(A05<=88)),A07,0);STICKLINE((A09>0),0,A09,10,0),COLORLIRED;私募机构黄金线:A09,LIXETHICK2,COLOROOFFFF;DRAWICON(CROSS(A09,0.009),4,1),COLOR
6、LIRED;DRAWTEXT(CROSS(A09,0.009),4,121),COLOROOFFOO;VARR1:((3*SMA((((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)))*100),5,1))-(2京SMA(SMA((((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)))*100),5,0,3,1)));VARR2:((3*SMA((((CLOSE-LLV(LOW,N1))/(HHV(HIGH,Nl)-LLV(LOW,Nl)))*100),5,1))-(2*SMA(SMA((((CL
7、OSE-LLV(LOW,Nl))/(IIIIV(HTGII,Nl)-LLV(LOW,Nl)))*100),5,1),3,1)));机构建增补仓:IF((VARR2<5),45,0);出货区:STICKLINE(出货>0,0,出货,2,0),COLORGREEN;粉色机构建仓E:0,LINETHICKO,COLORMAGENTA;建仓区:STTCKIJNE(CMSD>65ANDCl,CMSD-50,0,2,0),COLORYELLOW;绿色机构出仓区:0,LINETHICKO,COLORGREEN;{不能对线变色}VARRR1:=(EMA(