黄金柱:=v/ref(v,1)>=2.0;
k1:=sumbars(黄金柱,1) ;
k2:=sumbars(黄金柱,2);
k3:=sumbars(黄金柱,3);
k4:=sumbars(黄金柱,4);
k5:=sumbars(黄金柱,5);
k6:=sumbars(黄金柱,6);
k7:=sumbars(黄金柱,7);
k8:=sumbars(黄金柱,8);
k9:=sumbars(黄金柱,9);
k10:=sumbars(黄金柱,10);
aa:stickline(k1,ref(l,k1-1)*1.002,ref(l,k1-1),5,0),coloryellow;
{预定黄金柱}
{预定黄金柱:=ref(v,2)>=ref(v,3)*1.99 and ref(c,2)>ref(o,2)
and ref(v,2)=hhv(v,3) and c/ref(c,2) >=1.0995 and ref(l,2)=llv(l,3);}
{预定:stickline(预定黄金柱,h,h,30,0),colorred;}
{drawicon(预定黄金柱,h,19);}
{将军柱中的五星上将黄金柱}
t60:=v=hhv(v,60);
t100:=v=hhv(v,100);
t2:=v/ref(vol,1)>=3;
t3:=ref(c,1)/ref( o,1)<3;
五星上将:=(t60 and t2 and t3) or (t100 and t2 and t3);
drawicon(五星上将,h,23);
{量柱图}
c2:=ref(c,1);
涨停:=if((c-c2)*100/c2>=(10-0.01*100/c2),1,0);
stickline(涨停,open,close,-1,0),colorwhite;
stickline(涨停,h,l,0,0),colorwhite;
drawicon(涨停,l-0.2,11);
drawtext(涨停,l-0.2,' --涨停');
跌停:=if((c2-c)*100/c2>=(10-0.01*100/c2),1,0);
stickline(跌停,open,close,-1,0),colorblue;
stickline(跌停,h,l,0,1),colorblue;
drawicon(跌停,h+0.2,2);
drawtext(跌停,h+0.2,' --跌停');
{大阳线:=if((c-c2)*100/c2>=5,1,0) and if((c-c2)*100/c2<(10-0.01*100/c2),1,0) or if((c-o)*100/o>=5,1,0) and if((c-c2)*100/c2<(10-0.01*100/c2),1,0);
stickline(大阳线,open,close,-1,0),colorred;
stickline(大阳线,h,l,0,1),colorred;
大阴线:=if((c2-c)*100/c2>=5,1,0) and if((c2-c)*100/c2<(10-0.01*100/c2),1,0) or if((o-c)*100/o>=5,1,0) and if((c2-c)*100/c2<(10-0.01*100/c2),1,0);
stickline(大阴线,open,close,-1,0),colorgreen;
stickline(大阴线,h,l,0,1),colorgreen;}
{ma13:ma(close,13),colorwhite;
ma34:ma(close,34),coloryellow;
ma55:ma(close,55),color9933ff;}
{ma4:ma(close,4),colorwhite;
ma10:ma(close,10),coloryellow;
ma20:ma(close,20),color9933ff;
ma30:ma(close,30),colorliblue;
ma60:ma(close,60),colorwhite;
ma120:ma(close,120),colorligreen;}
ty:=c;
aa1:=ref(ty,10)=hhv(ty,2*10+1); bb1:=filter(aa1,10); c1:=backset(bb1,10+1); hd:=filter(c1,10);
aa2:=ref(ty,10)=llv(ty,2*10+1); b2:=filter(aa2,10); cc2:=backset(b2,10+1); ld:=filter(cc2,10);
前期高位:ref(h,barslast(hd)),color00ff00,pointdot,linethick3;
前期低位:ref(l,barslast(ld)),colorff00ff,pointdot,linethick3;
{求位置坐标}
phd:=if(llv(l,3)>=ref(h,3),ref(h,3),
if((llv(l,3)>=ref(c,3) and ref(c,3)>ref(o,3)),ref(c,3),
if(llv(l,3)>=ref(o,3) and ref(c,3)>ref(o,3),ref(o,3),ref(l,3))));
{自动画量能平台}
{nn 1 300 21}
{nn:=21;
ttj:=barslast(ref(倍量黄金柱,nn-1));
k0:=ttj=0;
k1:=sumbars(k0,1);
k2:=sumbars(k0,2);
k3:=sumbars(k0,3);
k4:=sumbars(k0,4);
k5:=sumbars(k0,5);
k6:=sumbars(k0,6);
k7:=sumbars(k0,7);
k8:=sumbars(k0,8);
k9:=sumbars(k0,9);
k10:=sumbars(k0,10);
cccc1:=ref(c,k1-1);}
{在k线图上标示量柱类型}
倍量:=drawicon((vol>ref(v,1)*2.0 or vol=ref(v,1)*2.0) and c>ref(c,1),h+0.2,26);
低量:=drawicon(vol<ref(llv(vol,13),1),h+0.1,2);
地量:=drawicon(vol<ref(llv(vol,100),1),h+0.1,12);
平量:=drawicon(abs(vol-hhv(ref(vol,1),5))/hhv(ref(vol,1),5)<=0.03 or abs(vol-ref(vol,1))/ref(vol,1)<=0.03,h+0.1,16);
倍缩:=drawicon(vol<=ref(v,1)*0.5,h+0.1,27);
{画量柱标识:}
{1.画倍量黄金柱标识--红箭头图标}
倍量黄金柱:=drawicon((llv(l,3)>ref(l,3) or llv(l,3)=ref(l,3)) and hhv(v,3)<ref(v,3) and
ref(c,3)>ref(o,3) and ref(v,3)>=2*ref(v,4),h+0.2,1);
{2.画梯量黄金柱标识--橘子图标}
梯量黄金柱:=drawicon(llv(l,3)>ref(l,3) and hhv(v,3)<ref(v,3) and
ref(v,5)>ref(v,6) and ref(v,4)>ref(v,5) and ref(v,3)>ref(v,4),h,17);
{3.画平量黄金柱标识--苹果图标}
平量黄金柱:=drawicon(llv(l,3)>ref(l,3) and hhv(v,3)<ref(v,3) and
ref(c,3)>ref(o,3) and abs(ref(v,3)-ref(v,4))/ref(v,4)<=0.03,h,19);
{4.画立桩量标识--顶部红箭头图标}
n:=25;
立桩量:=ref(v,3)/ref(ma(v,5),4)>(n/10) and
ref(v,3)/ref(hhv(v,60),4)>1.5 and llv(l,3)>ref(l,3);
stickline(倍量,open,close,-1,0),coloryellow;
倍量黄金线:stickline(倍量黄金柱,phd,phd,30,0),colorwhite;
drawicon(倍量黄金柱,phd*1.008,12);
drawtext(倍量黄金柱,phd*1.010,' 标准黄金柱精准线'),colorff00ff;
drawtext(倍量黄金柱,phd,'================='),colorwhite;
{平量黄金线:stickline(平量黄金柱,phd*1.002,phd,100,0),coloryellow;
drawtext(平量黄金柱,phd*1.015,'平量黄金线'),colorligreen ;
梯量黄金线:stickline(梯量黄金柱,phd*1.002,phd,100,0),coloryellow;
drawtext(梯量黄金柱,phd*1.015,'梯量黄金线'),colorff00ff ;}
drawicon(立桩量,h*1.002,1);
drawtext(立桩量,h*1.06,'立'),colorred;
drawtext(立桩量,h*1.04,'桩'),colorred;
drawtext(立桩量,h*1.02,'量'),colorred;
{da:stickline(k4<=30,ref(c,k4-1)*1.002,ref(c,k4-1),10,0),colorblue;
ea:stickline(k5<=30,ref(c,k5-1)*1.002,ref(c,k5-1),10,0),colorblue;
fa:stickline(k6<=30,ref(c,k6-1)*1.002,ref(c,k6-1),10,0),colorblue;
ga:stickline(k7<=30,ref(c,k7-1)*1.002,ref(c,k7-1),10,0),colorblue;
ha:stickline(k8<=30,ref(c,k8-1)*1.002,ref(c,k8-1),10,0),colorblue;
ia:stickline(k9<=30,ref(c,k9-1)*1.002,ref(c,k9-1),10,0),colorblue;
ja:stickline(k10<=30,ref(c,k10-1)*1.002,ref(c,k10-1),10,0),colorblue;
}
aaa:=const(hhv(h,90));
ts1:=0+0.03;
ts2:=ts1+0.03;
ts3:=ts2+0.03;
drawtext(currbarscount=158,aaa-(aaa*ts1),'<一>.量柱的阶段性拐点标志--空间转化原则:'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts2),' 1.平台起柱:在k线整理平台上突然起柱;'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts3),' 2.凹口起柱:在k线逐步回调形成凹口时起柱.常见凹口倍量;'),colorff00ff ;
ts4:=ts3+0.03;
ts5:=ts4+0.03;
ts6:=ts5+0.03;
drawtext(currbarscount=158,aaa-(aaa*ts4),' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts5),' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts6),'<二>.量柱的集合定性--组合量柱:'),colorff00ff ;
ts7:=ts6+0.03;
ts8:=ts7+0.03;
ts9:=ts8+0.03;
drawtext(currbarscount=158,aaa-(aaa*ts7),' 1.低量柱+倍量柱:后市必大涨!'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts8),' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),colorff00ff ;
drawtext(currbarscount=158,aaa-(aaa*ts9),' 3.缩倍柱+倍量柱:机会就在眼前!'),colorff00ff ;
{============================}
bbb:=const(hhv(h,190));
tt1:=0+0.03;
tt2:=tt1+0.03;
tt3:=tt2+0.03;
drawtext(currbarscount=300,bbb-(bbb*tt1),'<三>.量柱的三日定性--时间转化原则:'),colorff00ff ;
drawtext(currbarscount=300,bbb-(bbb*tt2),' 1.后三日价升量缩:转化为黄金柱;'),colorff00ff ;
drawtext(currbarscount=300,bbb-(bbb*tt3),' 2.后三日量柱先阴后阳:该量柱官升一级;'),colorff00ff ;
tt4:=tt3+0.03;
tt5:=tt4+0.03;
drawtext(currbarscount=300,bbb-(bbb*tt4),' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),colorff00ff ;
drawtext(currbarscount=300,bbb-(bbb*tt5),' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),colorff00ff ;
{底部趋势拐点}
vvol:=if(currbarscount=1 and period=5,vol*240/fromopen,drawnull);
volume:=vol;
aag:=vol>=ref(v,1)*1.91 and c>ref(c,1);
aa1g:=vol<ref(llv(vol,21),1);
aa2g:=vol<ref(llv(vol,55),1);
aa3g:=abs(vol-ref(vol,1))/ref(vol,1)<=0.05;
mavol5:=ma(volume,5);
mavol35:=ma(volume,35);
mavol135:=ma(volume,135);
volume5:=ma(volume,5);
volume35:=ma(volume,35);
volume135:=ma(volume,135);
买入:=cross(volume5,volume135);
drawicon(买入,l,9);
买入1:=cross(volume35,volume135);
drawicon(买入1,l,5);
买入2:=cross(volume5,volume35);
drawicon(买入2,l,1);
{非常棒};
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
drawtext(cross(散户,庄家) and 散户<30,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>70,h+0.05,'←高抛'),colorgreen;
drawicon(cross(散户,庄家) and 散户<30,l-0.05,1);
drawicon(cross(庄家,散户) and 散户>70,h+0.05,2);
var9:=close-ref(close,5);
vara:=ema(ema(var9,5),5)/ema(ema(abs(var9),5),5);
varc:=ema(ema(var9,20),20)/ema(ema(abs(var9),20),20);
卖出:=if(vara>0 and cross(varc,vara),90,100);
drawicon(卖出<0,h+0.05,2);
买线:=ema(close,2);
卖线:=ema(slope(close,21)*20+close,42);
b1:if(cross(买线,卖线),l-0.02,drawnull),crossdot,linethick3,colormagenta;
s1:if(cross(80,rsi)*30,h+0.02,drawnull),crossdot,linethick3,coloryellow;
vc:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma (close,32))/ma(close,32)*100)/3;
s2:=if(vc>20 and filter(vc< ref(vc,1),5),h+0.02,drawnull),circledot,linethick3,colorgreen;
a0:=(l+h+c*2)/4;
a1b:ema(a0,14),colorblue,linethick2;
a2b:=ema(a0,25),colorliblue,linethick2;
a1x:=(a1b-ref(a1b,1))/ref(a1b,1)*100,nodraw;
a2x:=(a2b-ref(a2b,1))/ref(a2b,1)*100,nodraw;
看多:if(a1x>=0 and barslast(cross(a1x,0))>0,ref((c+o)/2,barslast(cross(a1x,0))),drawnull),colormagenta{,linethick2};
逃顶:if(a1x<0 and barslast(cross(0,a1x))>0,ref((c+o)/2,barslast(cross(0,a1x))),drawnull),colorcyan,{linethick2};
买入持股:if(a1x>=0,a1b,drawnull)colorred,linethick3;
卖出空仓:if(a1x<0 and a2x<0,a1b,drawnull)colorgreen,linethick3;
{stickline(cross(a1x,0),h,l,0,0 ),color9933ff;
stickline(cross(a1x,0),c,o,3,0 ),color0000cc;
stickline(cross(a1x,0),c,o,1,0 ),color0033ff;
stickline(cross(0,a1x),l,h,0,0 ),color66cc33;};
上一指标公式:快乐简单炒股稳定收益详解 通达信收益稳定
下一指标公式:强弱寻底主图指标详解 通达信指标通达信
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文黄金万两详解 通达信黄金仅供学习研究。