您当前的位置:股票 > 财经资讯 > 财经频道

大智慧星座MACD指标公式,大智慧超级组合主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

大智慧星座MACD指标公式,大智慧超级组合主图指标公式

大智慧星座MACD指标公式

DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

DRAWTEXTREL(10,900,''),linethick1,COLOR00EEff;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;

D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;

J:3*K-2*D,LINETHICK2,COLOR800080;

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;

DEA :EMA(DIFF,9),linethick0,COLORD89837;

MACD:2*(DIFF-DEA),COLORFF9999,linethick0;

YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100);

阻价:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));

支价:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));

今压:REF(阻价,1),LINETHICK0,COLORAA11BB;

今撑:REF(支价,1),LINETHICK0,COLOR009900;

明压:阻价,LINETHICK0;

明撑:支价,LINETHICK0;

rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;

kk:=sma(rsv1,3,1);

dd:=sma(kk,3,1);

jj:=3*kk-2*dd;

买卖:=if(jj>=100,100,if(jj<=0,0,jj));

明天买:if(买卖=100,0-10,0),color00cccc;

明天卖:if(买卖=0,90,100),color00ff00;

KX:=250;

KH:=HHV(K,KX);

DH:=HHV(D,KX);

JH:=HHV(J,KX);

KL:=LLV(K,KX);

DL:=LLV(D,KX);

JL:=LLV(J,KX);

HKMAX:=MAX(KH,MAX(DH,JH));

LKMIN:=MIN(KL,MIN(DL,JL));

KHLB:=(HKMAX+LKMIN)/2;

KHLC:=HKMAX-LKMIN;

MHF:=HHV(DIFF,KX);

MHD:=HHV(DEA,KX);

MHM:=HHV(MACD,KX);

MLF:=LLV(DIFF,KX);

MLD:=LLV(DEA,KX);

MLM:=LLV(MACD,KX);

HMAX:=MAX(MHF,MAX(MHD,MHM));

LMIN:=MIN(MLF,MIN(MLD,MLM));

FHLB:=(HMAX-LMIN)/100;

FHLC:=HMAX-LMIN;

SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;

DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;

DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;

MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;

CDA:=MACD0;

CDB:=MACD>=ref(MACD,1) and MACD>0;

CDC:=MACD>ref(MACD,1) and MACD<0;

CDD:=MACD<=ref(MACD,1) and MACD<0;

STICKLINE(CDA,SH,macda,6,0),COLOR00AAFF;{黄色段}

STICKLINE(CDA,SH,macda,6.6,0),COLOR00BBFF;

STICKLINE(CDA,SH,macda,4.4,0),COLOR00CCFF;

STICKLINE(CDA,SH,macda,3.3,0),COLOR00DDFF;

STICKLINE(CDA,SH,macda,2.2,0),COLOR00EEFF;

STICKLINE(CDA,SH,macda,1.1,0),COLOR00FFFF;

STICKLINE(CDB,SH,macda,6,0),COLOR0000AA; {红色段}

STICKLINE(CDB,SH,macda,6.6,0),COLOR0011BB;

STICKLINE(CDB,SH,macda,4.4,0),COLOr0022CC;

STICKLINE(CDB,SH,macda,3.3,0),COLOR0033DD;

STICKLINE(CDB,SH,macda,2.2,0),COLOR0044EE;

STICKLINE(CDB,SH,macda,1.1,0),COLOR0055FF;

STICKLINE(CDC,SH,macda,6,0),COLORAA00BB;{向上粉红}

STICKLINE(CDC,SH,macda,6.6,0),COLORBB11BB;

STICKLINE(CDC,SH,macda,4.4,0),COLORCC22BB;

STICKLINE(CDC,SH,macda,3.3,0),COLORDD33BB;

STICKLINE(CDC,SH,macda,2.2,0),COLOREE44BB;

STICKLINE(CDC,SH,macda,1.1,0),COLORFF55BB;

STICKLINE(CDD,SH,macda,6,0),COLORFF7700;

STICKLINE(CDD,SH,macda,6.6,0),COLORFF8811;

STICKLINE(CDD,SH,macda,4.4,0),COLORFFAA22;

STICKLINE(CDD,SH,macda,3.3,0),COLORFFBB33;

STICKLINE(CDD,SH,macda,2.2,0),COLORFFDD44;

STICKLINE(CDD,SH,macda,1.1,0),COLORFFDD55;

PARTLINE(DIFFA,DIFF>0,RGB(255,153,153),DIFF<0,RGB(255,153,153));

PARTLINE(DEAA,DEA>0,RGB(65,105,225),DEA<0,RGB(65,105,225));

