J线共振-精品通达信指标公式源码分享
散户持仓1:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66;
主力持仓1:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA;
STICKLINE(散户持仓1>0,0,散户持仓1,3,0),COLORFFAA66;
STICKLINE(主力持仓1>0,0,主力持仓1,1.8,1),COLORMAGENTA;
散户持仓:散户持仓1,COLORFFAA66 NODRAW;
主力持仓:主力持仓1,COLORMAGENTA NODRAW;
庄筹集中度:WINNER(C)*100,COLORRED LINETHICK3;
散筹集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN LINETHICK2;
红出蓝退可涨:0,COLORWHITE;
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
DD:=AA1>AA2 AND BB1>BB2;
注意买入:=DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ;
DRAWICON(注意买入,-5,9);
注意卖出:=REF(DD,1)=1 AND NOT(DD),LINETHICK0;
DRAWICON(注意卖出,105,6);
VARA:=LLV(LOW,3)<=LLV(LOW,60);
VARB:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
绝地反击:IF(VARA AND VARB,40,0),COLOREE82EE,LINETHICK3;
VARL:=TROUGHBARS(3,15,1)<10;
VARK:=PEAKBARS(3,15,1)<10;
VARJ:=IF(VARL=1,50,0);
VARH:=IF(VARK=1,50,0);
底部:=IF(VARJ=50,10,0);
多头能量:0,COLORWHITE,LINETHICK2;
神仙脚买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLORFFFF00,LINETHICK3;
买入延迟线:底部,LINETHICK4,COLOR00CCFF;每股收益:FINANCE(33),NODRAW,COLORWHITE;
每股净资产:FINANCE(34),NODRAW,COLOREE82EE;
市盈率:DYNAINFO(39),NODRAW,COLORFF00FF;
流通盘:ROUND(CAPITAL/1000)/1000,NODRAW,COLORRED;
每股公积金:FINANCE(18),NODRAW;
资本公积金:FINANCE(17),NODRAW,COLOR148A14;
经营现金流量:FINANCE(25),NODRAW,COLOR1472FF;
总现金流量:FINANCE(26),NODRAW,COLORE66878;
换手率:DYNAINFO(37),NODRAW,COLORGREEN;
五日换手率:DYNAINFO(37)+REF(DYNAINFO(37),1)+REF(DYNAINFO(37),2)+REF(DYNAINFO(37),3)+REF(DYNAINFO(37),4),NODRAW,COLOR108090;
十日换手率:五日换手率+REF(DYNAINFO(37),5)+REF(DYNAINFO(37),6)+REF(DYNAINFO(37),7)+REF(DYNAINFO(37),8)+REF(DYNAINFO(37),9),NODRAW,COLORYELLOW;
流通市值:FINANCE(40),NODRAW;
STICKLINE(AA1>AA2,AA1,AA2,3,0),COLOR0055AA;
STICKLINE(AA1>AA2,AA1,AA2,2,0),COLOR0099DD;
STICKLINE(AA1>AA2,AA1,AA2,1,0),COLOR01BEE7;
STICKLINE(AA1<=AA2,AA1,AA2,3,0),COLOR006600;
STICKLINE(AA1<=AA2,AA1,AA2,2,0),COLOR00BB00;
STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;
STICKLINE(C>0,AA1,AA2,0,0),COLORFFFFFF;
STICKLINE(BB1>BB2,BB1,BB2,2.8,0),COLOR000045;
STICKLINE(BB1>BB2,BB1,BB2,2,0),COLOR0000C5;
STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
STICKLINE(BB1<=BB2,BB1,BB2,2.8,0),COLOR353500;
STICKLINE(BB1<=BB2,BB1,BB2,2,0),COLOR757500;
STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
STICKLINE(C>0,BB1,BB2,0,0),COLORFFFFFF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!