好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式量价指标扣抵主图公式下载

量价指标扣抵主图公式下载

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-08-26 08:34:13
  • 指标公式标签:
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:量价指标扣抵主图公式下载

量价指标扣抵主图公式源码下载:

 使用方法:
公式的左上角写明的不同周期内量和价的情况。
如果背景色是红色,预示着对应周期内的均线指标会上涨。
如果背景颜色是绿色,预示着对应周期内均线指标会下跌。
只有当对应周期内的价和量都预示为上涨或者都预示为下跌的时候。才会在右边出现文字,提示这条均价线是助长涨(支撑),还是领跌(压力)的作用。
 

 drawtext(currbarscount=5,high*1.01,'5日');
{drawline(扣抵5,c,c,ma(c,5),0),colorwhite,linethick2;}
drawtext(currbarscount=10,high*1.01,'10日');
{drawline(扣抵10,c,c, ma(c,10),0),coloryellow,linethick2;}
drawtext(currbarscount=20,high*1.01,'20日');
{drawline(扣抵20,c,c, ma(c,20),0),colormagenta,linethick2;}
drawtext(currbarscount=60,high*1.01,'60日');
{drawline(扣抵60,c,c, ma(c,60),0),colorred,linethick2;}
drawtext(currbarscount=120,high*1.01,'120日');
{drawline(扣抵120,c,c, ma(c,120),0),colorgray,linethick2;}
drawtext(currbarscount=250,high*1.01,'250日');
{drawline(扣抵250,c,c, ma(c,250),0),colorblue,linethick2;}

{drawicon(currbarscount=5,high,14);
drawicon(currbarscount=10,high,14);
drawicon(currbarscount=20,high,14);
drawicon(currbarscount=60,high,14);
drawicon(currbarscount=120,high,14);
drawicon(currbarscount=250,high,14);}

ma5:ma(close,5);
ma10:ma(close,10);
ma20:ma(close,20);
ma60:ma(close,60);
ma120:ma(close,120);
ma250:ma(close,250);

drawrectrel(0,0,240,350,rgb(0,0,1));

drawtext_fix(c>0,0.04 ,0.07,1,'当前情况:'),coloryellow;
drawtext_fix(c>0,0.04 ,0.11,1,'005日扣抵:'),coloryellow;
drawtext_fix(c>0,0.04 ,0.15,1,'010日扣抵:'),coloryellow;
drawtext_fix(c>0,0.04 ,0.19,1,'020日扣抵:'),coloryellow;
drawtext_fix(c>0,0.04 ,0.23,1,'060日扣抵:'),coloryellow;
drawtext_fix(c>0,0.04 ,0.27,1,'120日扣抵:'),coloryellow;

drawtext_fix(c>0,0.005 ,0.090,0,'----------------------------------------------------------------------------------------'),colorgray;

drawtext_fix(c>0,0.065 ,0.03,1,'价(元)'),coloryellow;
drawtext_fix(currbarscount=1 and c>0,0.065 ,0.07,1,var2str(c,2)),coloryellow;
drawtext_fix(currbarscount=1 and c>ref(c,4),0.065 ,0.11,1,var2str(ref(c,4),2)),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,4),0.065 ,0.11,1,var2str(ref(c,4),2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,4),0.065 ,0.11,1,var2str(ref(c,4),2)),colorgreen;

drawtext_fix(currbarscount=1 and c>ref(c,9),0.065 ,0.15,1,var2str(ref(c,9),2)),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,9),0.065 ,0.15,1,var2str(ref(c,9),2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,9),0.065 ,0.15,1,var2str(ref(c,9),2)),colorgreen;

drawtext_fix(currbarscount=1 and c>ref(c,19),0.065 ,0.19,1,var2str(ref(c,19),2)),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,19),0.065 ,0.19,1,var2str(ref(c,19),2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,19),0.065 ,0.19,1,var2str(ref(c,19),2)),colorgreen;

drawtext_fix(currbarscount=1 and c>ref(c,59),0.065 ,0.23,1,var2str(ref(c,59),2)),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,59),0.065 ,0.23,1,var2str(ref(c,59),2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,59),0.065 ,0.23,1,var2str(ref(c,59),2)),colorgreen;

drawtext_fix(currbarscount=1 and c>ref(c,119),0.065 ,0.27,1,var2str(ref(c,119),2)),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,119),0.065 ,0.27,1,var2str(ref(c,119),2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,119),0.065 ,0.27,1,var2str(ref(c,119),2)),colorgreen;