DRAWTEXT(BARSTATUS=2,SH,' 0'),color00aaaa;

TYP:=(HIGH+LOW+CLOSE)/3;

STICKLINE(diff>ref(diff,1),20,20,2,0),COLORRED;

STICKLINE(diff

STICKLINE(K>=ref(K,1) or k>d and diff>ref(diff,1),80,80,2,1),COLORRED;

STICKLINE(K

MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;

DRAWTEXT(MACD金叉,macda*0.82,'▲MACD金叉'),color00FFFF;

XX:=ema(MA(LOW,3)*0.96,30);

DIFF金叉:=if(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);

DRAWTEXT(DIFF金叉=1,DIFFA*1.68,'DIFF金叉'),colorCDFFBB;

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

DRAWTEXT(低位金叉,deaa*0.99,'▲低位金叉'),COLOR0099DD;

DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;

DRAWTEXT(二次金叉,deaa*0.99-8,'▲ 二次金叉'),ColorFF00FF;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

DRAWTEXT(底背离,DEAA*0.99-16,'▲底背离'),Color0099FF;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'▲顶背离'),COLORDDAAAA;

{周金叉,死叉}周DIFF:="MACD.DIFF#WEEK";

周DEA:="MACD.DEA#WEEK";

周MACD:="MACD.MACD#WEEK";

DIF周金叉:=CROSS(周DIFF,周DEA);

DRAWTEXT(DIF周金叉,DEAA,'DIFF周金叉'),COLOR0099FF;

DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,'▲DIFF周死叉'),align0,COLORCDFFBB;

MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02;

DRAWTEXT(MACD周金叉,macda-0.03,'▲MACD周金叉'),color00FFFF;

{月金叉,死叉}月DIFF:="MACD.DIFF#MONTH";

月DEA:="MACD.DEA#MONTH";

DIF月金叉:=CROSS(月DIFF,月DEA);

DRAWTEXT(DIF月金叉,DEAA*0.98,'★DIF月金叉'),COLOR00FFCC;

DRAWTEXT(CROSS(月DEA,月DIFF),DEAA*1.02,'★DIF月死叉'),align0,COLORDDDDDD;

周K:="KDJ.K#WEEK"(9,3,3);

周D:="KDJ.D#WEEK"(9,3,3);

周J:="KDJ.J#WEEK"(9,3,3);

月K:="KDJ.K#MONTH"(9,3,3);

月D:="KDJ.D#MONTH"(9,3,3);

月J:="KDJ.J#MONTH"(9,3,3);

月金叉:=cross(月K,月D);

周金叉:=cross(周K,周D);

日金叉:=FILTER(cross(K,D) and K<20,4);

drawtext(月金叉,月D-2,'★'),ALIGN0,color0022ee;

DRAWTEXT(月金叉,月D-2,'KD月金叉'),coloryellow;

drawtext(周金叉,周D,'★'),ALIGN2,color0022ee;

DRAWTEXT(周金叉,周D,' KD周金叉'),colorgreen;

DRAWICON(日金叉,K,1),align2;

DRAWTEXT(日金叉,D-6,'★低位金叉'),color00CCCC;

DRAWTEXT(CROSS(周D,周K),周D*1.2,'★KD周死叉'),COLOR00DDBB;

DRAWTEXT(CROSS(月D,月K),月D,'★KD月死叉'),COLORFFFFFF;

KDB:=BARSLAST(ref(cross(k,d),1));

KDDB:=ref(close,KDB+1)>close and ref(k,KDB+1)

K底背:=if(FILTER(KDDB>0,5),1,0);

DRAWTEXT(K底背=1,D*0.98,'★底背离'),COLORDDDDDD;

KDD:=BARSLAST(ref(cross(d,k),1));

K顶背:=ref(close,KDD+1)k and cross(d,k);

DRAWTEXT(FILTER(K顶背>0,5),D+8,'★顶背离'),COLORFFAA22;

MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;

MD2:=MA((CLOSE-MD1)/MD1,3);

买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);

ma12:=MA(CLOSE,12);

佳点:=if(FILTER(MACD>=REF(MACD,5) AND open<=ref(close,1) and XX-REF(XX,1)>0 AND MACD<=0 AND ma12-REF(ma12,1)>=0,3) and J<80 and J>ref(J,1) and D>ref(D,1) and (diff>=ref(diff,1) or dea>=ref(dea,1)),1,0);

DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;

DRAWTEXT(佳点=1,macda*0.98,'★佳点'),color0099FF;

DX0:=EMA(CLOSE,2)-EMA(OPEN,5);

DX1:=if(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) and (J<20 or K<20),1,0);

