通达信主力资金副图指标公式源码
<p data-first-child >主力资金通达信副图指标<br/>需要开通通达信L2支持</p><p >源码:</p><p >{资金流向}<br/>超B1:=L2_AMO(0,2)/10000.0;<br/>大B1:=L2_AMO(1,2)/10000.0;<br/>中B1:=L2_AMO(2,2)/10000.0;<br/>小B1:=L2_AMO(3,2)/10000.0;<br/>超S1:=L2_AMO(0,3)/10000.0;<br/>大S1:=L2_AMO(1,3)/10000.0;<br/>中S1:=L2_AMO(2,3)/10000.0;<br/>小S1:=L2_AMO(3,3)/10000.0;<br/>资金流向:(超B1+大B1+中B1+小B1)-(超S1+大S1+中S1+小S1),COLORMAGENTA,NODRAW;<br/><br/> <br/>动态市值:=FINANCE(46)/10000/10000*C,NODRAW;<br/>超B:=L2_AMO(0,0)/10000.0,NODRAW;<br/>大B:=L2_AMO(1,0)/10000.0,NODRAW;<br/>中B:=L2_AMO(2,0)/10000.0,NODRAW;<br/>小B:=L2_AMO(3,0)/10000.0,NODRAW;<br/><br/> <br/>超S:=L2_AMO(0,1)/10000.0,NODRAW;<br/>大S:=L2_AMO(1,1)/10000.0,NODRAW;<br/>中S:=L2_AMO(2,1)/10000.0,NODRAW;<br/>小S:=L2_AMO(3,1)/10000.0,NODRAW;<br/><br/> <br/>主力流入:(超B)-(超S),COLORRED,NODRAW;<br/>散户:=(中B+小B)-(中S+小S),NODRAW;<br/>{主力封板:(AMOUNT/10000.0)-ABS(主力流入)-ABS(散户),NODRAW;}<br/>市值比%:IF(主力流入>0,(主力流入)/10000/动态市值*100,0),COLORBLUE,NODRAW;<br/>散户资金:散户,COLORLICYAN,NODRAW;<br/><br/> <br/>STICKLINE(主力流入>0,0,主力流入,3,0),COLORRED;<br/>STICKLINE(散户资金<0 ,0,散户资金,3,0),COLORGREEN;<br/>STICKLINE(散户资金>0,0,散户资金,3,0),COLORGREEN;<br/>STICKLINE(主力流入<0,0,主力流入,3,0),COLORRED;</p><p ><br/><br/> <br/>DRAWNUMBER(市值比%>=0.7 AND 主力流入 > 0,主力流入*1.5,主力流入),COLORMAGENTA,LINETHICK2;</p> 希望更多人一起分享,感谢! 这个资源我有了,不过还是感谢楼主分享 只为积分!感谢!
页:
[1]