ihzx 发表于 2021-8-28 00:54:39

通达信庄家出现副图指标公式源码庄家出现


         <p>以下是通达信庄家出现副图指标公式源码庄家出现(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>通达信庄家出现副图指标公式</p>
<p>N:=8;<br>
&nbsp;M:=13;<br>
&nbsp;P:=60;<br>
&nbsp;S:=3;<br>
&nbsp;V1:=(C*2+H+L)/4*10;<br>
&nbsp;V2:=EMA(V1,13)-EMA(V1,34);<br>
&nbsp;V3:=EMA(V2,5);<br>
&nbsp;V4:2*(V2-V3)*5.5;<br>
超大主力吃: IF(V4&gt;=0,V4,0),COLOR7F00FF,LINETHICK2;<br>
超大主力吐: IF(V4&lt;=0,V4,0),COLOR66FF00,LINETHICK1;<br>
&nbsp;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;<br>
&nbsp;V6:=EMA(3*V5-2*SMA(V5,18,1),5);<br>
&nbsp;V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;<br>
&nbsp;V8:=(INDEXC*2+INDEXH+INDEXL)/4;<br>
&nbsp;V9:=EMA(V8,13)-EMA(V8,34);<br>
&nbsp;VA:=EMA(V9,3);<br>
&nbsp;VB:=(V9-VA)/2;<br>
主力吃货线:8,COLORFF80FF,LINETHICK2,CROSSDOT;<br>
&nbsp;DH:=REF(HHV(H,10),2);<br>
&nbsp;DC:=REF(HHV(MAX(C,O),10),2);<br>
&nbsp;XGDH:CROSS(C,DH) AND CROSS(超大主力吃,8);<br>
&nbsp;XGDC:CROSS(C,DC) AND CROSS(超大主力吃,8);<br>
&nbsp;STICKLINE(XGDH OR XGDC,0,8,2,0),COLOR3131FF;<br>
倍量吃货:(XGDH OR XGDC) AND V/REF(V,1)&gt;1.95,COLORYELLOW;<br>
&nbsp;STICKLINE(倍量吃货,0,-8,5,0),COLORYELLOW;<br>
&nbsp;{庄家出现}<br>
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;<br>
&nbsp;K:=SMA(RSV,3,1);<br>
&nbsp;D:=SMA(K,3,1);<br>
&nbsp;J:=3*K-2*D;<br>
&nbsp;J1:=REVERSE(J);<br>
&nbsp;AA:=REF(MA(C,1),10)&gt;REF(MA(C,60),10);<br>
买点:CROSS(J,J1) AND AA;<br>
&nbsp;STICKLINE(买点,0,30,6,0),COLORBLUE;<br>
&nbsp;STICKLINE(买点,30,60,4,0),COLORWHITE;<br>
&nbsp;STICKLINE(买点,60,80,2,0),COLORYELLOW;<br>
&nbsp;DRAWTEXT(买点,70,'庄家出现'),COLORRED;</p>
<p>{主力进出场}<br>
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);<br>
&nbsp;VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);<br>
&nbsp;VAR3:=EMA(VAR2,10);<br>
&nbsp;VAR4:=LLV(LOW,33);<br>
&nbsp;VAR5:=EMA(IF(LOW&lt;=VAR4,VAR3,0),3);<br>
主力进场:IF(VAR5&gt;REF(VAR5,1),VAR5,0),COLORRED,NODRAW;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,3,0 ),COLORRED;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;<br>
&nbsp;STICKLINE(VAR5&gt;REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;<br>
洗盘:IF(VAR5&lt;REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,3,0),COLORGREEN;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,3,0),COLOR005500;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;<br>
&nbsp;STICKLINE(VAR5&lt;REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;<br>
&nbsp;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);<br>
&nbsp;VAR13:=EMA(VAR12,10);<br>
&nbsp;VAR14:=HHV(H,33);<br>
&nbsp;VAR15:=EMA(IF(H&gt;=VAR14,VAR13,0),3);<br>
冲顶:IF(VAR15&gt;REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,3,0 ),COLOR550055;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,2.6,0 ),COLOR770077;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,2.1,0 ),COLOR990099;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,1.5,0 ),COLORBB00BB;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,0.9,0 ),COLORDD00DD;<br>
&nbsp;STICKLINE(VAR15&gt;REF(VAR15,1),0,VAR15,0.3,0 ),COLORFF00FF;<br>
主力出场:IF(VAR15&lt;REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,3,0 ),COLORYELLOW;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,3,0),COLOR005555;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,2.6,0),COLOR007777;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR5,1),0,VAR15,2.1,0),COLOR009999;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD;<br>
&nbsp;STICKLINE(VAR15&lt;REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF;<br>
&nbsp;A1:=REF(CLOSE,2);<br>
&nbsp;A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;<br>
波段介入点:IF(A2&lt;19,19,0)COLORWHITE;<br>
&nbsp;{主力潜伏}<br>
N1:=8;<br>
&nbsp;MTM:=C-REF(C,1);<br>
&nbsp;ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORYELLOW;{N1=9}<br>
&nbsp;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);<br>
&nbsp;DEA:=EMA(DIFF,9);<br>
&nbsp;MACD:=2*(DIFF-DEA);<br>
主力潜伏:COUNT(MACD&lt;0,10)=10,COLORCYAN;<br>
&nbsp;STICKLINE(主力潜伏,0,MACD*(-0.1),2.8,0),LINETHICK6,,COLORCYAN;<br>
&nbsp;DRAWICON(主力潜伏,MACD*(-0.18),28);<br>
&nbsp;DRAWICON(主力潜伏,MACD*(-0.1),26);</p>
<p><br>
</p>
页: [1]
查看完整版本: 通达信庄家出现副图指标公式源码庄家出现