通达信趋势顶底指标(幅图)
<p data-first-child ><b>指标源码:</b></p><p >STICKLINE(C>0,0,10,5,0),COLOR00008A;</p><p >STICKLINE(C>0,10,50,5,0),COLOR63006A;</p><p >STICKLINE(C>0,50,80,5,0),COLOR657600;</p><p >STICKLINE(C>0,80,90,5,0),COLOR00BBBB;</p><p >STICKLINE(C>0,90,100,5,0),COLOR79B715;</p><p >趋势A:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN,LINETHICK2;</p><p >DRAWBAND(趋势A,RGB(110,0,20),50,RGB(60,60,60));</p><p >IF(趋势A>REF(趋势A,1), 趋势A,DRAWNULL), COLORRED,LINETHICK2;</p><p >趋势B:=SMA(趋势A,3,1),COLOR00FFFF, LINETHICK2;</p><p >QSA:趋势A;</p><p >QSB:趋势B;</p><p >DRAWBAND(QSA,RGB(180,0,0),QSB,RGB(0,150,180));</p><p >IF( 趋势A>趋势B,趋势B,DRAWNULL), COLORFF00FF, LINETHICK2;</p><p >IF( 趋势A<趋势B,趋势B,DRAWNULL) ,COLORFFFF00,LINETHICK2;<br/></p><p >RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;</p><p >K:=SMA(RSV,3,1);</p><p >D:=SMA(K,3,1);</p><p >TYP:=(HIGH+LOW+CLOSE)/3;</p><p >CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));</p><p >DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);</p><p >DEA:=EMA(DIFF,6);</p><p >MACD:=2*(DIFF-DEA);</p><p >拐点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);</p><p >STICKLINE(拐点=1,49,51,4,0),COLORFF00FF;</p><p >STICKLINE(拐点=0,49,51,4,0),COLORCYAN;</p><p >VR2:=REF(LOW,1);</p><p >VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;</p><p >VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);</p><p >VR5:=LLV(LOW,30);</p><p >VR6:=HHV(VR4,30);</p><p >VR7:=IF(MA(CLOSE,58),1,0);</p><p >VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;</p><p >VR9:=IF(VR8>100,100,VR8);</p><p >关注主力:IF(VR9>-150,VR9,0),COLORFF00FF,LINETHICK2;</p><p >洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,LINETHICK2;</p><p >DRAWICON(CROSS(趋势A,趋势B),趋势A,13);</p><p >DRAWICON(CROSS(趋势B,趋势A),趋势B,14);</p><p >DRAWICON(CROSS(90,趋势A),98,12);</p><p >STICKLINE(趋势A>=90,102,112,1,0),COLOR00FFFF;<br/></p><p >STICKLINE(趋势A>=80,102,107,1,0),COLORFFFF00;</p><p >STICKLINE(趋势A<=10,-1,-7,1,0),COLOR0000FF;</p><p >STICKLINE(C>0,90,90,2,0),COLORDDDDDD;</p><p >STICKLINE(C>0,80,80,2,0),COLORDDDDDD;</p><p >STICKLINE(C>0,10,10,2,0),COLOR00DDDD;</p><p >DRAWTEXT(CURRBARSCOUNT=38,8,'底部区'),COLOR00FFFF;</p><p >DRAWTEXT(CURRBARSCOUNT=38,35,'反弹区'),COLOR00FFFF;</p><p >DRAWTEXT(CURRBARSCOUNT=38,70,'强势区'),COLOR00FFFF;</p><p >DRAWTEXT(CURRBARSCOUNT=38,87,'风险区'),COLOR0000FF;</p><p >DRAWTEXT(CURRBARSCOUNT=38,97,'逃顶区'),COLOR0000FF;</p><p >DRAWTEXT(CURRBARSCOUNT=38,104,'风险提示'),COLORFFFF00;</p><p >DRAWTEXT(CURRBARSCOUNT=38,110,'逃顶警示'),COLOR00FFFF;</p><p></p> 顶贴光荣! 我是来挣鲜花的,嘿嘿 内容真的很不错 已收藏! 真是 收益 匪浅
页:
[1]