当前位置:→ 股海网大智慧公式 → 正文
  • 周量叠加及叠加月周K线源码

  • 相关简介:先做个引入公式 {辅助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(ccc1ooo1 AND 周,0,周量*0.45,10,0),Color61307

  • 文章来源:股海网作者:股海网发布时间:2015-03-27浏览次数:下载次数:0

先做个引入公式
{辅助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(0,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显示周线;}
周量叠加及叠加月周K线源码

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

周量叠加及叠加月周K线源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2015-03-27
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.