ihzx 发表于 2021-8-22 15:46:37

东财通财富滚滚副图源码

<p>以下是东财通财富滚滚副图源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>东财通财富滚滚副图</p>
<p>BL:=VOL/CAPITAL*100;<br>
&nbsp; 资金进:=SUM(IF(CLOSE&gt;OPEN,BL,0),20);<br>
&nbsp; 资金出:=SUM(IF(CLOSE&lt;=OPEN,BL,0),20);<br>
&nbsp; 资金流向:SUM(资金进-资金出,3);<br>
&nbsp; STICKLINE(资金流向&gt;0,0,资金流向,0.4,0),COLORLIBLUE;<br>
&nbsp; STICKLINE(资金流向&lt;0,0,资金流向,0.8,0),COLORLIGRAY;<br>
&nbsp; VAR2:=IF(MONTH&lt;12,1,1);<br>
&nbsp; VAR3:=(2*CLOSE+HIGH+LOW)/4;<br>
&nbsp; VAR4:=LLV(LOW,34);<br>
&nbsp; VAR5:=HHV(HIGH,34);<br>
&nbsp; 主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK4,COLORRED;<br>
&nbsp; 散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;<br>
&nbsp; DRAWTEXT(CROSS(主力,散户) AND 主力&lt;22,20,'起动'),LINETHICK2,COLOR0099FF;<br>
&nbsp; DRAWICON(CROSS(主力,散户) AND 主力&lt;22,25,1);<br>
&nbsp; DRAWTEXT(CROSS(主力,30) AND 散户&lt;主力,40,'上扬 '),LINETHICK2,COLOR00CCFF;<br>
&nbsp; DRAWICON(CROSS(主力,30) AND 散户&lt;主力,35,1);<br>
&nbsp; DRAWTEXT(CROSS(主力,65) AND 散户&lt;主力,90,'冲顶 '),LINETHICK2,COLOR9933FF;<br>
&nbsp; DRAWICON(CROSS(主力,65) AND 散户&lt;主力,70,2);<br>
&nbsp; DRAWTEXT(CROSS(主力,75) AND 散户&lt;主力,90,'小心被套'),LINETHICK2,COLORLIMAGENTA;<br>
&nbsp; DRAWICON(CROSS(主力,75) AND 散户&lt;主力,80,2);<br>
&nbsp; DRAWTEXT(CROSS(散户,主力) AND 散户&gt;75,95,'头部'),COLORLIRED;<br>
&nbsp; DRAWICON(CROSS(散户,主力) AND 散户&gt;75,85,2);<br>
&nbsp; 买入脉冲:IF(CROSS(主力,散户) AND 主力&lt;35,55,5),LINETHICK3,COLORGREEN;<br>
&nbsp; 卖出脉冲:IF(CROSS(散户,主力) AND 散户&gt;75,75,90),LINETHICK3,COLORRED;<br>
&nbsp; W1:=C=HHV(C,20);<br>
&nbsp; W2:=BARSLAST(W1);<br>
&nbsp; W3:=IF(W2&gt;0,REF(C,W2),REF(C,W2));<br>
&nbsp; W4:=CROSS(C,REF(W3,1));<br>
&nbsp; DRAWICON(W4 AND COUNT(W4,5)=1,85,2);<br>
&nbsp; DRAWTEXT(W4=1,90,'&darr;快走'),COLORYELLOW;</p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 东财通财富滚滚副图源码