国庆献礼版 通达信最新升级版 黄金阶梯
季收益:FINANCE(33)*FINANCE(37)/4,NODRAW,{每股收益};
总资产:=FINANCE(10)/TOTALCAPITAL/100,NODRAW,{每股总资产};
净资产:FINANCE(19)/TOTALCAPITAL/100,NODRAW,{每股净资产};
未分配:=FINANCE(32),NODRAW,{每股未分配利润};
权益%:净资产/总资产*100,NODRAW,{每股股东权益};
现金:FINANCE(25)/FINANCE(1),NODRAW,{每股现金流量} ;
收益:FINANCE(33)*FINANCE(37)/4,NODRAW,{每股收益};
收益率:收益/净资产*100,COLORWHITE,NODRAW,{净资产收益率};
市盈率:{C/FINANCE(33)}C/(收益/FINANCE(37)*4),NODRAW,COLORLIBLUE;
上市:FINANCE(42),NODRAW,COLORGREEN,{上市日期} ;
AA:=C/REF(C,1)>1.08;
T:=BARSLAST(AA);
TT:=IF(T<=10,ISLASTBAR,CURRBARSCOUNT=CONST(T)-10);
BB:=REF(C,T+1)*1.03;
EE:=REF(C,T+1)*1.06;
DRAWLINE(AA,CONST(BB),TT,CONST(BB),0),LINETHICK2,COLORFFFF00;
DRAWLINE(AA,CONST(EE),TT,CONST(EE),0),LINETHICK2,COLOR009FFF;
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,10,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,10,0),COLOR00CC66;
P:=8;
A1:=REF(H,P)=HHV(H,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);
A2:=REF(H,P)=LLV(H,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
S11:=R11>REF(R11,1);
DRAWLINE(D1,H,S11,H,1),COLOR00FF00,LINETHICK0;
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
U11:=T11>REF(T11,1);
DRAWLINE(D2,L,U11,L,1),COLORYELLOW,LINETHICK0;
DRAWICON(D1,H+0.1,35);
DRAWICON(D2,L-0.2,34);
黄线消失当天清:IF(ZIG(MA((H+L)/2,3),3)>REF(ZIG(MA((H+L)/2,3),3),1),ZIG(MA((H+L)/2,3),3),DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(FILTER(H>黄线消失当天清*1.07=1,5),H,'☆黄线上卖'),COLORYELLOW;
DRAWTEXT(FILTER(L<黄线消失当天清*0.93=1,5),L,'☆黄线下买'),COLORYELLOW;
K1:=REF(C,1)=DYNAINFO(3) AND O=DYNAINFO(4) AND C=DYNAINFO(7) AND H=DYNAINFO(5) AND L=DYNAINFO(6);
K2:=BARSLAST(V=HHV(V,20));
K3:=BACKSET(K1,K2+1);
NOTEXTK4:IF(K2+1&&K3,REF(H,K2),DRAWNULL),COLORGREEN;
有未来函数 |