您好,欢迎访问三七文档
当前位置:首页 > 金融/证券 > 股票报告 > 五线开花金叉选股公式(通信达)有图
五线开花金叉选股公式参数设定:N:11005M:110013}EMA5:EMA(C,5);EMA14:EMA(C,14),COLORRED,LINETHICK2;EMA25:EMA(C,25),COLORYELLOW,LINETHICK2;EMA60:EMA(C,60),COLORFF00FF;EMA90:EMA(C,90),COLORGREEN;EMA120:EMA(C,120),COLORBLUE;M1:=1000*EMA14/EMA25=1115AND1000*EMA14/EMA25=870;M2:=1000*EMA25/EMA60=1115AND1000*EMA25/EMA60=875;M3:=1000*EMA60/EMA90=1120AND1000*EMA60/EMA90=880;M4:=1000*EMA90/EMA120=1015AND1000*EMA90/EMA120=885;DRAWICON(M1ANDM2ANDM3ANDM4ANDCROSS(EMA5,EMA14),L-0.20,9);{N:11005M:110013}上:=EMA(C,3),COLORRED,LINETHICK1;中:=EMA(C,5),COLOR00FF00,LINETHICK1;下:=EMA(中,5),COLORWHITE,LINETHICK1;趋势线:=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:=REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:=REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA20,MA2,MA2);MA5:=MA(CLOSE,N),COLOR888899;MA13:=MA(CLOSE,M),COLORFF00F0,LINETHICK2;VAR1:=CLOSE=HHV(C,4)AND(REF(C,1)=REF(C,2)ORREF(C,1)=REF(C,3))ORREF(C,1)=HHV(C,4)ANDCLOSE=REF(C,2)ORREF(C,2)=HHV(C,4)ANDREF(C,3)=LLV(C,4)ANDC=REF(C,1)ORREF(C,3)=HHV(C,4)ANDC=REF(C,1)ANDC=REF(C,2);VAR2:=CLOSE=HHV(C,4)ANDREF(C,1)=LLV(C,4);VAR3:=CLOSE=LLV(C,4)AND(REF(C,1)REF(C,2)ORREF(C,1)REF(C,3))ORREF(C,1)=LLV(C,4)ANDCREF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)=HHV(C,4)ANDCREF(C,1)ORREF(C,3)=LLV(C,4)ANDCREF(C,1)ANDCREF(C,2);VAR4:=REF(C,1)=LLV(C,4)ANDC=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)=REF(C,3)ANDREF(C,2)REF(C,4)ANDC=REF(C,1);VAR5:=REF(C,1)=HHV(C,4)ANDCREF(C,2)OR(REF(C,2)=HHV(C,4)ANDREF(C,1)REF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1)REF(C,2))ANDREF(C,2)=REF(C,4)ANDCREF(C,1);VAR6:=V5REF(V5,1)ANDREF(V5,1)REF(V5,2);VAR7:=LOWHHV(V5,13)ANDHIGHHHV(V5,13)ANDCLOSEREF(C,1)ANDCLOSEOPEN;VAR8:=VAR7ANDCOUNT(VAR6,2);VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7)ANDCOUNT(VAR90,2)ANDCROSS(VAR9,MA(VAR9,2)))=1,5);VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7)ANDCOUNT(VAR950,2)ANDCROSS(MA(VAR9,2),VAR9))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0)ORCROSS(C,VAR10))ANDVAR11)=1,3);VAR15:=MA(C,18)=REF(MA(C,18),3)ANDCROSS(C,MA(C,18));VAR16:=VAR8ANDNOT(REF(VAR8,1));强攻:=IF(MA3REF(MA3,1)ANDMA3=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2;回调:=IF(MA3REF(MA3,1)ANDMA30,MA13,DRAWNULL),COLORGREEN,LINETHICK2;{KDJ}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14ORVAR15)ANDVAR11;买2:=(VAR14ORVAR15)ANDVAR4;买3:=(VAR14ORVAR15)ANDVAR2;买4:=(VAR2ANDVAR11)OR(VAR4ANDVAR11);买5:=(金叉ANDVAR4)OR(金叉ANDVAR2)OR(金叉ANDVAR11);{涨停}STICKLINE(CLOSEREF(CLOSE,1)*1.0985ANDCLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;{跌停}STICKLINE(CLOSEREF(CLOSE,1)*0.9015ANDCLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;{蓝}STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3.3,0),COLORFF7700;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2.4,0),COLORFF9900;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.3,0),COLORFFBB00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0.8,0),COLORCYAN;{红}STICKLINE(CLOSEOPEN,CLOSE,OPEN,3.3,0),COLOR000099;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2.4,0),COLOR0000CC;STICKLINE(CLOSEOPEN,CLOSE,OPEN,1.3,0),COLOR0000FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.8,0),COLORCC66FF;{绿}STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.8,0),COLOR00FF00;{灰}STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,0.8,0),COLORFFFFFF;STICKLINE(金叉,OPEN,CLOSE,1,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,1,0),COLOR000099;DRAWICON(VAR16,LOW-0.02,7);DRAWICON(买1OR买2OR买3OR买4OR买5,LOW-0.01,1);DRAWICON(死叉ORVAR12ORCROSS(40,VAR9),HIGH+0.01,2);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB131ANDEMA(X1,13)REF(EMA(X1,8),1),10),EMA8,'∠45升'),COLORWHITE;VAR81:=1;VAR82:=((((2*CLOSE)+HIGH)+LOW)/4);低金叉进:=20,COLORYELLOW,LINETHICK2;高死叉出:=90,COLORGREEN,LINETHICK3;VAR84:=LLV(LOW,5);VAR85:=HHV(HIGH,4);C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81),COLORFFFFFF,LINETHICK2;条件:=CROSS(C1,C2)ANDC140;条件0:=CROSS(C2,C1)ANDC190;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2)ANDREF(C1,1)20;TJ4:=CROSS(C2,C1)ANDREF(C1,1)80;DRAWTEXT(条件0,H*1.02,'S'),COLORBLUE;{DRAWTEXT(CROSS(C1,75),H*1.013,'险区'),COLORGREEN;}DRAWTEXT(TJ3,L*0.98,'买底'),COLORFF00FF;DRAWTEXT(TJ4,H*1.02,'逃顶'),COLORGREEN;E1:=BARSCOUNT(C);AH:=HHV(H,200);AL:=LLV(L,200);B0:=(AH-AL)/40;KB1:=H+B0;KB2:=L-B0;STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'时窗'),COLORYELLOW;水平面:=EMA(CLOS
本文标题:五线开花金叉选股公式(通信达)有图
链接地址:https://www.777doc.com/doc-4376259 .html