龙头战法爱好者 发表于 2024-5-9 00:25:00

通达信超级逃顶专家主图指标,助你股海擒牛!

<p data-first-child></p><p ><b>指    标    源    码</b></p><p >基础线:MA(C,5),LINETHICK3,COLOR00CCFF;</p><p >刚柔线:MA(C,13),CIRCLEDOT,COLORYELLOW;</p><p >生命线:MA(C,34),CIRCLEDOT,COLORMAGENTA;</p><p >MA05:=MA(C,5);</p><p >MA10:=MA(C,10);</p><p >MA20:=MA(C,20);</p><p >MA30:=MA(C,30);</p><p >五日乖离率:=(C-MA05)/MA05*100;</p><p >BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;</p><p >速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);</p><p >加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;</p><p >IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;</p><p >BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;</p><p >IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;</p><p >三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;</p><p >VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);</p><p >VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);</p><p >BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;</p><p >强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);</p><p >加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)</p><p >AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;</p><p >清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);</p><p >DRAWTEXT(加仓 ,LOW*0.98,'◆加二'),COLORYELLOW;</p><p >JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;</p><p >减仓:=FILTER(JC,10);通达信指标公式:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;</p><p >MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;</p><p >买入:=FILTER(MR,10);</p><p >DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;</p><p >DRAWTEXT(买入,LOW*0.96,'◆买二'),COLORYELLOW;</p><p >DRAWTEXT(清仓 ,HIGH*1.00,'◆清仓'),COLORGREEN;</p><p >VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));</p><p >VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);</p><p >MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;</p><p >压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;</p><p >支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;</p><p >TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);</p><p >TYX4:=MA((C+L+O+H)/4,13);</p><p >TYX5:=EMA((C+L+O+H)/4,21);</p><p >STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;</p><p >STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;</p><p >STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700;</p><p >STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500;</p><p >STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600;</p><p >STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700;</p><p >STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44;</p><p >STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700;</p><p >STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22;</p><p >STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44;</p><p >STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;</p><p >STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;</p><p >STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;</p><p >STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;</p><p >STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;</p><p >STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;</p><p >STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;</p><p >STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;</p><p >STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;</p><p >STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;</p><p >STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;</p><p >STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;</p><p >STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;</p><p >STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;</p><p >STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;</p><p >STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;</p><p >STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;</p><p >STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;</p><p >STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;</p><p >MA18:=MA(CLOSE,18);</p><p >MTM:=C-REF(C,1);</p><p >DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);</p><p >买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));</p><p >DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;</p><p >加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);</p><p >DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;</p><p >卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);</p><p >DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;</p><p >AA1:=AMOUNT/V;</p><p >BB1:=L<AA1*0.9;</p><p >CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;</p><p >DD1:=L<MA(C,5)*0.921;</p><p >EE1:=V<MA(V,5)*1.5;</p><p >FF1:=BB1 AND CC1 AND DD1 AND EE1;</p><p >DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;</p><p >XXS:=MA(LOW,5)*(1-5/100);</p><p >XXS1:=MA(HIGH,5)*(1+5/100);</p><p >均线:=C,COLORGREEN;</p><p >AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;</p><p >DRAWTEXT_FIX(1,0.980,20,1,'缠论君★微信号:chanlun6'),COLOR666666;</p><p >DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;</p><p >BBAA:=CROSS(XXS1,C);</p><p >DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;</p><p >DDDD:=CROSS(C,XXS1);</p><p >DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;</p><p >AAA:=MA(LOW,5)*(1-5/100);</p><p >BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;</p><p >DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←兄弟回头棍'),COLORWHITE;</p><p >DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);</p><p >DEA:=EMA(DIF,9);</p><p >DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'←散户回头棍'),COLORMAGENTA;</p><p >VSR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;</p><p >VSR3:=SMA(VSR2,4,1);</p><p >VSR4:=SMA(VSR3,2,1);</p><p >DRAWTEXT(VSR4>82 AND VSR3>89,HHV(C,30)*1.02,'收'),COLORGREEN;</p>
页: [1]
查看完整版本: 通达信超级逃顶专家主图指标,助你股海擒牛!