玲珑大盘自调 通达信分时副图指标 源码 贴图
{公式名称: 玲珑大盘自调公式描述:
参数数量: 2
参数1: G, 最小: 1, 最大: 30, 缺省: 3
参数2: D, 最小: 1, 最大: 30, 缺省: 3
公式类型: 技术指标公式-神系
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
G: PARAM#0 (1.00--30.00)
D: PARAM#1 (1.00--30.00)
用法注释:无
公式源码:}
J1:CLOSE,COLORWHITE;
X_1:=ZSTJJ;
X_2:=SUM(CLOSE*VOL,0)/SUM(VOL,0);
J4:SUM(CLOSE*VOL,240)/SUM(VOL,240),COLORYELLOW;
X_3:=SUM(CLOSE*VOL,240)/SUM(VOL,240);
X_4:=CLOSE REF(CLOSE,1) AND CLOSE/X_2 1+G/1000;
X_5:=CLOSE REF(CLOSE,1) AND CLOSE/X_2 1-D/1000;
X_6:=CROSS(SUM(X_4,0),0.5);
X_7:=CROSS(SUM(X_5,0),0.5);
{www.9m8.cn 九毛八公式指标网}
X_8:=SUM(X_6,0)*CROSS(COUNT(CLOSE REF(CLOSE,1),BARSLAST(X_6)),0.5);
X_9:=SUM(X_7,0)*CROSS(COUNT(CLOSE REF(CLOSE,1),BARSLAST(X_7)),0.5);
F1:CONST(SUM(IF(X_8,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORYELLOW;
F2:CONST(SUM(IF(X_9,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORGREEN;
X_10:=CROSS(SUM(X_4 AND CLOSE F1*1.005,0),0.5);
X_11:=CROSS(SUM(X_5 AND CLOSE F2*0.985,0),0.5);
X_12:=SUM(X_10,0)*CROSS(COUNT(CLOSE REF(CLOSE,1),BARSLAST(X_10)),0.5);
X_13:=SUM(X_11,0)*CROSS(COUNT(CLOSE REF(CLOSE,1),BARSLAST(X_11)),0.5);
F3:CONST(SUM(IF(X_12,REF(CLOSE,1),DRAWNULL),0)),COLORWHITE;
F4:CONST(SUM(IF(X_13,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;
DRAWICON(X_8,REF(HIGH*1.002,1),35);
DRAWICON(X_12,REF(HIGH*1.002,1),2);
DRAWICON(X_9,REF(CLOSE*0.998,1),34);
DRAWICON(X_13,REF(CLOSE*0.998,1),1);