当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:常用主图,量学主图 和谐源码分享(通达信主图 源码 测试图)
软件名称:[B]常用主图,量学主图 和谐源码分享(通达信主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2020-06-20 00:14:45
软件简介:
{公式名称: 常用主图
公式描述: 量学主图
参数数量: 1
参数1: 天数, 最小: 5, 最大: 300, 缺省: 20
主图叠加}
VAR1:=STRCAT(4,STRCAT(STRCAT(STRCAT(5,HYBLOCK),STRCAT(6,DYBLOCK)),STRCAT(7,GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,VAR1);
均价:AMOUNT/VOL/100,NODRAW,COLORWHITE;
VAR2:=(CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10;
STICKLINE(VAR2=1,OPEN,CLOSE,3,0),COLORMAGENTA;
VAR3:=MIN(CLOSE,OPEN)>REF(MAX(CLOSE,OPEN),1);
明日涨停参考:CLOSE*1.1,NODRAW,COLORWHITE;
STICKLINE(VAR3=1,OPEN,CLOSE,0.4,0),COLORYELLOW;
价柱腰价:(LOW+HIGH)/2,NODRAW,COLORWHITE;
实体腰价:(OPEN+CLOSE)/2,NODRAW,COLORWHITE;
价柱上三一价:MAX(HIGH,LOW)-(HIGH-LOW)/3,NODRAW,COLORWHITE;
价柱下三一价:MIN(HIGH,LOW)+(HIGH-LOW)/3,NODRAW,COLORWHITE;
实体上三一价:MAX(OPEN,CLOSE)-ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
实体下三一价:MIN(OPEN,CLOSE)+ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
VAR4:=FINDHIGHBARS(VOL,1,天数,1);
VAR5:=FINDHIGHBARS(VOL,VAR4+5,天数,1);
VAR6:=FINDHIGHBARS(VOL,10,100,1);
VAR7:=FINDLOWBARS(VOL,5,100,1);
VAR8:=CURRBARSCOUNT;
VAR9:=0;
VAR10:=CONST(VAR4);
VAR11:=CONST(VAR5);
VAR12:=CONST(VAR6);
VAR13:=CONST(VAR7);
VAR14:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),VAR10+VAR9));
VAR15:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),VAR10+VAR9));
DRAWICON(CURRBARSCOUNT=VAR10+1,LOW*0.98,38),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=VAR10,VAR14,VAR14,4,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT<=VAR10,VAR15,VAR15,2,(-1)),COLORMAGENTA;
VAR16:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),VAR11+VAR9));
VAR17:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),VAR11+VAR9));
DRAWICON(CURRBARSCOUNT=VAR11+1,LOW*0.98,11),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=VAR11,VAR16,VAR16,4,1),COLORLICYAN;
STICKLINE(CURRBARSCOUNT<=VAR11,VAR17,VAR17,2,(-1)),COLORLICYAN;
VAR18:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),VAR12));
DRAWICON(CURRBARSCOUNT=VAR12+1,HIGH,35),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=VAR12,VAR18,VAR18,4,(-1)),COLORRED;
VAR19:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),VAR13));
DRAWICON(CURRBARSCOUNT=VAR13+1,LOW*0.97,34),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=VAR13,VAR19,VAR19,1,(-1)),COLORRED;
{分析家公式网 WWW.70822.com 整理}
[url=http://www.70822.com/soft/sort013/sort05/down-148429.html]常用主图,量学主图 和谐源码分享(通达信主图 源码 测试图)[/url]