当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:精准线 主图公式 和谐源码分享
软件名称:[B]精准线 主图公式 和谐源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2019-01-14 00:36:02
软件简介:
{公式名称: 精准线
参数数量: 2
参数1: 精准启动, 最小: 0, 最大: 90, 缺省: 1
参数2: 精准启动1, 最小: 1, 最大: 90, 缺省: 2
主图叠加}
VAR1:=CLOSE/REF(CLOSE,1)>=1.04 AND CLOSE/REF(CLOSE,1)<=1.075;
STICKLINE(VAR1,CLOSE,REF(CLOSE,1),2.2,0),COLORRED;
VAR2:=CLOSE/REF(CLOSE,1)>=1.093;
STICKLINE(VAR2,OPEN,CLOSE,3,0),COLOR0077BB;
STICKLINE(VAR2,OPEN,CLOSE,2.6,0),COLOR0088CC;
STICKLINE(VAR2,OPEN,CLOSE,2.2,0),COLOR0099CC;
STICKLINE(VAR2,OPEN,CLOSE,1.8,0),COLOR00AADD;
STICKLINE(VAR2,OPEN,CLOSE,1.4,0),COLOR00BBDD;
STICKLINE(VAR2,OPEN,CLOSE,1,0),COLOR00CCEE;
STICKLINE(VAR2,OPEN,CLOSE,0.6,0),COLOR00DDEE;
STICKLINE(VAR2,OPEN,CLOSE,0.2,0),COLOR00EEFF;
STICKLINE(VAR2,OPEN,CLOSE,0.1,0),COLORYELLOW;
STICKLINE(VAR2,HIGH,LOW,0,0),COLORYELLOW;
精准扫描:BACKSET(CURRBARSCOUNT=13,42),NODRAW;
划线范围:BACKSET(CURRBARSCOUNT=0,55),NODRAW;
VAR3:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 精准扫描,CONST(REF(LOW,精准启动)),DRAWNULL);
辅助线1:IF(CURRBARSCOUNT<=55 AND 精准扫描=0,CONST(REF(LOW,精准启动)),DRAWNULL),DOTLINE,COLORRED;
有效K线1:精准扫描 AND ABS((MAX(OPEN,CLOSE)-VAR3)/VAR3*100)<=1.5,NODRAW;
满足1:COUNT(有效K线1,55)>=3,NODRAW;
成立线1:IF(CONST(满足1),VAR3,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(有效K线1,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(有效K线1,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动+1,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动+1,LOW,HIGH,0,0),COLORMAGENTA;
VAR4:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 精准扫描,CONST(REF(LOW,精准启动1)),DRAWNULL);
辅助线2:IF(CURRBARSCOUNT<=55 AND 精准扫描=0,CONST(REF(LOW,精准启动1)),DRAWNULL),DOTLINE,COLORRED;
有效K线2:精准扫描 AND ABS((MAX(HIGH,CLOSE)-VAR4)/VAR4*100)<=1.5,NODRAW;
满足2:COUNT(有效K线2,55)>=2,NODRAW;{www.70822.com}
成立线2:IF(CONST(满足2),VAR4,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(有效K线2,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(有效K线2,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动1+1,OPEN,CLOSE,2,0),COLORWHITE;
STICKLINE(CURRBARSCOUNT=精准启动1+1,LOW,HIGH,0,0),COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort05/down-132575.html]精准线 主图公式 和谐源码分享[/url]