当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:玲珑期货分时A(通达信公式 分时主图 源码 测试图)
软件名称:[B]玲珑期货分时A(通达信公式 分时主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2020-01-07 01:44:00
软件简介:
{公式名称: 玲珑期货分时A
公式描述:
参数数量: 2
参数1: N, 最小: 1, 最大: 30, 缺省: 5
参数2: M, 最小: 1, 最大: 30, 缺省: 15
公式类型: 技术指标公式-龙系
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
N: Param#0 (1.00--30.00)
M: Param#1 (1.00--30.00)
用法注释:无
公式源码:}
X_1:=ZSTJJ;
J3:SUM(CLOSE*VOL,240)/SUM(VOL,240),COLORYELLOW,LINETHICK2;
X_2:=SUM(CLOSE*VOL,0)/SUM(VOL,0);
X_3:=CLOSE>REF(CLOSE,1) AND CLOSE/X_1>1+N/1000;
X_4:=CLOSE<REF(CLOSE,1) AND CLOSE/X_1<1-N/1000;
X_5:=CROSS(SUM(X_3,0),0.5);
X_6:=CROSS(SUM(X_4,0),0.5);
X_7:=SUM(X_5,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_5)),0.5);
X_8:=SUM(X_6,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_6)),0.5);
X1:CONST(SUM(IF(X_7,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORYELLOW;
Z1:CONST(SUM(IF(X_8,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORGREEN;
X_9:=CROSS(SUM(X_3 AND CLOSE>X1*1.01,0),0.5);
X_10:=CROSS(SUM(X_4 AND CLOSE<Z1*0.99,0),0.5);
X_11:=SUM(X_9,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_9)),0.5);
X_12:=SUM(X_10,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_10)),0.5);
X2:CONST(SUM(IF(X_11,REF(CLOSE,1),DRAWNULL),0)),COLORWHITE;
Z2:CONST(SUM(IF(X_12,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;
DRAWICON(X_8,REF(CLOSE*0.9995,1),1);
DRAWICON(X_12,REF(CLOSE*0.9995,1),1);
DRAWICON(X_12,REF(CLOSE*0.997,1),44);
DRAWICON(X_7,REF(CLOSE*1.0003,1),2);
DRAWICON(X_11,REF(CLOSE*1.0003,1),2);
DRAWICON(X_11,REF(CLOSE*1.002,1),45);
X_13:=CLOSE>REF(CLOSE,1) AND CLOSE/X_1>1+M/1000;
X_14:=CLOSE<REF(CLOSE,1) AND CLOSE/X_1<1-M/1000;
X_15:=CROSS(SUM(X_13,0),0.5);
X_16:=CROSS(SUM(X_14,0),0.5);
X_17:=SUM(X_15,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_15)),0.5);
X_18:=SUM(X_16,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_16)),0.5);
X_19:=CONST(SUM(IF(X_17,REF(CLOSE,1),DRAWNULL),0));
X_20:=CONST(SUM(IF(X_18,REF(CLOSE,1),DRAWNULL),0));
X_21:=CROSS(SUM(X_13 AND CLOSE>X_19*1.02,0),0.5);
X_22:=CROSS(SUM(X_14 AND CLOSE<X_20*0.98,0),0.5);
X_23:=SUM(X_21,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_21)),0.5);
X_24:=SUM(X_22,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_22)),0.5);
X_25:=CONST(SUM(IF(X_23,REF(CLOSE,1),DRAWNULL),0));
X_26:=CONST(SUM(IF(X_24,REF(CLOSE,1),DRAWNULL),0));
DRAWICON(X_23,CLOSE*1.002,12);
DRAWICON(X_24,CLOSE*0.998,11);
X_27:=CLOSE>REF(CLOSE,1) AND CLOSE/X_1>1.01;
X_28:=CLOSE<REF(CLOSE,1) AND CLOSE/X_1<0.99;
X_29:=CROSS(SUM(X_27,0),0.5);
X_30:=CROSS(SUM(X_28,0),0.5);
X_31:=SUM(X_29,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_29)),0.5);
X_32:=SUM(X_30,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_30)),0.5);
X_33:=CONST(SUM(IF(X_31,REF(CLOSE,1),DRAWNULL),0));
X_34:=CONST(SUM(IF(X_32,REF(CLOSE,1),DRAWNULL),0));
DRAWICON(X_31,CLOSE*1.002,39);
DRAWICON(X_32,CLOSE*0.9979,38);

[url=http://www.70822.com/soft/sort013/sort05/down-138218.html]玲珑期货分时A(通达信公式 分时主图 源码 测试图)[/url]