通达信手机指标源码一目了然,一键复制快捷方便
<h2 data-first-child>第一个源码:趋势波段指标</h2><p >趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)</p><p >-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)</p><p >-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)</p><p >,3,1),2,1),COLOR7F52AF;</p><p >趋势1:EMA(MA(趋势,5),3),COLORA6B8C1;</p><p >STICKLINE(趋势>=趋势1,趋势,趋势1,2,0),COLOR7F52AF;</p><p >STICKLINE(趋势<趋势1,趋势,趋势1,2,0),COLORA6B8C1;</p><p >STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,2,0),COLORBLUE ;</p><p >STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,2,0),COLORWHITE;</p><p >STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,2,0),COLORF00FF0 ;</p><p >STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,2,0),COLORF0F000;</p><p >V1:=MA(C,5)=HHV(MA(C,5),20);</p><p >V2:=MA(C,5)>MA(C,20);</p><p >V3:=COUNT(MA(C,1)>REF(C,1),3)=3;</p><p >风险:IF(V1 AND V2 AND V3,30,0),STICK,COLOR00FF00;</p><p >V11:=MA(C,5)=HHV(MA(C,5),120);</p><p >V21:=MA(C,5)>MA(C,120);</p><p >V31:=COUNT(MA(C,1)>REF(C,1),3)=3;</p><p >风险1:IF(V11 AND V21 AND V31,60,0),STICK,COLORF0F000;</p><p >底部:5;</p><p >抄底:IF(CROSS(趋势,底部),60,0),STICK,COLORYELLOW,LINETHICK4;</p><p >DRAWTEXT(抄底,50,'抄底'),COLORRED;</p><p >天线:108,COLORFF9D00;</p><p >逃顶:IF(CROSS(天线,趋势),1,0),STICK,COLORFF9D00;</p><p >STICKLINE(CROSS(天线,趋势),90,108,6,0),COLORFF9D00;</p><p ><b>如图所示:</b></p><p class="ztext-empty-paragraph"><br/></p><p><br/><br/><br/></p><p class="ztext-empty-paragraph"><br/></p><h2>第二个源码:找底很准的雷达指标</h2><p >LC:=REF(CLOSE,1);</p><p >RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;</p><p >AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;</p><p >卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;</p><p >VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;</p><p >VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;</p><p >VARD:=BARSCOUNT(CLOSE);</p><p >低位买点:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*200,LINETHICK2,COLOR00FF00;</p><p >BT1:=CROSS(RSI1,25);</p><p >主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;</p><p >散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORA607C0;</p><p >BT2:=CROSS(主力,散户) AND 主力<-10;</p><p >BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);</p><p >买:IF(BT2,200,0),STICK,COLOR0000FF,LINETHICK3;</p><p ><b>如图所示:</b></p><p class="ztext-empty-paragraph"><br/></p><p><br/><br/><br/></p><h2>第三个源码</h2><p >VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);</p><p >趋势线: EMA(VAR1,8);</p><p >趋势均线:MA(趋势线,8);</p><p >阶段底部: IF(趋势线<5,45,0);</p><p >抓住机会: IF(CROSS(趋势线,5),100,0),COLORYELLOW;</p><p >VAR3:=(C+H+L+O)/4;</p><p >VAR4:=LLV(L,34);</p><p >VAR5:=HHV(H,34);</p><p >VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8);</p><p >VAR7:=EMA(VAR6,5);</p><p >STICKLINE((VAR6-VAR7)>0,VAR6,VAR7,8,1),COLORRED;</p><p >STICKLINE((VAR6-VAR7)<0,VAR6,VAR7,8,1),COLORGREEN;</p><p >买:IF(CROSS(趋势线,趋势均线) AND 趋势线<15,50,0),COLORRED;</p><p >卖:IF(CROSS(趋势均线,趋势线) AND 趋势线>80,50,100),COLORGREEN;</p><p >顶部区域:STICKLINE(VAR7>80,100,105,10,1),COLORCYAN;</p><p >底部区域:STICKLINE(VAR7<20,-5,0,8,1),COLORYELLOW;</p><p >判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);</p><p >买参考:IF(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断</p><p ><25 ,35,1),COLORWHITE,POINTDOT;</p><p >STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断</p><p ><25 ,35,0,4,1),COLORWHITE;</p><p >卖参考:IF(FILTER(判断<REF(判断,1)AND 判断</p><p >>65,5),80,70),COLOR00FF00,POINTDOT;</p><p >STICKLINE(FILTER(判断<REF(判断,1)AND 判断</p><p >>65,5),80,70,4,0),COLOR00FF00;</p><p ><b>如图所示:</b></p><p class="ztext-empty-paragraph"><br/></p><p >(本文由 公众号 :全胜财经整理,仅供参考,不构成操作建议。如自行操作,注意仓位控制和风险自负)</p>
页:
[1]