ihzx 发表于 2021-8-28 00:19:58

通达信成交量宝典副图指标公式源码


         <p>以下是通达信成交量宝典副图指标公式源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>黄芯,庄家进货强,俺也进货等起<br>
&nbsp;粉芯,庄家忙,高抛低吸,俺也去逐<br>
&nbsp;白芯,庄家找底在洗盘,俺也伺机建点仓<br>
&nbsp;绿芯,趋势破,离场急,比耐力,等止跌,莫手痒!<br>
蓝芯,巨量绿尾,庄家出逃慌,俺也赶快去减仓!<br>
巨量下部有蓝色(大单流出)时,说明有主力出逃<br>
&nbsp;</p>
<p>VAR2:=(HIGH - LOW);<br>
VAR3:=ABS((OPEN - CLOSE));<br>
VAR4:=(HIGH - IF((CLOSE &gt; OPEN),CLOSE,OPEN));<br>
VAR5:=(IF((CLOSE &gt; OPEN),OPEN,CLOSE) - LOW);<br>
VAR6:=((VAR3 / VAR2) * VOL);<br>
VAR7:=((VAR4 / VAR2) * VOL);<br>
VAR8:=((VAR5 / VAR2) * VOL);<br>
QQ:=VAR6 &gt;= VAR7 AND VAR6 &gt;= VAR8 AND CLOSE &lt; OPEN;<br>
MMM:=CLOSE &lt; EMA(CLOSE,5) AND QQ;<br>
JJJ:CLOSE &gt;= EMA(CLOSE,5) AND QQ;<br>
JJ:=VAR6 &gt;= VAR7 AND VAR6 &gt;= VAR8 AND CLOSE &gt; OPEN;<br>
XX:VAR8 &gt; VAR6 AND VAR8 &gt; VAR7;<br>
MM:VAR7 &gt; VAR6 AND VAR7 &gt; VAR8;<br>
CDP:=REF(H+L+C,1)/3;<br>
PT:=REF(H,1)-REF(L,1);<br>
AH:=CDP+PT;<br>
NH:=CDP*2-REF(L,1);<br>
平衡:REF(H+L+C,1)/3,NODRAW;<br>
阻力二:IF(AH&gt;REF(C,1)*1.1,REF(C,1)*1.1,AH),NODRAW;<br>
阻力一:IF(NH&gt;阻力二,(阻力二-CDP)*0.618+CDP,NH),NODRAW;<br>
支撑一:CDP*2-REF(H,1),NODRAW;<br>
支撑二:CDP-REF(H-L,1),NODRAW;<br>
MAVOL5:MA(VOL,5),COLOREE00EE,LINETHICK2;<br>
MAVOL35:MA(VOL,35),COLOR00FFFF,LINETHICK2;<br>
实量:V,VOLSTICK;<br>
STICKLINE(JJ=1,0,实量*0.9,0.6,0),COLORYELLOW;<br>
STICKLINE(MM=1,0,实量*0.9,0.6,0),COLORMAGENTA;<br>
STICKLINE(XX=1,0,实量*0.9,0.6,0),COLORWHITE;<br>
STICKLINE(JJJ=1,0,实量*0.9,0.6,0),COLORGREEN;<br>
STICKLINE(MMM=1,0,实量*0.9,0.6,0),COLORBLUE;<br>
DRAWTEXT_FIX(1,0.01,0.05,0,'【加仓】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.05,0,'黄芯,庄家进货强,俺也进货等起航'),COLOR00FFFF,LINETHICK2;<br>
DRAWTEXT_FIX(1,0.01,0.15,0,'【高抛】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.15,0,'粉芯,庄家忙,高抛低吸,俺也去逐浪'),COLORFF00FF,LINETHICK2;<br>
DRAWTEXT_FIX(1,0.01,0.25,0,'【洗盘】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.25,0,'白芯,庄家找底在洗盘,俺也伺机建点仓'),COLORFFFFFF,LINETHICK2;<br>
DRAWTEXT_FIX(1,0.01,0.35,0,'【莫痒】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.35,0,'绿芯,趋势破,离场急,比耐力,等止跌,莫手痒!'),COLORGREEN,LINETHICK2;<br>
DRAWTEXT_FIX(1,0.01,0.45,0,'【减仓】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.45,0,'蓝芯,巨量绿尾,庄家出逃慌,俺也赶快去减仓!'),COLORFF9900,LINETHICK2;<br>
DRAWTEXT_FIX(1,0.01,0.55,0,'【注意】')COLOR00FFFF;<br>
DRAWTEXT_FIX(1,0.1,0.55,0,'巨量下部有蓝色(大单流出)时,说明有主力出逃!'),COLOR00FF00,LINETHICK2;<br>
{VOLUME:=VOL,VOLSTICK;<br>
N:=51;<br>
M:=6;<br>
主力净买量:(LARGEINTRDVOL-LARGEOUTTRDVOL),LINETHICK3;}<br>
V2:=(H-L);<br>
V3:=ABS((O-C));<br>
V4:=(H-IF((C&gt;O),C,O));<br>
V5:=(IF((C&gt;O),O,C)-L);<br>
V6:=((V3/V2)*V);<br>
V7:=((V4/V2)*V);<br>
V8:=((V5/V2)*V);<br>
V9:=IF(((V/CAPITAL)&gt;0.001),1,EXP(ABS(LOG(((V/CAPITAL)*100)))));<br>
VA:=(((C-MA(C,5))/MA(C,5))*100);<br>
VB:=(((MA(C,5)&gt;MA(C,10)) AND (MA(C,10)&gt;MA(C,30))) AND (MA(C,30)&gt;MA(C,60)));<br>
VC:=((MA(C,5)&lt;MA(C,10)) AND (MA(C,10)&lt;MA(C,30)));<br>
逢高出货:DRAWTEXT(((((((((V7&gt;V6) AND (VA&gt;2)) AND (V9&gt;V8)) AND (C&gt;MA(C,5))) AND (C&gt;MA(C,30))) AND (H&gt;MA(C,60))) AND (V&gt;MA(V,5))) AND (V7 &gt;= MA(V,5))),V,'▼逢高出货'),COLORF00FF0;<br>
逢低跟进:DRAWTEXT(((((((V8&gt;V6) AND (V8&gt;V7)) AND (VA&lt;(0-2))) AND (C&lt;MA(C,30))) AND (V8&lt;(MA(V,5)/2))) AND (MA(V,5)&lt;MA(V,10))),V,'▼低进'),COLORFF00FF;<br>
强势参与:DRAWTEXT((((((V6&gt;(MA(V,5)*2)) AND (V6 &gt;= V7)) AND (V6 &gt;= V8)) AND (C&gt;O)) OR ((V&gt;(MA(V,5)*3)) AND VB)),V,'▼强势参与'),COLORCC99CC;<br>
空头释放:DRAWTEXT(((((((V6 &gt;= V7) AND (V6 &gt;= V8)) AND (C&lt;O)) AND ((V6/V)&gt;0.7)) AND VC) AND (V6&gt;MA(V,5))),(V6*2),'▼空头释放'),COLORF00FF0;</p>
<p></p>
页: [1]
查看完整版本: 通达信成交量宝典副图指标公式源码