分析家公式网,提供股票公式,股票软件用户登录  |  用户 注册
量学主图/副图(通达信公式 副图 源码 测试图)
  • 软件大小:13.0 KB
  • 推荐星级:
  • 更新时间:2024-11-02 00:14:56
  • 软件类别: 国产软件 / 通达信公式
  • 软件语言:简体中文
  • 授权方式: 分享版
  • 联系方式:暂无联系方式
  • 官方主页: Home Page
  • 点击大图:  【一键转帖到论坛】
  • 插件情况:
  • 运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
  • 相关Tags:指标公式 股票软件,公式源码
  • (0)0%
    (0)0%

软件介绍

 {公式名称: 量学主图

公式描述: 
参数数量: 2
参数1: N1, 最小: 2, 最大: 999, 缺省: 60
参数2: N2, 最小: 2, 最大: 999, 缺省: 30
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
分析家公式网
参数精灵:
请设置计算参数:
N1: Param#0 (2.00--999.00)
N2: Param#1 (2.00--999.00)
用法注释:无
公式源码:}
 
X_1:=MA(HIGH,30);
X_2:=MA(LOW,30);
X_3:=MA(HIGH,60);
X_4:=MA(HIGH,120);
三分之一:IF(CLOSE<REF(CLOSE,1),HIGH-(HIGH-LOW)*2/3,LOW+(HIGH-LOW)*2/3),NODRAW;
二分之一:IF(CLOSE<REF(CLOSE,1),(HIGH+LOW)/2,(HIGH+LOW)/2),NODRAW;
三分之二:IF(CLOSE<REF(CLOSE,1),HIGH-(HIGH-LOW)/3,LOW+(HIGH-LOW)/3),NODRAW;
个股三一:IF(CLOSE<REF(CLOSE,1),OPEN-(OPEN-CLOSE)/3,CLOSE+(OPEN-CLOSE)/3),NODRAW;
个股二一:IF(CLOSE<REF(CLOSE,1),(OPEN+CLOSE)/2,(OPEN+CLOSE)/2),NODRAW;
个股三二:IF(CLOSE<REF(CLOSE,1),OPEN-(OPEN-CLOSE)*2/3,CLOSE+(OPEN-CLOSE)*2/3),NODRAW;
X_5:=DRAWTEXT(CLOSE>=REF(CLOSE,1)*1.094,HIGH,1);
STICKLINE(VOL/REF(VOL,1)>1.9,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(X_5,CLOSE,OPEN,3,0),COLORMAGENTA;
STICKLINE(X_5,HIGH,LOW,0,0),COLORMAGENTA;
STICKLINE(X_5,CLOSE,OPEN,3,0),COLORMAGENTA;
STICKLINE(X_5,HIGH,LOW,0,0),COLORMAGENTA;
X_6:=MAX(CLOSE,OPEN);
X_7:=MIN(CLOSE,OPEN);
X_8:=X_7-0.01>=REF(X_6,1);
X_9:=(X_7-REF(X_6,1))/REF(X_6,1)*100<=3;
X_10:=COUNT(X_8 AND X_9,3)=3;
DRAWTEXT(X_10,LOW-0.1,2),COLORBLUE;
X_11:=MAX(CLOSE,OPEN);
X_12:=MIN(CLOSE,OPEN);
X_13:=X_12-0.01>=REF(X_11,1);
X_14:=CLOSE>REF((OPEN+CLOSE)/2,1) AND REF(CLOSE<OPEN OR CLOSE<REF(CLOSE,1),1);
X_15:=BACKSET(ISLASTBAR,BARSLAST(X_14));
DRAWTEXT(X_13 AND X_15,REF(CLOSE,1)-0.001,3),COLORYELLOW;
X_16:=REF(CLOSE<OPEN,1) AND X_13;
DRAWTEXT(X_16,REF(HIGH,1)-0.001,4),COLORBLUE;
X_17:=CLOSE<REF(CLOSE,1) AND CLOSE<=OPEN;
X_18:=CLOSE<REF(CLOSE,1) AND CLOSE>=OPEN;
X_19:=X_17>0 OR X_18>0;
X_20:=BARSLAST(X_19);
X_21:=MAX(REF(CLOSE,X_20),REF(OPEN,X_20));
X_22:=REF(VOL,X_20);
X_23:=X_20>0 AND CLOSE>=X_21 AND VOL>=X_22;
X_24:=IF(X_23>0 AND REF(X_23,1)=0,1,0);
X_25:=CLOSE>REF(CLOSE,1) AND VOL>=REF(VOL*1.9,1) AND VOL<=REF(VOL*3,1);
X_26:=OPEN<REFX(CLOSE,3) AND OPEN<REFX(CLOSE,2) AND OPEN<REFX(CLOSE,1) AND MAX(CLOSE,OPEN)>REFX(CLOSE,3) AND MAX(CLOSE,OPEN)>REFX(CLOSE,2) AND MAX(CLOSE,OPEN)>REFX(CLOSE,1);
X_27:=OPEN<REFX(MA(CLOSE,3),3) AND MAX(CLOSE,OPEN)>REFX(MA(CLOSE,3),3);
X_28:=X_26 OR X_27;
X_29:=VOL>REFX(VOL,1) AND VOL>REFX(VOL,2) AND VOL>REFX(VOL,3);
X_30:=VOL>REFX(MA(VOL,3),3);
X_31:=X_29 OR X_30;
X_32:=X_31 AND X_28 AND X_24;
X_33:=CLOSE<REFX(CLOSE,3) AND CLOSE<REFX(CLOSE,2) AND CLOSE<REFX(CLOSE,1);
X_34:=CLOSE<REFX(MA(CLOSE,3),3);
X_35:=X_33 OR X_34;
X_36:=VOL>REFX(MA(VOL,3),3);
X_37:=REFX(VOL,1)>REFX(VOL,2) AND REFX(VOL,2)>REFX(VOL,3) AND VOL>REFX(MA(VOL,3),1);
X_38:=X_36 OR X_37;
X_39:=(MA(CLOSE,3)-REF(CLOSE,3))/REF(CLOSE,3)*100>=(MA(VOL,3)-REF(VOL,3))/REF(VOL,3)*100*1.01;
X_40:=X_38 AND X_35 AND (X_24 OR X_25);
X_41:=VOL<REF(VOL,1) AND VOL<REF(VOL,2);
X_42:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1);
X_43:=X_41 AND X_42;
X_44:=X_40 AND REFX(X_43,3);
X_45:=X_13 OR X_16 AND X_40;
DRAWTEXT(X_40,LOW*0.986,5),COLORYELLOW;
DRAWTEXT(X_44,LOW*0.986,6),COLORRED;
STICKLINE(X_32,OPEN,CLOSE,3,0),COLORYELLOW;
X_46:=BARSLAST(REFX(X_32 AND X_13,1));
STICKLINE(X_46<=8 AND X_46>=0,REF(MAX(CLOSE,OPEN),X_46),REF(MAX(CLOSE,OPEN),X_46),1,0),COLORYELLOW;
X_47:=REFX(X_32 AND X_13,1) OR X_40;
X_48:=X_13 AND REF(X_13=0,1);
X_49:=BARSLAST(X_48);
X_50:=COUNT(X_13,X_49)=X_49 AND X_49>=1 AND X_47;
X_51:=BACKSET(X_50,X_49+1);
X_52:=X_51 AND REF(X_51=0,1);
X_53:=BARSLAST(X_52);
X_54:=X_53<=8 AND X_53>=0;
X_55:=REF(MAX(CLOSE,OPEN),X_53+1);
YSX:IF(X_54,X_55,DRAWNULL),POINTDOT,COLORMAGENTA,LINETHICK5;
X_56:=REFX(X_45,1) AND X_13=0;
X_57:=BARSLAST(X_56);
X_58:=REF(MAX(CLOSE,OPEN),X_57);
X_59:=X_57>=0 AND X_57<=8;
YLYZ:IF(X_59,X_58,DRAWNULL),POINTDOT,COLORMAGENTA,LINETHICK5;
X_60:=X_32 OR X_40;
X_61:=REF(OPEN,BARSLAST(X_32));
X_62:=REF(OPEN,BARSLAST(X_40));
X_63:=LOW=LLV(LOW,BARSLAST(X_40)) AND BARSLAST(X_40)<=3;
X_64:=REF(LOW,BARSLAST(X_63));
STICKLINE(X_64 AND BARSLAST(X_40)<=8 AND X_40=0,X_64,X_64,1,0),COLORYELLOW;
X_65:=X_40 AND COUNT(X_40,4)>=2 AND COUNT(X_40,20)<=2;
X_66:=X_40 AND COUNT(X_65,4)=1 AND COUNT(X_40,20)>=3;
X_67:=X_40 AND OPEN>=REF(CLOSE,REF(BARSLAST(X_40),1)+1) AND OPEN<=REF(CLOSE*1.02,REF(BARSLAST(X_40),1)+1) AND REF(BARSLAST(X_40),1)+1>=4 AND REF(BARSLAST(X_40),1)+1<=20;
X_68:=X_66 OR X_67;
STICKLINE(X_68,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT(X_68,LOW*0.97,11),COLORWHITE;
X_69:=CLOSE>REF(CLOSE,1);
X_70:=COUNT(X_69,3)=3 AND REF(CLOSE>=REF(CLOSE,1),3);
X_71:=VOL<REF(VOL,1);
X_72:=COUNT(X_71,2)>=2;
X_73:=X_70 AND X_72;
X_74:=BACKSET(X_73,3);
DRAWICON(X_74,HIGH*1.01,1);
X_75:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
X_76:=MA(HIGH,120);
X_77:=CLOSE>X_76 AND X_76>REF(X_76,1);
X_78:=COUNT(X_75,2)=2;
X_79:=X_75=0 AND REFX(X_75=1,1);
X_80:=BARSLAST(X_79);
X_81:=BACKSET(X_78,3);
X_82:=X_81=1 AND REF(X_81=0,1);
X_83:=LOW=LLV(LOW,BARSLAST(X_82)+1);
X_84:=X_83=1 AND REFX(X_83=0,1) OR (X_83 AND ISLASTBAR);
X_85:=ABS(VOL-REF(VOL,4))/REF(VOL,4)<=0.05;
X_86:=BACKSET(X_85,5);
X_87:=X_86=1 AND REF(X_86=0,1);
X_88:=VOL<REF(VOL,BARSLAST(X_87));
X_89:=COUNT(X_88,BARSLAST(X_87))=BARSLAST(X_87);
X_90:=X_85 AND REF(X_89,1);
DRAWTEXT(X_81 AND X_84,LOW*0.95,12),COLORWHITE;
X_91:=CLOSE<OPEN AND CLOSE<REF(CLOSE,1);
X_92:=CLOSE>REF(CLOSE,1);
X_93:=COUNT(X_91,3)=3;
X_94:=COUNT(X_93,6)>=1 AND REF(X_93,1);
X_95:=REF(BARSLAST(X_92),1)+1;
X_96:=CLOSE>REF(OPEN,X_95-1) AND X_94 AND X_92 AND X_95<=7;
X_97:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.4 AND CLOSE=HIGH;
DRAWTEXT(X_96 AND X_97=0,LOW*0.986,13),COLORWHITE;
DRAWTEXT(X_96 AND X_97,LOW*0.986,14),COLORWHITE;
 
 
 
{公式名称: 量学副图
公式描述: 
参数数量: 1
参数1: 几倍N天前, 最小: 1, 最大: 20, 缺省: 2
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 固定2位
坐标线位置: 自动
额外Y轴分界: 无
分析家公式网
参数精灵:
请设置计算参数:
几倍N天前: Param#0 (1.00--20.00)
用法注释:无
公式源码:}
X_1:=0.05*CONST(HHV(VOL,240));
X_2:=IF(CURRBARSCOUNT=1 AND PERIOD=5,IF(VOL*240/FROMOPEN>CAPITAL*1/2,CAPITAL*1/2,VOL*240/FROMOPEN),DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,X_2,0,1,(-1)),COLOR00C0C0;
X_3:=CLOSE#DAY;
STICKLINE(CLOSE>=REF(CLOSE,1),0,VOL,2.5,1),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.5,0),COLORGREEN;
X_4:=NAMELIKE(15) OR NAMELIKE(16) OR NAMELIKE(17) OR NAMELIKE(18);
X_5:=CODELIKE(19) OR CODELIKE(20) OR (CODELIKE(21) AND NOT(NAMELIKE(22)));
X_6:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_7:=MOD(FROMOPEN,X_6);
X_8:=IF(X_7<0.5,X_6,X_7);
X_9:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*X_6/X_8,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,X_2,0,(-1),(-1)),COLOR00C0C0;
量:VOL,VOLSTICK;
换手:VOL*10000/FINANCE(7),NODRAW,COLORGREEN;
全换手周期:SUMBARS(VOL,CAPITAL),NODRAW,COLORLIGREEN;
量比1:VOL/REF(MA(VOL,5),1),NODRAW,COLORRED;
量比2:DYNAINFO(17),NODRAW,COLORRED;
几倍:VOL/REF(VOL,1),NODRAW,COLORYELLOW;
虚几倍:X_2/REF(VOL,1),NODRAW,COLORLIRED;
X_10:=AMOUNT/(VOL*100)<REF(CLOSE,1) AND CLOSE>OPEN;
X_11:=AMOUNT/(VOL*100)>REF(CLOSE,1) AND CLOSE<OPEN;
X_12:=VOL>=REF(VOL,1)*1.9 AND VOL<REF(VOL,1)*6 AND (CLOSE>REF(CLOSE,1) OR X_11) AND NOT(X_10);
X_13:=VOL>=REF(VOL,1)*1.9 AND VOL<REF(VOL,1)*6 AND (CLOSE<REF(CLOSE,1) OR X_10) AND NOT(X_11);
X_14:=VOL>=REF(VOL,1)*6 AND VOL<REF(VOL,1)*8;
X_15:=VOL>=REF(VOL,1)*8;
X_16:=REF(VOL,1)>=VOL*1.9;
X_17:=REF(VOL,1)*0.68>=VOL;
X_18:=RANGE(VOL/REF(VOL,1),0.95,1.05) AND BARSCOUNT(VOL)>=2;
X_19:=VOL>REF(VOL,1)*1;
X_20:=BARSLASTCOUNT(X_19)+1;
X_21:=VOL*1<REF(VOL,1);
X_22:=BARSLASTCOUNT(X_21)+1;
X_23:=VOL<=LLV(VOL,100)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=100;
X_24:=COUNT(X_23,5)>=3;
X_25:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;
X_26:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE=HIGH;
X_27:=VOL<=1.05*LLV(VOL,100) AND NOT(X_26);
X_28:=VOL<=1.05*LLV(VOL,60) AND NOT(X_26);
X_29:=VOL<=1.05*LLV(VOL,20) AND NOT(X_26);
X_30:=VOL<=1.05*LLV(VOL,8) AND NOT(X_26);
X_31:=VOL<=1*LLV(VOL,5) AND NOT(X_26);
X_32:=VOL<=1*LLV(VOL,3) AND NOT(X_26);
低:IF(X_27,100,IF(X_28,60,IF(X_29,20,IF(X_30,8,IF(X_31,5,IF(X_32,3,DRAWNULL)))))),NODRAW,COLORGREEN;
X_33:=VOL*0.667;
X_34:=VOL*0.5;
X_35:=VOL*0.333;
X_36:=VOL*0.95;
X_37:=CONST(LLV(VOL,120))*0.05;
STICKLINE(X_5 AND X_11,0,VOL,(-1),(-1)),COLORCYAN;
STICKLINE(X_5 AND X_11,X_37,X_36,0.2,0),COLORRED;
STICKLINE(X_5 AND X_10,0,VOL,(-1),(-1)),COLORRED;
STICKLINE(X_12,X_37,X_36,0.8,0),COLORYELLOW;
STICKLINE(X_27,X_37,X_36,1,0),COLORBLUE;
X_38:=X_12 OR X_18 OR REFX(X_16,1) OR REFX(X_17,1) OR VOL>REFX(VOL,1) OR VOL>REF(VOL,1);
STICKLINE(X_38,X_33,X_33,2,0),COLORLIGRAY;
STICKLINE(X_38,X_34,X_34,2,0),COLORLIGRAY;
STICKLINE(X_38,X_35,X_35,2,0),COLORLIGRAY;
 

地址


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

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

说明

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

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

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

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

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

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

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