周量叠加及叠加月周分时叠加日k线
{辅助001}
c1:close;
o1:open;
h1:high;
l1:low;
vvla:vol;
{叠加 月 周 日k线}
input:z(0,0,1),y(0,0,1),r(0,0,1);
ccc1:="辅助001.c1#week";
ooo1:="辅助001.o1#week";
hhh1:="辅助001.h1#week";
lll1:="辅助001.l1#week";
cc1:="辅助001.c1#month";
oo1:="辅助001.o1#month";
hh1:="辅助001.h1#month";
ll1:="辅助001.l1#month";
var1:=if(day=17 or day=14 or day=15 or day=16,hh1,cc1);
var2:=if(day=17 or day=14 or day=15 or day=16,ll1,oo1);
stickline(cc1>oo1 and z=1,oo1,cc1,10,0),coloreeaaee,pointdot;
stickline(cc1>oo1 and z=1,var1,var2,10,0),coloreeaaee,pointdot;
stickline(oo1>=cc1 and z=1,cc1,oo1,10,0),color6aa932,linedot;
stickline(oo1>=cc1 and z=1,var1,var2,10,0),color6aa932,linedot;
vvar1:=if(weekday=3,hhh1,ccc1);
vvar2:=if(weekday=3,lll1,ooo1);
stickline(ccc1>=ooo1 and y=1,ooo1,ccc1,10,0),color613076,linedot;
stickline(ccc1>=ooo1 and y=1,vvar1,vvar2,4,0),color613076;
stickline(ooo1>ccc1 and y=1,ccc1,ooo1,10,0),colorfa7d32,linedot;
stickline(ooo1>ccc1 and y=1,vvar1,vvar2,4,0),colorfa7d32;
acc1:="辅助001.c1#day";
aoo1:="辅助001.o1#day";
ahh1:="辅助001.h1#day";
all1:="辅助001.l1#day";
avar1:=if(minute=30,ahh1,acc1);
avar2:=if(minute=30,all1,aoo1);
stickline(acc1>=aoo1 and r=1,aoo1,acc1,10,0),colord24a92,linedot;
stickline(acc1>=aoo1 and r=1,avar1,avar2,5,0),colord24a92;
stickline(aoo1>acc1 and r=1,acc1,aoo1,10,0),color6aa932,linedot;
stickline(aoo1>acc1 and r=1,avar2,avar1,5,0),color6aa932;
stickline(c>=o,c,o,8,0),color0000aa;
stickline(c>=o,c,o,6,0),color0000bb ;
stickline(c>=o,c,o,4,0),color0000cc ;
stickline(c>=o,c,o,2,0),color0000ee;
stickline(c>=o,h,l,0,0),color0000ff;
stickline(c<=o,c,o,8,0),color7b7b00;
stickline(c<=o,c,o,6,0),color909000;
stickline(c<=o,c,o,4,0),colora8a800;
stickline(c<=o,c,o,2,0),colorcece00;
stickline(c<=o,h,l,0,0),colorffff00;
{-------在日线叠加用--------
月 param#1 调节显示月线;
周 param#2 调节显示周线;
-------在分时叠加用--------
日 param#3 调节显示日线;
{附图另一形式周量叠加及分时日量叠加}
input:周(0,0,1),日(0,0,1);
rcc1:="辅助001.c1#day";
roo1:="辅助001.o1#day";
rrl:="辅助001.vvla#day";
日量:rrl,colorffff00,linethick0;
stickline(rcc1>roo1 and 日,0,日量*0.26,10,0),colord24a92,linedot;
stickline(rcc1<=roo1 and 日,0,日量*0.26,10,0),color6aa932,linedot;
ccc1:="辅助001.c1#week";
ooo1:="辅助001.o1#week";
zzl:="辅助001.vvla#week";
周量:zzl,colorffff00,linethick0;
stickline(ccc1>ooo1 and 周,0,周量*0.45,10,0),color613076,linedot;
stickline(ccc1<=ooo1 and 周,0,周量*0.45,10,0),colorfa7d32,linedot;
量:vol,volstick;
hsl:=vol/capital*100;
地量0_1:stickline(hsl<1,0,量,0.1,0 ),coloreeeeee;
stickline(hsl<1,0,量,5,0 ),colordddddd;
stickline(hsl<1,0,量,3,0 ),coloreeeeee;
stickline(hsl<1,0,量,1,0 ),colorffffff;
低靡1_2:stickline(hsl>=1 and hsl<2,0,量,0.1,0 ),colordddd00;
stickline(hsl>=1 and hsl<2,0,量,5,0 ),coloraaaa00;
stickline(hsl>=1 and hsl<2,0,量,3,0 ),colorcccc00;
stickline(hsl>=1 and hsl<2,0,量,1,0 ),colordddd00;
温和2_3:stickline(hsl>=2 and hsl<3,0,量,0.1,0 ),color0080cc;
stickline(hsl>=2 and hsl<3,0,量,5,0 ),color0040cc;
stickline(hsl>=2 and hsl<3,0,量,3,0 ),color0060dd;
stickline(hsl>=2 and hsl<3,0,量,1,0 ),color0080ee;
活跃3_5:stickline(hsl>=3 and hsl<5,0,量,0.1,0 ),color00dddd;
stickline(hsl>=3 and hsl<5,0,量,5,0 ),color00aaaa;
stickline(hsl>=3 and hsl<5,0,量,3,0 ),color00cccc;
stickline(hsl>=3 and hsl<5,0,量,1,0 ),color00dddd;
带量5_8:stickline(hsl>=5 and hsl<8,0,量,0.1,0 ),colordd00dd;
stickline(hsl>=5 and hsl<8,0,量,5,0 ),coloraa00aa;
stickline(hsl>=5 and hsl<8,0,量,3,0 ),colorcc00cc;
stickline(hsl>=5 and hsl<8,0,量,1,0 ),colordd00dd;
放量5_15:stickline(hsl>=8 and hsl<15,0,量,0.1,0 ),color0000dd;
stickline(hsl>=8 and hsl<15,0,量,5,0 ),color0000aa;
stickline(hsl>=8 and hsl<15,0,量,3,0 ),color0000cc;
stickline(hsl>=8 and hsl<15,0,量,1,0 ),color0000dd;
巨量15_25:stickline(hsl>=15 and hsl<25,0,量,0.01,0 ),colorf46c39;
stickline(hsl>=15 and hsl<25,0,量,5,0 ),colorbb0000;
stickline(hsl>=15 and hsl<25,0,量,3,0 ),colordd0000;
stickline(hsl>=15 and hsl<25,0,量,1,0 ),coloree0000;
怪异25_:stickline(hsl>=25,0,量,0.1,0),color00dd00;
ma3:ma(量,5),colorffffff,linethick1;
mad:ma(量,13),color00ffff,linethick1;
ma90:ma(量,135),color00ff00;
{添加到参数精灵
-------在日线叠加用--------
周 param#1 调节显示周量;
-------在分时叠加用--------
日 param#2 调节显示日量;
大智慧源码:
先做个引入公式
{辅助001}
c1:close;
o1:open;
h1:high;
l1:low;
vvla:vol;
{成交量}
input:周(0,0,1),n(35),na(5),nb(135);
ccc1:="辅助001.c1#week";
ooo1:="辅助001.o1#week";
zzl:="辅助001.vvla#week";
周量:zzl,colorffff00,linethick0;
stickline(ccc1>ooo1 and 周,0,周量*0.45,10,0),color613076,dotline;
stickline(ccc1<=ooo1 and 周,0,周量*0.45,10,0),colorfa7d32,dotline;
量:if(c>200,vol/1000000,vol/1),linethick0;
换手率:vol/capital*100,linethick0,colorffff00;
hsl:=vol/capital*100;
地量0_1:stickline(hsl<1,0,量,0.1,0 ),coloreeeeee;
stickline(hsl<1,0,量,5,0 ),coloraaaaaa;
stickline(hsl<1,0,量,3,0 ),colorcccccc;
stickline(hsl<1,0,量,1,0 ),coloreeeeee;
低靡1_2:stickline(hsl>=1 and hsl<2,0,量,0.1,0 ),coloreeee00;
stickline(hsl>=1 and hsl<2,0,量,5,0 ),coloraaaa00;
stickline(hsl>=1 and hsl<2,0,量,3,0 ),colorcccc00;
stickline(hsl>=1 and hsl<2,0,量,1,0 ),coloreeee00;
温和2_3:stickline(hsl>=2 and hsl<3,0,量,0.1,0 ),color208eee;
stickline(hsl>=2 and hsl<3,0,量,5,0 ),color208aaa;
stickline(hsl>=2 and hsl<3,0,量,3,0 ),color208ccc;
stickline(hsl>=2 and hsl<3,0,量,1,0 ),color208eee;
活跃3_5:stickline(hsl>=3 and hsl<5,0,量,0.1,0 ),color00eeee;
stickline(hsl>=3 and hsl<5,0,量,5,0 ),color00aaaa;
stickline(hsl>=3 and hsl<5,0,量,3,0 ),color00cccc;
stickline(hsl>=3 and hsl<5,0,量,1,0 ),color00eeee;
带量5_8:stickline(hsl>=5 and hsl<8,0,量,0.1,0 ),coloree00ee;
stickline(hsl>=5 and hsl<8,0,量,5,0 ),coloraa00aa;
stickline(hsl>=5 and hsl<8,0,量,3,0 ),colorcc00cc;
stickline(hsl>=5 and hsl<8,0,量,1,0 ),coloree00ee;
放量8_15:stickline(hsl>=8 and hsl<15,0,量,0.1,0 ),color00ee00;
stickline(hsl>=8 and hsl<15,0,量,5,0 ),color00aa00;
stickline(hsl>=8 and hsl<15,0,量,3,0 ),color00cc00;
stickline(hsl>=8 and hsl<15,0,量,1,0 ),color00ee00;
巨量15_25:stickline(hsl>=15 and hsl<25,0,量,0.01,0 ),coloree0000;
stickline(hsl>=15 and hsl<25,0,量,5,0 ),coloraa0000;
stickline(hsl>=15 and hsl<25,0,量,3,0 ),colorcc0000;
stickline(hsl>=15 and hsl<25,0,量,1,0 ),coloree0000;
怪异:stickline(hsl=25,0,量,1,0),colorff6600;
stickline(hsl>=25,0,量,5,1),colorff6600;
ma3:ma(量,n),color00ffff,linethick1;
mad:ma(量,na),colorffffff,linethick1;
ma90:ma(量,nb),colorff00dd;
drawtext(barstatus=2 and mad>ref(mad,1),mad,numtostrn(na,0)+'日↑'),colorffffff;
drawtext(barstatus=2 and mad<ref(mad,1),mad,numtostrn(na,0)+'日↓'),colorffffff;
drawtext(barstatus=2 and mad=ref(mad,1),mad,numtostrn(na,0)+'日='),colorffffff;
drawtext(barstatus=2 and ma3>ref(ma3,1),ma3,' '+numtostrn(n,0)+'日↑'),color00ffff;
drawtext(barstatus=2 and ma3<ref(ma3,1),ma3,' '+numtostrn(n,0)+'日↓'),color00ffff;
drawtext(barstatus=2 and ma3=ref(ma3,1),ma3,' '+numtostrn(n,0)+'日='),color00ffff;
drawtext(barstatus=2 and ma90>ref(ma90,1),ma90,numtostrn(nb,0)+'日↑'),colorff00ff;
drawtext(barstatus=2 and ma90<ref(ma90,1),ma90,numtostrn(nb,0)+'日↓'),colorff00ff;
drawtext(barstatus=2 and ma90=ref(ma90,1),ma90,numtostrn(nb,0)+'日='),colorff00ff;
drawtextabs(2,8,'【放量下跌要减仓,缩量新低是底象。增量回升是关键,回头确认要进场。】'+''),color00ff00;
drawtextabs(2,22,'【新量新价有新高,缩量回调不必逃。一根巨量要警惕,有价无量必须跑。】'+''),color208fff;
drawflagtext(hsl<=1,量,'绝对地量:hsl<=1。');
drawflagtext(hsl>2 and hsl<3,量,'该股成交温和:2%-3%,属于备份股。');
drawflagtext(hsl>1 and hsl<2,量,'该股股成交低靡:1%-2%,属于冷门。');
drawflagtext(hsl>3 and hsl<5,量,'该股成交活跃:3%-5%,人们购买该股票的意愿高,属于热门股。');
drawflagtext(hsl>5 and hsl<8,量,'该股初步带量:5%-8%!');
drawflagtext(hsl>=25,量,'该股票成交怪异:hsl>=25!');
drawflagtext(hsl>15 and hsl<25,量,'已放巨量:15%-25%!');
{添加到参数精灵
-------调整叠加周量--------
周 param#1 调节周显示周量;
-------调整均价量--------
n param#2 调节任意均价量;
na param#3 调节任意均价量;
nb param#4 调节任意均价量;}
{主图}
{叠加月周k线}
input:y(1,0,1),z(0,0,1);
ccc1:="辅助001.c1#week";
ooo1:="辅助001.o1#week";
hhh1:="辅助001.h1#week";
lll1:="辅助001.l1#week";
cc1:="辅助001.c1#month";
oo1:="辅助001.o1#month";
hh1:="辅助001.h1#month";
ll1:="辅助001.l1#month";
var1:=if(day=17 or day=14 or day=15 or day=16,hh1,cc1);
var2:=if(day=17 or day=14 or day=15 or day=16,ll1,oo1);
stickline(cc1>oo1 and z=1,oo1,cc1,10,0),coloreeaaee,pointdot;
stickline(cc1>oo1 and z=1,var1,var2,10,0),coloreeaaee,dotline;
stickline(oo1>=cc1 and z=1,cc1,oo1,10,0),color6aa932,dotline;
stickline(oo1>=cc1 and z=1,var1,var2,10,0),color6aa932,dotline;
vvar1:=if(weekday=3,hhh1,ccc1);
vvar2:=if(weekday=3,lll1,ooo1);
stickline(ccc1>=ooo1 and y=1,ooo1,ccc1,10,0),color613076,dotline;
stickline(ccc1>=ooo1 and y=1,vvar1,vvar2,3,0),color613076;
stickline(ooo1>ccc1 and y=1,ccc1,ooo1,10,0),colorfa7d32,dotline;
stickline(ooo1>ccc1 and y=1,vvar1,vvar2,3,0),colorfa7d32;
stickline(c>=o,c,o,8,0),color0000aa;
stickline(c>=o,c,o,6,0),color0000bb ;
stickline(c>=o,c,o,4,0),color0000cc ;
stickline(c>=o,c,o,2,0),color0000ee;
stickline(c>=o,h,l,0,0),color0000ff;
stickline(c<=o,c,o,8,0),color7b7b00;
stickline(c<=o,c,o,6,0),color909000;
stickline(c<=o,c,o,4,0),colora8a800;
stickline(c<=o,c,o,2,0),colorcece00;
stickline(c<=o,h,l,0,0),colorffff00;
{添加到参数精灵
-------调整月周--------
周 param#1 调节z显示月线;
月 param#2 调节y显示周线;}
上一指标公式:syjjc私募金进场公式下载 大智慧金进syjjc
下一指标公式:量价监控信息板-短线监控公式下载 大智慧信息大智慧
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文周量叠加及叠加月周分时叠加日K线公式下载 大智慧叠加仅供学习研究。