分析家公式网,提供股票公式,股票软件用户登录  |  用户 注册
量价指标扣抵公式(通达信公式 主图 源码 K线图)
  • 软件大小:7.00 KB
  • 推荐星级:
  • 更新时间:2019-08-26 00:49:07
  • 软件类别: 国产软件 / 通达信公式
  • 软件语言:简体中文
  • 授权方式: 免费版
  • 联系方式:暂无联系方式
  • 官方主页: Home Page
  • 点击大图:  【一键转帖到论坛】
  • 插件情况:
  • 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
  • 相关Tags:量价  
  • (0)0%
    (0)0%

软件介绍

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


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;
 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;

地址


软件评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

说明

* 使用方法:点击上面蓝色块,打开新页面按照提示进行

* 本网站提供的各种股票软件,例如大智慧软件,通达信软件,同花顺软件,东方财富通等等,和各种股票公式指标,例如大智慧公式,通达信公式,同花顺公式,文华公式,博易大师公式,股票价格计算公式等等公式指标等,都来源网上公开来源收集

本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!

* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。

* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程

* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2022 fxjgsw.Com. All Rights Reserved .
页面执行时间:13,171.88000 毫秒