通达信成交量宝典副图指标公式源码
<p>以下是通达信成交量宝典副图指标公式源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>黄芯,庄家进货强,俺也进货等起<br>
粉芯,庄家忙,高抛低吸,俺也去逐<br>
白芯,庄家找底在洗盘,俺也伺机建点仓<br>
绿芯,趋势破,离场急,比耐力,等止跌,莫手痒!<br>
蓝芯,巨量绿尾,庄家出逃慌,俺也赶快去减仓!<br>
巨量下部有蓝色(大单流出)时,说明有主力出逃<br>
</p>
<p>VAR2:=(HIGH - LOW);<br>
VAR3:=ABS((OPEN - CLOSE));<br>
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));<br>
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);<br>
VAR6:=((VAR3 / VAR2) * VOL);<br>
VAR7:=((VAR4 / VAR2) * VOL);<br>
VAR8:=((VAR5 / VAR2) * VOL);<br>
QQ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE < OPEN;<br>
MMM:=CLOSE < EMA(CLOSE,5) AND QQ;<br>
JJJ:CLOSE >= EMA(CLOSE,5) AND QQ;<br>
JJ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE > OPEN;<br>
XX:VAR8 > VAR6 AND VAR8 > VAR7;<br>
MM:VAR7 > VAR6 AND VAR7 > 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>REF(C,1)*1.1,REF(C,1)*1.1,AH),NODRAW;<br>
阻力一:IF(NH>阻力二,(阻力二-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>O),C,O));<br>
V5:=(IF((C>O),O,C)-L);<br>
V6:=((V3/V2)*V);<br>
V7:=((V4/V2)*V);<br>
V8:=((V5/V2)*V);<br>
V9:=IF(((V/CAPITAL)>0.001),1,EXP(ABS(LOG(((V/CAPITAL)*100)))));<br>
VA:=(((C-MA(C,5))/MA(C,5))*100);<br>
VB:=(((MA(C,5)>MA(C,10)) AND (MA(C,10)>MA(C,30))) AND (MA(C,30)>MA(C,60)));<br>
VC:=((MA(C,5)<MA(C,10)) AND (MA(C,10)<MA(C,30)));<br>
逢高出货:DRAWTEXT(((((((((V7>V6) AND (VA>2)) AND (V9>V8)) AND (C>MA(C,5))) AND (C>MA(C,30))) AND (H>MA(C,60))) AND (V>MA(V,5))) AND (V7 >= MA(V,5))),V,'▼逢高出货'),COLORF00FF0;<br>
逢低跟进:DRAWTEXT(((((((V8>V6) AND (V8>V7)) AND (VA<(0-2))) AND (C<MA(C,30))) AND (V8<(MA(V,5)/2))) AND (MA(V,5)<MA(V,10))),V,'▼低进'),COLORFF00FF;<br>
强势参与:DRAWTEXT((((((V6>(MA(V,5)*2)) AND (V6 >= V7)) AND (V6 >= V8)) AND (C>O)) OR ((V>(MA(V,5)*3)) AND VB)),V,'▼强势参与'),COLORCC99CC;<br>
空头释放:DRAWTEXT(((((((V6 >= V7) AND (V6 >= V8)) AND (C<O)) AND ((V6/V)>0.7)) AND VC) AND (V6>MA(V,5))),(V6*2),'▼空头释放'),COLORF00FF0;</p>
<p></p>
页:
[1]