低吸高抛套装,主副共振精准逃顶(源码分享)
<h2 data-first-child>低吸高抛套装,主副共振精准逃顶(源码分享)</h2><p >融星理财漫谈 2020-06-11 21:29:26</p><p >大家晚上好,跟大家分享一套主副共振的指标,这套指标比较适用于短线操作</p><p >指标相对来说比较简单,主副共振则是进场离场的机会,单独提示则可以看做警示</p><p >这里就不多说明了,指标分享在下方,大家自行去测试</p><p >喜欢的朋友点下关注,更多指标战法,可点我头像留言,我会整理好完整版分享给大家</p><h2>源码</h2><p >{参数:M1,1,1000,60}</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;</p><p >STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;</p><p >MA1:MA(CLOSE,M1),COLORMAGENTA,LINETHICK2;</p><p >EMA13:=EMA(C,13),COLORWHITE;</p><p >EMA21:=EMA(C,21),COLORYELLOW;</p><p >EMA34:=EMA(C,34),COLORFF00FF;</p><p >EMA60:=MA(C,60),COLORFFCC66;</p><p >VAR2:=(2*CLOSE+HIGH+LOW)/4;</p><p >VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);</p><p >VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);</p><p >散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;</p><p >庄家:=EMA(0.777*REF(散户,1)+0.333*散户,2)*VAR3;</p><p >DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED;</p><p >DRAWTEXT(CROSS(庄家,散户) AND 散户>85,H+0.05,'←高抛'),COLORGREEN;</p><p >DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);</p><p >DRAWICON(CROSS(庄家,散户) AND 散户>85,H+0.05,2);</p><p >A0:=(L+H+C*2)/4;</p><p >A1:EMA(A0,14)COLORWHITE ,LINETHICK2;</p><p >A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;</p><p >A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;</p><p >A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;</p><p >买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED ,LINETHICK3;</p><p >卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3;</p><p >STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLORYELLOW ;</p><p >STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLORYELLOW ;</p><p >STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLORYELLOW ;</p><p >STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLORYELLOW ;</p><p >MA5:MA(C,5),LINETHICK0,COLORFF00FF;</p><p >MA20:=MA(C,20);</p><p >MA30:=MA(C,30);</p><p >MA120:=SMA(C,120,1);</p><p >MTM:=C-REF(C,1);</p><p >DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);</p><p >QSXS1:=MA5>REF(MA5,1);</p><p >QSXS2:=MA20>REF(MA20,1);</p><p >QSXS3:=MA30>REF(MA30,1);</p><p >DTPL:=MA20>MA30 AND MA30>MA120;</p><p >LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;</p><p >GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));</p><p >买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);</p><p >DRAWTEXT(FILTER(买1=1,5),LOW-0.03,'▲ 买'),COLORYELLOW;</p><p >卖1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);</p><p >DRAWTEXT(FILTER(卖1=1,5),HIGH*1.025,'● 卖'),COLOR00FF00;</p><p >VAR6:=REF(C,1);</p><p >VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;</p><p >DRAWTEXT(CROSS(84,VAR7),H*1.01,'顶'),COLORFFFF00;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;</p><p >STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;</p><p >STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p ><b>本人承诺,本人不绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力!</b></p><p ><b>本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取!</b></p> 我都想要,怎么办?
页:
[1]