DRAWTEXT(FILTER(DX1,3),0,'★短10%'),color00CC00;{

短线}MA10:=MA(CLOSE,10);

SS:=EMA(MA(HIGH,3)*1.05,30);

LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE0 AND CROSS(MACD,0) AND MACD>=0 AND DIFF>0 AND ma10-REF(ma10,1)>0 AND

VOL>REF(VOL,1))>=0.7 AND (CLOSE0),5) AND J<80,1,0);

DRAWTEXT(LQS=1,macda*0.98,'★量价

齐上'),colorCDFFDD;{量价齐上}

最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 AND COUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) and J<80 and J>ref(J,1),1,0);

DRAWTEXT(最佳点=1,J,'★最佳点'),colorFF00CC;

买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)

NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);

DRAWTEXT(买点1 or 买点2,D-1,'买'),colorff00CC;

{预涨}YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))/2;

预涨:=cross(yz,50) and j<95 and diff>ref(diff,1) and low

DRAWTEXT(预涨,d*0.6,'★预涨'),COLORA52A2A;

KD金叉:=cross(K,D)and J>20 and J<80;

选股:if(cross(macd,0) or DX1 or 佳点 or LQS or K底背 or 月金叉 or 周金叉 or 日金叉 or 买点1 or 买点2 or 最佳点 or MACD金叉 or DIFF金叉 or 低位金叉 or 二次金叉 or 底背离 or DIF周金叉 or MACD周金叉 or DIF月金叉 or KD金叉,2,0),LINETHICK0;

大智慧超级组合主图指标公式

{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)

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,Zy38 ,Zy40 ,Z13*50 ,1),LAYER7,DOTLINE;

STICKLINE( DISPSTATUS=2,Zy41 ,Zy43 ,Z14*50 ,1),LAYER7,DOTLINE;

STICKLINE( DISPSTATUS=2,Zy44 ,Zy46 ,Z15*50 ,1),LAYER7,coloryellow;

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));

止损位1:=IF((CLOSE < 10),(CLOSE * 0.95),止损位);

阻力位a:=IF((mc > 200),(mc * 1.01),(mc * 1.07));

阻力位2:=IF((mc < 10),(mc * 1.05),阻力位a);

止损位b:=IF((mc > 200),(mc * 0.99),(mc * 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;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:大智慧星座MACD指标公式,大智慧超级组合主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

大智慧星座MACD指标公式,大智慧超级组合主图指标公式

admin888

|

大智慧星座MACD指标公式,大智慧超级组合主图指标公式

大智慧星座MACD指标公式

DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

DRAWTEXTREL(10,900,''),linethick1,COLOR00EEff;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;

D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;

J:3*K-2*D,LINETHICK2,COLOR800080;

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;

DEA :EMA(DIFF,9),linethick0,COLORD89837;

MACD:2*(DIFF-DEA),COLORFF9999,linethick0;

YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100);

阻价:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));

支价:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));

今压:REF(阻价,1),LINETHICK0,COLORAA11BB;

今撑:REF(支价,1),LINETHICK0,COLOR009900;

明压:阻价,LINETHICK0;

明撑:支价,LINETHICK0;

rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;

kk:=sma(rsv1,3,1);

dd:=sma(kk,3,1);

jj:=3*kk-2*dd;

买卖:=if(jj>=100,100,if(jj<=0,0,jj));

明天买:if(买卖=100,0-10,0),color00cccc;

明天卖:if(买卖=0,90,100),color00ff00;

KX:=250;

KH:=HHV(K,KX);

DH:=HHV(D,KX);

JH:=HHV(J,KX);

KL:=LLV(K,KX);

DL:=LLV(D,KX);

JL:=LLV(J,KX);

HKMAX:=MAX(KH,MAX(DH,JH));

LKMIN:=MIN(KL,MIN(DL,JL));

KHLB:=(HKMAX+LKMIN)/2;

KHLC:=HKMAX-LKMIN;

MHF:=HHV(DIFF,KX);

MHD:=HHV(DEA,KX);

MHM:=HHV(MACD,KX);

MLF:=LLV(DIFF,KX);

MLD:=LLV(DEA,KX);

MLM:=LLV(MACD,KX);

HMAX:=MAX(MHF,MAX(MHD,MHM));

LMIN:=MIN(MLF,MIN(MLD,MLM));

FHLB:=(HMAX-LMIN)/100;

FHLC:=HMAX-LMIN;

SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;

DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;

DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;

MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;

CDA:=MACD0;

CDB:=MACD>=ref(MACD,1) and MACD>0;

CDC:=MACD>ref(MACD,1) and MACD<0;

