当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:量学副图 量学大讲堂指标
软件名称:[B]量学副图 量学大讲堂指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:14.0 KB
官方主页:Home Page
更新时间:2018-04-29 01:31:48
软件简介:
{公式名称: 量学副图
公式描述:
参数数量: 1
参数1: 几倍N天前, 最小: 1, 最大: 20, 缺省: 2
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 固定2位
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
几倍N天前: Param#0 (1.00--20.00)
用法注释:无
公式源码:}
VAR1:=0.05*CONST(HHV(VOL,240));
VAR2:=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,VAR2,0,1,(-1)),COLOR00C0C0;
VAR3:=CLOSE#DAY;
STICKLINE(CLOSE>=REF(CLOSE,1),0,VOL,2.5,1),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.5,0),COLORGREEN;
VAR4:=NAMELIKE(15) OR NAMELIKE(16) OR NAMELIKE(17) OR NAMELIKE(18);
VAR5:=CODELIKE(19) OR CODELIKE(20) OR (CODELIKE(21) AND NOT(NAMELIKE(22)));
VAR6:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
VAR7:=MOD(FROMOPEN,VAR6);
VAR8:=IF(VAR7<0.5,VAR6,VAR7);
VAR9:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*VAR6/VAR8,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VAR2,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;
虚几倍:VAR2/REF(VOL,1),NODRAW,COLORLIRED;
VAR10:=AMOUNT/(VOL*100)<REF(CLOSE,1) AND CLOSE>OPEN;
VAR11:=AMOUNT/(VOL*100)>REF(CLOSE,1) AND CLOSE<OPEN;
VAR12:=VOL>=REF(VOL,1)*1.9 AND VOL<REF(VOL,1)*6 AND (CLOSE>REF(CLOSE,1) OR VAR11) AND NOT(VAR10);
VAR13:=VOL>=REF(VOL,1)*1.9 AND VOL<REF(VOL,1)*6 AND (CLOSE<REF(CLOSE,1) OR VAR10) AND NOT(VAR11);
VAR14:=VOL>=REF(VOL,1)*6 AND VOL<REF(VOL,1)*8;
VAR15:=VOL>=REF(VOL,1)*8;
VAR16:=REF(VOL,1)>=VOL*1.9;
VAR17:=REF(VOL,1)*0.68>=VOL;
VAR18:=RANGE(VOL/REF(VOL,1),0.95,1.05) AND BARSCOUNT(VOL)>=2;
VAR19:=VOL>REF(VOL,1)*1;
VAR20:=BARSLASTCOUNT(VAR19)+1;
VAR21:=VOL*1<REF(VOL,1);
VAR22:=BARSLASTCOUNT(VAR21)+1;
VAR23:=VOL<=LLV(VOL,100)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=100;
VAR24:=COUNT(VAR23,5)>=3;
VAR25:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;
VAR26:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE=HIGH;
VAR27:=VOL<=1.05*LLV(VOL,100) AND NOT(VAR26);
VAR28:=VOL<=1.05*LLV(VOL,60) AND NOT(VAR26);
VAR29:=VOL<=1.05*LLV(VOL,20) AND NOT(VAR26);
VAR30:=VOL<=1.05*LLV(VOL,8) AND NOT(VAR26);
VAR31:=VOL<=1*LLV(VOL,5) AND NOT(VAR26);
VAR32:=VOL<=1*LLV(VOL,3) AND NOT(VAR26);
低:IF(VAR27,100,IF(VAR28,60,IF(VAR29,20,IF(VAR30,8,IF(VAR31,5,IF(VAR32,3,DRAWNULL)))))),NODRAW,COLORGREEN;
VAR33:=VOL*0.667;
VAR34:=VOL*0.5;
VAR35:=VOL*0.333;
VAR36:=VOL*0.95;
{www.70822.com}
{www.70822.com}
VAR37:=CONST(LLV(VOL,120))*0.05;
STICKLINE(VAR5 AND VAR11,0,VOL,(-1),(-1)),COLORCYAN;
STICKLINE(VAR5 AND VAR11,VAR37,VAR36,0.2,0),COLORRED;
STICKLINE(VAR5 AND VAR10,0,VOL,(-1),(-1)),COLORRED;
STICKLINE(VAR12,VAR37,VAR36,0.8,0),COLORYELLOW;
STICKLINE(VAR27,VAR37,VAR36,1,0),COLORBLUE;
VAR38:=VAR12 OR VAR18 OR REFX(VAR16,1) OR REFX(VAR17,1) OR VOL>REFX(VOL,1) OR VOL>REF(VOL,1);
STICKLINE(VAR38,VAR33,VAR33,2,0),COLORLIGRAY;
STICKLINE(VAR38,VAR34,VAR34,2,0),COLORLIGRAY;
STICKLINE(VAR38,VAR35,VAR35,2,0),COLORLIGRAY;
[url=http://www.70822.com/soft/sort013/sort05/down-124174.html]量学副图 量学大讲堂指标[/url]