海市蜃楼指标(大智慧),追涨停指标(大智慧)
admin888
|海市蜃楼指标(大智慧),追涨停指标(大智慧)
海市蜃楼指标(大智慧)
本指标是从3个成交量指标里提取我认为的精华部分提炼加工而成。完工验图时,突感股市如茫茫大漠,幻真幻假,全凭自己慧眼来找一片绿洲。所以就虚伪了把,取名“海市蜃楼”。现拿出与大家一起分享。(指标内“CURRENTTIME”为返回函数,主要是预测成交量,不影响其他功能的正确率。另自动合计数据功能是我自己编写的,希望带给大家帮助。){“海市蜃楼”注解}(个人观点,仅供参考。)
1.紫色竖条为预测成交量,盘中显示,收盘后消失。
2.灰色实柱是提示成交量有异状。
3.白色实柱表示该成交量是15日内最小成交量。
4.红色实柱为主动净买盘,实柱长短表示净买量多少。净买量为负时,不显示。
5.量能饱和度是指成交量在各个时段的强弱表现。一般饱和度越高风险越大,当满100时,股价又处于波段的高点时,往往预示着顶部的到来;而股价在低位时,非常有可能是主力开始拉升行情的态势。判断顶底还需其他指标配合和分析k线。
6.两条灰色虚线是成交量布林线。当布林线通道长期扁窄,成交量也一直在通道之下,而某日突然拉升,甚至突破通道,可能是主力开始拉升的迹象;而布林通道逐渐变宽,某日成交量突破布林上沿,也往往预示主力拉高出货的动作。
7.在指标界面右击,点“调整指标参数”会出现调整“起始点”和“结束点”数值窗口。当调整数值时,指标界面会出现黄色竖虚线(起始点)和绿色竖虚线(结束点),而上方的“天数”、“累计涨跌”、“累计换手”的数值也会相应变化。参数清零,则竖虚线消失。{"海市蜃楼"源码}
input:起始点(0,0,1000),结束点(0,0,1000);
成交量:vol,pRECIS0,VOLstICK;
{主动买卖盘}BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
净买卖:=主动买+主动卖;
STICKLINE(净买卖>0,0,净买卖,5,0),LAYER1,COLOR5B5BFF;
{预测成交量}T:=CURRENTTIME;
H1:=intpart(T / 10000);
MM:=intpart(mod(T,10000)/100);
A1:=if(between(t,93000,113000),60*(h1-9)+mm-30,120;
A2:=if(between(t,130000,150000) and t>113000,60*(h1-13)+mm+120,240);
A:=if(t<130000,a1,a2);
预测量:IF(BARSTATUS=2,VOL*240/A,VOL),pRECIS0,linethick0,COLORFB64D6;
STICKLINE(预测量>vol and t>93000 and t<150000,0,预测量,2,0),LAYER6,COLORFB64D6;
{15日最小量}stickline(v=llv(v,15),0,v,5,0),COLORWHITE;
{突变}突变:=v+ref(v,1)>=(ref(v,2)+ref(v,3)+ref(v,4)+ref(v,5)+ref(v,6))/5*3 and v<2*ref(v,1) and c>o and c>ma(c,21);
stickline(突变,0,v,5,0),COLOR5D5D5D;
{变盘}V2:=IF(BARSTATUS=2,预测量/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,0,v,5,0),COLOR5D5D5D;
{大盘变盘}大盘变盘:=c>=hhv(c,15) and v>=hhv(v,15);
stickline(大盘变盘,0,v,5,0),COLOR5D5D5D;
{饱和度}量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORBA75FF,precis0,LINETHICK0;
{定点线}起始日:=filter(backset(BARSTATUS=2,起始点),起始点);
结束日:=filter(backset(BARSTATUS=2,结束点),结束点);
VERTLINE(起始日,1),LAYER0,coloryellow;
VERTLINE(结束日,1),LAYER0,colorgreen;
天数:起始点-结束点+1,pRECIS0,linethick0,colorwhite;
{换手率}换手率:=v/capital*100;
累计涨跌:sum((c/ref(c,1)-1)*100,天数),pRECIS2,linethick0,COLOR8C8CFF;
累计换手:sum(换手率,天数),pRECIS2,linethick0,COLOR77CBFD;
{成交量布林线}下布林线: MA(vol,20),precis0,LAYER7,DOTLINE,COLOR5D5D5D;上布林线:下布林线 + 2*STddeV(v,20),precis0,LAYER7,DOTLINE,COLOR5D5D5D;
追涨停指标(大智慧)
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=ema(R,3);
D:=Ema(K,3);
十二倍:20,colorred;
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20170110));
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20170110));获利盘:=(WINNER(CLOSE))*(100);
获利线:=FORCAst(获利盘,7);
线:=(FORCAST(VAR1A,7))*((DATE < 20070110));
满仓:=((线 > REF(线,1)) and (线 < 25) and (COUNT((线 > REF(线,1)),5) = 1) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0))*(40);
STICKLINE(满仓,0,40,5,0),Color008000;
DRAWTEXT(满仓,45,'满仓'),Color008000;
轻仓:=IF((获利盘 >= 60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT((线 > REF(线,1)),5) = 1) and (REF(N,1) = 6),1,0);
STICKLINE(轻仓,20,D,4,1),ColorFF00FF;
DRAWTEXT(轻仓,45,'轻仓'),ColorFF00FF;
出击:=crOSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(获利盘 < 70),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0);
STICKLINE(出击,0,50,3,1),Color44BB00;
DRAWTEXT(出击,55,'出击'),colorred;
进一:=CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);
进二:=CROSS(线,获利线) and (D > 30) and (获利线 > 25) and (D > REF(D,1));
低进:=IF(进一 and (D > 获利线),进二,进一);
DRAWTEXT(低进,30,'低进'),ColorFF0000;
STICKLINE(低进,20,30,3,1),Color000080;
DRAWTEXT(进二,50,'高进'),Color800080;
STICKLINE(进二,30,50,3,1),coloryellow;
狂喜:=(30)*(CROSS(VAR1,(-2)));
STICKLINE(狂喜,0,20,3,1),coloryellow;
DRAWTEXT(狂喜,(-5),'要涨停'),coloryellow;
狂喜过望:=(50)*((VAR1 = 0));
恐慌: ( -20)*((VAR1 < (-94))),ColorC1C1C1;
STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;
DRAWTEXT(恐慌,(-25),'恐慌'),ColorC1C1C1;
极度恐慌: ( -40)*((VAR1 = (-100))),Color800000;
STICKLINE(极度恐慌,0,(-40),7,1),Color800000;
DRAWTEXT(极度恐慌,(-45),'极度恐慌'),Color800000;
半仓:=(30)*(CROSS(VAR1,(-94)) and (COUNT(恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0));
STICKLINE(半仓,0,30,4,1),ColorFFFF00;
DRAWTEXT(半仓,35,'半仓'),ColorFFFF00;
加仓:=(30)*(CROSS(K,20) and (COUNT(半仓,5) > 0));
STICKLINE(加仓,0,20,6,1),Color808080;
DRAWTEXT(加仓,25,'加仓'),Color808080;
背离:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 > REF(VAR1,1));
DRAWICON(背离,0,1),ColorFFFFFF;
操盘:60,ColorFFFF00;
(-55),colorred;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。