CDD:=MACD<=ref(MACD,1) and MACD<0;

STICKLINE(CDA,SH,macda,6,0),COLOR00AAFF;{黄色段}

STICKLINE(CDA,SH,macda,6.6,0),COLOR00BBFF;

STICKLINE(CDA,SH,macda,4.4,0),COLOR00CCFF;

STICKLINE(CDA,SH,macda,3.3,0),COLOR00DDFF;

STICKLINE(CDA,SH,macda,2.2,0),COLOR00EEFF;

STICKLINE(CDA,SH,macda,1.1,0),COLOR00FFFF;

STICKLINE(CDB,SH,macda,6,0),COLOR0000AA; {红色段}

STICKLINE(CDB,SH,macda,6.6,0),COLOR0011BB;

STICKLINE(CDB,SH,macda,4.4,0),COLOr0022CC;

STICKLINE(CDB,SH,macda,3.3,0),COLOR0033DD;

STICKLINE(CDB,SH,macda,2.2,0),COLOR0044EE;

STICKLINE(CDB,SH,macda,1.1,0),COLOR0055FF;

STICKLINE(CDC,SH,macda,6,0),COLORAA00BB;{向上粉红}

STICKLINE(CDC,SH,macda,6.6,0),COLORBB11BB;

STICKLINE(CDC,SH,macda,4.4,0),COLORCC22BB;

STICKLINE(CDC,SH,macda,3.3,0),COLORDD33BB;

STICKLINE(CDC,SH,macda,2.2,0),COLOREE44BB;

STICKLINE(CDC,SH,macda,1.1,0),COLORFF55BB;

STICKLINE(CDD,SH,macda,6,0),COLORFF7700;

STICKLINE(CDD,SH,macda,6.6,0),COLORFF8811;

STICKLINE(CDD,SH,macda,4.4,0),COLORFFAA22;

STICKLINE(CDD,SH,macda,3.3,0),COLORFFBB33;

STICKLINE(CDD,SH,macda,2.2,0),COLORFFDD44;

STICKLINE(CDD,SH,macda,1.1,0),COLORFFDD55;

PARTLINE(DIFFA,DIFF>0,RGB(255,153,153),DIFF<0,RGB(255,153,153));

PARTLINE(DEAA,DEA>0,RGB(65,105,225),DEA<0,RGB(65,105,225));

DRAWTEXT(BARSTATUS=2,SH,' 0'),color00aaaa;

TYP:=(HIGH+LOW+CLOSE)/3;

STICKLINE(diff>ref(diff,1),20,20,2,0),COLORRED;

STICKLINE(diff

STICKLINE(K>=ref(K,1) or k>d and diff>ref(diff,1),80,80,2,1),COLORRED;

STICKLINE(K

MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;

DRAWTEXT(MACD金叉,macda*0.82,'▲MACD金叉'),color00FFFF;

XX:=ema(MA(LOW,3)*0.96,30);

DIFF金叉:=if(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);

DRAWTEXT(DIFF金叉=1,DIFFA*1.68,'DIFF金叉'),colorCDFFBB;

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

DRAWTEXT(低位金叉,deaa*0.99,'▲低位金叉'),COLOR0099DD;

DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;

DRAWTEXT(二次金叉,deaa*0.99-8,'▲ 二次金叉'),ColorFF00FF;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

DRAWTEXT(底背离,DEAA*0.99-16,'▲底背离'),Color0099FF;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'▲顶背离'),COLORDDAAAA;

{周金叉,死叉}周DIFF:="MACD.DIFF#WEEK";

周DEA:="MACD.DEA#WEEK";

周MACD:="MACD.MACD#WEEK";

DIF周金叉:=CROSS(周DIFF,周DEA);

DRAWTEXT(DIF周金叉,DEAA,'DIFF周金叉'),COLOR0099FF;

DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,'▲DIFF周死叉'),align0,COLORCDFFBB;

MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02;

DRAWTEXT(MACD周金叉,macda-0.03,'▲MACD周金叉'),color00FFFF;

{月金叉,死叉}月DIFF:="MACD.DIFF#MONTH";

月DEA:="MACD.DEA#MONTH";

DIF月金叉:=CROSS(月DIFF,月DEA);

DRAWTEXT(DIF月金叉,DEAA*0.98,'★DIF月金叉'),COLOR00FFCC;

DRAWTEXT(CROSS(月DEA,月DIFF),DEAA*1.02,'★DIF月死叉'),align0,COLORDDDDDD;

周K:="KDJ.K#WEEK"(9,3,3);

周D:="KDJ.D#WEEK"(9,3,3);

