先祝朋友们:节日快乐!
一,构思:
我用通达信用主合面版比较多。看盘,分析,选股,操作基本上都在主合面版上。往往一个主合面版上有两到三个分析图,因此一个分析图上就不能有
较多的副图。在日线主图上,量图必可少。若量图上还有其它指标作用,就不需要多个副图了。【盛唐量图】就基於上述思考而作。
二,【盛唐量图】指标构成;
1,量图是用换手作图。功能与我〈股海看量〉相似,近似的反应买卖盘走势。
当日用预测量作图。另增四天放大作图以作对比和饱和度作图。饱和度的舍意为;当天的量价系数与20天最大系数之比(参数k=1时这部分图可去掉)。
2,〈同舟共舞〉的主要内容也在其中。【盛唐量图】除日周期外其它周期为纯量图。主合面版的60分和15分的付图用〈同舟共舞〉以便作走势分折。
多种kd和 macd(电扦和房子)为主要分析指标。
{盛唐量图}
{参数n:(1,100,5) k(0,1,0)}
量:v,nodraw;
换手:if(period=5 and c<300,v/capital*100,v/3),nodraw;
drawband(100,rgb(180,100,100),0,rgb(0,0,0));
dif:=(ema(close,12)-ema(close,26))*100/ceiling(c/8)+50;
dea:=ema((ema(close,12)-ema(close,26)),9)*100/ceiling(c/8)+50;
macd:=(dif-dea)*2+50;
注意:=llv(low,10);
防顶:=hhv(h,25);
来到:=ema((c-注意)/(防顶-注意)*4,4);
vara:=ema(ref(close,1),4);
色彩峰:=(sma(max(close-vara,0),6,1)/sma(abs(close-vara),6,1)*30)+50;
drawicon(cross(3.5,来到),色彩峰*1.01,13);
drawband(色彩峰,rgb(00,100,80),50,rgb(0,0,0));
drawband(50,rgb(0,150,150),0,rgb(0,0,0));
stickline(macd>=50,50,macd,4,0),color666666;
stickline(macd>=50 and macd>ref(macd,1),50,macd,3,0),coloreaeaea;
stickline(macd<50 and macd>ref(macd,1),50,(50-macd)*0.5+50,0,0),colorffffff;
tt:=240/fromopen;
比:=tt;
wj:=(h+l+c)/3;
v1:=if(h=l,1,h-max(o,c));
v2:=if(h=l,1,max(c,o)-wj);
v3:=if(h=l,1,min(o,c)-l);
v4:=if(h=l,1,wj-min(c,o));
v5:=vol/if(h=l,4,h-l);
v6:=(v1*v5);
v7:=(v2*v5);
v8:=(v3*v5);
v9:=(v4*v5);
买盘1:=dynainfo(23)*比;
卖盘1:=dynainfo(22)*比;
买盘2:=if(islastbar and c>300,(v9+v8)*tt,(v9+v8));
卖盘2:=if(islastbar and c>300,(v6+v7)*tt,(v6+v7));
买盘:=if(islastbar and period=5 and c<300,买盘1,买盘2);
卖盘:=if(islastbar and period=5 and c<300,卖盘1,卖盘2);
买卖差1:=买盘-卖盘;
换手买:=if(period=5 and c<300,买盘/capital*100,买盘/3);
换手卖:=if(period=5 and c<300,卖盘/capital*100,卖盘/3);
买卖差:=换手买-换手卖;
买卖:=换手买+换手卖;
昨v:=ref(买卖,1);
昨换手买:=ref(换手买,1);
昨换手卖:=ref(换手卖,1);
前v:=ref(买卖,2);
前换手买:=ref(换手买,2);
前换手卖:=ref(换手卖,2);
大前v:=ref(买卖,3);
大前换手买:=ref(换手买,3);
大前换手卖:=ref(换手卖,3);
最大1:=max(大前v,前v);
最大2:=max(昨v,买卖);
最大:=max(最大1,最大2),nodraw;
mm0:=最大/58,nodraw;
mm1:=const(intpart(大前v/mm0)),nodraw;
mm2:=const(intpart(前v/mm0)),nodraw;
mm3:=const(intpart(昨v/mm0)),nodraw;
mm4:=const(intpart(买卖/mm0)),nodraw;
mm11:=const(intpart(大前换手买/mm0)),nodraw;
mm22:=const(intpart(前换手买/mm0)),nodraw;
mm33:=const(intpart(昨换手买/mm0)),nodraw;
mm44:=const(intpart(换手买/mm0)),nodraw;
mm111:=const(intpart(大前换手卖/mm0)),nodraw;
mm222:=const(intpart(前换手卖/mm0)),nodraw;
mm333:=const(intpart(昨换手卖/mm0)),nodraw;
mm444:=const(intpart(换手卖/mm0)),nodraw;
hd :=high-ref(high,1);
ld :=ref(low,1)-low;
dmp:=expmema(if(hd>0&&hd>ld,hd,0),14);
dmm:=expmema(if(ld>0&&ld>hd,ld,0),14);
ak:=ema((dmp-dmm)*1,3)*100+50,colorffffff;
ad:=ema((ma(dmp,3)-ma(dmm,3))*1,3)*100+50,colorffffff;
绝对a:=40/100;
var1:=hhv(high,18);
猎熊high:=(var1-low)/var1;
猎熊low:=(var1-high)/var1;
南熊线:=猎熊high;
tr:=ema(max(max(high-low,abs(high-ref(close,1))),abs(ref(close,1)-low)),n);
pdi:= dmp*100/tr;
mdi:= dmm*100/tr;
adx:= ema(abs(mdi-pdi)/(mdi+pdi)*100,6);
基本超跌线:=ma(hhv(猎熊low,n),21);
西熊线:=ema(count(close>ref(close,1),12),3 )/24;
北熊线:=adx*hhv(南熊线,60)/hhv(adx,60);
t:=abs(if(北熊线+南熊线-西熊线*2>0,北熊线+南熊线-西熊线*2,0));
点熊线:=ema(t,3);
点熊辅线:=(slope (点熊线,7)+1)*ref(点熊线,1);
drawband(点熊线*100,rgb(255,00,00),0,rgb(00,00,00));
drawband(点熊辅线*100,rgb(255,255,00),0,rgb(0,00,00));
stickline(c>=o,0,(换手买+换手卖)*n,2.2,1),colorred;
stickline(c<o,0,(换手买+换手卖)*n,2.2,1),colorffff00;
stickline(买卖差>=0,0,换手买*n,1.5,0),colorred;
stickline(买卖差>=0 and c>=ma(c,30),0,换手买*n,2.2,0),colorred;
stickline(买卖差>=0,0,换手卖*n,0.8,0),color998800;
stickline(买卖差>=0 and c>=ma(c,30),0,换手卖*n,1,0),colorddcc00;
stickline(买卖差<0,0,换手买*n,1.8,0),colorred;
stickline(买卖差<0 and c>=ma(c,30),0,换手买*n,2.2,0),colorred;
stickline(买卖差<0,0,换手卖*n,0.8,0),color998800;
stickline(买卖差<0 and c>=ma(c,30),0,换手卖*n,1,0),colorddcc00;
stickline(1,0,max(换手买*n,换手卖*n),0,0),colorffffff;
var11:=(2*close+high+low)/4;
var22:=llv(low,34);
var33:=hhv(high,34);
散户:= ema((var11-var22)/(var33-var22)*100,13);
新庄:= ema(0.667*ref(散户,1)+0.333*散户,2);
散户1:=if(k=0,散户,drawnull);
新庄1:=if(k=0,新庄,drawnull);
ak1:=if(k=0,ak,drawnull);
ad1:=if(k=0,ad,drawnull);
drawband(散户1,rgb(255,255,00),新庄1,rgb(0,255,00));
drawband(ak,rgb(255,00,00),ad,rgb(0,255,255));
逢低吸呐:if(cross(散户,新庄) and 散户<40 and currbarscount<30,25,10),colorred,linethick2;
逢高减磅:if(cross(新庄,散户) and 新庄>75 and currbarscount<30,75,90),colorgreen,linethick2;
p1:=if(barslast(currbarscount=mm1),1,0);
p2:=if(barslast(currbarscount=mm2),1,0);
p3:=if(barslast(currbarscount=mm3),1,0);
p4:=if(barslast(currbarscount=mm4),1,0);
stickline(k=0 and currbarscount=60 and const(p1),94,100,mm1*3,1),colorffff00;
stickline(k=0 and currbarscount=60 and const(p2),84,90,mm2*3,1),colorffff00;
stickline(k=0 and currbarscount=60 and const(p3),74,80,mm3*3,1),colorffff00;
stickline(k=0 and currbarscount=60 and const(p4),64,70,mm4*3,1),colorffff00;
stickline(k=0 and currbarscount=60 and const(p1 and ref(c,3)>=ref(o,3)),94,100,mm1*3,1),color0000ff;
stickline(k=0 and currbarscount=60 and const(p2 and ref(c,2)>=ref(o,2)),84,90,mm2*3,1),color0000ff;
stickline(k=0 and currbarscount=60 and const(p3 and ref(c,1)>=ref(o,1)),74,80,mm3*3,1),color0000ff;
stickline(k=0 and currbarscount=60 and const(p4 and c>=o),64,70,mm4*3,1),color0000ff;
stickline(k=0 and currbarscount=60 and const(p1),94.5,99.5,mm11*3,0),color0000ff;
stickline(k=0 and currbarscount=60 and const(p2),84.5,89.5,mm22*3,0),color0000ff;
stickline(k=0 and currbarscount=60 and const(p3),74.5,79.5,mm33*3,0),color0000ff;
stickline(k=0 and currbarscount=60 and const(p4),64.5,69.5,mm44*3,0),color0000ff;
stickline(k=0 and currbarscount=60 and const(p1),96,98,mm111*3,0),colorffff00;
stickline(k=0 and currbarscount=60 and const(p2),86,88,mm222*3,0),colorffff00;
stickline(k=0 and currbarscount=60 and const(p3),76,78,mm333*3,0),colorffff00;
stickline(k=0 and currbarscount=60 and const(p4),66,68,mm444*3,0),colorffff00;
stickline(k=0 and currbarscount=60 and c>0,0,100,0,0),color00ffff;
sat:=((买盘+卖盘)/c)/(hhv(v,20)/hhv(c,20));
量能饱和:=if(sat>1,1,sat)*100;
stickline(k=0 and currbarscount=60,48 ,38,100,1),color00dddd;
stickline(k=0 and currbarscount=60,47,39,量能饱和,0),color0033ff;
stickline(k=0 and currbarscount=60,44,42,量能饱和,0),color00ddff;
红红的天:=3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)
-2*sma(sma((close-llv(low,27))/(hhv(high,27)
-llv(low,27))*100,5,1),3,1);
if(cross(红红的天,2),70,drawnull),crossdot,linethick6,colorff77ff;
l1:=(close-llv(low,11))/(hhv(high,11)-llv(low,11))*100-10;
凤k:sma(l1,3,1),colorffffff;
凤d:sma(凤k,3,1),colorffffff;
a:=ema((ma(dmp,3)-ma(dmm,3))*1.1,3)/2+0.125;
b:=ema((dmp-dmm)*1.1,3)/2+0.125;
完美理想:=猎熊low >=0.5 and 基本超跌线>=0.5 and 猎熊low >基本超跌线 ;
第一理想:=完美理想=0 and 猎熊low>绝对a and 基本超跌线>绝对a and 猎熊low>基本超跌线;
残缺理想:=猎熊low>0.3 and 基本超跌线>0.3 and 猎熊low>基本超跌线 and 第一理想=0 and 完美理想=0;
点熊成金:=点熊线>基本超跌线 and cross(点熊辅线,点熊线)and 点熊辅线>ref(点熊辅线,1);
捕获小熊:=cross(点熊线,0.125);
选1:=cross(b,a) and (完美理想 or 第一理想 or 残缺理想);
选2:=(点熊成金 or 捕获小熊) and cross(b,a) and 基本超跌线<0.15;
stickline(选1 or 选2 or ( cross(ak,ad) and cross(凤k,凤d) and 凤k<75) or (cross(ak,ad) and ad<40 ),49,50,8,0),color00dddd;
上一指标公式:CCI三线类似CCIMACD指标详解 通达信CCIMACD
下一指标公式:新改编的成交量指标详解 通达信改编指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文盛唐量图构思和用法-国庆推荐几个精品指标详解 通达信几个构思仅供学习研究。