蛟龙出海: A1:=DATE <= 1318123199; 工作线:(EMA(C,14)) * A1,POINTDOT,LINETHICK5,COLORYELLOW; AA05:MA(C,5),LINETHICK3,COLOR0099CC; 五日乖离率:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); 加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW; IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORRED; AA10:MA(C,10), LINETHICK0; AA20:=MA(C,20); BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORFFFF00; AA30:MA(C,30), LINETHICK0; 三拾日乖离率:(C-AA30)/AA30*100,NODRAW; VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1); VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1); BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416; 强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10); 加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ; 清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10); DRAWTEXT(加仓 ,LOW*0.98,'←-----加仓'),COLORYELLOW; JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ; 减仓:=FILTER(JC,10); MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; 买入:=FILTER(MR,10); DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORCYAN; DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); VAR5:=CROSS(CCI,-100); VAR6:=CCI>=200; DRAWTEXT(VAR6,HIGH*1.02,'←----小心'),COLORYELLOW; SJ:=VAR5; STICKLINE(SJ,H,L,0.6,0),COLORYELLOW; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(84,RSI) , HIGH,'←-----逃'),COLORGREEN; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←---大胆搏 '),COLORYELLOW; A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; 生命线:EMA(X,13),LINETHICK2,COLORMAGENTA; 主力吸货克星来抄底: 公式源码 适用于通达信公式或者同花顺,大智慧等通用 VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3); VAR4:=LLV(LOW,38); VAR5:=HHV(VAR3,38); VAR6:=IF(LLV(LOW,90),1,0); RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; 短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00; 中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred; RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6; VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR9:=SMA(VAR8,13,8); 长线:SMA(RSV3,5,1),coloryellow; 看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0; 黄金坑:STICKLINE(短线<20 AND 中线<20 AND 长线<20, MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF; 看顶:STICKLINE(中线>80,80,中线,6,0),COLORFFF000; 底线:0,COLOR00FFFF; 主力吸货:VAR7,COLOR0000FF; DRAWICON(CROSS(长线,15),中线,1); DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨'); DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'千载难逢'); 吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLOR0000FF; 吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF; 吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF; 吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORFF00FF; 吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF; 吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF; 吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF; 粘合星:DRAWTEXT(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,'*'); 中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)); 底:DRAWTEXT(CROSS(中线2,-90) AND (长线<中线 AND 长线>REF(长线, 1)OR 短线<20 AND 中线<20 AND 长线<20),长线,'底'),COLORFF00FF; IF(COUNT(CROSS(中线2,-90),12)=3,30,5); IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100); WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; 风险:CEILING(SMA(VAR9,13,8)),LINETHICK2,colorgreen; 涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L, 27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,colorred; 基本面优秀(顶尖财经 股票学院: http://58188.com): {基本面优秀} 净资收益率:=(FINANCE(33)/FINANCE(34)*100); 主营利润率:=(FINANCE(23)/FINANCE(20)*100); 主营业增长率:=FINANCE(44); 每股净资产:=CONST(FINANCE(34)); 每股收益:=CONST(FINANCE(38)); 净利润增长率:=FINANCE(43); 市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20)); 现金负债比:=(FINANCE(25)/FINANCE(15)); 每股未分配:=CONST(FINANCE(32)); 每股公积金:=CONST(FINANCE(18)); SY01:=净资收益率>3; SY02:=净资收益率>0.01 AND 净资收益率<=3; SY03:=主营利润率>2; SY04:=主营利润率>0; SY05:=主营业增长率>1; SY06:=主营业增长率>0; SY07:=净利润增长率>2; SY08:=净利润增长率>0.2; SY09:=每股收益>0.01; SY10:= 每股收益>0.001; SY11:=每股净资产>2; SY12:=每股净资产>0.01; SY13:=每股未分配>0.5; SY14:=每股未分配>0.001; SY15:=每股公积金>0.5; SY16:=每股公积金>0.002; SY17:=每股未分配>=2 AND 每股公积金>=2; SY18:=每股未分配<2 OR 每股公积金<2; 优秀:=SY01 AND SY03 AND SY05 AND SY07 AND SY09 AND SY11 AND SY13 AND SY15; 较好:=SY02 AND SY04 AND SY06 AND SY08 AND SY10 AND SY12 AND SY14 AND SY16; 一般:=NOT(优秀) AND NOT(较好); XG:优秀 AND 较好=0; |