周J:="KDJ.J#WEEK"(9,3,3);

月K:="KDJ.K#MONTH"(9,3,3);

月D:="KDJ.D#MONTH"(9,3,3);

月J:="KDJ.J#MONTH"(9,3,3);

月金叉:=cross(月K,月D);

周金叉:=cross(周K,周D);

日金叉:=FILTER(cross(K,D) and K<20,4);

drawtext(月金叉,月D-2,'★'),ALIGN0,color0022ee;

DRAWTEXT(月金叉,月D-2,'KD月金叉'),coloryellow;

drawtext(周金叉,周D,'★'),ALIGN2,color0022ee;

DRAWTEXT(周金叉,周D,' KD周金叉'),colorgreen;

DRAWICON(日金叉,K,1),align2;

DRAWTEXT(日金叉,D-6,'★低位金叉'),color00CCCC;

DRAWTEXT(CROSS(周D,周K),周D*1.2,'★KD周死叉'),COLOR00DDBB;

DRAWTEXT(CROSS(月D,月K),月D,'★KD月死叉'),COLORFFFFFF;

KDB:=BARSLAST(ref(cross(k,d),1));

KDDB:=ref(close,KDB+1)>close and ref(k,KDB+1)

K底背:=if(FILTER(KDDB>0,5),1,0);

DRAWTEXT(K底背=1,D*0.98,'★底背离'),COLORDDDDDD;

KDD:=BARSLAST(ref(cross(d,k),1));

K顶背:=ref(close,KDD+1)k and cross(d,k);

DRAWTEXT(FILTER(K顶背>0,5),D+8,'★顶背离'),COLORFFAA22;

MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;

MD2:=MA((CLOSE-MD1)/MD1,3);

买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);

ma12:=MA(CLOSE,12);

佳点:=if(FILTER(MACD>=REF(MACD,5) AND open<=ref(close,1) and XX-REF(XX,1)>0 AND MACD<=0 AND ma12-REF(ma12,1)>=0,3) and J<80 and J>ref(J,1) and D>ref(D,1) and (diff>=ref(diff,1) or dea>=ref(dea,1)),1,0);

DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;

DRAWTEXT(佳点=1,macda*0.98,'★佳点'),color0099FF;

DX0:=EMA(CLOSE,2)-EMA(OPEN,5);

DX1:=if(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) and (J<20 or K<20),1,0);

DRAWTEXT(FILTER(DX1,3),0,'★短10%'),color00CC00;{

短线}MA10:=MA(CLOSE,10);

SS:=EMA(MA(HIGH,3)*1.05,30);

LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE0 AND CROSS(MACD,0) AND MACD>=0 AND DIFF>0 AND ma10-REF(ma10,1)>0 AND

VOL>REF(VOL,1))>=0.7 AND (CLOSE0),5) AND J<80,1,0);

DRAWTEXT(LQS=1,macda*0.98,'★量价

齐上'),colorCDFFDD;{量价齐上}

最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 AND COUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) and J<80 and J>ref(J,1),1,0);

DRAWTEXT(最佳点=1,J,'★最佳点'),colorFF00CC;

买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)

NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);

DRAWTEXT(买点1 or 买点2,D-1,'买'),colorff00CC;

{预涨}YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))/2;

预涨:=cross(yz,50) and j<95 and diff>ref(diff,1) and low

DRAWTEXT(预涨,d*0.6,'★预涨'),COLORA52A2A;

KD金叉:=cross(K,D)and J>20 and J<80;

选股:if(cross(macd,0) or DX1 or 佳点 or LQS or K底背 or 月金叉 or 周金叉 or 日金叉 or 买点1 or 买点2 or 最佳点 or MACD金叉 or DIFF金叉 or 低位金叉 or 二次金叉 or 底背离 or DIF周金叉 or MACD周金叉 or DIF月金叉 or KD金叉,2,0),LINETHICK0;

大智慧超级组合主图指标公式

{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)

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,Zy38 ,Zy40 ,Z13*50 ,1),LAYER7,DOTLINE;

STICKLINE( DISPSTATUS=2,Zy41 ,Zy43 ,Z14*50 ,1),LAYER7,DOTLINE;

STICKLINE( DISPSTATUS=2,Zy44 ,Zy46 ,Z15*50 ,1),LAYER7,coloryellow;

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));

止损位1:=IF((CLOSE < 10),(CLOSE * 0.95),止损位);

阻力位a:=IF((mc > 200),(mc * 1.01),(mc * 1.07));

阻力位2:=IF((mc < 10),(mc * 1.05),阻力位a);

止损位b:=IF((mc > 200),(mc * 0.99),(mc * 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;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道