图片正规配资杠杆配资平台正规配资杠杆配资平台
图片
图片
图片
三、指标源码(点这里看图片
“复制代码添加到手机通达信”){金背离副图}DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA),COLORSTICK,LINETHICK2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1,COLORYELLOW,NODRAW;STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;DRAWTEXT(低位金叉,0.16,'低位金叉'),COLORWHITE;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,COLORGREEN,NODRAW;STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;DRAWICON(二次金叉,DEA*0.9,1) ;DRAWTEXT(二次金叉,0.2,'二次金叉'),COLORYELLOW;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),COLORLIBLUE,NODRAW;STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;DRAWTEXT(底背离,0.12,'底背离'),COLORFF00FF;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1) AND CROSS(DEA,DIFF);DFO:=C/REF(C,1)>1.04;UGW:=REF(MA(C,250)/MA(C,120)<1.15,1);TXDP:=REF(C,1)/REF(LLV(L,300),2)<1.5;TNU:=REF(C,1)/REF(MA(C,20),1)<1.04 OR REF(C,1)/REF(MA(C,60),1)<1.04;XEI:=REF(EVERY(MA(C,60)/REF(MA(C,60),1)>0.995,10) AND EVERY(MA(C,120)/REF(MA(C,120),1)>0.998,10),1);RBL:=NOT(REF(EVERY(MA(C,60)/MA(C,120)<0.93,100),1)) AND REF(EVERY(MAX(MA(C,60),MA(C,120))/MIN(MA(C,60),MA(C,120))<1.08,8),1);YCZ:=V/REF(V,1)>3 AND V>REF(HHV(V,35),1);低位横盘:DFO AND UGW AND TXDP AND TNU AND XEI AND YCZ,COLORLIGRAY,NODRAW;XG:BARSSINCEN((低位金叉 AND 二次金叉 AND 底背离) OR 低位横盘,9)=0,COLORYELLOW,NODRAW;DRAWTEXT(XG,0.25,'黄金背离'),COLOR0000FF,LINETHICK2;DRAWICON(低位横盘,DEA*0.9,1);DRAWTEXT(XG,DIFF+0.2,'离'),COLORYELLOW;DRAWTEXT(XG,DIFF+0.65,'背'),COLORYELLOW;DRAWTEXT(XG,DIFF+1.15,'金'),COLORYELLOW;DRAWTEXT(XG,DIFF+0.5,'离'),COLORRED;DRAWTEXT(XG,DIFF+1,'背'),COLORRED;DRAWTEXT(XG,DIFF+1.25,'金'),COLORRED;{金背离主图}ZF:=((C-REF(C,1))/REF(C,1))*100;DCZZF:=REF(ZF,2)<9 OR REF(ZF,3)<9 OR REF(ZF,4)<9 OR REF(ZF,5)<9;DCZ11:=C/REF(C,1)-1>-0.01/REF(C,1) AND C=H;DCZ3:=VOL>=REF(V,1)*1.1;DCZ1:=REF(DCZ11,1);XYB:=(DCZ11 AND DCZ3) OR (DCZ1 AND DCZ11 AND DCZ3);LYKU:=XYB AND DCZZF AND (C-REF(C,4))/REF(C,4)*100<40 AND (C-REF(C,3))/REF(C,3)*100<30;ZT:=VOL/((H-L)*2-ABS(C-O));CTA1:=IF(C>O,ZT*(H-L),IF(C<O,ZT*((H-O)+(C-L)),VOL/2));CTA2:=IF(C>O,0-ZT*((H-C)+(O-L)),IF(C< O,0-ZT*(H-L),0-VOL/2));CTA3:=(C/REF(C,1)-1)*100;WX2:=AMOUNT/10000;NOTEXTQD1:MA(C,3),COLORWHITE;趋势线:EMA(NOTEXTQD1,2),COLORCYAN,DOTLINE;NOTEXTQD2:EMA(趋势线,2),COLORMAGENTA,DOTLINE;NOTEXTQD3:EMA(NOTEXTQD2,2),COLORLIGREEN,DOTLINE;持股线:IF(NOTEXTQD1>趋势线,趋势线,DRAWNULL),COLORYELLOW,LINETHICK3;放量:AMOUNT>=REF(AMOUNT,1)*1.1 AND (IF(C<O,C>REF(C,1),1)),COLORLIRED,NODRAW;TOP1:=(H-MAX(C,O))/(MIN(C,O)-L)>=3;TOP2:=H/L>=1.03;TOP3:=MAX(C,O)/MIN(C,O)<=1.03;TOP4:=TOP1 AND TOP2 AND TOP3;TOP5:=O<REF(H,1);TOP6:=MAX(C,O)/MIN(C,O)>=1.03;TOP7:=(C-REF(C,1))/REF(H-MAX(C,O),1)>=0.7;TOP8:=TOP5 AND TOP6 AND TOP7;FLXC:=(TOP8 AND REF(TOP4,1)) OR REF(TOP8 AND REF(TOP4,1),1);XTPL:=CLOSE>NOTEXTQD1 AND NOTEXTQD1>NOTEXTQD2 AND NOTEXTQD2>NOTEXTQD3 AND CLOSE>OPEN;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,9);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DFO:=C/REF(C,1)>1.04;UGW:=REF(MA(C,250)/MA(C,120)<1.15,1);TXDP:=REF(C,1)/REF(LLV(L,300),2)<1.5;TNU:=REF(C,1)/REF(MA(C,20),1)<1.04 OR REF(C,1)/REF(MA(C,60),1)<1.04;XEI:=REF(EVERY(MA(C,60)/REF(MA(C,60),1)>0.995,10) AND EVERY(MA(C,120)/REF(MA(C,120),1)>0.998,10),1);RBL:=NOT(REF(EVERY(MA(C,60)/MA(C,120)<0.93,100),1)) AND REF(EVERY(MAX(MA(C,60),MA(C,120))/MIN(MA(C,60),MA(C,120))<1.08,8),1);YCZ:=V/REF(V,1)>3 AND V>REF(HHV(V,35),1);低位横盘:DFO AND UGW AND TXDP AND TNU AND XEI AND YCZ,COLORLIGRAY,NODRAW;XG:BARSSINCEN((低位金叉 AND 二次金叉 AND 底背离) OR 低位横盘,9)=0,COLORYELLOW,NODRAW;DRAWICON(XG,L*0.995,34);STICKLINE(XG,C,O,2,0),COLORYELLOW;STICKLINE(XG,H,C,0,0),COLORYELLOW;{金背离选股}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,9);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DFO:=C/REF(C,1)>1.04;UGW:=REF(MA(C,250)/MA(C,120)<1.15,1);TXDP:=REF(C,1)/REF(LLV(L,300),2)<1.5;TNU:=REF(C,1)/REF(MA(C,20),1)<1.04 OR REF(C,1)/REF(MA(C,60),1)<1.04;XEI:=REF(EVERY(MA(C,60)/REF(MA(C,60),1)>0.995,10) AND EVERY(MA(C,120)/REF(MA(C,120),1)>0.998,10),1);RBL:=NOT(REF(EVERY(MA(C,60)/MA(C,120)<0.93,100),1)) AND REF(EVERY(MAX(MA(C,60),MA(C,120))/MIN(MA(C,60),MA(C,120))<1.08,8),1);YCZ:=V/REF(V,1)>3 AND V>REF(HHV(V,35),1);低位横盘:=DFO AND UGW AND TXDP AND TNU AND XEI AND YCZ;XG:BARSSINCEN((低位金叉 AND 二次金叉 AND 底背离) OR 低位横盘,9)=0;四、指标获取(点这里看图片
“下载指标并导入手机通达信”)步骤一:点文章左下角的“指标星球”,关注公众号;步骤二:点“发消息” ,发送关键词: 金背离 。 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。