通达信指标:超短吃肉主图指标公式
<p data-first-child ><a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/ma/" class=" wrap external" target="_blank" rel="nofollow noreferrer">ma</a>5:=MA(CLOSE,5),LINETHICK1,COLORYELLOW;</p><p >MA10:=MA(CLOSE,10),LINETHICK1,COLORWHITE;</p><p >AA:IF(MA(C,30)>REF(MA(C,30),1),MA(C,30),DRAWNULL),LINETHICK2,COLORMAGENTA;</p><p >_<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/%25E6%258C%2581%25E4%25BB%2593/" class=" wrap external" target="_blank" rel="nofollow noreferrer">持仓</a>:IF(CLOSE>=<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/SAR/" class=" wrap external" target="_blank" rel="nofollow noreferrer">SAR</a>(4,2,20),<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/sar/" class=" wrap external" target="_blank" rel="nofollow noreferrer">sar</a>(4,2,20),</p><p >DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF};</p><p >_<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/%25E7%25A9%25BA%25E4%25BB%2593/" class=" wrap external" target="_blank" rel="nofollow noreferrer">空仓</a>:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),</p><p >DRAWNULL),CIRCLEDOT,COLORGREEN,{COLOR<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/ddf/" class=" wrap external" target="_blank" rel="nofollow noreferrer">ddf</a>F00};</p><p >_现价:CLOSE,COLORWHITE,NODRAW;</p><p >_10日<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/%25E6%25B6%25A8%25E8%25B7%258C/" class=" wrap external" target="_blank" rel="nofollow noreferrer">涨跌</a>%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;</p><p >给:=EMA(C,2),COLORRED;</p><p >力:=EMA(SLOPE(C,9)*20+C,37);</p><p >买:=<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/cr/" class=" wrap external" target="_blank" rel="nofollow noreferrer">cr</a>OSS(给,力) AND AA;</p><p >卖:=CROSS(力,给) AND AA;</p><p >DRAWICON(买,L*0.97,1);</p><p >DRAWTEXT(买,L*0.95,'<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/%25E4%25B9%25B0%25E8%25BF%259B/" class=" wrap external" target="_blank" rel="nofollow noreferrer">买进</a>'),COLORYELLOW;</p><p >DRAWICON(卖,H*1.03,2);</p><p >DRAWTEXT(卖,H*1.08,'<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/%25E5%258D%2596%25E5%2587%25BA/" class=" wrap external" target="_blank" rel="nofollow noreferrer">卖出</a>'),COLORWHITE;</p><p ><a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/st/" class=" wrap external" target="_blank" rel="nofollow noreferrer">st</a>ICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;</p><p >STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;</p><p >STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;</p><p >STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;</p><p >STICKLINE(给<力,LOW,HIGH,0.01,0),COLORFFDD00;</p><p >STICKLINE(给<力,CLOSE,OPEN,2,0),COLORFFFF00;</p><p >STICKLINE(CROSS(给,力),OPEN,CLOSE,2.5,0),COLORYELLOW;</p><p >STICKLINE(CROSS(力,给),OPEN,CLOSE,2.5,0),COLORWHITE;</p><p >ZT:=C/REF(C,1)>1.098 AND C=H;</p><p >STICKLINE(ZT,O,C,2,0),COLORYELLOW;</p><p >DT:=C/REF(C,1)<0.913 AND C=L;</p><p >STICKLINE(DT,O,C,2,0),COLORBLUE;</p><p >GSZX:=MA(C,5);MA9:=MA(C,10);MA20:=MA(C,20);MA29:=MA(C,30);</p><p >G5:=(C-GSZX)/GSZX*100;BB5:=ATAN((GSZX/REF(GSZX,1)-1)*100)*180/3.1416;</p><p >EW:=<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/SMA/" class=" wrap external" target="_blank" rel="nofollow noreferrer">SMA</a>(EMA((GSZX-REF(GSZX,1))/REF(GSZX,1),3)*100,3,1);GY:=EMA((EW-REF(EW,1)),3);</p><p >G3:=(C-MA29)/MA29*100;BB30:=ATAN((MA29/REF(MA29,1)-1)*100)*180/3.1416;</p><p >TTBV:=MAX(A<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/bs/" class=" wrap external" target="_blank" rel="nofollow noreferrer">bs</a>(HIGH-AMOUNT/<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/vol/" class=" wrap external" target="_blank" rel="nofollow noreferrer">vol</a>/100),ABS(AMOUNT/<a href="https://link.zhihu.com/?target=https%3A//www.gupang.com/all/VOL/" class=" wrap external" target="_blank" rel="nofollow noreferrer">VOL</a>/100-LOW));</p><p >TTYH:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(TTBV+TTYH)/AMOUNT*VOL*100*50;</p><p >龙脉:MA(REF(HHV(C,30),1),2),COLORYELLOW,LINETHICK4;</p><h2>(股市有风险,投资需谨慎)</h2><h2>今天的分享就到这里了!赠人玫瑰,手有余香,喜欢就给笔者一点打赏吧!</h2> 不错不错,楼主您辛苦了。。。 看帖回帖是美德!:lol
页:
[1]