vart1:=abs((c-ref(c,4)))*100/c,nodraw;
vart1_1:=if(vart1>999,999.9,vart1),nodraw;{好公式网-最好的股票公式网站 www.goodgongshi.com}
drawtext_fix(currbarscount=1 and c>ref(c,4),0.09 ,0.11,1,strcat(var2str(vart1_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,4),0.09 ,0.11,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,4),0.09 ,0.11,1,strcat(var2str(vart1_1,1),'%')),colorgreen;

vart2:=abs((c-ref(c,9)))*100/c,nodraw;
vart2_1:=if(vart2>999,999.9,vart2),nodraw;
drawtext_fix(currbarscount=1 and c>ref(c,9),0.09 ,0.15,1,strcat(var2str(vart2_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,9),0.09 ,0.15,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,9),0.09 ,0.15,1,strcat(var2str(vart2_1,1),'%')),colorgreen;

vart3:=abs((c-ref(c,19)))*100/c,nodraw;
vart3_1:=if(vart3>999,999.9,vart3),nodraw;
drawtext_fix(currbarscount=1 and c>ref(c,19),0.09 ,0.19,1,strcat(var2str(vart3_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,19),0.09 ,0.19,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,19),0.09 ,0.19,1,strcat(var2str(vart3_1,1),'%')),colorgreen;

vart4:=abs((c-ref(c,59)))*100/c,nodraw;
vart4_1:=if(vart4>999,999.9,vart4),nodraw;
drawtext_fix(currbarscount=1 and c>ref(c,59),0.09 ,0.23,1,strcat(var2str(vart4_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,59),0.09 ,0.23,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,59),0.09 ,0.23,1,strcat(var2str(vart4_1,1),'%')),colorgreen;

vart5:=abs((c-ref(c,119)))*100/c,nodraw;
vart5_1:=if(vart5>999,999.9,vart5),nodraw;
drawtext_fix(currbarscount=1 and c>ref(c,119),0.09 ,0.27,1,strcat(var2str(vart5_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and c=ref(c,119),0.09 ,0.27,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and c<ref(c,119),0.09 ,0.27,1,strcat(var2str(vart5_1,1),'%')),colorgreen;

drawtext_fix(c>0,0.12 ,0.03,1,'量(万)'),coloryellow;
drawtext_fix(currbarscount=1 and c>0,0.12 ,0.07,1,var2str(v/10000,2)),coloryellow;
total:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,totalfznum,1))))),nodraw;
mtime:=mod(fromopen,total),nodraw;
ctime:=if(mtime<0.5,total,mtime),nodraw;
vvol:=if((currbarscount=1 and dynainfo(8)>1),vol*(total+3)/(ctime+3),0),nodraw;
drawtext_fix(c>0,0.18 ,0.03,1,'虚拟量(万)'),coloryellow;

drawtext_fix(currbarscount=1 and vvol>0,0.18 ,0.07,1,var2str(vvol/10000,2)),coloryellow;

drawtext_fix(currbarscount=1 and v>ref(v,4),0.12 ,0.11,1,var2str(ref(v/10000,4),2)),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,4),0.12 ,0.11,1,var2str(ref(v/10000,4),2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,4),0.12 ,0.11,1,var2str(ref(v/10000,4),2)),colorgreen;

drawtext_fix(currbarscount=1 and v>ref(v,9),0.12 ,0.15,1,var2str(ref(v/10000,9),2)),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,9),0.12 ,0.15,1,var2str(ref(v/10000,9),2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,9),0.12 ,0.15,1,var2str(ref(v/10000,9),2)),colorgreen;

drawtext_fix(currbarscount=1 and v>ref(v,19),0.12 ,0.19,1,var2str(ref(v/10000,19),2)),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,19),0.12 ,0.19,1,var2str(ref(v/10000,19),2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,19),0.12 ,0.19,1,var2str(ref(v/10000,19),2)),colorgreen;

drawtext_fix(currbarscount=1 and v>ref(v,59),0.12 ,0.23,1,var2str(ref(v/10000,59),2)),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,59),0.12 ,0.23,1,var2str(ref(v/10000,59),2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,59),0.12 ,0.23,1,var2str(ref(v/10000,59),2)),colorgreen;

