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