{公式名称: 玲珑大盘分时
公式描述:
参数数量: 2
参数1: N, 最小: 1, 最大: 30, 缺省: 4
参数2: M, 最小: 1, 最大: 30, 缺省: 10
公式类型: 技术指标公式-神系
画线方法: 主图叠加
公式版本: 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;
X_2:=SUM(CLOSE*VOL,0)/SUM(VOL,0);
X_3:=CLOSE>REF(CLOSE,1) AND CLOSE/X_2>1+N/1000;
X_4:=CLOSE<REF(CLOSE,1) AND CLOSE/X_2<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,COLORMAGENTA;
Z1:CONST(SUM(IF(X_8,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORGREEN;
X_9:=CROSS(SUM(X_3 AND CLOSE>X1*1.004,0),0.5);
X_10:=CROSS(SUM(X_4 AND CLOSE<Z1*0.985,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),42);
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);
{分析家公式网www.70822.com}
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.01,0),0.5);
X_22:=CROSS(SUM(X_14 AND CLOSE<X_20*0.985,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_17,CLOSE*1.002,12);
DRAWICON(X_23,CLOSE*1.002,39);
DRAWICON(X_18,CLOSE*0.998,11);
DRAWICON(X_24,CLOSE*0.998,38);
p201962911505667761.jpg
|