筹码95:if(显示筹码带=1,cost(95),0);
筹码85:if(显示筹码带=1,cost(85),0);
drawband(筹码95 ,rgb(60,60,58),筹码85,rgb(60,60,58));
{}
da1:=if(130>totalbarscount,totalbarscount,130);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1001:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);
lh1:=sum(if(c1001>=(hi/gz),v,0),da);
lh2:=sum(if(c1001>=(hi/pow(gz,2)) and c1001<(hi/gz),v,0),da);
lh3:=sum(if(c1001>=(hi/pow(gz,3)) and c1001<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1001>=(hi/pow(gz,4)) and c1001<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1001>=(hi/pow(gz,5)) and c1001<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1001>=(hi/pow(gz,6)) and c1001<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1001>=(hi/pow(gz,7)) and c1001<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1001>=(hi/pow(gz,8)) and c1001<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1001>=(lo*gz) and c1001<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1001>=lo and c1001<lo*gz,v,0),da);
l1001:=refdate(hhv(lh1,da),date),linethick0;
l2001:=refdate(hhv(lh2,da),date),linethick0;
l3001:=refdate(hhv(lh3,da),date),linethick0;
l4001:=refdate(hhv(lh4,da),date);
l5001:=refdate(hhv(lh5,da),date);
l6001:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
sss:=(l1001+l2001+l3001+l4001+l5001+l6001+l7+l8+l9+l10);
var121:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var141:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var161:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var181:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
卖:=(var121+var141+var161+var181),linethick2;
stickline(ceiling(da*l2001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,1)*99/100,hi/pow(gz,2),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l3001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,2)*99/100,hi/pow(gz,3),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l4001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,3)*99/100,hi/pow(gz,4),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l5001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,4)*99/100,hi/pow(gz,5),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l6001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,5)*99/100,hi/pow(gz,6),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l7/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi/pow(gz,6)*99/100,hi/pow(gz,7),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l8/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,lo*pow(gz,2),lo*pow(gz,3)*99/100,9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l9/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,lo*pow(gz,1),lo*pow(gz,2)*99/100,9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l10/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,lo,lo*pow(gz,1)*99/100,9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l1001/sss)*3>=currbarscount and barscount(c)>100 and 显示筹码=1,hi*99/100,hi/gz,9,0)color3c3c3a,linethick3;
drawkline(high,open,low,close);
{多空通道}
短上轨:ema(h,t),colorred;
短下轨:ema(l,t),colorgreen;
notext短下轨0:if(c>短下轨,短下轨,drawnull),colorred;
notext短下轨1:if(c<短下轨,短下轨,drawnull),colorgreen;
notext短上轨0:if(c>短上轨,短上轨,drawnull),colorred;
notext短上轨1:if(c<短上轨,短上轨,drawnull),colorgreen;
stickline(c>短上轨,短上轨,短下轨,0,1),colorred;
stickline(c<短下轨,短上轨,短下轨,0,1),colorgreen;
长上轨:ema(h,tt),colormagenta;
长下轨:ema(l,tt),colorblue;
notext长下轨0:if(c>长下轨,长下轨,drawnull),colormagenta;
notext长下轨1:if(c<长下轨,长下轨,drawnull),colorblue;
notext长上轨0:if(c>长上轨,长上轨,drawnull),colormagenta;
notext长上轨1:if(c<长上轨,长上轨,drawnull),colorblue;
stickline(c>长上轨,长上轨,长下轨,0,1),colormagenta;
stickline(c<长下轨,长上轨,长下轨,0,1),colorblue;
{活跃度}
短轨差:=短上轨-短下轨,coloryellow,nodraw;
短活跃度:(短上轨-短下轨)*100/短下轨,colorliblue,nodraw;
长轨差:=长上轨-长下轨,coloryellow,nodraw;
长活跃度:(长上轨-长下轨)*100/长下轨,colorliblue,nodraw;
{仓位显示}
hj_2:=cross(c,短上轨);
hj_3:=cross(短下轨,c);
hj_4:=barslast(hj_2)+1;
hj_5:=barslast(hj_3)+1;
hj_6:=cross(sum(hj_2,hj_5),0.5);
hj_7:=cross(sum(hj_3,hj_4),0.5);
hj_8:=cross(c,长上轨);
hj_9:=cross(长下轨,c);
hj_10:=barslast(hj_8)+1;
hj_11:=barslast(hj_9)+1;
hj_12:=cross(sum(hj_8,hj_11),0.5);
hj_13:=cross(sum(hj_9,hj_10),0.5);
hj_14:=if(hj_13 and hj_7,0,if(hj_13,0,if(hj_7,6,1)));
hj_15:=if(hj_12 and hj_6,10,if(hj_12,10,if(hj_6,4,1)));
drawnumber(hj_14=6 and 短下轨>长下轨,h*1.01,6),colorwhite;
drawnumber(hj_14=0 and 短下轨>长下轨,h*1.01,0),colorwhite;
drawnumber(hj_6 and 短下轨>长下轨,l*0.99,10),colorwhite;
drawnumber(hj_15=4 and 短上轨<长上轨,l*0.99,4),colorwhite;
drawnumber(hj_15=10 and 短上轨<长上轨,l*0.99,10),colorwhite;
drawnumber(hj_7 and 短上轨<长上轨,h*1.01,0),colorwhite;
{画k线}{}
drawkline(h,o,l,c);
{假阳真阴}
均价:=amount/vol/100;
假阳:=c>o and ref(c,1)>均价 and c>均价 and c<300 ;
stickline(假阳,o,c,1,0)colorlicyan;
标志阴:=ref(c,1)/c>1.04;
stickline(标志阴,o,c,1,0)colorwhite;
{假阴真阳}
假阴:=o>c and 均价>ref(c,1) and c>ma(c,5);
stickline(假阴,o,c,1,0),colorred;
倍量柱:=vol>=ref(v,1)*1.9 and c>o ;
drawtext(倍量柱 ,l*0.97,'倍'),colorwhite;
缩倍:=ref(v,1)*0.55>=v and not(o=c and h=o) ;
drawtext(缩倍 ,l*0.98,'2s'),colormagenta;
{涨跌停价格显示};
aa:=(c-ref(c,1))/ref(c,1)*100;
zs:=(namelike('st') or namelike('*st') or namelike('s')) and aa>=4.945;
ds:=(namelike('st') or namelike('*st') or namelike('s')) and aa<=-4.945;
涨停价:if(zs,ref(c,1)*1.05,ref(c,1)*1.1),nodraw,colorred;
跌停价:if(ds,ref(c,1)*0.95,ref(c,1)*0.9),nodraw,colorgreen;
{涨跌停k线标识};
st:=namelike('st')=1 or namelike('*st')=1 or namelike('sst')=1
or namelike('s*st')=1 or namelike('s st')=1;
涨停:=c=ztprice(ref(close,1),0.1) or (c/ref(c,1)>1.0495 and st);
跌停:=ref(c,1)/c>1.0995 or (ref(c,1)/c>1.0495 and st);
stickline(涨停,c,o,3,0),colormagenta;
stickline(跌停,c,o,3,0),colorgreen;
drawicon(h=ztprice(ref(close,1),0.1) and c!=h,l*0.965,15);
上榜:=signals_user(300, 0), nodraw; {上榜金额>1,则表示上榜了,这个是上榜总金额}
净买入:=signals_user(299, 0), nodraw;
drawicon(上榜>=1 and 净买入>=0 and 显示龙虎标志=1 ,l*0.98,38);
drawicon(上榜>=1 and 净买入<0 and 显示龙虎标志=1 ,l*0.98,39);
第一组:=ref(h-ref(l,1),1);
第二组:=ref(ref(h,1)-ref(l,2),1);
第三组:=ref(ref(h,2)-ref(l,3),1);
平均值:=(第一组+第二组+第三组)/3;
上线:=平均值+ref(l,1);
平均波动:=ref(((h-l)+(ref(h,1)-ref(l,1))+(ref(h,2)-ref(l,2)))/3,1);
下线:=上线-平均波动;
中线1:=(上线+下线)/2;
d_2r3_zq1:=currbarscount<2;
d_2r3_zq2:=currbarscount<13;
d_2r3x1:=if(d_2r3_zq1, 上线, drawnull);
d_2r3x2:=if(d_2r3_zq1, 中线1, drawnull);
d_2r3x3:=if(d_2r3_zq1, 下线, drawnull);
d_2r3x11:if(d_2r3_zq2,d_2r3x1,drawnull);
d_2r3x12:if(d_2r3_zq2,d_2r3x2,drawnull);
d_2r3x13:if(d_2r3_zq2,d_2r3x3,drawnull);
stickline(d_2r3_zq2 ,d_2r3x11,d_2r3x11,20,-1),colorliblue;
stickline(d_2r3_zq2 ,d_2r3x12,d_2r3x12,20,-1),coloryellow;
stickline(d_2r3_zq2 ,d_2r3x13,d_2r3x13,20,-1),colorwhite;
drawtext(d_2r3_zq1,d_2r3x11,' 上线'),colorliblue;
drawtext(d_2r3_zq1,d_2r3x12,' 中线1'),colormagenta;
drawtext(d_2r3_zq1,d_2r3x13,' 下线'),colorwhite;
drawtext_fix(islastbar and c<上线 and c>中线1 and c<=o,0.85,0.95,0,'【高不过,必回落】'),colorwhite;
drawtext_fix(islastbar and c<中线1 and c>下线 and c<=o,0.85,0.95,0,'【中线破,快逃脱】'),colorwhite;
drawtext_fix( islastbar and c<下线 , 0.85,0.95,0,'【下线破,把路夺】'),colorwhite;
drawtext_fix( islastbar and c>上线 and c>o , 0.85,0.95,0,'【上线过,可做多】'),colorwhite;
drawtext_fix( islastbar and c>中线1 and c<上线 and c>o, 0.85,0.95,0,'【中线过,分强弱】'),colorwhite;
drawtext_fix( islastbar and c>下线 and c<中线1 and c>o, 0.85,0.95,0,'【中线下,走势弱】'),colorwhite;
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(c+o)/2,(c+o)/2,2,1),colorliblue;{中分线};
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(max(o,c)-min(o,c))*2/3+min(o,c),(max(o,c)-min(o,c))*2/3+min(o,c),2,1),colorliblue;{上三一线};
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(max(o,c)-min(o,c))/3+min(o,c),(max(o,c)-min(o,c))/3+min(o,c),2,1),colorliblue;{下三一线};
上一指标公式:庄家吸筹出货 通达信庄家
下一指标公式:成本均线CYC 及使用方法 通达信源码使用方法
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文多空通道 荆州量学金融终端主图十 通达信多空终端仅供学习研究。