drawtext_fix(currbarscount=1 and v>ref(v,119),0.12 ,0.27,1,var2str(ref(v/10000,119),2)),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,119),0.12 ,0.27,1,var2str(ref(v/10000,119),2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,119),0.12 ,0.27,1,var2str(ref(v/10000,119),2)),colorgreen;

vart21:=abs((v-ref(v,4)))*100/v;
vart21_1:=if(vart21>999,999.9,vart21),nodraw;
drawtext_fix(currbarscount=1 and v>ref(v,4),0.155 ,0.11,1,strcat(var2str(vart21_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,4),0.155 ,0.11,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,4),0.155 ,0.11,1,strcat(var2str(vart21_1,1),'%')),colorgreen;

vart22:=abs((v-ref(v,9)))*100/v;
vart22_1:=if(vart22>999,999.9,vart22);
drawtext_fix(currbarscount=1 and v>ref(v,9),0.155 ,0.15,1,strcat(var2str(vart22_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,9),0.155 ,0.15,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,9),0.155 ,0.15,1,strcat(var2str(vart22_1,1),'%')),colorgreen;

vart23:=abs((v-ref(v,19)))*100/v;
vart23_1:=if(vart23>999,999.9,vart23);
drawtext_fix(currbarscount=1 and v>ref(v,19),0.155 ,0.19,1,strcat(var2str(vart23_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,19),0.155 ,0.19,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,19),0.155 ,0.19,1,strcat(var2str(vart23_1,1),'%')),colorgreen;

vart24:=abs((c-ref(c,59)))*100/c;
vart24_1:=if(vart24>999,999.9,vart24);
drawtext_fix(currbarscount=1 and v>ref(v,59),0.155 ,0.23,1,strcat(var2str(vart24_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,59),0.155 ,0.23,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,59),0.155 ,0.23,1,strcat(var2str(vart24_1,1),'%')),colorgreen;

vart25:=abs((c-ref(c,119)))*100/c;
vart25_1:=if(vart25>999,999.9,vart25);
drawtext_fix(currbarscount=1 and v>ref(v,119),0.155 ,0.27,1,strcat(var2str(vart25_1,1),'%')),colorred;
drawtext_fix(currbarscount=1 and v=ref(v,119),0.155 ,0.27,1,var2str(0,2)),colorwhite;
drawtext_fix(currbarscount=1 and v<ref(v,119),0.155 ,0.27,1,strcat(var2str(vart25_1,1),'%')),colorgreen;

drawtext_fix(currbarscount=1 and c>ref(c,4) and vvol>ref(v,4),0.16 ,0.11,0,'5日均线助涨'),colorred;
drawtext_fix(currbarscount=1 and c<ref(c,4) and vvol<ref(v,4),0.16 ,0.11,0,'5日均线领跌'),colorgreen;
drawtext_fix(currbarscount=1 and c>ref(c,9) and vvol>ref(v,9),0.16 ,0.15,0,'10日均线助涨'),colorred;
drawtext_fix(currbarscount=1 and c<ref(c,9) and vvol<ref(v,9),0.16 ,0.15,0,'10日均线领跌'),colorgreen;
drawtext_fix(currbarscount=1 and c>ref(c,19) and vvol>ref(v,19),0.16 ,0.19,0,'20日均线助涨'),colorred;
drawtext_fix(currbarscount=1 and c<ref(c,19) and vvol<ref(v,19),0.16 ,0.19,0,'20日均线领跌'),colorgreen;
drawtext_fix(currbarscount=1 and c>ref(c,59) and vvol>ref(v,59),0.16 ,0.23,0,'60日均线助涨'),colorred;
drawtext_fix(currbarscount=1 and c<ref(c,59) and vvol<ref(v,59),0.16 ,0.23,0,'60日均线领跌'),colorgreen;
drawtext_fix(currbarscount=1 and c>ref(c,119) and vvol>ref(v,119),0.16 ,0.27,0,'120日均线助涨'),colorred;
drawtext_fix(currbarscount=1 and c<ref(c,119) and vvol<ref(v,119),0.16 ,0.27,0,'120日均线领跌'),colorgreen;
 

量价指标扣抵主图公式

量价指标扣抵主图公式

量价指标扣抵主图公式

量价指标扣抵主图公式

  >>>使用本站搜索工具可以找到更多量价指标扣抵主图公式下载

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

上一指标公式:九转趋势主图下载

下一指标公式:五月蛇布林操盘主图下载

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文量价指标扣抵主图公式下载仅供学习研究。

猜你喜欢

学了又学